* {
    box-sizing: border-box;
}

:root {
    --black: #0b0b0b;
    --black-soft: #111111;
    --gold: #c9a45c;
    --gold-light: #e2c47d;
    --white: #ffffff;
    --muted: #777777;
    --border: #dedede;
    --danger: #b42318;
    --success: #087443;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    background: #0b0b0b;
    color: #171717;
}

button,
input {
    font: inherit;
}


/* =========================================
   PAGE
========================================= */

.auth-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(201, 164, 92, .12),
            transparent 35%
        ),
        #090909;
}


/* =========================================
   CONTAINER
========================================= */

.auth-container {
    width: 100%;
    max-width: 1080px;
    min-height: 680px;

    display: grid;
    grid-template-columns: 43% 57%;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid rgba(201, 164, 92, .35);

    box-shadow:
        0 30px 90px rgba(0, 0, 0, .55);
}


/* =========================================
   BRAND PANEL
========================================= */

.brand-panel {
    position: relative;

    display: flex;
    align-items: center;

    padding: 55px;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            rgba(0, 0, 0, .94),
            rgba(20, 20, 20, .96)
        );
}

.brand-panel::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    right: -100px;
    bottom: -100px;

    border: 1px solid rgba(201, 164, 92, .25);

    transform: rotate(45deg);
}

.brand-content {
    position: relative;
    z-index: 2;
}

.brand-logo {
    letter-spacing: 8px;

    font-size: 30px;

    font-weight: 800;
}

.brand-subtitle {
    margin-top: 6px;

    color: var(--gold);

    letter-spacing: 5px;

    font-size: 11px;

    font-weight: 700;
}

.brand-line {
    width: 55px;
    height: 2px;

    margin: 32px 0;
    
    background: var(--gold);
}

.brand-panel h1 {
    margin: 0;

    font-family: Georgia, serif;

    font-size: 45px;

    line-height: 1.12;

    font-weight: 400;
}

.brand-panel h1 span {
    color: var(--gold-light);
}

.brand-panel p {
    max-width: 380px;

    margin: 24px 0 35px;

    color: #bdbdbd;

    line-height: 1.7;

    font-size: 14px;
}


/* =========================================
   BENEFITS
========================================= */

.benefits {
    display: grid;
    gap: 18px;
}

.benefit {
    display: flex;
    align-items: center;

    gap: 15px;
}

.benefit > span {
    color: var(--gold);

    font-size: 11px;

    letter-spacing: 1px;
}

.benefit strong {
    display: block;

    color: #ffffff;

    font-size: 13px;
}

.benefit small {
    display: block;

    margin-top: 3px;

    color: #777777;

    font-size: 11px;
}


/* =========================================
   FORM PANEL
========================================= */

.form-panel {
    display: flex;
    align-items: center;

    background: #ffffff;
}

.form-wrapper {
    width: 100%;

    max-width: 470px;

    margin: auto;

    padding: 45px 55px;
}

.mobile-brand {
    display: none;
}


/* =========================================
   HEADING
========================================= */

.eyebrow {
    color: var(--gold);

    letter-spacing: 3px;

    font-size: 10px;

    font-weight: 800;
}

.form-heading h2 {
    margin: 10px 0 8px;

    font-family: Georgia, serif;

    font-size: 32px;

    font-weight: 500;

    color: #111111;
}

.form-heading p {
    margin: 0 0 25px;

    color: #777777;

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================
   MESSAGE
========================================= */

.message {
    padding: 12px 14px;

    margin-bottom: 20px;

    border-radius: 5px;

    font-size: 13px;
}

.message-error {
    color: var(--danger);

    background: #fff1f0;

    border: 1px solid #f5c2c0;
}

.message-success {
    color: var(--success);

    background: #edfdf5;

    border: 1px solid #b7ebcd;
}


/* =========================================
   FIELD
========================================= */

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;

    margin-bottom: 7px;

    color: #292929;

    font-size: 12px;

    font-weight: 700;
}

.field label span {
    float: right;

    color: #999999;

    font-size: 10px;

    font-weight: 400;
}

.field input {
    width: 100%;

    height: 47px;

    padding: 0 14px;

    border: 1px solid var(--border);

    border-radius: 4px;

    outline: none;

    color: #111111;

    background: #ffffff;

    font-size: 13px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.field input::placeholder {
    color: #aaa;
}

.field input:focus {
    border-color: var(--gold);

    box-shadow:
        0 0 0 3px rgba(201, 164, 92, .10);
}

.field input.input-error {
    border-color: #c62828;
}

.field input.input-success {
    border-color: #198754;
}

.field-error {
    display: none;

    margin-top: 5px;

    color: #c62828;

    font-size: 11px;
}

.field-error.show {
    display: block;
}


/* =========================================
   PASSWORD
========================================= */

.password-box {
    position: relative;
}

.password-box input {
    padding-right: 60px;
}

.password-toggle {
    position: absolute;

    right: 10px;
    top: 50%;

    transform: translateY(-50%);

    padding: 4px;

    border: 0;

    background: transparent;

    color: #777777;

    cursor: pointer;

    font-size: 10px;

    font-weight: 700;
}

.password-toggle:hover {
    color: #111111;
}


/* =========================================
   PASSWORD STRENGTH
========================================= */

.password-strength {
    height: 3px;

    margin-top: 7px;

    overflow: hidden;

    background: #eeeeee;
}

.strength-bar {
    width: 0;
    height: 100%;

    transition: width .25s ease;
}

.strength-text {
    margin-top: 4px;

    color: #999999;

    font-size: 10px;
}


/* =========================================
   BUTTON
========================================= */

.primary-button {
    width: 100%;

    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    margin-top: 8px;

    border: 0;

    border-radius: 4px;

    background: #111111;

    color: #ffffff;

    cursor: pointer;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .4px;

    transition:
        background .2s ease,
        transform .2s ease;
}

.primary-button b {
    color: var(--gold);

    font-size: 18px;

    font-weight: 400;
}

.primary-button:hover {
    background: #000000;

    transform: translateY(-1px);
}

.primary-button:disabled {
    opacity: .65;

    cursor: not-allowed;

    transform: none;
}


/* =========================================
   LOGIN
========================================= */

.login-prompt {
    margin-top: 20px;

    text-align: center;

    color: #888888;

    font-size: 12px;
}

.login-prompt a {
    margin-left: 4px;

    color: #111111;

    font-weight: 800;

    text-decoration: none;
}

.login-prompt a:hover {
    color: var(--gold);
}


/* =========================================
   SECURITY
========================================= */

.secure-note {
    margin-top: 22px;

    text-align: center;

    color: #aaaaaa;

    font-size: 10px;
}

.secure-note span {
    color: var(--gold);

    margin-right: 4px;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 850px) {

    .auth-page {
        padding: 15px;
    }

    .auth-container {
        grid-template-columns: 1fr;

        max-width: 520px;

        min-height: auto;
    }

    .brand-panel {
        display: none;
    }

    .form-panel {
        min-height: 100vh;
    }

    .form-wrapper {
        max-width: 470px;

        padding: 35px 25px;
    }

    .mobile-brand {
        display: block;

        margin-bottom: 35px;

        text-align: center;

        color: #111111;

        letter-spacing: 4px;

        font-size: 17px;

        font-weight: 800;
    }

    .mobile-brand span {
        display: block;

        margin-top: 4px;

        color: var(--gold);

        letter-spacing: 3px;

        font-size: 9px;
    }
}