.auth-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 241, 230, 0.9), rgba(255, 255, 255, 0.95)),
    url('https://images.unsplash.com/photo-1583417319070-4a69db38a482?w=1600&h=1200&fit=crop');
  background-position: center;
  background-size: cover;
}

.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.auth-panel {
  width: min(100%, 440px);
  border: 1px solid #EDEFF2;
  border-radius: 8px;
  padding: 28px;
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(31, 32, 36, 0.12);
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--carrot-orange-dark);
  font-size: 1.2rem;
  font-weight: 900;
  text-decoration: none;
}

.auth-brand:hover {
  color: var(--carrot-orange);
}

.auth-heading {
  margin: 28px 0 20px;
}

.auth-heading h1 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.auth-heading p,
.auth-switch {
  color: var(--carrot-muted);
  margin-bottom: 0;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-kakao-button {
  align-items: center;
  background: #FEE500;
  border: 0;
  border-radius: 999px;
  color: #191919;
  display: flex;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  min-height: 52px;
  padding: 12px 18px;
  width: 100%;
}

.auth-kakao-button:hover { background: #F5DC00; }
.auth-kakao-button:disabled { opacity: .65; }
.auth-kakao-symbol { font-size: 1.1rem; }
.auth-divider { align-items: center; color: var(--carrot-muted); display: flex; font-size: .76rem; gap: 12px; margin: 18px 0; }
.auth-divider::before, .auth-divider::after { background: #E4E6EA; content: ''; flex: 1; height: 1px; }
.auth-kakao-badge { background: #FEE500; border-radius: 999px; color: #191919; display: inline-flex; font-size: .78rem; font-weight: 800; gap: 6px; padding: 6px 10px; }
.auth-onboarding-consent { border: 1px solid #EDEFF2; border-radius: 8px; padding: 12px 14px; }
.auth-onboarding-consent a { color: var(--carrot-orange-dark); font-weight: 800; }

.auth-form-link-row {
  font-size: 0.9rem;
  text-align: right;
}

.auth-form-link-row a {
  color: var(--carrot-orange-dark);
  font-weight: 800;
  text-decoration: none;
}

.auth-form-link-row a:hover {
  text-decoration: underline;
}

.auth-form .form-control,
.auth-form .form-select {
  min-height: 48px;
}

.auth-field-help {
  color: var(--carrot-muted);
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 6px 0 0;
}

.auth-consent {
  align-items: flex-start;
  border: 1px solid #EDEFF2;
  border-radius: 8px;
  color: #3A3D45;
  display: flex;
  font-size: 0.9rem;
  gap: 10px;
  line-height: 1.5;
  padding: 12px 14px;
}

.auth-consent input {
  flex: 0 0 auto;
  margin-top: 4px;
}

.auth-consent-detail {
  display: grid;
  gap: 10px;
}

.auth-consent-check {
  align-items: flex-start;
  display: flex;
  font-weight: 700;
  gap: 10px;
}

.auth-consent-body {
  color: var(--carrot-muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.auth-consent-body p {
  margin: 0 0 8px;
}

.auth-consent-body ul {
  margin: 0 0 8px;
  padding-left: 18px;
}

.auth-consent-body li + li {
  margin-top: 4px;
}

.auth-consent-body strong {
  color: #3A3D45;
}

.auth-consent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 10px;
}

.auth-consent-links a {
  color: var(--carrot-primary);
  font-weight: 700;
  text-decoration: none;
}

.auth-consent-links a:hover {
  text-decoration: underline;
}

.auth-status {
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 16px;
  padding: 12px 14px;
}

.auth-status-info {
  background-color: #EAF2FF;
  color: #1D64D8;
}

.auth-status-success {
  background-color: #EAF7EF;
  color: #177245;
}

.auth-status-warning {
  background-color: #FFF8E6;
  color: #8A5B00;
}

.auth-status-error {
  background-color: #FDECEC;
  color: #B42318;
}

.auth-verification-notice {
  align-items: center;
  background-color: #FFF8E6;
  border: 1px solid #FFD88A;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(31, 32, 36, 0.14);
  color: #3A3D45;
  display: grid;
  gap: 12px;
  grid-template-columns: auto 1fr;
  margin-bottom: 18px;
  padding: 16px;
}

.auth-verification-icon {
  align-items: center;
  background-color: #FFFFFF;
  border-radius: 999px;
  color: var(--carrot-orange-dark);
  display: inline-flex;
  font-size: 1.6rem;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.auth-verification-copy strong {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.auth-verification-copy p {
  color: var(--carrot-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

.auth-verification-email {
  color: #8A5B00 !important;
  font-weight: 800;
  margin-top: 6px !important;
  overflow-wrap: anywhere;
}

.auth-verification-notice .btn {
  grid-column: 1 / -1;
  justify-self: stretch;
}

.auth-switch {
  margin-top: 18px;
  text-align: center;
}

.auth-switch a {
  color: var(--carrot-orange-dark);
  font-weight: 800;
  text-decoration: none;
}

.auth-result-panel {
  text-align: center;
}

.auth-result-icon {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 2.1rem;
  height: 74px;
  justify-content: center;
  margin-top: 28px;
  width: 74px;
}

.auth-result-icon-info {
  background-color: #EAF2FF;
  color: #1D64D8;
}

.auth-result-icon-success {
  background-color: #EAF7EF;
  color: #177245;
}

.auth-result-icon-error {
  background-color: #FDECEC;
  color: #B42318;
}

.auth-result-heading {
  margin-top: 18px;
}

.auth-result-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

@media (max-width: 575.98px) {
  .auth-panel {
    padding: 22px;
  }
}
