* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #101a3a;
    --blue: #315bea;
    --green: #19b86b;
    --text: #172033;
    --muted: #69758b;
    --border: #e2e6ee;
    --background: #f6f8fc;
    --white: #ffffff;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--background);

    color: var(--text);
}


.login-page {
    min-height: 100vh;

    display: grid;

    grid-template-columns: 42% 58%;
}


/* LEFT */

.login-visual {
    min-height: 100vh;

    padding: 48px;

    background: var(--navy);

    color: white;

    display: flex;

    flex-direction: column;

    justify-content: space-between;
}


.brand {
    display: flex;

    align-items: center;

    gap: 13px;
}


.brand-mark {
    width: 48px;
    height: 48px;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--green)
        );

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 13px;

    font-weight: 900;
}


.brand strong {
    display: block;

    font-size: 17px;

    letter-spacing: 1px;
}


.brand span {
    display: block;

    color: #aab5cf;

    font-size: 10px;

    margin-top: 4px;
}


.visual-content {
    max-width: 500px;
}


.eyebrow {
    display: inline-block;

    color: var(--green);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.8px;

    margin-bottom: 14px;
}


.visual-content h1 {
    font-size: clamp(40px, 4vw, 61px);

    line-height: 1.04;

    letter-spacing: -2px;

    margin-bottom: 23px;
}


.visual-content h1 span {
    display: block;

    color: #62e39d;
}


.visual-content > p {
    max-width: 450px;

    color: #b8c2d7;

    font-size: 15px;

    line-height: 1.7;
}


.feature-list {
    display: flex;

    flex-direction: column;

    gap: 22px;

    margin-top: 40px;
}


.feature {
    display: flex;

    gap: 14px;
}


.feature-icon {
    width: 30px;
    height: 30px;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        rgba(25, 184, 107, 0.15);

    color: #62e39d;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: 800;
}


.feature strong {
    font-size: 13px;
}


.feature p {
    color: #929db6;

    font-size: 11px;

    line-height: 1.5;

    margin-top: 4px;
}


.visual-footer {
    color: #77839e;

    font-size: 10px;
}


/* RIGHT */

.login-panel {
    min-height: 100vh;

    background: white;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 45px;
}


.login-container {
    width: 100%;

    max-width: 440px;
}


.mobile-brand {
    display: none;
}


.login-heading {
    margin-bottom: 30px;
}


.login-heading h2 {
    font-size: 32px;

    letter-spacing: -1px;

    margin-bottom: 8px;
}


.login-heading p {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.6;
}


/* ALERT */

.alert {
    padding: 13px 15px;

    border-radius: 9px;

    margin-bottom: 20px;

    font-size: 12px;

    line-height: 1.5;
}


.alert.error {
    background: #fff0f0;

    color: #b42318;

    border: 1px solid #ffd4d4;
}


.alert.success {
    background: #eafaf2;

    color: #087a45;

    border: 1px solid #cceedd;
}


/* FORM */

.form-group {
    margin-bottom: 20px;
}


.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #30394d;

    font-size: 12px;

    font-weight: 700;
}


.form-group input {
    width: 100%;

    height: 51px;

    padding: 0 15px;

    border-radius: 10px;

    border: 1px solid var(--border);

    background: white;

    outline: none;

    font-size: 13px;

    color: var(--text);

    transition: 0.2s;
}


.form-group input:focus {
    border-color: var(--blue);

    box-shadow:
        0 0 0 3px rgba(49, 91, 234, 0.08);
}


.form-group input::placeholder {
    color: #a4abba;
}


/* BUTTON */

.login-button {
    width: 100%;

    height: 52px;

    border: none;

    border-radius: 10px;

    background: var(--blue);

    color: white;

    font-size: 13px;

    font-weight: 800;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    transition: 0.2s;
}


.login-button:hover {
    background: #2449d1;

    transform: translateY(-1px);
}


.login-button span {
    font-size: 19px;
}


/* DIVIDER */

.divider {
    display: flex;

    align-items: center;

    gap: 12px;

    margin: 27px 0 18px;

    color: #9aa3b3;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1px;
}


.divider::before,
.divider::after {
    content: "";

    height: 1px;

    background: #edf0f4;

    flex: 1;
}


/* REGISTER */

.register-button {
    height: 49px;

    width: 100%;

    border: 1px solid #dfe4ed;

    border-radius: 10px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-decoration: none;

    color: var(--blue);

    font-size: 13px;

    font-weight: 700;

    transition: 0.2s;
}


.register-button:hover {
    border-color: var(--blue);

    background: #f6f8ff;
}


.login-note {
    text-align: center;

    color: #9aa3b3;

    font-size: 10px;

    line-height: 1.6;

    margin-top: 20px;
}


/* MOBILE */

@media (max-width: 950px) {

    .login-page {
        grid-template-columns: 1fr;
    }

    .login-visual {
        display: none;
    }

    .login-panel {
        padding: 30px 20px;
    }

    .mobile-brand {
        display: flex;

        align-items: center;

        gap: 10px;

        margin-bottom: 50px;

        color: var(--navy);

        font-size: 17px;

        letter-spacing: 1px;
    }

    .mobile-logo {
        width: 40px;
        height: 40px;

        border-radius: 10px;

        background:
            linear-gradient(
                135deg,
                var(--blue),
                var(--green)
            );

        color: white;

        display: flex;

        align-items: center;

        justify-content: center;

        font-size: 10px;

        font-weight: 900;
    }

}


@media (max-width: 500px) {

    .login-panel {
        padding: 25px 18px;
    }

    .login-heading h2 {
        font-size: 27px;
    }

}