/* =========================================================
   PILOTYT AUTH
========================================================= */

.auth-page {

    min-height: 100vh;

    background: #050505;

}


.auth-background {

    position: fixed;

    inset: 0;

    overflow: hidden;

    pointer-events: none;

}


.auth-grid {

    position: absolute;

    inset: 0;

    opacity: .35;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

}


.auth-glow {

    position: absolute;

    width: 700px;

    height: 700px;

    left: -300px;

    top: 15%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,31,61,.12),
            transparent 68%
        );

    filter: blur(20px);

}


.auth-container {

    position: relative;

    z-index: 2;

    min-height: 100vh;

    display: grid;

    grid-template-columns: 1fr 1fr;

}


.auth-brand-panel {

    display: flex;

    flex-direction: column;

    padding: 55px;

    border-right: 1px solid #1d1d1d;

}


.auth-logo {

    width: 150px;

}


.auth-logo img {

    width: 100%;

    max-height: 45px;

    object-fit: contain;

}


.auth-brand-content {

    max-width: 620px;

    margin: auto 0;

}


.auth-eyebrow {

    color: var(--red);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: .12em;

}


.auth-brand-content h1 {

    margin-top: 25px;

    font-size: clamp(52px, 5vw, 78px);

    line-height: .96;

    letter-spacing: -.065em;

}


.auth-brand-content h1 span {

    display: block;

    color: var(--red);

}


.auth-brand-content p {

    max-width: 500px;

    margin-top: 30px;

    color: #858585;

    font-size: 19px;

    line-height: 1.65;

}


.auth-brand-bottom {

    display: flex;

    justify-content: space-between;

    color: #4d4d4d;

    font-size: 12px;

}


.auth-form-panel {

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 60px;

}


.auth-form-wrapper {

    width: min(100%, 510px);

}


.auth-mobile-logo {

    display: none;

}


.auth-label {

    color: var(--red);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: .12em;

}


.auth-heading h2 {

    margin-top: 15px;

    font-size: clamp(38px, 4vw, 54px);

    line-height: 1;

    letter-spacing: -.05em;

}


.auth-heading p {

    margin-top: 15px;

    color: #777;

    font-size: 17px;

}


.auth-message {

    display: none;

    margin-top: 25px;

    padding: 15px 17px;

    border-radius: 12px;

    font-size: 15px;

    line-height: 1.5;

}


.auth-message.error {

    border: 1px solid rgba(255,31,61,.25);

    background: rgba(255,31,61,.07);

    color: #ff7180;

}


.auth-message.success {

    border: 1px solid rgba(53,208,127,.2);

    background: rgba(53,208,127,.06);

    color: #69dfa0;

}


.auth-form {

    display: flex;

    flex-direction: column;

    gap: 20px;

    margin-top: 32px;

}


.form-group {

    display: flex;

    flex-direction: column;

    gap: 9px;

}


.form-group label,
.form-label-row label {

    color: #d4d4d4;

    font-size: 15px;

    font-weight: 600;

}


.form-label-row {

    display: flex;

    justify-content: space-between;

    align-items: center;

}


.form-label-row span {

    color: #555;

    font-size: 12px;

}


.password-input {

    position: relative;

}


.password-input .input {

    padding-right: 70px;

}


.password-toggle {

    position: absolute;

    top: 50%;

    right: 15px;

    transform: translateY(-50%);

    color: #777;

    background: transparent;

    font-size: 13px;

    font-weight: 700;

}


.password-toggle:hover {

    color: white;

}


.terms-row {

    display: flex;

    align-items: flex-start;

    gap: 11px;

    color: #777;

    font-size: 14px;

    line-height: 1.5;

    cursor: pointer;

}


.terms-row input {

    width: 17px;

    height: 17px;

    margin-top: 2px;

    accent-color: var(--red);

    flex: 0 0 auto;

}


.auth-submit {

    width: 100%;

    margin-top: 5px;

}


.auth-submit.loading {

    opacity: .75;

    cursor: wait;

}


.auth-spinner {

    display: none;

    width: 19px;

    height: 19px;

    border: 2px solid rgba(255,255,255,.3);

    border-top-color: white;

    border-radius: 50%;

    animation: auth-spin .7s linear infinite;

}


@keyframes auth-spin {

    to {
        transform: rotate(360deg);
    }

}


.auth-arrow {

    font-size: 20px;

}


.auth-switch {

    margin-top: 25px;

    text-align: center;

    color: #666;

    font-size: 15px;

}


.auth-switch a {

    color: white;

    font-weight: 700;

}


.auth-switch a:hover {

    color: var(--red);

}


.auth-tools-note {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    margin-top: 35px;

    padding-top: 22px;

    border-top: 1px solid #1b1b1b;

    color: #555;

    font-size: 13px;

    text-align: center;

}


.auth-tools-note span {

    color: var(--red);

}


@media (max-width: 900px) {

    .auth-container {

        grid-template-columns: 1fr;

    }


    .auth-brand-panel {

        display: none;

    }


    .auth-form-panel {

        min-height: 100vh;

        padding: 40px 24px;

    }


    .auth-mobile-logo {

        display: block;

        margin-bottom: 55px;

    }


    .auth-mobile-logo img {

        width: 135px;

        max-height: 42px;

        object-fit: contain;

    }

}


@media (max-width: 500px) {

    .auth-form-panel {

        padding: 30px 18px;

    }


    .auth-heading h2 {

        font-size: 39px;

    }


    .auth-form {

        gap: 17px;

    }


    .input {

        min-height: 56px;

        font-size: 16px;

    }

}