* {
    box-sizing: border-box;
}

:root {
    --black: #0b0b0b;
    --gold: #c9a45c;
    --gold-light: #e2c47d;
    --white: #ffffff;
    --muted: #777777;
    --border: #dedede;
    --danger: #b42318;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    background: #090909;
    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 85% 15%,
            rgba(201, 164, 92, .12),
            transparent 35%
        ),
        #090909;
}
.message-success {
    border-left: 3px solid #8d6a19;
    background: #fff9e8;
    color: #705313;
    padding: 13px 15px;
    margin-bottom: 20px;
    border-radius: 3px;
    font-size: 12px;
    line-height: 1.6;
}

/* =========================================
   CONTAINER
========================================= */

.auth-container {
    width: 100%;
    max-width: 1080px;
    min-height: 650px;

    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,
            #080808,
            #191919
        );
}

.brand-panel::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -140px;
    top: -100px;

    border: 1px solid rgba(201, 164, 92, .18);

    transform: rotate(45deg);
}

.brand-panel::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -80px;
    bottom: -80px;

    border: 1px solid rgba(201, 164, 92, .14);

    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: 55px;

    line-height: 1.05;

    font-weight: 400;
}

.brand-panel h1 span {
    color: var(--gold-light);
}

.brand-panel p {
    max-width: 370px;

    margin: 25px 0 35px;

    color: #bdbdbd;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================
   MEMBER NOTE
========================================= */

.member-note {
    display: flex;

    align-items: center;

    gap: 15px;
}

.member-note > span {
    color: var(--gold);

    font-size: 20px;
}

.member-note strong {
    display: block;

    color: #ffffff;

    font-size: 13px;
}

.member-note small {
    display: block;

    margin-top: 4px;

    color: #777777;

    font-size: 11px;
}


/* =========================================
   FORM
========================================= */

.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: 34px;

    font-weight: 500;

    color: #111111;
}

.form-heading p {
    margin: 0 0 30px;

    color: #777777;

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================
   ERROR
========================================= */

.message {
    padding: 12px 14px;

    margin-bottom: 20px;

    border-radius: 5px;

    font-size: 13px;
}

.message-error {
    color: var(--danger);

    background: #fff1f0;

    border: 1px solid #f5c2c0;
}


/* =========================================
   FIELD
========================================= */

.field {
    margin-bottom: 20px;
}

.field label {
    display: block;

    margin-bottom: 7px;

    color: #292929;

    font-size: 12px;

    font-weight: 700;
}

.password-label {
    display: flex;

    justify-content: space-between;

    align-items: center;
}

.password-label label {
    margin-bottom: 7px;
}

.password-label a {
    color: #888888;

    font-size: 10px;

    text-decoration: none;
}

.password-label a:hover {
    color: var(--gold);
}

.field input {
    width: 100%;

    height: 49px;

    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;
}


/* =========================================
   PASSWORD
========================================= */

.password-box {
    position: relative;
}

.password-box input {
    padding-right: 60px;
}

.password-toggle {
    position: absolute;

    right: 10px;
    top: 50%;

    transform: translateY(-50%);

    border: 0;

    background: transparent;

    color: #777777;

    cursor: pointer;

    font-size: 10px;

    font-weight: 700;
}

.password-toggle:hover {
    color: #111111;
}

.field-error {
    display: none;

    margin-top: 5px;

    color: #c62828;

    font-size: 11px;
}

.field-error.show {
    display: block;
}


/* =========================================
   LOGIN BUTTON
========================================= */

.primary-button {
    width: 100%;

    height: 51px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    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;
}


/* =========================================
   DIVIDER
========================================= */

.divider {
    display: flex;

    align-items: center;

    gap: 15px;

    margin: 28px 0 18px;

    color: #aaaaaa;

    font-size: 9px;

    letter-spacing: 1.5px;
}

.divider::before,
.divider::after {
    content: "";

    flex: 1;

    height: 1px;

    background: #eeeeee;
}


/* =========================================
   REGISTER BUTTON
========================================= */

.register-button {
    width: 100%;

    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    border: 1px solid #222222;

    border-radius: 4px;

    color: #111111;

    text-decoration: none;

    font-size: 11px;

    font-weight: 700;

    transition:
        background .2s ease,
        color .2s ease;
}

.register-button span {
    color: var(--gold);

    font-size: 16px;
}

.register-button:hover {
    background: #111111;

    color: #ffffff;
}


/* =========================================
   GUEST
========================================= */

.guest-link {
    margin-top: 20px;

    text-align: center;
}

.guest-link a {
    color: #999999;

    font-size: 11px;

    text-decoration: none;
}

.guest-link a:hover {
    color: #111111;
}


/* =========================================
   SECURITY
========================================= */

.secure-note {
    margin-top: 20px;

    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;
    }
}