/* ═══════════════════════════════════════════════════════════
   LOGIN — Sayfa Özel Stiller (sadece layout/pozisyon)
   Renkler, input, buton, alert vs. hepsi panel.css'den gelir
   ═══════════════════════════════════════════════════════════ */

/* ── Auth Page Layout ── */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rbn-gray-50);
    position: relative;
}

/* Subtle grid background */
.auth-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--rbn-gray-200) 1px, transparent 1px),
        linear-gradient(90deg, var(--rbn-gray-200) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.4;
    pointer-events: none;
}

.auth-page::after {
    content: '';
    position: fixed;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(10, 10, 10, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ── Auth Container ── */
.auth-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

/* ── Auth Card ── */
.auth-card {
    background: var(--rbn-white);
    border: 1.5px solid var(--rbn-gray-200);
    border-radius: 16px;
    padding: 44px 40px;
    box-shadow: var(--rbn-shadow), 0 6px 24px rgba(0, 0, 0, 0.06);
    animation: rbn-slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── Auth Brand ── */
.auth-brand {
    text-align: center;
    margin-bottom: 36px;
}

.auth-logo {
    width: 56px;
    height: 56px;
    background: var(--rbn-black);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.auth-logo i {
    font-size: 22px;
    color: var(--rbn-white);
}

.auth-logo::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 15px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent 60%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.auth-brand h1 {
    font-size: 22px;
    font-weight: 800;
    color: var(--rbn-black);
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.auth-brand p {
    font-size: 14px;
    color: var(--rbn-gray-500);
}

/* ── Auth Footer ── */
.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--rbn-gray-100);
}

/* ── Security Badge ── */
.auth-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 11px;
    color: var(--rbn-gray-400);
}

.auth-security i {
    font-size: 10px;
    color: var(--rbn-success);
}

/* ── Bottom Branding ── */
.auth-branding {
    text-align: center;
    margin-top: 28px;
    font-size: 11px;
    color: var(--rbn-gray-400);
    animation: rbn-slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.auth-branding span {
    font-weight: 700;
    color: var(--rbn-gray-600);
}

/* ── Password Input (login-specific) ── */
.auth-password-input {
    padding-right: 42px;
}

/* ── Password Toggle (login-specific) ── */
.auth-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--rbn-gray-400);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    transition: color var(--rbn-transition);
    z-index: 2;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-password-toggle i {
    pointer-events: none;
}

.auth-password-toggle:hover {
    color: var(--rbn-black);
}

/* ── Remember Me Row ── */
.auth-remember-row {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .auth-card {
        padding: 32px 24px;
        border-radius: 12px;
    }

    .auth-logo {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .auth-logo i {
        font-size: 18px;
    }

    .auth-brand h1 {
        font-size: 20px;
    }
}
