/* =========================================================
   B-ZORA AUTHENTICATION
   SIGN IN + SIGN UP
   PREMIUM GLOBAL SAAS DESIGN
   ========================================================= */


/* =========================================================
   AUTH PAGE
   ========================================================= */

.auth-page {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 60px 20px;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(124, 92, 255, 0.18),
            transparent 32%
        ),

        radial-gradient(
            circle at 85% 75%,
            rgba(0, 229, 255, 0.12),
            transparent 30%
        ),

        #050507;

    overflow: hidden;
}


/* =========================================================
   BACKGROUND LIGHTS
   ========================================================= */

.auth-page::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -250px;
    left: -180px;

    border-radius: 50%;

    background:
        rgba(124, 92, 255, 0.15);

    filter:
        blur(100px);

    animation:
        authGlowOne 8s ease-in-out infinite alternate;
}


.auth-page::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -180px;
    bottom: -200px;

    border-radius: 50%;

    background:
        rgba(0, 229, 255, 0.11);

    filter:
        blur(100px);

    animation:
        authGlowTwo 9s ease-in-out infinite alternate;
}


@keyframes authGlowOne {

    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(80px, 70px);
    }
}


@keyframes authGlowTwo {

    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(-70px, -60px);
    }
}


/* =========================================================
   AUTH CARD
   ========================================================= */

.auth-card {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 520px;

    padding: 42px;

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.085),
            rgba(255,255,255,0.025)
        );

    border:
        1px solid
        rgba(255,255,255,0.12);

    backdrop-filter:
        blur(30px);

    box-shadow:
        0 40px 120px
        rgba(0,0,0,0.55),

        0 0 70px
        rgba(124,92,255,0.08);

    animation:
        authCardEnter 0.8s ease both;
}


@keyframes authCardEnter {

    from {
        opacity: 0;

        transform:
            translateY(25px)
            scale(0.97);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}


/* =========================================================
   TOP LIGHT
   ========================================================= */

.auth-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 12%;

    width: 76%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #7c5cff,
            #00e5ff,
            transparent
        );

    box-shadow:
        0 0 18px
        rgba(0,229,255,0.5);
}


/* =========================================================
   LOGO
   ========================================================= */

.auth-logo {
    display: block;

    width: fit-content;

    margin: 0 auto 30px;

    color: #ffffff;

    font-family:
        'Space Grotesk',
        sans-serif;

    font-size: 28px;

    font-weight: 900;

    letter-spacing: -1.5px;

    text-decoration: none;

    transition:
        transform 0.3s ease;
}


.auth-logo:hover {
    transform:
        scale(1.05);
}


.auth-logo::first-letter {
    color: #7c5cff;
}


/* =========================================================
   HEADING
   ========================================================= */

.auth-heading {
    text-align: center;

    margin-bottom: 30px;
}


.auth-heading > span {
    display: inline-block;

    margin-bottom: 10px;

    color:
        #00e5ff;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.7px;

    text-transform:
        uppercase;
}


.auth-heading h1 {
    margin: 0 0 12px;

    color:
        #ffffff;

    font-family:
        'Space Grotesk',
        sans-serif;

    font-size:
        clamp(28px, 5vw, 38px);

    line-height:
        1.1;

    letter-spacing:
        -1px;
}


.auth-heading p {
    max-width: 410px;

    margin: auto;

    color:
        #858592;

    font-size:
        12px;

    line-height:
        1.8;
}


/* =========================================================
   FORM
   ========================================================= */

.signin-form,
.signup-form {
    display:
        flex;

    flex-direction:
        column;

    gap:
        18px;
}


/* =========================================================
   FORM FIELD
   ========================================================= */

.auth-field {
    display:
        flex;

    flex-direction:
        column;

    gap:
        8px;
}


.auth-field label {
    color:
        #d7d7df;

    font-size:
        11px;

    font-weight:
        700;
}


.auth-field small {
    color:
        #666672;

    font-size:
        9px;
}


/* =========================================================
   INPUTS
   ========================================================= */

.auth-field input,
.auth-field select {
    width:
        100%;

    height:
        50px;

    padding:
        0 15px;

    box-sizing:
        border-box;

    border:
        1px solid
        rgba(255,255,255,0.09);

    border-radius:
        12px;

    outline:
        none;

    background:
        rgba(255,255,255,0.045);

    color:
        #ffffff;

    font-family:
        inherit;

    font-size:
        12px;

    transition:
        all 0.3s ease;
}


.auth-field input::placeholder {
    color:
        #555560;
}


.auth-field input:focus,
.auth-field select:focus {
    border-color:
        rgba(0,229,255,0.55);

    background:
        rgba(0,229,255,0.035);

    box-shadow:
        0 0 0 3px
        rgba(0,229,255,0.07),

        0 0 25px
        rgba(0,229,255,0.05);
}


/* =========================================================
   SELECT
   ========================================================= */

.auth-field select {
    cursor:
        pointer;

    appearance:
        none;

    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            #777784 50%
        ),

        linear-gradient(
            135deg,
            #777784 50%,
            transparent 50%
        );

    background-position:
        calc(100% - 17px) 21px,
        calc(100% - 12px) 21px;

    background-size:
        5px 5px,
        5px 5px;

    background-repeat:
        no-repeat;
}


.auth-field select option {
    background:
        #111116;

    color:
        #ffffff;
}


/* =========================================================
   PASSWORD
   ========================================================= */

.password-input {
    position:
        relative;
}


.password-input input {
    padding-right:
        65px;
}


.toggle-password {
    position:
        absolute;

    right:
        10px;

    top:
        50%;

    transform:
        translateY(-50%);

    border:
        none;

    background:
        transparent;

    color:
        #00e5ff;

    font-size:
        10px;

    font-weight:
        700;

    cursor:
        pointer;
}


/* =========================================================
   PASSWORD LABEL
   ========================================================= */

.password-label {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;
}


.password-label a {
    color:
        #7c5cff;

    font-size:
        10px;

    text-decoration:
        none;

    transition:
        color 0.25s ease;
}


.password-label a:hover {
    color:
        #00e5ff;
}


/* =========================================================
   OPTIONS
   ========================================================= */

.auth-options {
    display:
        flex;

    align-items:
        center;

    margin-top:
        -3px;
}


.remember-me {
    display:
        flex;

    align-items:
        flex-start;

    gap:
        9px;

    color:
        #777784;

    font-size:
        10px;

    line-height:
        1.5;

    cursor:
        pointer;
}


.remember-me input {
    width:
        15px;

    height:
        15px;

    margin:
        0;

    accent-color:
        #7c5cff;

    cursor:
        pointer;
}


.remember-me a {
    color:
        #00e5ff;

    text-decoration:
        none;
}


/* =========================================================
   MAIN BUTTON
   ========================================================= */

.auth-submit {
    position:
        relative;

    width:
        100%;

    height:
        52px;

    margin-top:
        5px;

    border:
        none;

    border-radius:
        13px;

    background:
        linear-gradient(
            135deg,
            #7c5cff,
            #00e5ff
        );

    color:
        #ffffff;

    font-family:
        'Space Grotesk',
        sans-serif;

    font-size:
        12px;

    font-weight:
        800;

    cursor:
        pointer;

    overflow:
        hidden;

    box-shadow:
        0 15px 35px
        rgba(124,92,255,0.25);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.auth-submit::before {
    content:
        "";

    position:
        absolute;

    top:
        0;

    left:
        -120%;

    width:
        80%;

    height:
        100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.35),
            transparent
        );

    transform:
        skewX(-20deg);

    transition:
        left 0.7s ease;
}


.auth-submit:hover::before {
    left:
        140%;
}


.auth-submit:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 20px 45px
        rgba(0,229,255,0.18);
}


.auth-submit:active {
    transform:
        translateY(0)
        scale(0.98);
}


/* =========================================================
   DIVIDER
   ========================================================= */

.auth-divider {
    display:
        flex;

    align-items:
        center;

    gap:
        15px;

    margin:
        25px 0;
}


.auth-divider::before,
.auth-divider::after {
    content:
        "";

    flex:
        1;

    height:
        1px;

    background:
        rgba(255,255,255,0.07);
}


.auth-divider span {
    color:
        #555560;

    font-size:
        9px;

    font-weight:
        700;
}


/* =========================================================
   GOOGLE BUTTON
   ========================================================= */

.social-login {
    width:
        100%;

    height:
        48px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        10px;

    border:
        1px solid
        rgba(255,255,255,0.09);

    border-radius:
        12px;

    background:
        rgba(255,255,255,0.035);

    color:
        #d7d7df;

    font-size:
        11px;

    font-weight:
        700;

    cursor:
        pointer;

    transition:
        all 0.3s ease;
}


.social-login:hover {
    background:
        rgba(255,255,255,0.07);

    border-color:
        rgba(255,255,255,0.18);

    transform:
        translateY(-2px);
}


.social-icon {
    width:
        23px;

    height:
        23px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        7px;

    background:
        #ffffff;

    color:
        #111111;

    font-size:
        11px;

    font-weight:
        900;
}


/* =========================================================
   ACCOUNT SWITCH
   ========================================================= */

.auth-switch {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    flex-wrap:
        wrap;

    gap:
        5px;

    margin-top:
        25px;

    color:
        #666672;

    font-size:
        10px;

    text-align:
        center;
}


.auth-switch a {
    color:
        #00e5ff;

    font-weight:
        800;

    text-decoration:
        none;

    transition:
        color 0.25s ease;
}


.auth-switch a:hover {
    color:
        #7c5cff;
}


/* =========================================================
   SECURITY
   ========================================================= */

.auth-security {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        7px;

    margin-top:
        25px;

    padding-top:
        18px;

    border-top:
        1px solid
        rgba(255,255,255,0.06);

    color:
        #555560;

    font-size:
        9px;
}


.security-dot {
    width:
        6px;

    height:
        6px;

    border-radius:
        50%;

    background:
        #00e5ff;

    box-shadow:
        0 0 10px
        rgba(0,229,255,0.8);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .auth-page {
        padding:
            35px 15px;
    }

    .auth-card {
        padding:
            30px 22px;

        border-radius:
            24px;
    }

    .auth-logo {
        margin-bottom:
            25px;
    }

    .auth-heading h1 {
        font-size:
            29px;
    }

}
/* =========================================
   B-ZORA AUTH NAVIGATION
   ========================================= */

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 20px;

    color: #aeb4c7;
    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    transition: all 0.3s ease;
}

.back-home:hover {
    color: #00e5ff;
    transform: translateX(-4px);
}


/* Sign in / Sign up switch */

.auth-switch {
    margin-top: 22px;

    text-align: center;

    color: #858b9e;

    font-size: 13px;
}

.auth-switch a {
    color: #00e5ff;

    text-decoration: none;

    font-weight: 700;

    transition: all 0.3s ease;
}

.auth-switch a:hover {
    color: #7c5cff;
    text-decoration: underline;
}