/* Yönetim giriş — panel shell’den bağımsız */

.auth-page {
    min-height: 100vh;
    margin: 0;
    color: #0f172a;
    background-color: #eef2ff;
    background-image:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(99, 102, 241, 0.28), transparent 55%),
        radial-gradient(ellipse 90% 60% at 100% 100%, rgba(14, 165, 233, 0.18), transparent 45%),
        radial-gradient(ellipse 70% 50% at 0% 80%, rgba(79, 70, 229, 0.12), transparent 40%);
}

.auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.auth-card {
    width: min(1040px, 100%);
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 1.15rem;
    overflow: hidden;
    background: #fff;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 24px 56px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

@media (min-width: 992px) {
    .auth-card {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    }
}

.auth-aside {
    padding: 2.25rem 2rem;
    background:
        linear-gradient(155deg, #1e1b4b 0%, #312e81 42%, #1d4ed8 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.auth-aside::before {
    content: "";
    position: absolute;
    inset: -40% -30% auto auto;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%);
    pointer-events: none;
}

.auth-aside > * {
    position: relative;
    z-index: 1;
}

.auth-brand--sm {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.9rem;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.04em;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    margin-bottom: 1rem;
}

.auth-aside h1 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.25;
    margin: 0 0 0.65rem;
}

.auth-aside .lead {
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    max-width: 22rem;
}

.auth-aside-footer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.auth-main {
    padding: 2rem 1.75rem;
}

@media (min-width: 576px) {
    .auth-main {
        padding: 2.5rem 2.75rem;
    }
}

.auth-kicker {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6366f1;
    margin-bottom: 0.35rem;
}

.auth-main h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0 0 0.35rem;
    color: #0f172a;
}

.auth-sub {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.auth-form .form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
}

.auth-form .form-control {
    border-radius: 0.65rem;
    padding: 0.65rem 0.85rem;
    border-color: #e2e8f0;
}

.auth-form .form-control:focus {
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.15);
}

.auth-submit {
    border-radius: 0.65rem;
    padding: 0.7rem 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #4f46e5, #2563eb);
    border: none;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.28);
}

.auth-submit:hover {
    filter: brightness(1.05);
}

.auth-submit:active {
    transform: translateY(1px);
}

.auth-foot {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.auth-alert {
    border-radius: 0.65rem;
    border: 0;
    font-size: 0.875rem;
}

@media (prefers-color-scheme: dark) {
    .auth-page:not(.auth-page--light) {
        color: #e2e8f0;
        background-color: #020617;
        background-image:
            radial-gradient(ellipse 120% 80% at 50% -20%, rgba(79, 70, 229, 0.35), transparent 55%),
            radial-gradient(ellipse 90% 60% at 100% 100%, rgba(14, 165, 233, 0.15), transparent 45%);
    }

    .auth-page:not(.auth-page--light) .auth-card {
        background: #0f172a;
        border-color: rgba(148, 163, 184, 0.12);
        box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
    }

    .auth-page:not(.auth-page--light) .auth-main h2 {
        color: #f1f5f9;
    }

    .auth-page:not(.auth-page--light) .auth-sub {
        color: #94a3b8;
    }

    .auth-page:not(.auth-page--light) .auth-form .form-control {
        background: #020617;
        border-color: #334155;
        color: #e2e8f0;
    }

    .auth-page:not(.auth-page--light) .auth-foot {
        color: #64748b;
    }
}
