/* =========================================================
   RESET
========================================================= */

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

/* =========================================================
   BODY
========================================================= */

body{
    font-family:Inter,sans-serif;
    background:#020617;
    overflow:hidden;
}

/* =========================================================
   WRAPPER
========================================================= */

.auth-wrapper{
    position:relative;
    width:100%;
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
}

/* =========================================================
   BACKGROUND
========================================================= */

.auth-bg{
    position:absolute;
    inset:0;
    background:
    radial-gradient(circle at top left,
    rgba(255,0,80,0.25),
    transparent 30%),

    radial-gradient(circle at bottom right,
    rgba(56,189,248,0.2),
    transparent 30%),

    #020617;
}

/* =========================================================
   CARD
========================================================= */

.auth-card{
    position:relative;
    z-index:2;
    width:100%;
    max-width:480px;
    padding:45px;
    border-radius:30px;
    background:rgba(15,23,42,0.7);
    backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,0.08);
    box-shadow:
    0 10px 40px rgba(0,0,0,0.5);
}

/* =========================================================
   LOGO
========================================================= */

.auth-logo{
    width:70px;
    height:70px;
    border-radius:22px;
    margin:auto;
    margin-bottom:25px;
    background:linear-gradient(
        135deg,
        #ff004f,
        #ff3366
    );
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    font-size:32px;
    font-weight:bold;
}

/* =========================================================
   TEXT
========================================================= */

.auth-card h1{
    color:white;
    text-align:center;
    font-size:32px;
    margin-bottom:10px;
}

.auth-subtitle{
    text-align:center;
    color:#94a3b8;
    margin-bottom:35px;
    line-height:1.7;
}

/* =========================================================
   ALERT
========================================================= */

.alert{
    padding:15px;
    border-radius:14px;
    margin-bottom:25px;
    font-size:14px;
    font-weight:600;
}

.success{
    background:rgba(34,197,94,0.15);
    color:#4ade80;
}

.error{
    background:rgba(239,68,68,0.15);
    color:#f87171;
}

/* =========================================================
   INPUT
========================================================= */

.input-group{
    margin-bottom:25px;
}

.input-group label{
    display:block;
    margin-bottom:10px;
    color:white;
    font-size:14px;
    font-weight:600;
}

.input-box{
    position:relative;
}

.input-box svg{
    position:absolute;
    top:50%;
    left:18px;
    transform:translateY(-50%);
    width:22px;
    height:22px;
    color:#94a3b8;
}

.input-box input{
    width:100%;
    height:60px;
    border:none;
    outline:none;
    padding:0 20px 0 58px;
    border-radius:18px;
    background:rgba(255,255,255,0.05);
    color:white;
    font-size:15px;
    transition:0.3s;
}

.input-box input:focus{
    border:1px solid #ff2056;
    box-shadow:
    0 0 0 4px rgba(255,32,86,0.1);
}

/* =========================================================
   BUTTON
========================================================= */

.auth-btn{
    width:100%;
    height:60px;
    border:none;
    border-radius:18px;
    background:linear-gradient(
        135deg,
        #ff004f,
        #ff3366
    );
    color:white;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    transition:0.3s;
    position:relative;
    overflow:hidden;
}

.auth-btn:hover{
    transform:translateY(-2px);
    box-shadow:
    0 10px 30px rgba(255,0,80,0.35);
}

/* =========================================================
   LOADER
========================================================= */

.loader{
    display:none;
    width:22px;
    height:22px;
    border:3px solid rgba(255,255,255,0.3);
    border-top:3px solid white;
    border-radius:50%;
    animation:spin 1s linear infinite;
    margin:auto;
}

.loading .btn-text{
    display:none;
}

.loading .loader{
    display:block;
}

@keyframes spin{

    100%{
        transform:rotate(360deg);
    }
}

/* =========================================================
   FOOTER
========================================================= */

.auth-footer{
    text-align:center;
    margin-top:30px;
}

.auth-footer a{
    color:#38bdf8;
    text-decoration:none;
    font-weight:600;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:768px){

    .auth-card{
        padding:30px 25px;
    }

    .auth-card h1{
        font-size:26px;
    }

}