@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg,#0f172a,#1d4ed8,#06b6d4);
    overflow:hidden;
}

body::before{
    content:"";
    position:fixed;
    width:500px;
    height:500px;
    background:#2563eb;
    border-radius:50%;
    top:-150px;
    left:-150px;
    filter:blur(120px);
    opacity:.4;
}

body::after{
    content:"";
    position:fixed;
    width:450px;
    height:450px;
    background:#7c3aed;
    border-radius:50%;
    right:-150px;
    bottom:-150px;
    filter:blur(120px);
    opacity:.4;
}

.login-card{
    width:430px;
    background:rgba(255,255,255,.12);
    backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,.2);
    border-radius:25px;
    padding:40px;
    box-shadow:0 20px 60px rgba(0,0,0,.35);
    position:relative;
    z-index:1;
}

.login-card h2{
    color:#fff;
    text-align:center;
    font-size:32px;
    margin-bottom:10px;
}

.login-card p{
    text-align:center;
    color:#dbeafe;
    margin-bottom:25px;
}

label{
    color:#fff;
    display:block;
    margin-bottom:8px;
}

.phone-input{
    display:flex;
    gap:10px;
    margin-bottom:18px;
}

.phone-input select,







.phone-input input{
    height:55px;
    border:none;
    border-radius:12px;
    padding:0 15px;
    outline:none;
}

.phone-input select{
    width:120px;
}

.phone-input input{
    flex:1;
}





/* ===========================
   PASSWORD BOX
=========================== */

.password-box{
    display:flex;
    align-items:center;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    margin-bottom:20px;
    transition:.3s;
}

.password-box:focus-within{
    box-shadow:0 0 0 4px rgba(37,99,235,.2);
}

.password-box input{
    flex:1;
    height:55px;
    border:none;
    outline:none;
    padding:0 15px;
    font-size:15px;
}

.password-box button{
    width:60px;
    height:55px;
    border:none;
    background:#fff;
    cursor:pointer;
    color:#2563eb;
    font-size:20px;
}

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

.login-btn{
    width:100%;
    height:58px;
    border:none;
    border-radius:14px;
    background:linear-gradient(90deg,#2563eb,#7c3aed);
    color:#fff;
    font-size:18px;
    font-weight:700;
    cursor:pointer;
    transition:.35s;
    margin-top:10px;
}

.login-btn:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 35px rgba(37,99,235,.35);
}

/* ===========================
   DIVIDER
=========================== */

.divider{
    text-align:center;
    color:#fff;
    margin:25px 0;
    position:relative;
}

.divider::before,
.divider::after{
    content:"";
    position:absolute;
    top:50%;
    width:40%;
    height:1px;
    background:rgba(255,255,255,.25);
}

.divider::before{
    left:0;
}

.divider::after{
    right:0;
}

/* ===========================
   SOCIAL LOGIN
=========================== */

.social-login{
    display:flex;
    gap:12px;
}

.social-login button{
    flex:1;
    height:52px;
    border:none;
    border-radius:12px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

.google{
    background:#fff;
    color:#222;
}

.facebook{
    background:#1877F2;
    color:#fff;
}

.social-login button:hover{
    transform:translateY(-3px);
}

/* ===========================
   REGISTER LINK
=========================== */

.register{
    margin-top:25px;
    text-align:center;
    color:#fff;
}

.register a{
    color:#93c5fd;
    text-decoration:none;
    font-weight:600;
}

.register a:hover{
    text-decoration:underline;
}
/* ===========================
   PAGE ANIMATION
=========================== */

.login-card{
    animation:fadeUp .8s ease;
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px) scale(.95);
    }
    to{
        opacity:1;
        transform:translateY(0) scale(1);
    }
}

/* ===========================
   INPUT FOCUS EFFECT
=========================== */

.phone-input input,
.phone-input select,
.password-box{
    transition:.3s;
}

.phone-input input:focus,
.phone-input select:focus{
    box-shadow:0 0 0 4px rgba(37,99,235,.2);
}

.password-box:focus-within{
    box-shadow:0 0 0 4px rgba(37,99,235,.2);
}

/* ===========================
   BUTTON SHINE EFFECT
=========================== */

.login-btn{
    position:relative;
    overflow:hidden;
}

.login-btn::before{
    content:"";
    position:absolute;
    top:0;
    left:-100%;
    width:50%;
    height:100%;
    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.45),
        transparent
    );
    transition:.8s;
}

.login-btn:hover::before{
    left:150%;
}

/* ===========================
   GLASS HOVER
=========================== */

.login-card:hover{
    transform:translateY(-6px);
    box-shadow:0 25px 70px rgba(0,0,0,.45);
    transition:.35s;
}

/* ===========================
   FLOATING GLOW
=========================== */

.login-card::after{
    content:"";
    position:absolute;
    width:180px;
    height:180px;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    top:-70px;
    right:-70px;
    filter:blur(20px);
}

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

@media(max-width:768px){

    body{
        padding:20px;
    }

    .login-card{
        width:100%;
        padding:28px;
    }

    .login-card h2{
        font-size:28px;
    }

    .phone-input{
        flex-direction:column;
    }

    .phone-input select{
        width:100%;
    }

    .social-login{
        flex-direction:column;
    }

}

@media(max-width:480px){

    .login-card{
        padding:22px;
        border-radius:18px;
    }

    .login-card h2{
        font-size:24px;
    }

    .login-btn{
        height:54px;
        font-size:16px;
    }

    .password-box input,
    .phone-input input,
    .phone-input select{
        height:52px;
        font-size:14px;
    }

}

/* ===========================
   CUSTOM SCROLLBAR
=========================== */

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-thumb{
    background:#2563eb;
    border-radius:20px;
}

::-webkit-scrollbar-track{
    background:#0f172a;
}