/* pdksnod — giriş / kayıt arka plan (marka: navy + krem) */

:root {
    --auth-navy: #1c344c;
    --auth-navy-dark: #152a3d;
    --auth-navy-muted: #3d5a73;
    --auth-slate: #64748b;
    --auth-cream: #f5f3ef;
    --auth-cream-2: #ebe6dc;
    --auth-surface: #faf9f7;
    --auth-border: rgba(28, 52, 76, 0.1);
}

.auth-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
    background: var(--auth-cream);
}

.auth-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.auth-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 75% 55% at 8% 12%, rgba(28, 52, 76, 0.06) 0%, transparent 52%),
        radial-gradient(ellipse 65% 50% at 92% 88%, rgba(28, 52, 76, 0.05) 0%, transparent 48%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(240, 233, 220, 0.5) 0%, transparent 70%),
        linear-gradient(165deg, var(--auth-cream-2) 0%, var(--auth-surface) 45%, var(--auth-cream) 100%);
}

.auth-bg-grid {
    position: absolute;
    inset: 0;
    opacity: 0.28;
    background-image:
        linear-gradient(rgba(28, 52, 76, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28, 52, 76, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 68% 68% at 50% 50%, #000 15%, transparent 78%);
}

.auth-bg-clock,
.auth-bg-qr,
.auth-bg-chart {
    color: var(--auth-navy);
}

.auth-bg-clock {
    position: absolute;
    top: -80px;
    left: -80px;
    width: 420px;
    height: 420px;
    opacity: 0.055;
}

.auth-bg-qr {
    position: absolute;
    bottom: 6%;
    right: 4%;
    width: 200px;
    height: 200px;
    opacity: 0.05;
}

.auth-bg-chart {
    position: absolute;
    top: 18%;
    right: 6%;
    width: 280px;
    height: 160px;
    opacity: 0.05;
}

.auth-bg-timeline {
    position: absolute;
    left: 5%;
    bottom: 14%;
    width: 220px;
    opacity: 0.38;
    color: var(--auth-navy);
}

.auth-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border-radius: 11px;
    background: rgba(250, 249, 247, 0.82);
    border: 1px solid var(--auth-border);
    box-shadow: 0 6px 24px rgba(28, 52, 76, 0.05);
    font-size: 11px;
    font-weight: 600;
    color: var(--auth-slate);
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.auth-chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--auth-navy-muted);
}

.auth-chip-dot.in { background: var(--auth-navy); opacity: 0.85; }
.auth-chip-dot.out { background: var(--auth-navy-dark); opacity: 0.65; }
.auth-chip-dot.qr { background: var(--auth-navy); opacity: 0.5; }

.auth-chip svg { color: var(--auth-navy); opacity: 0.7; }

.auth-chip-1 { top: 14%; left: 8%; animation: auth-float 8s ease-in-out infinite; }
.auth-chip-2 { top: 28%; right: 10%; animation: auth-float 9s ease-in-out infinite 1s; }
.auth-chip-3 { bottom: 22%; left: 12%; animation: auth-float 10s ease-in-out infinite 2s; }
.auth-chip-4 { bottom: 12%; right: 14%; animation: auth-float 11s ease-in-out infinite 0.5s; }

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

.auth-page .card,
.auth-page .auth-card {
    position: relative;
    z-index: 1;
    background: #fff;
    border: 1px solid var(--auth-border);
    box-shadow: 0 16px 48px rgba(28, 52, 76, 0.08);
}

.auth-page .auth-card h2 {
    text-align: center;
}
.auth-page .auth-card .sub {
    text-align: center;
}

@media (max-width: 900px) {
    .auth-bg-clock,
    .auth-bg-chart,
    .auth-bg-timeline,
    .auth-chip-1,
    .auth-chip-2 {
        display: none;
    }
    .auth-chip-3 { left: 4%; bottom: 16%; }
    .auth-chip-4 { right: 4%; bottom: 8%; }
}

@media (max-width: 520px) {
    .auth-bg-qr,
    .auth-chip {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-chip { animation: none; }
}

.portal-login-page .portal-login-screen {
    background: transparent;
}
.portal-login-page .portal-login-screen::before {
    display: none;
}
.portal-login-page .portal-login-wrap {
    position: relative;
    z-index: 1;
}
