:root {
    --navy: #0b1220;
    --navy-2: #111a2c;
    --blue: #2f6fed;
    --blue-dark: #1e50c7;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
}

body {
    min-height: 100vh;
}

/* ---------- Left Panel ---------- */
.left-panel {
    position: relative;
    min-height: 100vh;
    background:
        linear-gradient(100deg, rgba(11, 18, 32, 0.97) 0%, rgba(11, 18, 32, 0.90) 38%, rgba(11, 18, 32, 0.55) 62%, rgba(11, 18,
                32, 0.25) 100%),
        url('../../images/login/background_image.png') center/cover no-repeat;
    color: #fff;
    padding: 3rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.brand .logo-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-copy h1 {
    font-weight: 800;
    font-size: 2.75rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.hero-copy p {
    color: #c7cede;
    font-size: 1.05rem;
    max-width: 420px;
    margin-bottom: 2.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem 2.5rem;
    max-width: 520px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
}

.feature-item .bi {
    font-size: 1.15rem;
    color: #8fb4ff;
    margin-top: .15rem;
}

.feature-item span {
    font-size: .9rem;
    color: #dbe2f0;
    line-height: 1.3;
}

.left-footer {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .85rem;
    color: #9aa5bb;
    letter-spacing: .02em;
}

.left-footer .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #5c6a86;
    display: inline-block;
}

/* ---------- Right Panel ---------- */
.right-panel {
    min-height: 100vh;
    background: #f4f6fb;
    display: flex;
    flex-direction: column;
}

.lang-select {
    align-self: flex-end;
    margin: 1.5rem 1.5rem 0 0;
}

.lang-select .btn {
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-dark);
    font-size: .85rem;
    border-radius: 8px;
}

.login-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem 3rem;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.15);
    padding: 2.25rem 2.25rem 1.75rem;
}

.login-card .brand {
    justify-content: center;
    color: var(--text-dark);
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
}

.login-card h2 {
    text-align: center;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: .25rem;
}

.login-card .subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: .9rem;
    margin-bottom: 1.75rem;
}

.form-label {
    font-size: .85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: .4rem;
}

.input-group-icon {
    background: #fff;
    border-right: none;
    color: #94a3b8;
}

.form-control {
    border-left: none;
    padding-top: .6rem;
    padding-bottom: .6rem;
}

.form-control:focus {
    box-shadow: none;
    border-color: #cbd5e1;
}

.input-group:focus-within .input-group-icon,
.input-group:focus-within .form-control {
    border-color: var(--blue);
}

.input-group:focus-within {
    box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.15);
    border-radius: 8px;
}

.input-group-text,
.form-control {
    border-color: #dbe2ee;
}

.toggle-pw {
    background: #fff;
    border-left: none;
    color: #94a3b8;
    cursor: pointer;
}

.row-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0 1.25rem;
    font-size: .85rem;
}

.row-options a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
}

.row-options a:hover {
    text-decoration: underline;
}

.btn-signin {
    background: var(--navy);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: .7rem 1rem;
    border-radius: 8px;
    width: 100%;
    transition: background .15s ease;
}

.btn-signin:hover {
    background: #1a2540;
    color: #fff;
}

.divider {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: #94a3b8;
    font-size: .8rem;
    margin: 1.25rem 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.region-label {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
    color: #475569;
    margin-bottom: .6rem;
}

.region-switch {
    display: flex;
    gap: .5rem;
}

.region-btn {
    flex: 1;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-dark);
    font-size: .85rem;
    font-weight: 500;
    padding: .5rem .5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    transition: all .15s ease;
}

.region-btn.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.region-btn:not(.active):hover {
    border-color: #94a3b8;
}

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

@media (max-width: 991.98px) {
    .left-panel {
        display: none;
    }
}

.toggle-pw {
    cursor: pointer;
}