/* ===========================
   Google Font
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ===========================
   Variables
=========================== */

:root{

    --primary:#1E88E5;
    --secondary:#42A5F5;
    --dark:#0F172A;
    --white:#ffffff;
    --gray:#64748B;
    --bg:#F4F8FC;

    --shadow:0 20px 50px rgba(0,0,0,.08);

}

/* ===========================
   Reset
=========================== */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;

}

body{

    background:var(--bg);
    overflow-x:hidden;

}

/* ===========================
   Top Bar
=========================== */

.top-bar{

    position:fixed;

    top:20px;

    right:30px;

    display:flex;

    gap:15px;

    z-index:999;

}

.top-bar button{

    width:48px;

    height:48px;

    border:none;

    border-radius:15px;

    background:white;

    cursor:pointer;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s;

}

.lang-btn{

    width:auto !important;

    padding:0 20px;

    font-weight:600;

}

.top-bar button:hover{

    transform:translateY(-3px);

}

/* ===========================
   Layout
=========================== */

.login-container{

    display:grid;

    grid-template-columns:1fr 1fr;

    min-height:100vh;

}

/* ===========================
   LEFT SIDE
=========================== */

.left-side{

    position:relative;

    overflow:hidden;

    display:flex;

    justify-content:center;

    align-items:center;

    background:
    linear-gradient(135deg,#1565C0,#42A5F5);

}

/* background image */

.left-side::before{

    content:"";

    position:absolute;

    inset:0;

    background:url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1200&q=80");

    background-size:cover;

    background-position:center;

    opacity:.18;

}

/* gradient */

.gradient-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(

    135deg,

    rgba(13,71,161,.85),

    rgba(30,136,229,.55)

    );

}

/* content */

.left-content{

    position:relative;

    z-index:5;

    width:75%;

    color:white;

    animation:fadeLeft 1s;

}

.badge-title{

    display:inline-block;

    padding:10px 22px;

    background:rgba(255,255,255,.18);

    border:1px solid rgba(255,255,255,.3);

    border-radius:50px;

    margin-bottom:30px;

    backdrop-filter:blur(10px);

}

.left-content h1{

    font-size:55px;

    line-height:1.2;

    margin-bottom:25px;

    font-weight:700;

}

.left-content p{

    font-size:18px;

    line-height:32px;

    opacity:.9;

}

/* ===========================
   Features
=========================== */

.features{

    display:flex;

    flex-direction:column;

    gap:18px;

    margin-top:45px;

}

.feature{

    display:flex;

    align-items:center;

    gap:15px;

    font-size:18px;

    background:rgba(255,255,255,.12);

    border:1px solid rgba(255,255,255,.2);

    padding:18px 22px;

    border-radius:16px;

    backdrop-filter:blur(15px);

}

.feature i{

    font-size:24px;

}
/*===========================
    RIGHT SIDE
===========================*/

.right-side{

    display:flex;
    justify-content:center;
    align-items:center;

    padding:60px;

    background:#F6F9FC;

}

/*===========================
    LOGIN CARD
===========================*/

.login-card{

    width:100%;
    max-width:480px;

    background:rgba(255,255,255,.80);

    backdrop-filter:blur(20px);

    border-radius:30px;

    padding:45px;

    box-shadow:var(--shadow);

    border:1px solid rgba(255,255,255,.4);

    animation:fadeRight .8s;

}

/*===========================
        LOGO
===========================*/

.logo{

    text-align:center;

    margin-bottom:40px;

}

.logo-circle{

    width:90px;
    height:90px;

    margin:auto;

    border-radius:50%;

    background:linear-gradient(
    135deg,
    var(--primary),
    var(--secondary));

    display:flex;
    justify-content:center;
    align-items:center;

    color:white;

    font-size:38px;

    box-shadow:0 20px 35px rgba(30,136,229,.35);

}

.logo h2{

    margin-top:20px;

    font-size:34px;

    font-weight:700;

    color:var(--dark);

}

.logo p{

    margin-top:8px;

    color:var(--gray);

    line-height:26px;

    font-size:15px;

}

/*===========================
    LOGIN AS
===========================*/

.choose-text{

    margin-bottom:25px;

    font-weight:600;

    color:var(--dark);

}

/*===========================
    ROLE CARD
===========================*/

.role-card{

    display:flex;

    align-items:center;

    gap:18px;

    padding:18px;

    margin-bottom:18px;

    border-radius:18px;

    border:2px solid #E5EAF3;

    cursor:pointer;

    transition:.35s;

    position:relative;

}

.role-card input{

    display:none;

}

.role-card i{

    font-size:28px;

    color:var(--primary);

}

.role-info{

    display:flex;

    flex-direction:column;

}

.role-info h6{

    margin:0;

    font-size:18px;

    font-weight:600;

    color:var(--dark);

}

.role-info span{

    margin-top:4px;

    color:var(--gray);

    font-size:14px;

}

/*===========================
      ACTIVE
===========================*/

.role-card.active{

    background:#EDF6FF;

    border-color:var(--primary);

}

.role-card:hover{

    transform:translateY(-4px);

    box-shadow:0 15px 25px rgba(0,0,0,.08);

    border-color:var(--secondary);

}

/*===========================
    CONTINUE BUTTON
===========================*/

.continue-btn{

    margin-top:25px;

    width:100%;

    border:none;

    border-radius:18px;

    padding:18px;

    background:linear-gradient(
    135deg,
    var(--primary),
    var(--secondary));

    color:white;

    font-size:17px;

    font-weight:600;

    cursor:pointer;

    transition:.35s;

}

.continue-btn i{

    margin-left:10px;

}

.continue-btn:hover{

    transform:translateY(-3px);

    box-shadow:0 20px 35px rgba(30,136,229,.35);

}
/*=====================================
            DARK MODE
======================================*/

body.dark{

    background:#0F172A;

}

body.dark .right-side{

    background:#111827;

}

body.dark .login-card{

    background:rgba(30,41,59,.92);

    color:white;

}

body.dark .logo h2,

body.dark .choose-text,

body.dark .role-info h6{

    color:white;

}

body.dark .logo p,

body.dark .role-info span{

    color:#CBD5E1;

}

body.dark .top-bar button{

    background:#1E293B;

    color:white;

}

body.dark .role-card{

    border-color:#334155;

}

body.dark .role-card.active{

    background:#1E3A5F;

    border-color:#42A5F5;

}

/*=====================================
        FLOATING CIRCLES
======================================*/

.left-side::after{

    content:"";

    position:absolute;

    width:380px;

    height:380px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    right:-120px;

    top:-120px;

    animation:float 8s ease-in-out infinite;

}
.admin{
    text-decoration: none;
}
/*=====================================
            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);

    }

}

@keyframes float{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(25px);

    }

    100%{

        transform:translateY(0);

    }

}

/*=====================================
        RESPONSIVE
======================================*/

@media(max-width:1200px){

.left-content h1{

    font-size:46px;

}

.left-content{

    width:85%;

}

.login-card{

    max-width:430px;

}

}

@media(max-width:992px){

.login-container{

    grid-template-columns:1fr;

}

.left-side{

    min-height:45vh;

}

.right-side{

    min-height:55vh;

    padding:40px 20px;

}

.left-content{

    text-align:center;

    width:90%;

}

.features{

    align-items:center;

}

.left-content h1{

    font-size:40px;

}

.top-bar{

    top:15px;

    right:15px;

}

}

@media(max-width:768px){

.login-card{

    padding:30px;

}

.logo-circle{

    width:75px;

    height:75px;

    font-size:32px;

}

.logo h2{

    font-size:28px;

}

.left-content h1{

    font-size:34px;

}

.left-content p{

    font-size:16px;

}

.feature{

    font-size:16px;

    padding:15px;

}

.role-card{

    padding:15px;

}

}

@media(max-width:576px){

.left-side{

    display:none;

}

.login-container{

    grid-template-columns:1fr;

}

.right-side{

    padding:20px;

}

.login-card{

    padding:25px;

    border-radius:22px;

}

.logo-circle{

    width:65px;

    height:65px;

    font-size:28px;

}

.logo h2{

    font-size:24px;

}

.choose-text{

    font-size:18px;

}

.role-info h6{

    font-size:16px;

}

.role-info span{

    font-size:13px;

}

.continue-btn{

    padding:15px;

}

}

/*=====================================
    Smooth Transition
======================================*/

*{

    transition:

    background .3s,

    color .3s,

    border .3s,

    transform .3s,

    box-shadow .3s;

}