* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --blue-dark: #071c35;
    --blue-deep: #092746;
    --blue: #0878d1;
    --blue-light: #13a1ef;
    --cyan: #2cc4f4;

    --text: #17243a;
    --muted: #758399;
    --border: #dfe6ee;
    --background: #f7f9fc;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--text);
}

button,
input {
    font: inherit;
}

.page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(420px, 48%) 1fr;
}


/* LEFT SIDE */

.brand-panel {
    position: relative;
    overflow: hidden;
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 60px 8%;

    color: white;

    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(31, 174, 239, .28),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            #06172d 0%,
            #082b4d 55%,
            #074c75 100%
        );
}

.brand-panel::before {
    content: "";
    position: absolute;

    width: 500px;
    height: 500px;

    right: -250px;
    bottom: -180px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(44, 196, 244, .18),
            transparent 65%
        );
}

.brand-content {
    position: relative;
    z-index: 2;

    max-width: 590px;
}

.logo {
    display: block;
    max-width: 205px;
    max-height: 90px;
    object-fit: contain;

    margin-bottom: 70px;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: #65d1fb;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;
}

.brand-copy h1 {
    max-width: 560px;

    font-size: clamp(38px, 4vw, 61px);
    line-height: 1.05;

    letter-spacing: -2px;
}

.brand-copy h1 span {
    color: #39bdf3;
}

.brand-copy p {
    max-width: 510px;

    margin-top: 25px;

    color: #c2d1e0;

    font-size: 18px;
    line-height: 1.65;
}

.features {
    display: grid;
    gap: 17px;

    margin-top: 55px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-icon {
    width: 43px;
    height: 43px;

    flex: 0 0 43px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(104, 211, 252, .3);
    border-radius: 11px;

    background: rgba(30, 158, 219, .10);

    color: #5bd0fa;

    font-weight: bold;
}

.feature strong {
    display: block;

    margin-bottom: 3px;

    font-size: 14px;
}

.feature small {
    color: #91a9be;

    font-size: 12px;
}


/* RIGHT SIDE */

.login-panel {
    position: relative;

    min-height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 70px 9%;
}

.language-switch {
    position: absolute;

    top: 34px;
    right: 45px;

    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 12px;
    font-weight: 700;
}

.language-switch a {
    color: #9ba7b7;
    text-decoration: none;

    transition: .2s;
}

.language-switch a:hover,
.language-switch a.active {
    color: var(--blue);
}

.language-switch span {
    width: 1px;
    height: 13px;

    background: #d6dde6;
}

.login-container {
    width: 100%;
    max-width: 465px;

    margin: auto;
}

.mobile-logo {
    display: none;
}

.secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 20px;

    color: #758399;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.secure-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #26b36a;

    box-shadow: 0 0 0 4px rgba(38, 179, 106, .10);
}

.login-container h2 {
    font-size: 38px;

    letter-spacing: -1px;
}

.login-subtitle {
    margin-top: 11px;
    margin-bottom: 39px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.5;
}


/* FORM */

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #344259;

    font-size: 12px;
    font-weight: 700;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    height: 54px;

    padding: 0 48px;

    border: 1px solid var(--border);
    border-radius: 10px;

    outline: none;

    background: white;

    color: var(--text);

    transition:
        border .2s,
        box-shadow .2s;
}

.input-wrapper input::placeholder {
    color: #adb7c5;
}

.input-wrapper input:focus {
    border-color: #4aaee7;

    box-shadow:
        0 0 0 4px rgba(32, 150, 218, .09);
}

.input-icon {
    position: absolute;

    left: 17px;
    top: 50%;

    transform: translateY(-50%);

    color: #8c9aac;

    font-size: 15px;
}

.input-icon.lock {
    font-size: 9px;
}

.show-password {
    position: absolute;

    right: 15px;
    top: 50%;

    transform: translateY(-50%);

    border: 0;
    background: transparent;

    color: #8997a8;

    cursor: pointer;

    font-size: 17px;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 3px;
    margin-bottom: 26px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #647186;

    font-size: 12px;

    cursor: pointer;
}

.remember input {
    accent-color: var(--blue);
}

.forgot {
    color: var(--blue);

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;
}

.forgot:hover {
    text-decoration: underline;
}

.login-button {
    width: 100%;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    border: 0;
    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #0875c9,
            #0798df
        );

    color: white;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(5, 121, 195, .20);

    transition:
        transform .15s,
        box-shadow .15s;
}

.login-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 13px 30px rgba(5, 121, 195, .28);
}

.login-button span {
    font-size: 19px;
}

.register {
    margin-top: 30px;

    padding-top: 25px;

    border-top: 1px solid #e4e9ef;

    text-align: center;

    color: #7c899a;

    font-size: 12px;
}

.register a {
    margin-left: 5px;

    color: var(--blue);

    font-weight: 700;

    text-decoration: none;
}

.register a:hover {
    text-decoration: underline;
}

footer {
    position: absolute;

    bottom: 25px;
    left: 0;
    right: 0;

    color: #9aa6b5;

    font-size: 10px;

    text-align: center;
}


/* TABLET */

@media (max-width: 1000px) {

    .page {
        grid-template-columns: 42% 58%;
    }

    .brand-panel {
        padding: 45px;
    }

    .brand-copy h1 {
        font-size: 42px;
    }

    .brand-copy p {
        font-size: 15px;
    }

    .logo {
        max-width: 170px;
    }

}


/* MOBILE */

@media (max-width: 760px) {

    body {
        background: white;
    }

    .page {
        display: block;
    }

    .brand-panel {
        display: none;
    }

    .login-panel {
        min-height: 100vh;

        padding:
            95px
            25px
            70px;
    }

    .login-container {
        max-width: 500px;
    }

    .mobile-logo {
        display: block;

        margin-bottom: 45px;

        text-align: center;
    }

    .mobile-logo img {
        max-width: 175px;
        max-height: 75px;
        object-fit: contain;
    }

    .language-switch {
        top: 25px;
        right: 25px;
    }

    .login-container h2 {
        font-size: 32px;
    }

    footer {
        bottom: 18px;
    }

}


/* SMALL MOBILE */

@media (max-width: 380px) {

    .login-panel {
        padding-left: 18px;
        padding-right: 18px;
    }

    .form-options {
        align-items: flex-start;
        gap: 15px;
    }

}


/* =========================================================
   CAPTCHA
========================================================= */

.captcha-box {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 12px;
}

.captcha-question {
    min-height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 10px 14px;

    border: 1px solid #dfe6ee;
    border-radius: 10px;

    background: #f4f8fb;

    color: #607087;

    font-size: 12px;
}

.captcha-question strong {
    color: #0878d1;

    font-size: 18px;
    letter-spacing: 1px;
}

.captcha-box input {
    width: 100%;
    height: 54px;

    padding: 0 16px;

    border: 1px solid #dfe6ee;
    border-radius: 10px;

    outline: none;

    background: #ffffff;

    color: #17243a;
}

.captcha-box input:focus {
    border-color: #4aaee7;

    box-shadow:
        0 0 0 4px rgba(32, 150, 218, .09);
}


/* LOGIN ERROR */

.login-alert {
    margin-bottom: 22px;

    padding: 13px 15px;

    border: 1px solid #efc6c6;
    border-radius: 9px;

    background: #fff5f5;

    color: #b52b2b;

    font-size: 12px;
    line-height: 1.5;
}


/* CAPTCHA MOBILE */

@media (max-width: 420px) {

    .captcha-box {
        grid-template-columns: 1fr;
    }

}
