/* ============================================================
   SUV MARINE — Giriş Ekranları (split-screen)
   Solda marka sahnesi (navy + ghost + paint swash), sağda cam
   form kartı. Üç giriş (staff / yönetim / portal) aynı dili
   paylaşır; yalnız --auth-accent ve rozet değişir.
   ============================================================ */

.auth-body {
    min-height: 100vh;
    background: var(--suv-bg);
    color: var(--suv-ink);
    overflow-x: hidden;
}

.auth-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 100vh;
    padding: var(--suv-gutter);
    gap: var(--suv-gutter);
}

/* ------------------------------------------------------------
   Sol · Marka sahnesi
   ------------------------------------------------------------ */
.auth-brand {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: var(--suv-radius-xl);
    padding: clamp(32px, 4vw, 60px);
    display: flex;
    flex-direction: column;
    color: #fff;
    background:
        radial-gradient(80% 90% at 88% -8%, rgba(17, 115, 212, 0.35), transparent 55%),
        radial-gradient(70% 80% at -6% 108%, rgba(45, 240, 143, 0.16), transparent 55%),
        linear-gradient(160deg, #06265c 0%, var(--suv-navy-deep) 60%, #030d1e 100%);
    box-shadow: var(--suv-shadow-lg);
}

/* yönetim varyantı: daha koyu, mint ağırlıklı */
.auth-brand.is-admin {
    background:
        radial-gradient(80% 90% at 90% -8%, rgba(45, 240, 143, 0.20), transparent 55%),
        radial-gradient(70% 80% at -6% 108%, rgba(17, 115, 212, 0.22), transparent 55%),
        linear-gradient(160deg, #041a3e 0%, #030d1e 62%, #01060f 100%);
}

.auth-ghost {
    position: absolute;
    right: -4%;
    bottom: -6%;
    font-size: clamp(180px, 24vw, 360px);
    font-weight: 760;
    font-stretch: 125%;
    line-height: 0.8;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.035);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.auth-paint {
    position: absolute;
    top: -10%;
    right: -14%;
    width: 56%;
    max-width: none;
    opacity: 0.14;
    transform: rotate(-10deg);
    pointer-events: none;
    z-index: 0;
}

.auth-brandTop { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.auth-logo { height: 38px; width: auto; filter: brightness(0) invert(1); }
.auth-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
    font-weight: 780;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    padding: 8px 14px;
    border-radius: var(--suv-radius-pill);
    background:
        radial-gradient(140% 150% at 14% -14%, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.05) 55%),
        linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(14px) saturate(170%);
    -webkit-backdrop-filter: blur(14px) saturate(170%);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.28), 0 8px 22px rgba(2, 8, 18, 0.2);
}
.auth-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--auth-accent, var(--suv-mint)); box-shadow: 0 0 9px var(--auth-accent, var(--suv-mint)); }

.auth-brandMid { position: relative; z-index: 1; margin-top: auto; padding-top: 40px; }
.auth-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 720;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--auth-accent, var(--suv-mint-soft));
    margin-bottom: 16px;
}
.auth-headline {
    font-size: clamp(30px, 3.6vw, 52px);
    font-weight: 760;
    font-stretch: 108%;
    letter-spacing: -0.025em;
    line-height: 1.04;
    color: #fff;
    max-width: 16ch;
}
.auth-headline .accent { color: var(--auth-accent, var(--suv-mint)); }
.auth-sub {
    margin-top: 18px;
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.66);
    max-width: 42ch;
}

.auth-feats { position: relative; z-index: 1; margin-top: 34px; display: flex; flex-direction: column; gap: 12px; }
.auth-feat { display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 550; color: rgba(255, 255, 255, 0.82); }
.auth-feat .fi {
    width: 30px; height: 30px;
    border-radius: 9px;
    display: grid; place-items: center;
    font-size: 13px;
    flex-shrink: 0;
    color: var(--auth-accent, var(--suv-mint));
    background: rgba(255, 255, 255, 0.07);
}
.auth-feat .fi i::before { vertical-align: 0; display: block; line-height: 1; }

.auth-brandFoot {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 40px;
    font-size: 11.5px;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.42);
}

/* ------------------------------------------------------------
   Sağ · Form kartı
   ------------------------------------------------------------ */
.auth-formSide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 3vw, 48px);
}
.auth-card { width: 100%; max-width: 400px; }

.auth-mLogo { display: none; }   /* mobilde brand gizlenince görünür */

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 780;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--suv-navy);
    background: var(--suv-info-soft);
    border-radius: var(--suv-radius-pill);
    padding: 7px 13px;
    margin-bottom: 20px;
}
.auth-badge.acc-mint { color: var(--suv-mint-ink); background: var(--suv-success-soft); }
.auth-badge i { font-size: 12px; }

.auth-title {
    font-size: clamp(24px, 2.4vw, 30px);
    font-weight: 760;
    font-stretch: 107%;
    letter-spacing: -0.022em;
    line-height: 1.05;
    color: var(--suv-ink);
}
.auth-lead { margin-top: 8px; font-size: 13.5px; color: var(--suv-ink-low); }

.auth-form { margin-top: 28px; }
.auth-field { margin-bottom: 16px; }
.auth-field label {
    display: block;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--suv-ink-low);
    margin-bottom: 7px;
}
.auth-inp { position: relative; }
.auth-inp > i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--suv-ink-faint);
    pointer-events: none;
    z-index: 1;
}
.auth-inp .form-control {
    border: 0;
    border-radius: var(--suv-radius-md);
    background: #fff;
    box-shadow: inset 0 0 0 1.5px rgba(14, 18, 22, 0.12), 0 2px 5px rgba(4, 12, 24, 0.05);
    padding: 14px 14px 14px 44px;
    font-size: 14.5px;
    font-weight: 550;
    color: var(--suv-ink);
    width: 100%;
    transition: box-shadow 0.22s ease;
}
.auth-inp .form-control::placeholder { color: rgba(14, 18, 22, 0.38); font-weight: 450; }
.auth-inp .form-control:hover { box-shadow: inset 0 0 0 1.5px rgba(14, 18, 22, 0.22), 0 2px 5px rgba(4, 12, 24, 0.06); }
.auth-inp .form-control:focus {
    outline: none;
    box-shadow: inset 0 0 0 1.8px var(--suv-navy), 0 0 0 4px rgba(0, 40, 119, 0.10), 0 6px 16px rgba(0, 40, 119, 0.08);
}
.auth-inp > i { color: var(--suv-navy); opacity: 0.55; }
.auth-inp .pw-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px; height: 30px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--suv-ink-faint);
    display: grid;
    place-items: center;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.auth-inp .pw-toggle:hover { background: var(--suv-neutral-soft); color: var(--suv-ink); }
.auth-inp .form-control.input-validation-error { background: var(--suv-danger-soft); box-shadow: 0 0 0 4px rgba(217, 38, 67, 0.10); }

.field-msg { display: block; color: var(--suv-danger); font-size: 12px; margin-top: 6px; font-weight: 600; }

.auth-alert {
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--suv-danger-soft);
    color: var(--suv-danger);
    border-radius: var(--suv-radius-md);
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}
.auth-alert i { font-size: 15px; }

.auth-submit {
    width: 100%;
    border: 0;
    border-radius: var(--suv-radius-pill);
    background: var(--suv-ink);
    color: #fff;
    padding: 7px 8px 7px 24px;
    font-size: 14.5px;
    font-weight: 680;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(5, 10, 20, 0.2);
    transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.auth-submit:hover { background: #1d242b; box-shadow: 0 16px 34px rgba(5, 10, 20, 0.26); }
.auth-submit:active { transform: scale(0.99); }
.auth-submit .orb {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: #fff;
    color: var(--suv-ink);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: transform 0.35s var(--suv-ease);
}
.auth-submit .orb i::before { vertical-align: 0; display: block; line-height: 1; }
.auth-submit:hover .orb { transform: rotate(45deg); }

.auth-note { margin-top: 20px; font-size: 12.5px; color: var(--suv-ink-faint); text-align: center; line-height: 1.6; }
.auth-foot { margin-top: 26px; font-size: 11.5px; color: var(--suv-ink-faint); text-align: center; }

/* ------------------------------------------------------------
   Responsive — brand paneli mobilde gizlenir, form tam ekran
   ------------------------------------------------------------ */
@media (max-width: 900px) {
    .auth-split { grid-template-columns: 1fr; }
    .auth-brand { display: none; }
    .auth-formSide { padding: 24px; }
    .auth-mLogo { display: block; text-align: center; margin-bottom: 26px; }
    .auth-mLogo img { height: 40px; width: auto; }
}
