/* =========================================
   GLOBAL RESET
========================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


/* =========================================
   BODY
========================================= */

body{
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x:hidden;
    overflow-y:auto;
    scroll-behavior:smooth;
}

.auth-body{
    min-height:100vh;
    background:linear-gradient(135deg,#0f0c29,#302b63,#24243e);
}


/* =========================================
   CUSTOM SCROLLBAR
========================================= */

::-webkit-scrollbar{
    width:6px;
}

::-webkit-scrollbar-track{
    background:#1e1e3a;
}

::-webkit-scrollbar-thumb{
    background:#e50914;
    border-radius:10px;
}


/* =========================================
   TOP NAVIGATION
========================================= */

.auth-nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:15px;

    padding:20px 40px;

    background:rgba(0,0,0,0.3);
    -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);

    border-bottom:1px solid rgba(255,255,255,0.1);
}


/* =========================================
   BACK BUTTON
========================================= */

.back-home{
    color:white;
    text-decoration:none;
    font-size:16px;
    padding:10px 18px;

    background:rgba(255,255,255,0.1);

    border-radius:30px;

    transition:0.3s;
}

.back-home:hover{
    background:#e50914;
    transform:translateX(-5px);
}


/* =========================================
   LOGO
========================================= */

.auth-logo{
    font-size:30px;
    color:white;
    font-weight:bold;
    letter-spacing:1px;
}

.auth-logo span{
    color:#e50914;
}


/* =========================================
   MAIN CONTAINER
========================================= */

.auth-container{
    display:flex;
    justify-content:center;
    align-items:center;

    min-height:calc(100vh - 100px);

    padding:30px 20px;
}


/* =========================================
   AUTH CARD
========================================= */

.auth-card{
    width:100%;
    max-width:450px;

    background:rgba(0,0,0,0.85);

    -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);

    border-radius:22px;

    padding:40px;

    box-shadow:0 25px 45px rgba(0,0,0,0.3);

    border:1px solid rgba(255,255,255,0.1);

    animation:fadeInUp 0.5s ease;
}


/* =========================================
   CARD ANIMATION
========================================= */

@keyframes fadeInUp{

    from{
        opacity:0;
        transform:translateY(30px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}


/* =========================================
   TABS
========================================= */

.auth-tabs{
    display:flex;
    gap:15px;

    margin-bottom:30px;

    border-bottom:2px solid rgba(255,255,255,0.2);

    padding-bottom:12px;
}

.tab-btn{
    flex:1;

    background:none;

    border:none;

    padding:12px;

    font-size:18px;
    font-weight:600;

    cursor:pointer;

    color:rgba(255,255,255,0.6);

    transition:0.3s;

    border-radius:10px;
}

.tab-btn.active{
    color:#e50914;
    background:rgba(229,9,20,0.1);
}

.tab-btn:hover{
    color:white;
}


/* =========================================
   FORMS
========================================= */

.auth-form{
    display:none;
}

.auth-form.active{
    display:block;
    animation:fadeIn 0.4s ease;
}

@keyframes fadeIn{

    from{
        opacity:0;
        transform:translateY(10px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}


/* =========================================
   FORM GROUP
========================================= */

.form-group{
    margin-bottom:20px;
}

.form-group label{
    display:block;

    color:white;

    margin-bottom:8px;

    font-size:15px;

    font-weight:500;
}


/* =========================================
   INPUTS
========================================= */

.form-group input,
.form-group select{

    width:100%;

    padding:14px 15px;

    background:rgba(255,255,255,0.1);

    border:1px solid rgba(255,255,255,0.2);

    border-radius:12px;

    color:white;

    font-size:16px;

    transition:0.3s;
}

.form-group input:focus,
.form-group select:focus{

    outline:none;

    border-color:#e50914;

    background:rgba(255,255,255,0.15);
}

.form-group input::placeholder{
    color:rgba(255,255,255,0.5);
}


/* =========================================
   BUTTON
========================================= */

.auth-btn{

    width:100%;

    padding:14px;

    background:linear-gradient(135deg,#e50914,#b00710);

    border:none;

    border-radius:12px;

    color:white;

    font-size:18px;

    font-weight:bold;

    cursor:pointer;

    transition:0.3s;

    margin-top:10px;
}

.auth-btn:hover{

    transform:translateY(-2px);

    box-shadow:0 5px 15px rgba(229,9,20,0.4);
}

.auth-btn:active{
    transform:translateY(0);
}


/* =========================================
   FOOTER
========================================= */

.auth-footer{

    text-align:center;

    margin-top:25px;

    color:rgba(255,255,255,0.7);

    font-size:14px;
}

.auth-footer a{
    color:#e50914;
    text-decoration:none;
}

.auth-footer a:hover{
    text-decoration:underline;
}


/* =========================================
   TABLET RESPONSIVE
========================================= */

@media screen and (max-width:992px){

    .auth-nav{
        padding:18px 25px;
    }

    .auth-logo{
        font-size:26px;
    }

    .auth-card{
        max-width:420px;
        padding:35px;
    }

    .tab-btn{
        font-size:17px;
    }

}


/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media screen and (max-width:768px){

    .auth-nav{
        flex-direction:column;
        justify-content:center;
        text-align:center;
        padding:18px 20px;
    }

    .auth-logo{
        font-size:24px;
    }

    .back-home{
        font-size:14px;
        padding:8px 14px;
    }

    .auth-container{
        padding:20px 15px;
    }

    .auth-card{
        width:100%;
        max-width:100%;
        padding:30px 22px;
        border-radius:18px;
    }

    .auth-tabs{
        gap:10px;
    }

    .tab-btn{
        font-size:16px;
        padding:10px;
    }

    .form-group input,
    .form-group select{
        padding:12px;
        font-size:15px;
    }

    .auth-btn{
        font-size:16px;
        padding:12px;
    }

}


/* =========================================
   SMALL MOBILE DEVICES
========================================= */

@media screen and (max-width:480px){

    .auth-nav{
        padding:15px 12px;
    }

    .auth-logo{
        font-size:22px;
    }

    .back-home{
        font-size:12px;
        padding:7px 12px;
    }

    .auth-container{
        padding:15px 10px;
    }

    .auth-card{
        padding:22px 16px;
        border-radius:15px;
    }

    .auth-tabs{
        flex-direction:column;
        gap:8px;
    }

    .tab-btn{
        width:100%;
        font-size:15px;
        padding:10px;
    }

    .form-group{
        margin-bottom:16px;
    }

    .form-group label{
        font-size:14px;
    }

    .form-group input,
    .form-group select{
        padding:10px;
        font-size:14px;
        border-radius:10px;
    }

    .auth-btn{
        font-size:15px;
        padding:11px;
    }

    .auth-footer{
        font-size:13px;
        line-height:1.6;
    }

}