/* =========================================
   GLOBAL
========================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    
}

body.login-page{
    font-family:'Plus Jakarta Sans',sans-serif;

    min-height:100vh;

    overflow:hidden;

    background:
        linear-gradient(
            135deg,
            #0f172a,
            #1e1b4b,
            #312e81
        );

    position:relative;
}

/* =========================================
   BACKGROUND EFFECT
========================================= */

.glass-background{
    position:absolute;
    inset:0;

    backdrop-filter:blur(4px);
}

.floating-circle{
    position:absolute;

    border-radius:50%;

    filter:blur(10px);

    opacity:0.5;

    animation:float 8s ease-in-out infinite;
}

.circle-1{
    width:300px;
    height:300px;

    background:#3b82f6;

    top:-80px;
    left:-80px;
}

.circle-2{
    width:220px;
    height:220px;

    background:#8b5cf6;

    bottom:50px;
    right:120px;
}

.circle-3{
    width:180px;
    height:180px;

    background:#ec4899;

    top:45%;
    left:40%;
}

@keyframes float{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-20px);
    }

    100%{
        transform:translateY(0px);
    }

}

/* =========================================
   WRAPPER
========================================= */

.login-wrapper{
    position:relative;

    z-index:2;

    min-height:100vh;

    display:grid;
    grid-template-columns:1.1fr 0.9fr;

    padding:40px;
}

/* =========================================
   LEFT SIDE
========================================= */

.login-left{
    color:white;

    padding:40px 60px;

    display:flex;
    flex-direction:column;
    justify-content:center;
}

.brand{
    display:flex;
    align-items:center;

    gap:20px;

    margin-bottom:50px;
}

.brand-icon{
    width:80px;
    height:80px;

    border-radius:24px;

    background:rgba(255,255,255,0.12);

    border:1px solid rgba(255,255,255,0.18);

    backdrop-filter:blur(20px);

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:30px;
}

.brand h1{
    font-size:42px;
    font-weight:800;
}

.brand p{
    color:rgba(255,255,255,0.75);
    margin-top:6px;
}

.hero-content h2{
    font-size:62px;
    line-height:1.1;

    margin-bottom:24px;

    font-weight:800;
}

.hero-content p{
    color:rgba(255,255,255,0.78);

    font-size:18px;

    line-height:1.9;

    max-width:700px;

    margin-bottom:50px;
}

/* =========================================
   FEATURE
========================================= */

.feature-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:22px;
}

.feature-card{
    background:rgba(255,255,255,0.08);

    border:1px solid rgba(255,255,255,0.12);

    backdrop-filter:blur(30px);

    border-radius:26px;

    padding:24px;

    display:flex;
    gap:18px;

    transition:0.3s;
}

.feature-card:hover{
    transform:translateY(-6px);
}

.feature-icon{
    width:56px;
    height:56px;

    border-radius:18px;

    background:rgba(255,255,255,0.12);

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:20px;
}

.feature-card h3{
    margin-bottom:8px;
    font-size:18px;
}

.feature-card p{
    color:rgba(255,255,255,0.72);

    line-height:1.6;
}

/* =========================================
   RIGHT SIDE
========================================= */

.login-right{
    display:flex;
    align-items:center;
    justify-content:center;
}

.glass-card{
    width:100%;
    max-width:520px;

    background:rgba(255,255,255,0.12);

    border:1px solid rgba(255,255,255,0.18);

    backdrop-filter:blur(30px);

    border-radius:36px;

    padding:50px;

    box-shadow:0 25px 45px rgba(0,0,0,0.18);
}

.login-header{
    margin-bottom:35px;
}

.login-header h2{
    font-size:52px;
    color:white;
    font-weight:800;

    margin-bottom:10px;
}

.login-header p{
    color:rgba(255,255,255,0.72);
}

/* =========================================
   ALERT
========================================= */

.alert-error{
    background:rgba(239,68,68,0.18);

    border:1px solid rgba(239,68,68,0.25);

    color:white;

    padding:16px 18px;

    border-radius:18px;

    margin-bottom:20px;
}

.alert-success{
    background:rgba(34,197,94,0.18);

    border:1px solid rgba(34,197,94,0.25);

    color:white;

    padding:16px 18px;

    border-radius:18px;

    margin-bottom:20px;
}

/* =========================================
   FORM
========================================= */

.form-group{
    margin-bottom:24px;
}

.form-group label{
    display:block;

    margin-bottom:10px;

    color:white;

    font-weight:700;
}

.input-box{
    position:relative;
}

.input-box i{
    position:absolute;

    left:18px;
    top:50%;

    transform:translateY(-50%);

    color:rgba(255,255,255,0.7);
}

.input-box input,
.input-box select{
    width:100%;

    padding:18px 18px 18px 54px;

    border:none;

    border-radius:18px;

    background:rgba(255,255,255,0.12);

    border:1px solid rgba(255,255,255,0.15);

    backdrop-filter:blur(20px);

    color:white;

    font-size:15px;

    outline:none;
}

.input-box input::placeholder{
    color:rgba(255,255,255,0.55);
}

.input-box select option{
    color:black;
}

.password-box{
    position:relative;
}

.toggle-password{
    position:absolute;

    right:18px;
    top:50%;

    transform:translateY(-50%);

    cursor:pointer;

    color:white;
}

/* =========================================
   BUTTON
========================================= */

.login-btn{
    width:100%;

    padding:18px;

    border:none;

    border-radius:18px;

    background:linear-gradient(
        135deg,
        #3b82f6,
        #8b5cf6
    );

    color:white;

    font-size:16px;
    font-weight:700;

    cursor:pointer;

    margin-top:12px;

    transition:0.3s;
}

.login-btn:hover{
    transform:translateY(-4px);

    box-shadow:0 20px 35px rgba(59,130,246,0.35);
}

/* =========================================
   FOOTER
========================================= */

.register-link{
    margin-top:26px;

    text-align:center;

    color:rgba(255,255,255,0.72);
}

.register-link a{
    color:white;

    font-weight:700;

    text-decoration:none;
}

.powered-by{
    margin-top:32px;

    text-align:center;

    color:rgba(255,255,255,0.62);
}

.powered-by strong{
    color:white;
}

/* =========================================
   MOBILE
========================================= */

@media(max-width:1200px){

    .hero-content h2{
        font-size:48px;
    }

}

@media(max-width:992px){

    body.login-page{
        overflow:auto;
    }

    .login-wrapper{
        grid-template-columns:1fr;
    }

    .login-left{
        display:none;
    }

    .login-right{
        padding:30px;
    }

}

@media(max-width:768px){

    .glass-card{
        padding:35px 28px;
    }

    .login-header h2{
        font-size:40px;
    }

}