﻿.login-page {
    min-height: 100vh;
    background: var(--color-bg);
}

.login-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
}

.login-brand-panel {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-alt));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

    .login-brand-panel::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: rgba(255,255,255,0.08);
        top: -120px;
        right: -120px;
    }

    .login-brand-panel::after {
        content: "";
        position: absolute;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        background: rgba(255,255,255,0.07);
        bottom: -110px;
        left: -90px;
    }

.login-brand-content {
    max-width: 560px;
    position: relative;
    z-index: 2;
}

.login-brand-badge {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    font-weight: 800;
    letter-spacing: .4px;
    margin-bottom: 24px;
}

.login-brand-content h1 {
    font-size: 46px;
    line-height: 1.05;
    margin: 0 0 18px 0;
    font-weight: 850;
}

.login-brand-content p {
    font-size: 17px;
    line-height: 1.7;
    opacity: .92;
    margin: 0;
}

.login-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

    .login-feature-list span {
        padding: 10px 14px;
        border-radius: 10px;
        background: rgba(255,255,255,0.14);
        font-size: 14px;
        font-weight: 600;
    }

.login-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background: var(--color-white);
}

.login-card {
    width: 100%;
    max-width: 430px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 22px;
    padding: 38px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
}

.login-header {
    margin-bottom: 28px;
}

    .login-header h2 {
        margin: 0;
        color: var(--color-text-dark);
        font-size: 30px;
        font-weight: 800;
    }

    .login-header p {
        margin: 8px 0 0 0;
        color: var(--color-muted);
        font-size: 15px;
    }

.login-error {
    display: block;
    min-height: 20px;
    margin-top: 16px;
    text-align: center;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .login-layout {
        grid-template-columns: 1fr;
    }

    .login-brand-panel {
        display: none;
    }

    .login-form-panel {
        min-height: 100vh;
    }
}
