body.auth-prompt-open {
  overflow: hidden;
}

.auth-prompt {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.auth-prompt[hidden] {
  display: none !important;
}

.auth-prompt__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.auth-prompt__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  padding: 2rem 1.75rem 1.75rem;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.auth-prompt__close {
  position: absolute;
  top: 0.85rem;
  inset-inline-end: 0.85rem;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-prompt__icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 160, 32, 0.12);
  color: var(--color-gold, #e8a020);
  font-size: 1.25rem;
}

.auth-prompt__title {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-navy, #1e2a4a);
}

.auth-prompt__note {
  margin: 0 0 1.35rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #64748b;
}

.auth-prompt__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.auth-prompt__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
  padding: 0.3rem;
  border-radius: 12px;
  background: #f1f5f9;
}

.auth-prompt__tab {
  border: none;
  border-radius: 10px;
  padding: 0.65rem 0.5rem;
  background: transparent;
  color: #64748b;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.auth-prompt__tab.is-active {
  background: #fff;
  color: var(--color-navy, #1e2a4a);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.auth-prompt__form {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-align: start;
}

.auth-prompt__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
}

.auth-prompt__input {
  width: 100%;
  margin-bottom: 0.45rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-navy, #1e2a4a);
  outline: none;
  box-sizing: border-box;
}

.auth-prompt__input:focus {
  border-color: var(--color-gold, #e8a020);
}

.auth-prompt__form .auth-prompt__btn {
  margin-top: 0.35rem;
}

.auth-prompt__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.auth-prompt__btn--primary {
  background: var(--color-gold, #e8a020);
  color: #fff;
  box-shadow: 0 8px 20px rgba(232, 160, 32, 0.28);
}

.auth-prompt__btn--primary:hover {
  background: #d4911c;
  transform: translateY(-1px);
}

.auth-prompt__btn--secondary {
  background: #f8fafc;
  color: var(--color-navy, #1e2a4a);
  border: 1.5px solid #e2e8f0;
}

.auth-prompt__btn--secondary:hover {
  border-color: var(--color-gold, #e8a020);
  color: var(--color-gold, #e8a020);
}
