@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Manrope:wght@300;400;500;600&display=swap');

:root {
    --bg: #080806;
    --bg-soft: #0d0c09;
    --surface: #11100c;

    --gold: #b59a5b;
    --gold-light: #d1bb82;
    --gold-dark: #78653b;

    --text: #eee9dc;
    --text-soft: #918b7d;
    --text-muted: #5e594e;

    --line: rgba(181, 154, 91, 0.22);
    --line-strong: rgba(181, 154, 91, 0.5);

    --font: "Inter", sans-serif;
    --display: "Manrope", sans-serif;
}

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

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

html {
    background: var(--bg);
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
}

button,
input {
    font: inherit;
}

button {
    -webkit-tap-highlight-color: transparent;
}


/* PAGE */

.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    background: var(--bg);
}


/* LEFT PANEL */

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

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 42px 48px;

    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 45% 42%,
            rgba(181, 154, 91, 0.08),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #0d0c09 0%,
            #080806 55%,
            #050504 100%
        );

    border-right: 1px solid var(--line);
}


/* DECORATIVE RINGS */

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

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;
    pointer-events: none;
}

.brand-panel::before {
    width: 620px;
    height: 620px;

    border: 1px solid rgba(181, 154, 91, 0.06);
}

.brand-panel::after {
    width: 420px;
    height: 420px;

    border: 1px solid rgba(181, 154, 91, 0.04);
}


/* BRAND */

.brand-top {
    position: relative;
    z-index: 2;
}

.brand-mark {
    display: inline-flex;

    color: var(--gold-light);

    font-family: var(--display);
    font-size: 34px;
    font-weight: 400;

    letter-spacing: -0.08em;
}

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

    max-width: 680px;
}

.eyebrow {
    display: block;

    margin-bottom: 22px;

    color: var(--gold);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: .24em;
    text-transform: uppercase;
}

.brand-content h1 {
    margin-bottom: 40px;

    color: var(--text);

    font-family: var(--display);
    font-size: clamp(70px, 8vw, 140px);
    font-weight: 300;

    letter-spacing: -.075em;
    line-height: .8;
}

.brand-content p {
    max-width: 390px;

    color: var(--text-soft);

    font-size: 13px;
    line-height: 1.8;
}

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

    display: flex;
    justify-content: space-between;

    color: var(--text-muted);

    font-size: 9px;
    letter-spacing: .16em;
}


/* LOGIN PANEL */

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

    display: flex;
    flex-direction: column;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(181, 154, 91, 0.035),
            transparent 30%
        ),
        var(--bg);

    color: var(--text);
}

.login-container {
    width: min(430px, calc(100% - 70px));
    margin: auto;
}

.mobile-brand {
    display: none;
}


/* LOGIN HEADING */

.login-heading {
    margin-bottom: 42px;
}

.login-heading .eyebrow {
    color: var(--gold);
}

.login-heading h2 {
    margin-bottom: 12px;

    color: var(--text);

    font-family: var(--display);
    font-size: 42px;
    font-weight: 300;

    letter-spacing: -.055em;
}

.login-heading p {
    color: var(--text-soft);

    font-size: 13px;
    line-height: 1.6;
}


/* ERROR */

.alert {
    padding: 14px 16px;
    margin-bottom: 25px;

    border: 1px solid rgba(190, 100, 85, .25);

    background: rgba(190, 100, 85, .05);

    color: #c89287;

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


/* FORM */

.login-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.field label {
    display: block;

    margin-bottom: 10px;

    color: var(--text-soft);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: .14em;
    text-transform: uppercase;
}

.field input {
    width: 100%;

    padding: 11px 0 14px;

    border: 0;
    border-bottom: 1px solid var(--line);

    border-radius: 0;

    background: transparent;

    color: var(--text);

    font-size: 15px;

    outline: none;
    caret-color: var(--gold-light);

    transition:
        border-color 180ms ease,
        color 180ms ease;
}

.field input:hover {
    border-color: rgba(181, 154, 91, .38);
}

.field input:focus {
    border-color: var(--gold);
}

.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text);
    -webkit-box-shadow: 0 0 0 1000px var(--bg) inset;
    transition: background-color 9999s ease-in-out 0s;
}


/* PASSWORD */

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 65px;
}

.password-toggle {
    position: absolute;

    right: 0;
    top: 8px;

    padding: 0;

    border: 0;

    background: transparent;
    color: var(--gold-dark);

    font-size: 9px;
    font-weight: 600;

    letter-spacing: .14em;

    cursor: pointer;

    transition: color 160ms ease;
}

.password-toggle:hover {
    color: var(--gold-light);
}


/* ENTER BUTTON */

.login-button {
    width: 100%;

    margin-top: 12px;
    padding: 18px 20px;

    min-height: 60px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 1px solid var(--line-strong);

    background: transparent;
    color: var(--gold-light);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: .18em;

    cursor: pointer;

    transition:
        background 180ms ease,
        border-color 180ms ease,
        color 180ms ease;
}

.login-button:hover {
    background: var(--gold);
    border-color: var(--gold);

    color: #090806;
}

.login-button:disabled {
    opacity: .45;
    cursor: wait;
}


/* CSS ARROW — NO EMOJI */

.arrow {
    position: relative;

    display: block;

    width: 16px;
    height: 16px;

    font-size: 0;
}

.arrow::before {
    content: "";

    position: absolute;

    width: 8px;
    height: 8px;

    right: 1px;
    top: 1px;

    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
}

.arrow::after {
    content: "";

    position: absolute;

    width: 13px;
    height: 1px;

    left: 1px;
    bottom: 4px;

    background: currentColor;

    transform: rotate(-45deg);
    transform-origin: right center;
}


/* INVITATION NOTICE */

.access-notice {
    display: flex;
    align-items: flex-start;

    gap: 11px;

    margin-top: 35px;
    padding-top: 24px;

    border-top: 1px solid var(--line);
}

.status-dot {
    width: 5px;
    height: 5px;

    flex: 0 0 auto;

    margin-top: 6px;

    border-radius: 50%;

    background: var(--gold);
    box-shadow: 0 0 10px rgba(181, 154, 91, .25);
}

.access-notice p {
    color: var(--text-muted);

    font-size: 10px;
    line-height: 1.7;

    letter-spacing: .02em;
}


/* FOOTER */

.login-footer {
    padding: 28px 34px;

    display: flex;
    justify-content: space-between;

    color: var(--text-muted);

    font-size: 8px;
    letter-spacing: .16em;
}


/* MOBILE */

@media (max-width: 900px) {

    .login-page {
        display: block;
    }

    .brand-panel {
        display: none;
    }

    .login-panel {
        min-height: 100svh;
    }

    .login-container {
        width: min(440px, calc(100% - 44px));
    }

    .mobile-brand {
        display: flex;
        justify-content: space-between;
        align-items: center;

        margin-bottom: 90px;

        color: var(--text-muted);

        font-size: 8px;
        letter-spacing: .2em;
    }

    .mobile-brand .brand-mark {
        color: var(--gold-light);
        font-size: 28px;
    }

    .login-heading h2 {
        font-size: 38px;
    }
}


@media (max-width: 480px) {

    .login-container {
        width: calc(100% - 36px);
    }

    .login-footer {
        padding: 24px 18px;
    }

    .mobile-brand {
        margin-bottom: 75px;
    }

}

.login-arrow {
    color: var(--gold-light);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 19px;
    font-weight: 300;

    line-height: 1;

    letter-spacing: 0;

    transition: transform .18s ease;
}

.login-button:hover .login-arrow {
    transform: translateX(3px);
}