/* ============================================================
   Merci Pulse — giriş öncesi sayfalar (giriş, davet, şifremi unuttum, şifre yenile)
   Sol: hareketli marka paneli (her iki temada koyu). Sağ: temaya uyumlu form kartı.
   Animasyonlar yalnız transform/opacity (GPU dostu); prefers-reduced-motion'da kapanır.
   ============================================================ */

body.auth-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: #060917;
}
[data-theme="light"] body.auth-page { background: #eef2ff; }

.auth-tools { position: fixed; top: 18px; right: 18px; z-index: 20; display: flex; gap: 8px; }
.auth-lang-toggle { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.5px; }

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, 0.92fr);
}

/* ---------------------------------------------------------------- Marka paneli + sürekli zemin */
.auth-hero {
  position: relative;
  isolation: isolate;
  color: #e6ebff;
  --h-strong: #ffffff;
  --h-text: rgba(214, 222, 255, 0.78);
  --h-soft: rgba(226, 232, 255, 0.92);
  --h-sub: rgba(199, 210, 254, 0.7);
  --h-chip-bg: rgba(129, 140, 248, 0.16);
  --h-chip-border: rgba(165, 180, 252, 0.22);
  --h-chip-icon: #c7d2fe;
}

/* Zemin tüm ekranı kaplar: ikiye bölünme yoktur; kare desen ve renkli küreler sağa doğru solarak akar. */
.auth-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(62% 92% at 0% 0%, #17204a 0%, #0a1027 55%, #060917 100%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; will-change: transform; }
.orb-1 { width: 520px; height: 520px; left: -140px; top: -120px; background: #6366f1; animation: orbA 22s ease-in-out infinite alternate; }
.orb-2 { width: 460px; height: 460px; left: 36%; top: 22%; background: #8b5cf6; opacity: 0.4; animation: orbB 27s ease-in-out infinite alternate; }
.orb-3 { width: 420px; height: 420px; left: 12%; bottom: -170px; background: #0ea5e9; opacity: 0.36; animation: orbC 24s ease-in-out infinite alternate; }
.orb-4 { width: 260px; height: 260px; left: 40%; top: 6%; background: #43c686; opacity: 0.2; animation: orbA 30s ease-in-out infinite alternate-reverse; }
.orb-5 { width: 480px; height: 480px; right: -160px; bottom: -120px; background: #6366f1; opacity: 0.26; animation: orbB 29s ease-in-out infinite alternate-reverse; }
@keyframes orbA { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(90px, 70px, 0) scale(1.15); } }
@keyframes orbB { from { transform: translate3d(0, 0, 0) scale(1.05); } to { transform: translate3d(-110px, 60px, 0) scale(0.9); } }
@keyframes orbC { from { transform: translate3d(0, 0, 0) scale(0.95); } to { transform: translate3d(80px, -90px, 0) scale(1.12); } }

.auth-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 105% 115% at 18% 42%, #000 0%, rgba(0, 0, 0, 0.5) 52%, transparent 100%);
  mask-image: radial-gradient(ellipse 105% 115% at 18% 42%, #000 0%, rgba(0, 0, 0, 0.5) 52%, transparent 100%);
}

.auth-hero-inner {
  position: relative;
  min-height: 100%;
  height: 100vh;
  padding: 44px 56px 0;
  display: flex;
  flex-direction: column;
}

.auth-brand { display: flex; align-items: center; gap: 14px; animation: authRise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.auth-brand-text b { display: block; font-size: 1.35rem; font-weight: 700; letter-spacing: 0.3px; color: var(--h-strong); }
.auth-brand-text small { display: block; margin-top: 1px; font-size: 0.7rem; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--h-sub); }

/* Marka işareti: gradient kare içinde beyaz logo; halkalar dışa doğru genişler */
.brand-mark {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.5);
  flex-shrink: 0;
}
.brand-mark img { position: relative; z-index: 1; display: block; width: 46px; height: auto; }
.brand-mark::before, .brand-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(129, 140, 248, 0.7);
  animation: markRing 2.8s ease-out infinite;
}
.brand-mark::after { animation-delay: 1.4s; }
@keyframes markRing { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.9); opacity: 0; } }

.auth-copy { margin-top: auto; margin-bottom: auto; max-width: 440px; padding-top: 20px; }
.auth-copy h2 { color: var(--h-strong); font-size: clamp(1.9rem, 2.6vw, 2.9rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.5px; animation: authRise 0.9s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.auth-copy h2 em {
  font-style: normal;
  background: linear-gradient(100deg, #a5b4fc, #c4b5fd, #7dd3fc, #86efac, #a5b4fc);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: authShine 9s ease-in-out infinite alternate;
}
@keyframes authShine { from { background-position: 0% 0; } to { background-position: 100% 0; } }
.auth-copy p { margin-top: 18px; font-size: 1.02rem; line-height: 1.65; color: var(--h-text); max-width: 460px; animation: authRise 0.9s 0.22s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.auth-points { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.auth-points li { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; font-weight: 500; color: var(--h-soft); animation: authRise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.auth-points li:nth-child(1) { animation-delay: 0.38s; }
.auth-points li:nth-child(2) { animation-delay: 0.48s; }
.auth-points li:nth-child(3) { animation-delay: 0.58s; }
.auth-points .material-symbols-outlined { width: 34px; height: 34px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; color: var(--h-chip-icon); background: var(--h-chip-bg); border: 1px solid var(--h-chip-border); }

@keyframes authRise { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }

/* Süzülen cam kartlar (süs; gerçek veri değil) */
.auth-float { position: absolute; right: 36px; top: 84px; bottom: 156px; width: 250px; display: flex; flex-direction: column; justify-content: center; gap: 12px; pointer-events: none; }
.glass-card {
  position: relative;
  box-sizing: border-box;
  width: 206px;
  height: 112px;
  overflow: hidden;
  padding: 13px 15px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 50px rgba(2, 6, 23, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  will-change: transform;
}
.gc-head { display: flex; align-items: center; gap: 8px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.4px; color: rgba(226, 232, 255, 0.9); margin-bottom: 8px; }
.gc-head .material-symbols-outlined { font-size: 17px; color: #a5b4fc; }

.gc-chart { align-self: flex-end; animation: cardFloat 7s ease-in-out infinite alternate, authFade 1s 0.5s both; }
.gc-chat { align-self: flex-start; animation: cardFloat 8.5s -2s ease-in-out infinite alternate, authFade 1s 0.7s both; }
.gc-3d { align-self: flex-end; animation: cardFloat 8s -1s ease-in-out infinite alternate, authFade 1s 0.8s both; }
.gc-cal { align-self: flex-start; animation: cardFloat 9s -4s ease-in-out infinite alternate, authFade 1s 0.9s both; }
@keyframes cardFloat { from { transform: translate3d(0, -3px, 0); } to { transform: translate3d(0, 3px, 0); } }
@keyframes authFade { from { opacity: 0; } to { opacity: 1; } }

.gc-bars { height: 46px; display: flex; align-items: flex-end; gap: 7px; }
.gc-bars i { flex: 1; height: 100%; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #818cf8, #6366f1); transform-origin: bottom; animation: barPulse 3.2s ease-in-out infinite; }
.gc-bars i:nth-child(1) { animation-delay: 0s; } .gc-bars i:nth-child(2) { animation-delay: -0.5s; background: linear-gradient(180deg, #a78bfa, #8b5cf6); }
.gc-bars i:nth-child(3) { animation-delay: -1s; } .gc-bars i:nth-child(4) { animation-delay: -1.5s; background: linear-gradient(180deg, #38bdf8, #0ea5e9); }
.gc-bars i:nth-child(5) { animation-delay: -2s; } .gc-bars i:nth-child(6) { animation-delay: -2.5s; background: linear-gradient(180deg, #a78bfa, #8b5cf6); } .gc-bars i:nth-child(7) { animation-delay: -0.8s; }
@keyframes barPulse { 0%, 100% { transform: scaleY(0.38); } 50% { transform: scaleY(1); } }

.gc-bubble { height: 12px; border-radius: 10px; margin-bottom: 6px; background: rgba(255, 255, 255, 0.16); }
.gc-bubble.is-in { width: 78%; }
.gc-bubble.is-out { width: 58%; margin-left: auto; background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.gc-typing { display: inline-flex; gap: 4px; padding: 6px 9px; border-radius: 10px; background: rgba(255, 255, 255, 0.12); }
.gc-typing i { width: 5px; height: 5px; border-radius: 50%; background: #c7d2fe; animation: dotBounce 1.2s ease-in-out infinite; }
.gc-typing i:nth-child(2) { animation-delay: 0.15s; } .gc-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dotBounce { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.gc-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.gc-days i:nth-child(n+15) { display: none; }
.gc-days i { aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.gc-days i.hot { background: #818cf8; box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.6); animation: dayPulse 2.4s ease-out infinite; }
.gc-days i.rose { background: #fb7185; }
@keyframes dayPulse { 0% { box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(129, 140, 248, 0); } }

/* 3B depo: CSS ile çizilmiş izometrik raf; palet kutuları, aranan palet (nabız atar) ve tarama ışını */
.gc-scene { height: 58px; display: flex; align-items: center; justify-content: center; perspective: 700px; }
.gc-rack {
  position: relative;
  width: 108px;
  height: 76px;
  margin-top: 0;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(38deg) scale(0.5);
  animation: rackSway 12s ease-in-out infinite alternate;
}
@keyframes rackSway { from { transform: rotateX(58deg) rotateZ(30deg) scale(0.5); } to { transform: rotateX(58deg) rotateZ(46deg) scale(0.5); } }
.gc-floor {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(165, 180, 252, 0.4);
  border-radius: 4px;
  background: linear-gradient(rgba(165, 180, 252, 0.16) 1px, transparent 1px) 0 0 / 14px 14px, linear-gradient(90deg, rgba(165, 180, 252, 0.16) 1px, transparent 1px) 0 0 / 14px 14px, rgba(99, 102, 241, 0.1);
}
.gc-scan {
  position: absolute;
  left: -8px; right: -8px; top: -8px;
  height: 9px;
  background: linear-gradient(180deg, transparent, rgba(56, 189, 248, 0.7), transparent);
  animation: rackScan 3.8s ease-in-out infinite;
}
@keyframes rackScan { 0% { transform: translateY(0); opacity: 0; } 12%, 88% { opacity: 1; } 100% { transform: translateY(84px); opacity: 0; } }

.cube { --c: #6366f1; position: absolute; left: calc(var(--x) * 28px); top: calc(var(--y) * 26px); width: 22px; height: 22px; transform-style: preserve-3d; }
.cube b { position: absolute; display: block; }
.cube .f-top { inset: 0; transform: translateZ(var(--h)); background: color-mix(in srgb, var(--c) 78%, #fff); border-radius: 2px; }
.cube .f-front { left: 0; top: 22px; width: 22px; height: var(--h); transform-origin: top; transform: rotateX(90deg); background: var(--c); }
.cube .f-side { left: 22px; top: 0; width: var(--h); height: 22px; transform-origin: left; transform: rotateY(-90deg); background: color-mix(in srgb, var(--c) 58%, #000); }
.cube.c-indigo { --c: #6366f1; }
.cube.c-violet { --c: #8b5cf6; }
.cube.c-sky { --c: #0ea5e9; }
.cube.c-hot { --c: #fb7185; animation: cubeHot 2.2s ease-in-out infinite; }
@keyframes cubeHot { 0%, 100% { transform: translateZ(0); } 50% { transform: translateZ(9px); } }

/* Kalp atışı çizgisi: sabit iz + üzerinde akan parlak parça */
.auth-ecg { position: absolute; left: 0; right: 0; bottom: 34px; width: 100%; height: 118px; overflow: visible; }
.auth-ecg { -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent 100%); mask-image: linear-gradient(90deg, #000 62%, transparent 100%); }
.auth-ecg path { stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ecg-base { stroke: rgba(165, 180, 252, 0.22); }
.ecg-comet { stroke: #c7d2fe; stroke-dasharray: 0.22 1.22; stroke-dashoffset: 0.22; filter: drop-shadow(0 0 7px rgba(129, 140, 248, 0.95)); animation: ecgRun 5.2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes ecgRun { from { stroke-dashoffset: 0.22; } to { stroke-dashoffset: -1; } }

/* Gündüz teması: aynı sürekli zemin, açık tonlarda */
[data-theme="light"] .auth-hero {
  color: #1e293b;
  --h-strong: #0f172a;
  --h-text: #475569;
  --h-soft: #1e293b;
  --h-sub: #6366f1;
  --h-chip-bg: rgba(99, 102, 241, 0.12);
  --h-chip-border: rgba(99, 102, 241, 0.22);
  --h-chip-icon: #4f46e5;
}
[data-theme="light"] .auth-bg { background: radial-gradient(70% 95% at 0% 0%, #dfe6ff 0%, #eef2ff 48%, #f8fafc 100%); }
[data-theme="light"] .orb { opacity: 0.32; filter: blur(80px); }
[data-theme="light"] .orb-2 { opacity: 0.24; }
[data-theme="light"] .orb-3 { opacity: 0.26; }
[data-theme="light"] .orb-4 { opacity: 0.2; }
[data-theme="light"] .orb-5 { opacity: 0.2; }
[data-theme="light"] .auth-grid {
  background-image: linear-gradient(rgba(79, 70, 229, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 70, 229, 0.08) 1px, transparent 1px);
}
[data-theme="light"] .auth-copy h2 em { background-image: linear-gradient(100deg, #4f46e5, #7c3aed, #0284c7, #059669, #4f46e5); }
[data-theme="light"] .glass-card { background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.55)); border-color: rgba(99, 102, 241, 0.2); box-shadow: 0 20px 44px rgba(79, 70, 229, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.9); }
[data-theme="light"] .gc-head { color: #334155; }
[data-theme="light"] .gc-head .material-symbols-outlined { color: #6366f1; }
[data-theme="light"] .gc-bubble { background: rgba(99, 102, 241, 0.14); }
[data-theme="light"] .gc-typing { background: rgba(99, 102, 241, 0.12); }
[data-theme="light"] .gc-typing i { background: #6366f1; }
[data-theme="light"] .gc-days i { background: rgba(99, 102, 241, 0.16); }
[data-theme="light"] .gc-days i.hot { background: #6366f1; }
[data-theme="light"] .gc-days i.rose { background: #f43f5e; }
[data-theme="light"] .ecg-base { stroke: rgba(99, 102, 241, 0.28); }
[data-theme="light"] .ecg-comet { stroke: #6366f1; filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.55)); }

/* ---------------------------------------------------------------- Form paneli */
.auth-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 28px 40px;
}

.login-card {
  position: relative;
  width: 100%;
  max-width: 430px;
  background: rgba(22, 30, 49, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 26px;
  padding: 42px 40px 36px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  animation: cardIn 0.75s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
[data-theme="light"] .login-card {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.05);
}
.login-card::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #0ea5e9, #43c686, #6366f1);
  background-size: 300% 100%;
  animation: authShine 7s linear infinite alternate;
}
@keyframes cardIn { from { opacity: 0; transform: translate3d(0, 26px, 0) scale(0.985); } to { opacity: 1; transform: none; } }

.login-header { text-align: center; margin-bottom: 30px; }
.login-header > * { animation: authRise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.login-header > *:nth-child(1) { animation-delay: 0.25s; }
.login-header > *:nth-child(2) { animation-delay: 0.32s; }
.login-header > *:nth-child(3) { animation-delay: 0.4s; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.login-logo { display: flex; justify-content: center; margin: -4px 0 6px; }
.login-logo img { width: 176px; height: auto; display: block; }
.login-logo .logo-on-light { display: none; }
[data-theme="light"] .login-logo .logo-on-dark { display: none; }
[data-theme="light"] .login-logo .logo-on-light { display: block; }

.login-brand-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 16px;
  box-shadow: 0 10px 26px var(--accent-primary-glow);
}
.login-brand-icon .material-symbols-outlined { font-size: 30px; }
.login-header h1 { font-size: 1.6rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.2px; }
.login-header p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.55; }

.form-group { margin-bottom: 20px; animation: authRise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.login-card form .form-group:nth-of-type(1) { animation-delay: 0.42s; }
.login-card form .form-group:nth-of-type(2) { animation-delay: 0.5s; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--text-muted); margin-bottom: 8px; }

.input-wrapper { position: relative; display: flex; align-items: center; }
.input-wrapper > .material-symbols-outlined { position: absolute; left: 14px; color: var(--text-muted); font-size: 20px; pointer-events: none; transition: color 0.2s ease; }
.input-wrapper:focus-within > .material-symbols-outlined { color: var(--accent-primary); }
.input-wrapper input {
  width: 100%;
  padding: 13px 44px 13px 44px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
[data-theme="light"] .input-wrapper input { background: #f8fafc; border-color: #cbd5e1; }
.input-wrapper input:focus { border-color: var(--accent-primary); box-shadow: 0 0 0 4px var(--accent-primary-glow); }

.auth-eye { position: absolute; right: 8px; width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; color: var(--text-muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s ease; }
.auth-eye:hover { color: var(--accent-primary); background: var(--accent-primary-glow); }
.auth-eye .material-symbols-outlined { position: static; font-size: 20px; }
.auth-caps { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 0.76rem; font-weight: 600; color: var(--accent-warning); }
.auth-caps[hidden] { display: none; }
.auth-caps .material-symbols-outlined { font-size: 17px; }

.login-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  background: linear-gradient(120deg, var(--accent-primary), var(--accent-purple), var(--accent-secondary), var(--accent-primary));
  background-size: 300% 100%;
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.6s ease;
  box-shadow: 0 8px 22px var(--accent-primary-glow);
  animation: authRise 0.7s 0.58s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.login-btn:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 12px 30px var(--accent-primary-glow); }
.login-btn:active { transform: translateY(0); }
.login-btn .material-symbols-outlined { transition: transform 0.25s ease; }
.login-btn:hover .material-symbols-outlined { transform: translateX(4px); }
.login-btn:disabled { cursor: progress; opacity: 0.85; }
.login-btn.is-loading > span { opacity: 0; }
.login-btn.is-loading::after { content: ''; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: authSpin 0.7s linear infinite; }
@keyframes authSpin { to { transform: rotate(360deg); } }

.alert-danger,
.alert-success,
.alert-info {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 22px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert-danger .material-symbols-outlined,
.alert-success .material-symbols-outlined,
.alert-info .material-symbols-outlined { font-size: 20px; flex-shrink: 0; }
.alert-danger  { background: rgba(239, 68, 68, 0.15);  border: 1px solid var(--accent-danger);  color: #fca5a5; animation: authShake 0.5s 0.15s both; }
.alert-success { background: rgba(16, 185, 129, 0.14); border: 1px solid var(--accent-success); color: #6ee7b7; animation: authRise 0.6s both; }
.alert-info    { background: rgba(99, 102, 241, 0.14); border: 1px solid var(--accent-primary); color: #c7d2fe; }
[data-theme="light"] .alert-danger  { background: #fef2f2; color: #b91c1c; }
[data-theme="light"] .alert-success { background: #ecfdf5; color: #047857; }
[data-theme="light"] .alert-info    { background: #eef2ff; color: #4338ca; }
@keyframes authShake { 0%, 100% { transform: none; } 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }

.auth-links { margin-top: 22px; text-align: center; font-size: 0.84rem; color: var(--text-muted); display: flex; flex-direction: column; gap: 8px; animation: authRise 0.7s 0.66s both; }
.auth-links a { color: var(--accent-primary); text-decoration: none; font-weight: 600; }
.auth-links a:hover { text-decoration: underline; }
.invite-hint { margin-top: 20px; text-align: center; font-size: 0.8rem; color: var(--text-muted); }
.invite-hint a { color: var(--accent-primary); }
.auth-field-hint { margin-top: 6px; font-size: 0.75rem; color: var(--text-muted); }

/* ---------------------------------------------------------------- Şirket seçimi */
.company-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.company-option { animation: authRise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.company-option:nth-child(2) { animation-delay: 0.06s; }
.company-option:nth-child(3) { animation-delay: 0.12s; }
.company-option:nth-child(n+4) { animation-delay: 0.18s; }
.company-option form { margin: 0; }
.company-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: rgba(15, 23, 42, 0.45);
  color: var(--text-main);
  font: inherit;
  text-align: start;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease, background 0.2s ease;
}
[data-theme="light"] .company-btn { background: #f8fafc; border-color: #e2e8f0; }
.company-btn:hover:not(:disabled) { transform: translateY(-1px); border-color: var(--accent-primary); }
.company-btn:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 2px; }
.company-btn:disabled { cursor: default; opacity: 0.7; }
.company-btn.is-current { border-color: rgba(16, 185, 129, 0.45); }
.company-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
}
.company-avatar .material-symbols-outlined { font-size: 21px; }
.company-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.company-name { font-weight: 600; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.company-sub { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.76rem; color: var(--text-muted); }
.company-sub:empty { display: none; }
.company-go { color: var(--text-muted); transition: transform 0.2s ease, color 0.2s ease; }
.company-btn:hover:not(:disabled) .company-go { transform: translateX(3px); color: var(--accent-primary); }
.company-contact { display: inline-block; margin: 6px 0 0 68px; font-size: 0.8rem; font-weight: 600; color: var(--accent-primary); text-decoration: none; }
.company-contact:hover { text-decoration: underline; }

.company-badge { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: 0.7rem; font-weight: 600; border: 1px solid transparent; }
.company-badge.tone-emerald { background: rgba(16, 185, 129, 0.16); color: #34d399; border-color: rgba(16, 185, 129, 0.35); }
.company-badge.tone-amber { background: rgba(245, 158, 11, 0.16); color: #fbbf24; border-color: rgba(245, 158, 11, 0.35); }
.company-badge.tone-sky { background: rgba(14, 165, 233, 0.16); color: #38bdf8; border-color: rgba(14, 165, 233, 0.35); }
.company-badge.tone-rose { background: rgba(244, 63, 94, 0.16); color: #fb7185; border-color: rgba(244, 63, 94, 0.35); }
[data-theme="light"] .company-badge.tone-emerald { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
[data-theme="light"] .company-badge.tone-amber { background: #fffbeb; color: #b45309; border-color: #fde68a; }
[data-theme="light"] .company-badge.tone-sky { background: #f0f9ff; color: #0369a1; border-color: #bae6fd; }
[data-theme="light"] .company-badge.tone-rose { background: #fff1f2; color: #be123c; border-color: #fecdd3; }

/* Paylaşımlı demo / deneme bitiş / iletişim sayfaları */
.auth-text { font-size: 0.9rem; line-height: 1.6; color: var(--text-muted); margin: 0 0 18px; }
.auth-facts { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.auth-facts li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.86rem; line-height: 1.5; color: var(--text-main); }
.auth-facts .material-symbols-outlined { font-size: 19px; color: var(--accent-primary); flex-shrink: 0; }
.input-wrapper textarea {
  width: 100%;
  min-height: 96px;
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
}
[data-theme="light"] .input-wrapper textarea { background: #f8fafc; border-color: #cbd5e1; }
.input-wrapper textarea:focus { border-color: var(--accent-primary); box-shadow: 0 0 0 4px var(--accent-primary-glow); }
.input-wrapper input[readonly] { opacity: 0.75; }

/* ---------------------------------------------------------------- Responsive */
@media (max-height: 740px) {
  .gc-3d { display: none; }
}
@media (max-height: 600px) {
  .auth-float { display: none; }
}

@media (max-width: 1320px) {
  .auth-float { display: none; }
  .auth-hero-inner { padding: 40px 44px 0; }
}

@media (max-width: 960px) {
  .auth-shell { grid-template-columns: 1fr; min-height: 100vh; }
  .auth-hero-inner { height: auto; padding: 20px 20px 0; }
  .auth-brand-text b { font-size: 1.2rem; }
  .brand-mark { width: 44px; height: 44px; border-radius: 14px; }
  .brand-mark img { width: 28px; }
  .login-logo img { width: 150px; }
  .auth-copy { margin: 16px 0 0; padding: 0; max-width: none; }
  .auth-copy h2 { font-size: 1.65rem; }
  .auth-copy p { display: none; }
  .auth-points { display: flex; flex-direction: row; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
  .auth-points li { gap: 4px; padding: 3px 9px 3px 3px; border-radius: 999px; font-size: 0.68rem; background: var(--h-chip-bg); border: 1px solid var(--h-chip-border); }
  .auth-points .material-symbols-outlined { width: 24px; height: 24px; border-radius: 50%; font-size: 14px; background: transparent; border: 0; }
  .auth-ecg { position: relative; bottom: auto; margin-top: 2px; height: 42px; }
  .auth-panel { padding: 6px 16px 34px; align-items: flex-start; }
  .login-card { padding: 28px 22px 26px; border-radius: 22px; }
  .login-header { margin-bottom: 22px; }
  .login-brand-icon { width: 52px; height: 52px; border-radius: 16px; margin-bottom: 12px; }
  .login-header h1 { font-size: 1.4rem; }
  .form-group { margin-bottom: 16px; }
  .auth-tools { top: 12px; right: 12px; }
  .orb { filter: blur(56px); }
  .orb-1 { width: 380px; height: 380px; left: -120px; top: -100px; }
  .orb-2 { left: 40%; top: 14%; width: 320px; height: 320px; }
  .orb-3 { left: -60px; bottom: -120px; width: 340px; height: 340px; }
  .orb-5 { right: -120px; bottom: 6%; width: 320px; height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  .orb, .glass-card, .gc-bars i, .gc-typing i, .gc-days i.hot, .ecg-comet, .brand-mark::before, .gc-rack, .gc-scan, .cube.c-hot,
  .auth-copy h2 em, .login-card::before { animation: none; }
  .auth-brand, .auth-copy h2, .auth-copy p, .auth-points li, .login-card, .login-header > *, .form-group, .login-btn, .auth-links, .alert-danger, .alert-success, .company-option { animation: none; }
  .company-btn:hover:not(:disabled), .company-btn:hover:not(:disabled) .company-go { transform: none; }
  .ecg-comet { stroke-dasharray: none; }
}

.company-avatar { overflow: hidden; }
.company-avatar img { width: 100%; height: 100%; object-fit: contain; background: #fff; }

.company-avatar img { box-sizing: border-box; padding: 5px; }
