/* ═══════════════════════════════════════════════════════════
   Auth sayfaları — ortalanmış kart + kök hero ile aynı ambient efekt ailesi
   (mesh, aurora, orb, grid, shimmer, vignette, sparkle — sol panel yok)
   ═══════════════════════════════════════════════════════════ */

@keyframes sg-auth-aurora {
  0% { transform: translate(0, 0) scale(1); opacity: 0.92; }
  25% { transform: translate(2.5%, 1.5%) scale(1.04); }
  50% { transform: translate(-1.5%, 2%) scale(1.02); }
  75% { transform: translate(1%, -1.5%) scale(1.03); }
  100% { transform: translate(0, 0) scale(1); opacity: 0.88; }
}

@keyframes sg-auth-shimmer {
  0% { background-position: 120% 50%; }
  45% { background-position: -20% 50%; }
  100% { background-position: 120% 50%; }
}

@keyframes sg-auth-sparkle {
  0%, 100% { opacity: 0; transform: scale(0.4) translateY(0); }
  15% { opacity: 1; transform: scale(1) translateY(-4px); }
  40% { opacity: 0.85; }
  70% { opacity: 0.35; transform: scale(0.8) translateY(6px); }
}

@keyframes sg-auth-orb-drift {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(18px, -12px); }
  66% { transform: translate(-14px, 10px); }
}

@keyframes sg-auth-grid-pulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

@keyframes sg-auth-morph {
  0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

@keyframes sg-auth-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes sg-auth-card-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

body.sg-auth-page {
  font-family: var(--sg-font-family);
  color: var(--sg-neutral-900);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 100% 80% at 50% -10%, rgba(186, 220, 255, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse 90% 60% at 100% 100%, rgba(199, 210, 254, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 0% 90%, rgba(224, 242, 254, 0.5) 0%, transparent 45%),
    linear-gradient(180deg, #e8f0fb 0%, #e2ebf8 50%, #dee8f6 100%);
  overflow-x: hidden;
}

body.sg-auth-page.sg-verify-wizard-page {
  background: transparent;
}

/* --- Tam ekran ambient (kök index.php hero ile aynı görsel dil) --- */
.sg-auth-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  isolation: isolate;
  pointer-events: none;
}

.sg-auth-ambient__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 130% 90% at 50% -25%, rgba(28, 130, 255, 0.22), transparent 58%),
    radial-gradient(ellipse 80% 55% at 100% 5%, rgba(139, 92, 246, 0.11), transparent 52%),
    radial-gradient(ellipse 65% 50% at -5% 90%, rgba(6, 182, 212, 0.1), transparent 48%),
    linear-gradient(180deg, #e8f2ff 0%, #f5f9ff 42%, #fafcff 100%);
}

.sg-auth-ambient__aurora {
  position: absolute;
  inset: -18%;
  background:
    radial-gradient(ellipse 55% 42% at 28% 22%, rgba(28, 130, 255, 0.3), transparent 52%),
    radial-gradient(ellipse 48% 38% at 78% 28%, rgba(167, 139, 250, 0.18), transparent 48%),
    radial-gradient(ellipse 42% 48% at 55% 88%, rgba(34, 211, 238, 0.14), transparent 50%);
  filter: blur(56px);
  opacity: 0.95;
  animation: sg-auth-aurora 24s ease-in-out infinite;
  will-change: transform;
}

.sg-auth-ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  will-change: transform;
}

.sg-auth-ambient__orb--1 {
  width: min(620px, 90vw);
  height: min(620px, 90vw);
  background: radial-gradient(circle at 35% 35%, rgba(96, 176, 255, 0.38), rgba(28, 130, 255, 0.12) 45%, transparent 70%);
  top: -18%;
  right: -12%;
  animation: sg-auth-morph 22s ease-in-out infinite, sg-auth-orb-drift 16s ease-in-out infinite, sg-auth-float 9s ease-in-out infinite;
}

.sg-auth-ambient__orb--2 {
  width: min(460px, 75vw);
  height: min(460px, 75vw);
  background: radial-gradient(circle at 40% 40%, rgba(192, 132, 252, 0.24), rgba(139, 92, 246, 0.09) 50%, transparent 68%);
  bottom: 2%;
  left: -14%;
  animation: sg-auth-morph 22s ease-in-out infinite reverse, sg-auth-orb-drift 19s ease-in-out infinite reverse, sg-auth-float 11s ease-in-out infinite;
  animation-delay: 1s;
}

.sg-auth-ambient__orb--3 {
  width: min(320px, 60vw);
  height: min(320px, 60vw);
  background: radial-gradient(circle at 50% 50%, rgba(56, 232, 255, 0.2), rgba(6, 182, 212, 0.08) 55%, transparent 72%);
  top: 32%;
  right: 18%;
  animation: sg-auth-orb-drift 14s ease-in-out infinite, sg-auth-float 7s ease-in-out infinite;
  animation-delay: 2.5s, 1s;
}

.sg-auth-ambient__orb--4 {
  width: min(280px, 50vw);
  height: min(280px, 50vw);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), rgba(28, 130, 255, 0.06) 42%, transparent 70%);
  top: 55%;
  left: 8%;
  animation: sg-auth-orb-drift 18s ease-in-out infinite;
  animation-delay: 4s;
  filter: blur(48px);
  opacity: 0.9;
}

.sg-auth-ambient__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(28, 130, 255, 0.055) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, #000 12%, transparent 72%);
  animation: sg-auth-grid-pulse 10s ease-in-out infinite;
  opacity: 0.9;
}

.sg-auth-ambient__shimmer {
  position: absolute;
  inset: -5% -20%;
  background: linear-gradient(
    118deg,
    transparent 35%,
    rgba(255, 255, 255, 0.42) 48%,
    rgba(255, 255, 255, 0.08) 52%,
    transparent 65%
  );
  background-size: 220% 100%;
  animation: sg-auth-shimmer 11s ease-in-out infinite;
  mix-blend-mode: soft-light;
  opacity: 0.72;
}

.sg-auth-ambient__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 95% 75% at 50% 38%, transparent 22%, rgba(248, 251, 255, 0.55) 100%);
}

.sg-auth-ambient__sparkles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.sg-auth-ambient__sparkles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px 3px rgba(28, 130, 255, 0.45), 0 0 28px 6px rgba(139, 92, 246, 0.12);
  animation: sg-auth-sparkle 5.5s ease-in-out infinite;
}

.sg-auth-ambient__sparkles span:nth-child(1) { left: 9%; top: 22%; animation-delay: 0s; }
.sg-auth-ambient__sparkles span:nth-child(2) { left: 18%; top: 58%; animation-delay: 0.7s; width: 3px; height: 3px; }
.sg-auth-ambient__sparkles span:nth-child(3) { left: 42%; top: 14%; animation-delay: 1.4s; }
.sg-auth-ambient__sparkles span:nth-child(4) { left: 52%; top: 38%; animation-delay: 2.1s; }
.sg-auth-ambient__sparkles span:nth-child(5) { left: 68%; top: 20%; animation-delay: 0.3s; width: 3px; height: 3px; }
.sg-auth-ambient__sparkles span:nth-child(6) { left: 78%; top: 48%; animation-delay: 1.8s; }

/* --- Kabuk: kart + footer dikey ortada --- */
.sg-auth-shell--centered {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.sg-auth-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  padding: var(--sg-space-8) var(--sg-container-pad) var(--sg-space-10);
  box-sizing: border-box;
}

/* İçerik alanına hafif vignette — kartı “sahne” gibi öne çıkarır */
.sg-auth-shell--centered > .sg-auth-content::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 75% 65% at 50% 42%, transparent 35%, rgba(15, 23, 42, 0.045) 100%);
}

.sg-auth-shell--centered > .sg-auth-content > * {
  position: relative;
  z-index: 1;
}

/* Uzun sihirbaz içeriği: üstten başlasın, ortada sıkışmasın */
.sg-auth-shell--centered.sg-verify-wizard-shell {
  padding: 0;
}

.sg-auth-shell--centered.sg-verify-wizard-shell .sg-auth-content {
  justify-content: flex-start;
  padding-top: var(--sg-space-10);
  padding-bottom: var(--sg-space-10);
}

.sg-auth__main.sg-page {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 448px;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: visible;
}

/* --- Cam / kart — belirgin “frosted glass” + sahne derinliği --- */
.sg-auth-page .sg-auth__card.sg-form-card {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 432px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.52) 48%, rgba(241, 248, 255, 0.65) 100%);
  box-shadow:
    0 0 0 1px rgba(28, 130, 255, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 -8px 24px -8px rgba(15, 23, 42, 0.04) inset,
    0 16px 48px -16px rgba(15, 23, 42, 0.14),
    0 36px 72px -28px rgba(28, 130, 255, 0.28),
    0 56px 100px -40px rgba(99, 102, 241, 0.18);
  backdrop-filter: blur(28px) saturate(185%);
  -webkit-backdrop-filter: blur(28px) saturate(185%);
  animation: sg-auth-card-in 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.sg-auth-page .sg-auth__card.sg-form-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.08) 42%, transparent 62%);
  mix-blend-mode: soft-light;
}

.sg-auth-page .sg-auth__card.sg-form-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(15, 23, 42, 0.04);
  opacity: 1;
}

.sg-auth-page .sg-auth__card .sg-form-card__header.sg-auth__brand {
  position: relative;
  z-index: 1;
  padding: var(--sg-space-8) var(--sg-space-8) var(--sg-space-6);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 100%);
}

.sg-auth-page .sg-auth__card .sg-form-card__body {
  position: relative;
  z-index: 1;
  padding: var(--sg-space-8) var(--sg-space-8) var(--sg-space-8);
}

.sg-verify-wizard-page .sg-auth__card.sg-form-card,
.sg-auth-page .sg-verify-wizard-card.sg-form-card {
  max-width: 460px;
}

.sg-auth__brand {
  text-align: center;
  padding-bottom: var(--sg-space-5);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: transparent;
}

.sg-auth__brand img {
  height: 32px;
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.08));
}

.sg-auth__intro {
  margin-top: 0;
  margin-bottom: var(--sg-space-8);
  text-align: center;
}

.sg-auth__intro .sg-page-header__title {
  font-size: clamp(1.35rem, 2.5vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--sg-neutral-900);
}

.sg-auth__title--wizard {
  font-size: 1.35rem !important;
}

.sg-auth__subtitle--wizard {
  margin-bottom: var(--sg-space-4);
}

.sg-auth__intro .sg-page-header__subtitle {
  margin-top: var(--sg-space-3);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--sg-neutral-600);
}

/* Üst bildirim (flash) ile başlık arası */
.sg-auth-page .sg-form-card__body > .sg-flash {
  margin-bottom: var(--sg-space-6);
}

.sg-auth-page .sg-auth__actions .sg-btn--primary {
  background: linear-gradient(145deg, #2b8cff 0%, #1576f0 40%, #0b63d9 100%);
  border: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 -1px 0 rgba(15, 23, 42, 0.08) inset,
    0 6px 20px rgba(28, 130, 255, 0.38);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.sg-auth-page .sg-auth__actions .sg-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.32) inset,
    0 -1px 0 rgba(15, 23, 42, 0.06) inset,
    0 10px 32px rgba(28, 130, 255, 0.45);
}

.sg-auth-page .sg-auth__actions .sg-btn--primary:active {
  transform: translateY(0);
}

.sg-auth-page .sg-field + .sg-field {
  margin-top: var(--sg-space-5);
}

.sg-auth-page .sg-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  height: 48px;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: var(--sg-space-5);
  padding-right: var(--sg-space-5);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.38);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) inset;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sg-auth-page .sg-input:hover {
  border-color: rgba(100, 116, 139, 0.48);
  background: rgba(255, 255, 255, 0.88);
}

.sg-auth-page .sg-input:focus {
  background: var(--sg-neutral-0);
  border-color: var(--sg-primary-400);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04) inset,
    0 0 0 3px rgba(28, 130, 255, 0.18);
}

.sg-password-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.sg-auth-page .sg-password-wrap .sg-input {
  padding-left: var(--sg-space-5);
  padding-right: 48px;
  box-sizing: border-box;
}

.sg-password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--sg-radius-md);
  background: transparent;
  color: var(--sg-neutral-500);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.sg-password-toggle:hover {
  color: var(--sg-neutral-800);
  background: var(--sg-neutral-100);
}

.sg-password-toggle:focus {
  outline: 2px solid var(--sg-primary-500);
  outline-offset: 2px;
}

.sg-password-toggle:focus:not(:focus-visible) {
  outline: none;
}

.sg-password-toggle:focus-visible {
  outline: 2px solid var(--sg-primary-500);
  outline-offset: 2px;
}

.sg-password-toggle svg {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.sg-auth__oauth {
  margin-top: 0;
  margin-bottom: 0;
}

.sg-auth__oauth .sg-btn--google {
  width: 100%;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: var(--sg-weight-semibold);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--sg-neutral-800);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 2px 8px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.sg-auth__oauth .sg-btn--google:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(100, 116, 139, 0.42);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 4px 16px rgba(15, 23, 42, 0.1);
  transform: translateY(-1px);
}

.sg-btn--google__icon {
  display: flex;
  flex-shrink: 0;
}

.sg-auth__divider {
  display: flex;
  align-items: center;
  gap: var(--sg-space-3);
  margin: var(--sg-space-6) 0 var(--sg-space-6);
  color: var(--sg-neutral-500);
  font-size: 13px;
  font-weight: var(--sg-weight-medium);
}

.sg-auth__divider::before,
.sg-auth__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.5) 20%, rgba(148, 163, 184, 0.5) 80%, transparent);
  opacity: 0.85;
}

.sg-auth__divider span {
  flex-shrink: 0;
}

.sg-auth__actions {
  margin-top: var(--sg-space-8);
  padding: 0;
  justify-content: stretch;
}

.sg-auth__actions .sg-btn {
  width: 100%;
  height: 48px;
  font-weight: var(--sg-weight-semibold);
  border-radius: 12px;
}

.sg-auth__nav {
  margin-top: var(--sg-space-8);
  padding-top: var(--sg-space-2);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sg-space-4);
}

.sg-auth__nav-line {
  margin: 0;
  max-width: 100%;
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
  color: var(--sg-neutral-700);
}

.sg-auth__nav-line .sg-link {
  font-weight: var(--sg-weight-semibold);
  color: var(--sg-primary-600);
}

.sg-auth__nav-line .sg-link:hover {
  color: var(--sg-primary-700);
}

.sg-auth__nav-line--secondary {
  font-size: 13px;
  color: var(--sg-neutral-500);
}

.sg-auth__nav-line--secondary .sg-link {
  font-weight: var(--sg-weight-medium);
  color: var(--sg-neutral-600);
}

.sg-auth__nav-line--secondary .sg-link:hover {
  color: var(--sg-neutral-900);
}

.sg-auth__back {
  margin-top: var(--sg-space-6);
  text-align: center;
  font-size: 13px;
}

.sg-auth__back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sg-space-2);
  font-weight: var(--sg-weight-medium);
}

.sg-auth__back-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.sg-auth__bottom {
  flex-shrink: 0;
  text-align: center;
  padding: var(--sg-space-6) var(--sg-container-pad) 0;
  margin-top: var(--sg-space-6);
  font-size: var(--sg-font-caption);
  color: var(--sg-neutral-500);
}

.sg-auth__bottom a {
  color: var(--sg-neutral-600);
  font-weight: var(--sg-weight-medium);
}

.sg-auth__bottom a:hover {
  color: var(--sg-neutral-900);
}

.sg-verify-wizard-page .sg-verify-wizard-steps .sg-badge {
  border-radius: 100px;
  padding: 6px 12px;
  font-weight: 600;
  font-size: 12px;
}

/* ─── Kayıt: güçlü şifre alanı (signUp) ─── */
.sg-auth-page--signup .sg-auth__main {
  max-width: 460px;
}

.sg-auth-page--signup .sg-auth__card.sg-form-card {
  max-width: 460px;
}

.sg-signup-pw__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sg-space-2);
  margin-bottom: var(--sg-space-2);
}

.sg-signup-pw__label-row .sg-field__label {
  margin-bottom: 0;
}

.sg-auth-tip-wrap {
  position: relative;
  flex-shrink: 0;
}

.sg-auth-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--sg-primary-100), var(--sg-neutral-100));
  color: var(--sg-primary-700);
  font-size: 12px;
  font-weight: 800;
  font-style: italic;
  cursor: help;
  line-height: 1;
  box-shadow: 0 0 0 1px rgba(28, 130, 255, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sg-auth-tip:hover,
.sg-auth-tip:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 0 0 2px rgba(28, 130, 255, 0.25);
  outline: none;
}

.sg-auth-tip__panel {
  position: absolute;
  z-index: 20;
  right: 0;
  top: calc(100% + 8px);
  width: min(280px, 72vw);
  padding: var(--sg-space-3) var(--sg-space-4);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--sg-neutral-700);
  background: var(--sg-neutral-0);
  border: 1px solid var(--sg-neutral-200);
  border-radius: 12px;
  box-shadow: 0 12px 40px -8px rgba(15, 23, 42, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  pointer-events: none;
}

.sg-auth-tip__panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.sg-auth-tip__panel::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 10px;
  width: 10px;
  height: 10px;
  background: var(--sg-neutral-0);
  border-left: 1px solid var(--sg-neutral-200);
  border-top: 1px solid var(--sg-neutral-200);
  transform: rotate(45deg);
}

.sg-pw-strength {
  margin-top: var(--sg-space-4);
  padding: var(--sg-space-3);
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.sg-pw-strength__track {
  height: 6px;
  border-radius: 100px;
  background: var(--sg-neutral-200);
  overflow: hidden;
}

.sg-pw-strength__fill {
  height: 100%;
  border-radius: 100px;
  width: 0;
  transition: width 0.25s ease, background 0.25s ease;
}

.sg-pw-strength--weak .sg-pw-strength__fill {
  background: linear-gradient(90deg, #f87171, #fb923c);
}

.sg-pw-strength--medium .sg-pw-strength__fill {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.sg-pw-strength--strong .sg-pw-strength__fill {
  background: linear-gradient(90deg, #34d399, #10b981);
}

.sg-pw-strength__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sg-neutral-400);
}

.sg-pw-strength--weak .sg-pw-strength__w {
  color: #ea580c;
}

.sg-pw-strength--medium .sg-pw-strength__m {
  color: #d97706;
}

.sg-pw-strength--strong .sg-pw-strength__s {
  color: #059669;
}

.sg-pw-rules {
  list-style: none;
  margin: var(--sg-space-4) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sg-space-2) var(--sg-space-4);
}

.sg-pw-rules.sg-pw-rules--empty {
  display: none;
}

@media (max-width: 420px) {
  .sg-pw-rules {
    grid-template-columns: 1fr;
  }
}

.sg-pw-rules__item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 20px;
  padding: 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--sg-danger-700);
  font-weight: 500;
  cursor: default;
}

/* [hidden] UA stilini flex ezdiği için tek tek gizleme ancak böyle kesin uygulanır */
.sg-pw-rules__item[hidden] {
  display: none !important;
}

.sg-pw-rules__item::before {
  content: '';
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1.5px solid var(--sg-danger-400);
  background: rgba(254, 242, 242, 0.9);
  box-sizing: border-box;
}

.sg-pw-match-hint {
  margin: var(--sg-space-2) 0 0;
  min-height: 1.25em;
  font-size: 12px;
  font-weight: 500;
}

.sg-pw-match-hint--ok {
  color: var(--sg-success-600);
}

.sg-pw-match-hint--bad {
  color: var(--sg-danger-600);
}

@media (prefers-reduced-motion: reduce) {
  .sg-auth-ambient__aurora,
  .sg-auth-ambient__orb--1,
  .sg-auth-ambient__orb--2,
  .sg-auth-ambient__orb--3,
  .sg-auth-ambient__orb--4,
  .sg-auth-ambient__grid,
  .sg-auth-ambient__shimmer,
  .sg-auth-ambient__sparkles span {
    animation: none !important;
  }

  .sg-auth-page .sg-auth__card.sg-form-card {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 480px) {
  .sg-auth__card .sg-form-card__body {
    padding: var(--sg-space-5);
  }

  .sg-auth-page .sg-auth__card .sg-form-card__header.sg-auth__brand {
    padding: var(--sg-space-6) var(--sg-space-6) var(--sg-space-5);
  }

  .sg-auth-page .sg-auth__card .sg-form-card__body {
    padding: var(--sg-space-6) var(--sg-space-6) var(--sg-space-7);
  }
}
