﻿:root {
    --brand-dark: #1e2436;
    --brand-dark2: #2a3149;
    --brand-accent: #4f6cf6;
    --brand-accent2: #6d8bff;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: #f4f6fb;
}

.login-wrapper {
    display: flex;
    min-height: 100vh;
    width:100%;
}

/* ===== LEFT BRAND PANEL ===== */
.login-brand-panel {
    flex: 0 0 42%;
    max-width: 560px;
    background: linear-gradient(160deg, var(--brand-dark) 0%, var(--brand-dark2) 100%);
    position: relative;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.brand-overlay-shape {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,108,246,.25) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    pointer-events: none;
}

.brand-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 380px;
}

.brand-icon {
    font-size: 3rem;
    color: var(--brand-accent2);
    margin-bottom: 1rem;
    display: block;
}

.brand-icon-sm {
    font-size: 2.2rem;
    color: var(--brand-accent);
}

.brand-content h2 {
    font-weight: 700;
    margin-bottom: .5rem;
}

.brand-content p {
    color: #b8bfd1;
    margin-bottom: 2rem;
}

.brand-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .brand-points li {
        color: #d3d8e6;
        padding: .5rem 0;
        font-size: .93rem;
        display: flex;
        align-items: center;
    }

        .brand-points li i {
            color: var(--brand-accent2);
            margin-right: 10px;
            font-size: 1rem;
        }

/* ===== RIGHT FORM PANEL ===== */
.login-form-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
    background: #f4f6fb;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2.25rem;
    box-shadow: 0 10px 40px rgba(30,36,54,.08);
    border: 1px solid rgba(0,0,0,.04);
}

.login-title {
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: .25rem;
}

.login-subtitle {
    color: #8a90a3;
    font-size: .9rem;
}

.form-label {
    font-weight: 600;
    font-size: .85rem;
    color: #444b63;
}

/* Input styling */
.input-group-custom .input-group-text {
    background: #f4f6fb;
    border: 1px solid #e3e6f0;
    color: #8a90a3;
}

.input-group-custom .form-control {
    border: 1px solid #e3e6f0;
    border-left: none;
    padding: .65rem .75rem;
}

.input-group-custom .input-group-text:first-child {
    border-right: none;
    border-radius: 10px 0 0 10px;
}

.input-group-custom .form-control {
    border-radius: 0 10px 10px 0;
}

    .input-group-custom .form-control:focus {
        box-shadow: none;
        border-color: var(--brand-accent);
    }

.input-group-custom:focus-within .input-group-text {
    border-color: var(--brand-accent);
}

.toggle-password {
    cursor: pointer;
    border-left: none !important;
    border-radius: 0 10px 10px 0 !important;
}

.forgot-link {
    font-size: .85rem;
    color: var(--brand-accent);
    text-decoration: none;
}

    .forgot-link:hover {
        text-decoration: underline;
    }

.form-check-label {
    font-size: .87rem;
    color: #6a7086;
}

/* ===== LOGIN BUTTON ===== */
.btn-login {
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent2));
    color: #fff;
    font-weight: 600;
    padding: .75rem;
    border-radius: 10px;
    border: none;
    letter-spacing: .3px;
    transition: transform .15s ease, box-shadow .15s ease;
    box-shadow: 0 6px 16px rgba(79,108,246,.35);
}

    .btn-login:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(79,108,246,.45);
        color: #fff;
    }

    .btn-login:active {
        transform: translateY(0);
    }
.space {
    display:none !important;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .login-form-panel {
        background: linear-gradient(160deg, var(--brand-dark) 0%, var(--brand-dark2) 100%);
        min-height: 100vh;
    }

    .login-card {
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }
}
