* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #050a11;
    color: #f5f7ff;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
}

.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns:
        minmax(360px, 0.9fr)
        minmax(430px, 1.1fr);
}

.auth-brand-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 42px;
    overflow: hidden;
    border-right:
        1px solid rgba(255, 255, 255, 0.065);
    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(245, 197, 66, 0.11),
            transparent 27%
        ),
        radial-gradient(
            circle at 85% 85%,
            rgba(55, 105, 185, 0.12),
            transparent 30%
        ),
        #070d15;
}

.auth-brand-panel::after {
    content: "";
    position: absolute;
    right: -160px;
    bottom: -170px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: rgba(245, 197, 66, 0.045);
    filter: blur(10px);
}

.auth-brand {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    align-self: flex-start;
    color: inherit;
    text-decoration: none;
}

.auth-brand > div {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(245, 197, 66, 0.11);
    font-size: 22px;
}

.auth-brand span {
    display: block;
}

.auth-brand strong {
    display: block;
    font-size: 22px;
    line-height: 1;
}

.auth-brand small {
    display: block;
    margin-top: 5px;
    color: #65718a;
    font-size: 9px;
}

.auth-brand-message {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: auto 0;
    padding: 70px 0;
}

.auth-brand-message > span {
    color: #f5c542;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.auth-brand-message h1 {
    margin: 16px 0 0;
    font-size: clamp(37px, 5vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.auth-brand-message p {
    max-width: 530px;
    margin: 20px 0 0;
    color: #8591ab;
    font-size: 14px;
    line-height: 1.65;
}

.auth-feature-list {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 9px;
}

.auth-feature-list > div {
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 11px;
    background: rgba(14, 24, 37, 0.58);
}

.auth-feature-list strong {
    color: #dfe5f1;
    font-size: 11px;
}

.auth-feature-list span {
    display: block;
    margin-top: 5px;
    color: #66728b;
    font-size: 10px;
}

.auth-form-panel {
    display: grid;
    place-items: center;
    padding: 40px 24px;
    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(55, 105, 185, 0.07),
            transparent 26%
        ),
        #050a11;
}

.auth-form-container {
    width: min(430px, 100%);
}

.auth-back {
    display: inline-block;
    margin-bottom: 37px;
    color: #6c7891;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.auth-back:hover {
    color: #f5c542;
}

.auth-kicker {
    margin: 0;
    color: #f5c542;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.auth-form-container h2 {
    margin: 9px 0 0;
    font-size: 35px;
    letter-spacing: -0.04em;
}

.auth-subtitle {
    margin: 9px 0 0;
    color: #7d89a3;
    font-size: 13px;
}

.auth-error {
    margin-top: 19px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 95, 99, 0.27);
    border-radius: 10px;
    background: rgba(255, 95, 99, 0.075);
    color: #ff8588;
    font-size: 11px;
    font-weight: 800;
}

.auth-form {
    display: grid;
    gap: 15px;
    margin-top: 25px;
}

.auth-form label > span {
    display: block;
    margin-bottom: 7px;
    color: #8793ad;
    font-size: 10px;
    font-weight: 800;
}

.auth-form input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 10px;
    outline: none;
    background: #0d1622;
    color: #f5f7ff;
    font-family: inherit;
    font-size: 13px;
}

.auth-form input::placeholder {
    color: #4f5b72;
}

.auth-form input:focus {
    border-color: rgba(245, 197, 66, 0.65);
    box-shadow:
        0 0 0 3px rgba(245, 197, 66, 0.085);
}

.auth-form button {
    min-height: 45px;
    margin-top: 4px;
    padding: 12px 17px;
    border: 0;
    border-radius: 10px;
    background: #f5c400;
    color: #0b1017;
    font-family: inherit;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
}

.auth-form button:hover {
    background: #ffd32d;
}

.auth-terms {
    margin: 16px 0 0;
    color: #4e5a70;
    font-size: 9px;
    line-height: 1.5;
    text-align: center;
}

.auth-switch {
    margin: 23px 0 0;
    color: #71809a;
    font-size: 11px;
    text-align: center;
}

.auth-switch a {
    margin-left: 4px;
    color: #f5c542;
    font-weight: 900;
    text-decoration: none;
}

@media (max-width: 900px) {
    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-brand-panel {
        min-height: auto;
        padding: 25px 22px;
        border-right: 0;
        border-bottom:
            1px solid rgba(255, 255, 255, 0.065);
    }

    .auth-brand-message {
        margin: 55px 0 20px;
        padding: 0;
    }

    .auth-brand-message h1 {
        max-width: 650px;
        font-size: 40px;
    }

    .auth-feature-list {
        display: none;
    }

    .auth-form-panel {
        padding: 38px 20px 60px;
    }
}

@media (max-width: 520px) {
    .auth-brand-panel {
        padding: 19px 15px;
    }

    .auth-brand-message {
        margin-top: 42px;
    }

    .auth-brand-message h1 {
        font-size: 33px;
    }

    .auth-brand-message p {
        font-size: 12px;
    }

    .auth-form-panel {
        padding: 31px 15px 50px;
    }

    .auth-back {
        margin-bottom: 29px;
    }

    .auth-form-container h2 {
        font-size: 31px;
    }
}

.auth-success {
    margin-top: 19px;
    padding: 12px 14px;
    border: 1px solid rgba(71, 220, 125, 0.25);
    border-radius: 10px;
    background: rgba(71, 220, 125, 0.075);
    color: #79e8a1;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.55;
}

.auth-turnstile {
    min-height: 65px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.auth-turnstile .cf-turnstile {
    max-width: 100%;
}

.auth-help-link,
.auth-action {
    margin: 14px 0 0;
    text-align: center;
    font-size: 11px;
}

.auth-help-link a,
.auth-action a {
    color: #f5c542;
    font-weight: 850;
    text-decoration: none;
}

.auth-help-link a:hover,
.auth-action a:hover {
    text-decoration: underline;
}

.auth-page-action .auth-feature-list {
    display: none;
}

.auth-terms a {
    color: #9aa6bf;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-terms a:hover {
    color: #f5c542;
}
