/*==============================
        GOOGLE FONT
==============================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/*==============================
        RESET
==============================*/

*{

    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;

}

body{

    background:#F4F8FC;

    overflow-x:hidden;

}

/*==============================
        VARIABLES
==============================*/

:root{

    --primary:#1E88E5;
    --secondary:#42A5F5;

    --dark:#0F172A;

    --text:#334155;

    --white:#ffffff;

    --border:#E2E8F0;

    --shadow:0 20px 45px rgba(0,0,0,.08);

}

/*==============================
        TOP BUTTONS
==============================*/

.top-actions{

    position:fixed;

    top:20px;

    right:25px;

    display:flex;

    gap:12px;

    z-index:999;

}

.top-actions button{

    border:none;

    width:48px;

    height:48px;

    border-radius:14px;

    background:white;

    cursor:pointer;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:.3s;

}

.top-actions button:first-child{

    width:auto;

    padding:0 18px;

    font-weight:600;

}

.top-actions button:hover{

    transform:translateY(-4px);

}

/*==============================
        LEFT SIDE
==============================*/

.left-side{

    position:relative;

    background:linear-gradient(
        135deg,
        #1565C0,
        #42A5F5
    );

    display:flex;

    justify-content:center;

    align-items:center;

    overflow:hidden;

}

.left-side::before{

    content:"";

    position:absolute;

    inset:0;

    background:url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1400&q=80");

    background-size:cover;

    background-position:center;

    opacity:.15;

}

.left-side::after{

    content:"";

    position:absolute;

    width:420px;

    height:420px;

    background:rgba(255,255,255,.08);

    border-radius:50%;

    right:-120px;

    top:-120px;

}

.overlay{

    position:relative;

    z-index:5;

    width:75%;

    color:white;

    animation:fadeLeft .8s;

}

.overlay span{

    display:inline-block;

    padding:10px 22px;

    border-radius:40px;

    background:rgba(255,255,255,.15);

    backdrop-filter:blur(10px);

    margin-bottom:25px;

}

.overlay h1{

    font-size:54px;

    line-height:1.2;

    margin-bottom:20px;

    font-weight:700;

}

.overlay p{

    font-size:18px;

    line-height:32px;

    opacity:.9;

}

/*==============================
        RIGHT SIDE
==============================*/

.login-card{

    width:100%;

    max-width:500px;

    background:rgba(255,255,255,.82);

    backdrop-filter:blur(18px);

    border-radius:30px;

    padding:45px;

    box-shadow:var(--shadow);

    border:1px solid rgba(255,255,255,.3);

    animation:fadeRight .8s;

}
/*==============================
        BACK BUTTON
==============================*/

.back-btn{

    display:inline-flex;

    align-items:center;

    gap:8px;

    text-decoration:none;

    color:var(--text);

    font-weight:500;

    margin-bottom:25px;

    transition:.3s;

}

.back-btn:hover{

    color:var(--primary);

    transform:translateX(-4px);

}

/*==============================
            LOGO
==============================*/

.logo{

    text-align:center;

    margin-bottom:35px;

}

.logo-circle{

    width:90px;

    height:90px;

    margin:auto;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:white;

    font-size:38px;

    box-shadow:0 15px 35px rgba(30,136,229,.35);

}

.logo h2{

    margin-top:18px;

    font-size:34px;

    font-weight:700;

    color:var(--dark);

}

.logo p{

    margin-top:8px;

    color:#64748B;

    font-size:15px;

}

/*==============================
            LABEL
==============================*/

label{

    font-size:15px;

    font-weight:600;

    color:var(--text);

    margin-bottom:8px;

}

/*==============================
        INPUT GROUP
==============================*/

.input-group{

    margin-top:8px;

}

.input-group-text{

    background:#F8FAFC;

    border:1px solid var(--border);

    border-right:none;

    color:var(--primary);

    border-radius:14px 0 0 14px;

}

.form-control{

    height:56px;

    border:1px solid var(--border);

    border-left:none;

    box-shadow:none !important;

    border-radius:0 14px 14px 0;

    font-size:15px;

    transition:.3s;

}

.form-control:focus{

    border-color:var(--primary);

}

.form-control::placeholder{

    color:#94A3B8;

}

/*==============================
        PASSWORD BUTTON
==============================*/

#togglePassword{

    border:1px solid var(--border);

    border-left:none;

    background:#F8FAFC;

    border-radius:0 14px 14px 0;

}

#togglePassword:hover{

    background:#EEF5FF;

}

/*==============================
        REMEMBER
==============================*/

.d-flex{

    font-size:14px;

}

.d-flex a{

    text-decoration:none;

    color:var(--primary);

    font-weight:500;

}

.d-flex a:hover{

    text-decoration:underline;

}

/*==============================
        LOGIN BUTTON
==============================*/

#loginBtn{

    height:58px;

    border:none;

    border-radius:16px;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    font-size:17px;

    font-weight:600;

    transition:.35s;

}

#loginBtn:hover{

    transform:translateY(-3px);

    box-shadow:0 18px 35px rgba(30,136,229,.35);

}

/*==============================
        VERSION
==============================*/

.text-secondary{

    font-size:14px;

    margin-top:20px !important;

}
/*==================================
        CHECKBOX
===================================*/

input[type="checkbox"]{

    accent-color:var(--primary);

    cursor:pointer;

    margin-right:6px;

}

/*==================================
        DARK MODE
===================================*/

body.dark{

    background:#0F172A;

}

body.dark .login-card{

    background:rgba(30,41,59,.92);

    color:white;

}

body.dark .logo h2{

    color:white;

}

body.dark .logo p{

    color:#CBD5E1;

}

body.dark label{

    color:white;

}

body.dark .form-control{

    background:#1E293B;

    color:white;

    border-color:#334155;

}

body.dark .form-control::placeholder{

    color:#94A3B8;

}

body.dark .input-group-text{

    background:#1E293B;

    color:#42A5F5;

    border-color:#334155;

}

body.dark #togglePassword{

    background:#1E293B;

    color:white;

    border-color:#334155;

}

body.dark .back-btn{

    color:white;

}

body.dark .top-actions button{

    background:#1E293B;

    color:white;

}

/*==================================
        ANIMATIONS
===================================*/

@keyframes fadeLeft{

    from{

        opacity:0;

        transform:translateX(-60px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

@keyframes fadeRight{

    from{

        opacity:0;

        transform:translateX(60px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

/*==================================
        RESPONSIVE
===================================*/

@media(max-width:992px){

.left-side{

    min-height:40vh;

}

.overlay{

    width:90%;

    text-align:center;

}

.overlay h1{

    font-size:42px;

}

.login-card{

    margin:40px auto;

}

}

@media(max-width:768px){

.left-side{

    display:none;

}

.login-card{

    margin:25px;

    padding:30px;

    border-radius:22px;

}

.logo-circle{

    width:70px;

    height:70px;

    font-size:30px;

}

.logo h2{

    font-size:28px;

}

.overlay h1{

    font-size:34px;

}

}

@media(max-width:576px){

.top-actions{

    right:15px;

    top:15px;

}

.top-actions button{

    width:42px;

    height:42px;

}

.top-actions button:first-child{

    padding:0 12px;

    font-size:13px;

}

.login-card{

    padding:22px;

}

#loginBtn{

    height:52px;

}

}

/*==================================
        TRANSITIONS
===================================*/

*{

    transition:
    background .3s,
    color .3s,
    border-color .3s,
    transform .3s,
    box-shadow .3s;

}