/* Split-screen login page (variant 1) */

:root {
    --login-bg-dark: #0d0d0d;
    --login-bg-panel: #ffffff;
    --login-text-light: #f8fafc;
    --login-text-muted: #94a3b8;
    --login-title-color: #6b1e2e;
    --login-star-purple: #7b3fe4;
    --login-star-orange: #f5a623;
    --login-star-red: #e53935;
    --login-star-green: #43a047;
    --login-star-blue: #1e88e5;
    --login-btn: #1e88e5;
    --login-btn-hover: #7b3fe4;
}

.login-page {
    margin: 0;
    min-height: 100vh;
    background: var(--login-bg-dark);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.login-shell {
    display: flex;
    min-height: 100vh;
}

.login-brand {
    position: relative;
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 2rem 3.5rem;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(123, 63, 228, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 70%, rgba(30, 136, 229, 0.1) 0%, transparent 50%),
        var(--login-bg-dark);
    color: var(--login-text-light);
    text-align: center;
}

.login-brand-inner {
    max-width: 22rem;
}

.login-logo-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 9.5rem;
    height: 9.5rem;
    margin: 0 auto 2.25rem;
    isolation: isolate;
}

.login-logo-wrap::before,
.login-logo-wrap::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.login-logo-wrap::before {
    width: 11rem;
    height: 11rem;
    background: rgba(255, 255, 255, 0.42);
    filter: blur(26px);
}

.login-logo-wrap::after {
    width: 18rem;
    height: 18rem;
    background: rgba(255, 255, 255, 0.16);
    filter: blur(52px);
}

.login-logo {
    position: relative;
    z-index: 1;
    width: 9.5rem;
    height: 9.5rem;
    object-fit: contain;
    margin-bottom: 0;
}

.login-title {
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
    color: #ffffff;
}

.login-subtitle {
    font-size: 1rem;
    line-height: 1.45;
    color: var(--login-text-muted);
    margin: 0;
}

.login-star-strip {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    height: 4px;
}

.login-star-strip__seg {
    flex: 1 1 20%;
}

.login-star-strip__seg--purple { background: var(--login-star-purple); }
.login-star-strip__seg--orange { background: var(--login-star-orange); }
.login-star-strip__seg--red { background: var(--login-star-red); }
.login-star-strip__seg--green { background: var(--login-star-green); }
.login-star-strip__seg--blue { background: var(--login-star-blue); }

.login-panel {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--login-bg-panel);
}

.login-panel-inner {
    width: 100%;
    max-width: 24rem;
}

.login-form-header {
    margin-bottom: 1.75rem;
}

.login-form-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--login-title-color);
    margin: 0 0 0.35rem;
}

.login-form-header p {
    margin: 0;
    color: #64748b;
    font-size: 0.9375rem;
}

.login-panel .form-label {
    color: #475569;
}

.login-panel .login-submit-btn {
    margin-top: 0.5rem;
    padding: 0.65rem 1rem;
    font-weight: 600;
    background-color: var(--login-btn);
    border-color: var(--login-btn);
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.login-panel .login-submit-btn:hover,
.login-panel .login-submit-btn:focus {
    background-color: var(--login-btn-hover);
    border-color: var(--login-btn-hover);
}

.login-footer-note {
    margin-top: 1.5rem;
    font-size: 0.8125rem;
    color: #94a3b8;
    text-align: center;
}

@media (max-width: 991.98px) {
    .login-shell {
        flex-direction: column;
    }

    .login-brand {
        flex: 0 0 auto;
        padding: 1.75rem 1.25rem 2.75rem;
    }

    .login-logo-wrap {
        width: 5.5rem;
        height: 5.5rem;
        margin-bottom: 1.25rem;
    }

    .login-logo-wrap::before {
        width: 7rem;
        height: 7rem;
        filter: blur(20px);
    }

    .login-logo-wrap::after {
        width: 11rem;
        height: 11rem;
        filter: blur(36px);
    }

    .login-logo {
        width: 5.5rem;
        height: 5.5rem;
    }

    .login-title {
        font-size: 1.25rem;
    }

    .login-subtitle {
        font-size: 0.875rem;
    }

    .login-panel {
        flex: 1 1 auto;
        padding: 2rem 1.25rem 2.5rem;
        border-radius: 1.25rem 1.25rem 0 0;
        margin-top: -0.75rem;
    }
}
