/* =====================================================================
   NINER PANEL GİRİŞİ — yeni site görünümü (03.10.2026)
   Görünüm: resources/views/filament/layouts/niner-auth.blade.php
   admin.css'teki `.niner-auth` kuralları formu çizer; burada renk
   değişkenleri sitenin açık paletine çevrilir ve düzen kurulur.
   Bütün kurallar `.niner-auth.ng` altında; panelin geri kalanına dokunmaz.
   ===================================================================== */

.niner-auth.ng {
  /* Eski lacivert/kehribar değişkenler → site paleti */
  --na-navy: #0B1437;
  --na-navy-deep: #0B1437;
  --na-navy-panel: #0B1437;
  --na-amber: #1B6BFF;
  --na-amber-deep: #0F4ED3;
  --na-amber-ink: #FFFFFF;
  --na-surface: #F6F8FC;
  --na-card: #FFFFFF;
  --na-ink: #0B1437;
  --na-ink-2: #5D6886;
  --na-line: #E2E8F2;
  --na-line-soft: #EDF1F7;
  --na-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --na-ui: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;

  --ink: #0B1437; --ink-2: #333E5E; --muted: #5D6886; --line: #E2E8F2; --line-2: #EDF1F7;
  --soft: #F6F8FC; --soft-2: #EEF3FB; --blue: #1B6BFF; --blue-ink: #0F4ED3;
  --grad: linear-gradient(100deg, #2FD3E0 0%, #1B8FFF 48%, #6433FF 100%);
  --golge-k: 0 1px 2px rgba(11, 20, 55, .05), 0 2px 8px rgba(11, 20, 55, .04);
  --golge-b: 0 2px 4px rgba(11, 20, 55, .04), 0 24px 60px -20px rgba(27, 60, 160, .28);

  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 1fr);
  font-family: var(--na-ui);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
.niner-auth.ng::before { background: #fff; }

.ng .ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Birincil düğme: site mavisi */
.niner-auth.ng .fi-ac-btn-action.fi-btn:not(.niner-auth__otp-action) {
  background: #1B6BFF; color: #fff; border-radius: 12px; box-shadow: 0 8px 20px -8px rgba(27, 107, 255, .7);
}
.niner-auth.ng .fi-ac-btn-action.fi-btn:not(.niner-auth__otp-action):hover { background: #0F4ED3; }
.niner-auth.ng .fi-input-wrp { border-radius: 12px; }
.niner-auth.ng .fi-input-wrp:focus-within { border-color: #1B6BFF; box-shadow: 0 0 0 4px rgba(27, 107, 255, .14); }
.niner-auth.ng .fi-simple-header-heading { font-family: var(--na-display); letter-spacing: -.02em; }

/* ---------- Sol: sahne ---------- */
.ng-sahne { position: relative; overflow: hidden;
  background: radial-gradient(60% 60% at 70% 45%, rgba(56, 224, 230, .16), transparent 70%),
              radial-gradient(50% 50% at 30% 80%, rgba(100, 51, 255, .10), transparent 70%),
              linear-gradient(180deg, #F7FAFF 0%, #EEF4FD 100%);
  border-right: 1px solid var(--line); }
.ng-sahne::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(#E6ECF6 1px, transparent 1px), linear-gradient(90deg, #E6ECF6 1px, transparent 1px);
  background-size: 48px 48px; opacity: .5;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 80%); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 80%); }
.ng-sahne-ic { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100svh; padding: 40px 56px 36px; }
.ng-logo img { height: 32px; width: auto; }
.ng-giris { margin-top: 40px; max-width: 560px; }
.ng-ust { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-ink); }
.ng-ust i { width: 28px; height: 4px; border-radius: 4px; background: var(--grad); }
.ng-giris h2 { margin: 14px 0 0; font-size: clamp(30px, 3vw, 44px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; color: var(--ink); }
.ng-giris h2 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ng-giris p { margin: 14px 0 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.ng-gorsel { flex: 1; display: flex; align-items: center; justify-content: center; padding: 10px 0; }
.ng-gorsel .merkez { max-width: 500px; margin: 30px auto 40px; }
.ng-guven { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--muted); }
.ng-guven li { display: flex; align-items: center; gap: 8px; }
.ng-guven .ic { color: var(--blue); }

/* ---------- Sağ: form ---------- */
.ng-panel { display: flex; align-items: center; justify-content: center; padding: 40px 32px; background: #fff; }
.ng-panel-ic { width: 100%; max-width: 440px; }
.ng-kucuk-logo { display: none; margin: 0 auto 24px; width: max-content; }
.ng-kucuk-logo img { height: 30px; width: auto; }
.niner-auth.ng .ng-kart { padding: 34px 32px 26px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--golge-b); }
.ng-kart-serit { display: block; width: 40px; height: 4px; margin-bottom: 18px; border-radius: 999px; background: var(--grad); }
.ng-demo { margin-bottom: 16px; padding: 6px 12px; border-radius: 999px; background: #FFF5DA; color: #8A6100; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; width: max-content; }
.ng-guvence { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 22px 0 0; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--line-2); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.ng-guvence li { display: flex; align-items: center; gap: 6px; }
.ng-guvence .ic { width: 15px; height: 15px; color: var(--blue); }
.ng-alt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 18px; font-size: 14px; font-weight: 600; }
.ng-alt a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; }
.ng-alt a:hover { color: var(--blue-ink); }
.ng-alt .ic { color: var(--blue); }
.ng-geri { transform: rotate(180deg); }
.ng-yasal { margin: 14px 0 0; text-align: center; font-size: 12px; color: #98A3BC; }

@media (max-width: 1100px) {
  .niner-auth.ng { grid-template-columns: minmax(0, 1fr) minmax(400px, 1fr); }
  .ng-sahne-ic { padding: 32px 36px; }
}
@media (max-width: 900px) {
  .niner-auth.ng { grid-template-columns: 1fr; }
  .ng-sahne { display: none; }
  .ng-kucuk-logo { display: block; }
  .ng-panel { min-height: 100svh; align-items: flex-start; padding: 36px 16px; background: linear-gradient(180deg, #F7FAFF, #fff 40%); }
}

/* ---------- Hareketli merkez (ana sayfadakiyle aynı; site CSS'i bu sayfada yüklü değil) ---------- */
.ng .merkez { position: relative; width: 100%; aspect-ratio: 560 / 520; }
.ng .merkez-isik { position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(56, 224, 230, .30), transparent 70%), radial-gradient(45% 45% at 70% 65%, rgba(100, 51, 255, .22), transparent 70%), radial-gradient(40% 40% at 30% 70%, rgba(27, 143, 255, .18), transparent 70%);
  filter: blur(6px); animation: ng-don 18s linear infinite; }
@keyframes ng-don { to { transform: rotate(360deg); } }
.ng .merkez-cizgi { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ng .cizgi-taban { fill: none; stroke: #D6DEEC; stroke-width: 1.5; stroke-dasharray: 3 6; }
.ng .cizgi-akis { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 26 260; stroke-dashoffset: 26; opacity: .9; filter: drop-shadow(0 0 6px currentColor); animation: ng-akis 2.6s cubic-bezier(.4, 0, .2, 1) infinite; }
@keyframes ng-akis { from { stroke-dashoffset: 26; } to { stroke-dashoffset: -260; } }
.ng .yorunge { fill: none; stroke: #DCE4F2; stroke-width: 1.2; stroke-dasharray: 2 10; animation: ng-yorunge 40s linear infinite; }
.ng .yorunge-2 { stroke: #E6ECF6; animation-duration: 28s; animation-direction: reverse; }
@keyframes ng-yorunge { to { stroke-dashoffset: -480; } }
.ng .cekirdek { position: absolute; left: 50%; top: 50%; width: 124px; height: 124px; transform: translate(-50%, -50%); display: grid; place-items: center; }
.ng .halka { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(27, 143, 255, .35); animation: ng-halka 3.6s ease-out infinite; }
.ng .halka.h2 { animation-delay: 1.2s; border-color: rgba(56, 224, 230, .4); }
.ng .halka.h3 { animation-delay: 2.4s; border-color: rgba(100, 51, 255, .3); }
@keyframes ng-halka { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.ng .cekirdek-ic { position: relative; width: 98px; height: 98px; border-radius: 28px; display: grid; place-items: center; background: #fff;
  box-shadow: 0 0 0 1px rgba(27, 107, 255, .12), 0 18px 50px -12px rgba(27, 107, 255, .55), 0 0 60px rgba(56, 224, 230, .35); animation: ng-cekirdek 3.6s ease-in-out infinite; }
.ng .cekirdek-ic img { width: 58px; height: 58px; }
@keyframes ng-cekirdek { 50% { box-shadow: 0 0 0 1px rgba(27, 107, 255, .2), 0 22px 60px -10px rgba(100, 51, 255, .6), 0 0 80px rgba(56, 224, 230, .5); } }
.ng .dugum { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 6px; transform: translate(-50%, -50%); animation: ng-dugum 6s ease-in-out infinite; z-index: 2; }
@keyframes ng-dugum { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 9px)); } }
.ng .dugum-ikon { position: relative; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; background: #fff; color: var(--r);
  border: 1px solid color-mix(in srgb, var(--r) 25%, #fff); box-shadow: 0 0 0 6px color-mix(in srgb, var(--r) 9%, transparent), 0 14px 34px -12px var(--r); }
.ng .dugum-ikon::after { content: ""; position: absolute; inset: -6px; border-radius: 21px; border: 2px solid var(--r); opacity: 0; animation: ng-parla 3s ease-out infinite; animation-delay: inherit; }
@keyframes ng-parla { 0% { opacity: .7; transform: scale(.9); } 70%, 100% { opacity: 0; transform: scale(1.35); } }
.ng .dugum-ikon .ic { width: 24px; height: 24px; }
.ng .dugum-ad { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); font-size: 12px; font-weight: 800; color: var(--ink-2); white-space: nowrap; box-shadow: var(--golge-k); }
.ng .parilti { position: absolute; width: 10px; height: 10px; transform: translate(-50%, -50%); animation: ng-parilti 3s ease-in-out infinite; }
.ng .parilti::before, .ng .parilti::after { content: ""; position: absolute; left: 50%; top: 50%; width: 100%; height: 2px; margin: -1px 0 0 -50%; border-radius: 2px; background: linear-gradient(90deg, transparent, #7FD8F0, transparent); }
.ng .parilti::after { transform: rotate(90deg); }
@keyframes ng-parilti { 0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.4); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.4) rotate(45deg); } }
.ng .bildirim-yuva { position: absolute; width: 260px; height: 62px; z-index: 3; }
.ng .yuva-a { right: -8%; top: -6%; }
.ng .yuva-b { left: -8%; bottom: -9%; }
.ng .bildirim { position: absolute; inset: 0; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line); box-shadow: 0 18px 40px -16px rgba(11, 20, 55, .35); opacity: 0; transform: translateY(12px) scale(.97); animation: ng-bildirim 9s ease-in-out infinite; }
@keyframes ng-bildirim { 0% { opacity: 0; transform: translateY(12px) scale(.97); } 5%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translateY(-10px) scale(.97); } }
.ng .bildirim-ikon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; flex: none; color: #fff; background: var(--r); }
.ng .bildirim-ikon .ic { width: 18px; height: 18px; }
.ng .bildirim b { display: block; font-size: 13px; color: var(--ink); }
.ng .bildirim small { display: block; font-size: 11.5px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .ng *, .ng *::before, .ng *::after { animation: none !important; }
  .ng .bildirim-yuva .bildirim:first-child { opacity: 1; transform: none; }
  .ng .cizgi-akis { opacity: 0; }
}

/* admin.css eski düzende dar ekranda .niner-auth'u blok yapıyor; yeni düzen kendi kırılımını kullanır */
.niner-auth.ng { display: grid !important; }
@media (max-width: 900px) { .niner-auth.ng { grid-template-columns: 1fr !important; } }

/* SMS kodu gönder düğmesi: açık mavi, okunur */
.niner-auth.ng .niner-auth__otp-action.fi-btn { border: 1px solid #C9D8F5 !important; border-radius: 12px !important; background: #EEF4FF !important; color: #0F4ED3 !important; box-shadow: none !important; }
.niner-auth.ng .niner-auth__otp-action.fi-btn:hover { border-color: #1B6BFF !important; background: #E3EDFF !important; }
.ng-gorsel .merkez { max-width: 470px; }
