:root {
    --navy: #101b32;
    --navy-light: #192b49;
    --blue: #2878c8;
    --blue-hover: #1e65aa;
    --text: #243247;
    --muted: #7d8999;
    --border: #dfe5ed;
    --white: #ffffff;
    --background: #f5f7fb;
    --success: #168451;
    --danger: #c93645;
    --radius: 9px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

button,
input {
    font: inherit;
}

.container {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    width: 100%;
    max-width: 1120px;
    min-height: 690px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid #e7ebf1;
    border-radius: 16px;
    box-shadow: 0 18px 60px rgba(16, 27, 50, .12);
}

/* BRAND PANEL */

.brand-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 45px 48px;
    color: var(--white);
    background:
        radial-gradient(circle at 15% 85%, rgba(49, 111, 178, .25), transparent 38%),
        linear-gradient(145deg, #101b32 0%, #172b49 60%, #203c60 100%);
}

.brand-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 3px;
}

.logo-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 11px;
    background: linear-gradient(145deg, #3788d3, #205c9a);
    color: #fff;
    font-size: 27px;
    font-weight: 800;
}

.brand-tag {
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 5px;
    background: rgba(255,255,255,.06);
    color: #b9cce2;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.hero {
    max-width: 470px;
    margin: 60px 0;
}

.hero h1 {
    margin-bottom: 20px;
    color: #fff;
    font-size: clamp(30px, 3.5vw, 43px);
    line-height: 1.2;
    letter-spacing: -.8px;
}

.hero p {
    max-width: 440px;
    color: #c2d0e0;
    font-size: 13px;
    line-height: 1.9;
}

.features {
    display: grid;
    gap: 17px;
    margin-top: 35px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #e3ebf5;
    font-size: 12px;
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,.23);
    border-radius: 7px;
    background: rgba(255,255,255,.07);
    color: #82b8ed;
    font-size: 10px;
    font-weight: 700;
}

.brand-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.13);
    color: #9aadc3;
    font-size: 10px;
    letter-spacing: .2px;
}

/* FORM PANEL */

.form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 45px 52px;
}

.form-heading {
    margin-bottom: 28px;
}

.form-heading h2 {
    margin-bottom: 9px;
    color: var(--navy);
    font-size: 26px;
    font-weight: 700;
}

.subtitle {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

/* FORM FIELD */

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    margin-bottom: 8px;
    color: #46556a;
    font-size: 11px;
    font-weight: 700;
}

.field input {
    width: 100%;
    height: 45px;
    padding: 0 13px;
    border: 1px solid var(--border);
    border-radius: 7px;
    outline: none;
    background: #fff;
    color: var(--text);
    font-size: 12px;
    transition: border-color .2s, box-shadow .2s;
}

.field input::placeholder {
    color: #a5afbc;
}

.field input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(40,120,200,.09);
}

.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 75px;
}

.toggle-pass {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--blue);
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
}

.toggle-pass:hover {
    color: var(--blue-hover);
}

/* OPTIONS */

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 5px 0 22px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #58677a;
    white-space: nowrap;
    font-size: 11px;
}

.remember input {
    width: 14px;
    height: 14px;
    accent-color: var(--blue);
}

.options > span {
    color: var(--muted);
    font-size: 10px;
    text-align: right;
}

/* BUTTON */

.submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 47px;
    border: 0;
    border-radius: 7px;
    background: var(--blue);
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    transition: background .2s, transform .2s;
}

.submit:hover {
    background: var(--blue-hover);
    transform: translateY(-1px);
}

.submit span {
    font-size: 17px;
}

/* NOTICES */

.notice {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 7px;
    font-size: 11px;
    line-height: 1.6;
}

.notice-error {
    border: 1px solid #f1c9cd;
    background: #fff1f2;
    color: var(--danger);
}

.notice-success {
    border: 1px solid #c6e7d4;
    background: #edfaf2;
    color: var(--success);
}

/* REGISTRATION */

.register-link {
    margin-top: 23px;
    color: var(--muted);
    text-align: center;
    font-size: 11px;
}

.register-link a {
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

.info {
    margin-top: 14px;
    padding: 11px 12px;
    border-left: 3px solid var(--blue);
    border-radius: 4px;
    background: #edf5fd;
    color: #526b85;
    font-size: 10px;
    line-height: 1.7;
}

/* SECURITY */

.security {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 27px;
    padding-top: 20px;
    border-top: 1px solid #edf0f4;
    color: #8793a2;
    font-size: 10px;
}

.security span {
    font-size: 13px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    body {
        padding: 20px;
    }

    .container {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .brand-panel {
        min-height: 360px;
        padding: 30px;
    }

    .hero {
        margin: 35px 0;
    }

    .hero h1 {
        font-size: 31px;
    }

    .features {
        gap: 11px;
        margin-top: 22px;
    }

    .form-panel {
        padding: 35px 30px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0;
        align-items: flex-start;
        background: #fff;
    }

    .container {
        min-height: 100vh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .brand-panel {
        min-height: 320px;
        padding: 25px 23px;
    }

    .logo {
        font-size: 22px;
    }

    .logo-mark {
        width: 40px;
        height: 40px;
        font-size: 23px;
    }

    .hero {
        margin: 28px 0;
    }

    .hero h1 {
        font-size: 27px;
    }

    .hero p {
        font-size: 11px;
    }

    .brand-footer {
        font-size: 9px;
    }

    .form-panel {
        padding: 32px 23px;
    }

    .form-heading h2 {
        font-size: 23px;
    }

    .options {
        align-items: flex-start;
    }
}