* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #173B65;
    --blue: #3478D4;
    --teal: #20A69A;
    --gold: #F4C95D;
    --background: #F3F6FB;
    --text: #263449;
    --muted: #718096;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--background);
    color: var(--text);
}

a {
    text-decoration: none;
}

/* MAIN LAYOUT */

.login-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* LEFT PANEL */

.login-left {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 45px 65px;

    background:
        linear-gradient(
            145deg,
            rgba(15, 49, 85, 0.97),
            rgba(23, 59, 101, 0.91),
            rgba(18, 79, 104, 0.91)
        ),
        url('https://images.unsplash.com/photo-1537996194471-e657df975ab4?auto=format&fit=crop&w=1200&q=85');

    background-size: cover;
    background-position: center;
    color: white;
    overflow: hidden;
}

.login-left::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(244, 201, 93, 0.25);
    border-radius: 50%;
    bottom: -200px;
    right: -150px;
    pointer-events: none;
}

/* BRAND */

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    position: relative;
    z-index: 2;
}

.brand-icon {
    font-size: 45px;
    color: var(--gold);
}

.brand h1 {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1px;
}

.brand h1 span {
    color: var(--gold);
}

.brand p {
    font-size: 11px;
    color: #dbeafe;
    margin-top: 4px;
}

/* WELCOME */

.welcome-content {
    max-width: 520px;
    position: relative;
    z-index: 2;
}

.welcome-label {
    display: inline-block;
    padding: 10px 17px;
    border-radius: 30px;
    background: rgba(244, 201, 93, 0.16);
    border: 1px solid rgba(244, 201, 93, 0.5);
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.welcome-content h2 {
    font-size: clamp(35px, 4vw, 53px);
    line-height: 1.2;
    font-weight: 900;
    margin-bottom: 22px;
}

.welcome-content h2 span {
    color: var(--gold);
}

.welcome-content > p {
    color: #dbeafe;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 35px;
}

/* WELCOME FEATURES */

.welcome-features {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.welcome-item {
    display: flex;
    align-items: center;
    gap: 17px;
}

.welcome-item > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.13);
    font-size: 23px;
}

.welcome-item h3 {
    font-size: 14px;
    margin-bottom: 5px;
}

.welcome-item p {
    font-size: 11px;
    color: #cbdced;
}

.left-footer {
    color: #cbd5e1;
    font-size: 11px;
    position: relative;
    z-index: 2;
}

/* RIGHT PANEL */

.login-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px 35px;
    background: #F3F6FB;
}

.login-card {
    width: 100%;
    max-width: 440px;
    padding: 40px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(23, 59, 101, 0.08);
    border: 1px solid #e8edf5;
}

/* MOBILE BRAND */

.mobile-brand {
    display: none;
}

/* LOGIN HEADING */

.login-heading {
    text-align: center;
    margin-bottom: 35px;
}

.login-icon {
    width: 65px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #EAF2FF;
    border-radius: 20px;
    font-size: 30px;
    margin: 0 auto 20px;
}

.login-heading h2 {
    font-size: 27px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
}

.login-heading p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
}

/* FORM */

.form-group {
    margin-bottom: 23px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 53px;
    padding: 0 15px;
    border: 1px solid #dce4ef;
    border-radius: 12px;
    background: #FAFCFF;
    transition: 0.3s;
}

.input-wrapper:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(52, 120, 212, 0.1);
}

.input-wrapper > span {
    font-size: 16px;
}

.input-wrapper input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text);
    font-family: inherit;
    font-size: 12px;
}

.input-wrapper input::placeholder {
    color: #a0aec0;
}

.toggle-password {
    border: none;
    background: transparent;
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

/* OPTIONS */

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0 25px;
    gap: 10px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    color: #64748b;
    cursor: pointer;
}

.remember input {
    accent-color: var(--blue);
}

.form-options a {
    font-size: 11px;
    color: var(--blue);
    font-weight: 600;
}

/* LOGIN BUTTON */

.login-submit {
    width: 100%;
    height: 53px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #3478D4, #2059A5);
    color: white;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: 0.3s;
}

.login-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 120, 212, 0.25);
}

.login-submit:active {
    transform: scale(0.98);
}

/* MESSAGE */

.message {
    display: none;
    padding: 12px;
    margin-top: 15px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.5;
}

.message.error {
    display: block;
    background: #fff0f0;
    color: #c53030;
}

.message.success {
    display: block;
    background: #e8f8f1;
    color: #16845d;
}

/* DIVIDER */

.divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 27px 0;
    color: #a0aec0;
    font-size: 10px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

/* REGISTER */

.register-text {
    text-align: center;
    font-size: 12px;
    color: #718096;
}

.register-text a {
    color: var(--blue);
    font-weight: 800;
}

/* NOTE */

.login-note {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #edf0f5;
    font-size: 10px;
    color: #718096;
}

/* RESPONSIVE */

@media (max-width: 950px) {

    .login-left {
        padding: 35px;
    }

    .login-right {
        padding: 25px;
    }

    .login-card {
        padding: 30px;
    }

    .welcome-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 700px) {

    .login-page {
        grid-template-columns: 1fr;
    }

    .login-left {
        display: none;
    }

    .login-right {
        min-height: 100vh;
        padding: 25px 18px;
    }

    .login-card {
        padding: 28px 22px;
    }

    .mobile-brand {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-bottom: 30px;
    }

    .mobile-brand .brand-icon {
        font-size: 35px;
    }

    .mobile-brand h2 {
        color: var(--navy);
        font-size: 22px;
        font-weight: 900;
    }

    .mobile-brand h2 span {
        color: var(--blue);
    }
}