/* 
Created on : 11 May 2026, 17.12.31
Author     : Nanang
*/

/* =========================================================
   GLOBAL
========================================================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    overflow-x:hidden;
    background:#f5f7ff;
}

a{
    text-decoration:none !important;
}

/* =========================================================
   PAGE
========================================================= */

.login-page{
    position:relative;
    min-height:100vh;
    overflow:hidden;
    display:flex;
    align-items:center;
    background:
        linear-gradient(
        135deg,
        #f7f9ff 0%,
        #eef4ff 50%,
        #edf3ff 100%
        );
}

.login-page::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(
        circle at center,
        rgba(255,255,255,.12),
        rgba(255,255,255,0)
        );
    z-index:2;
}

/* =========================================================
   BACKGROUND ILLUSTRATION
========================================================= */

.background-illustration{
    position:absolute;
    inset:0;
    background: url('../../../assets/app/media/img/bg/bg-10.jpg');
    background-size:cover;
    background-repeat:no-repeat;
    background-position:center;
    opacity:.55;
    filter:
        brightness(1.04)
        saturate(1.02);
    z-index:1;
}

/* top blur */
.background-illustration::before{
    content:"";
    position:absolute;
    width:700px;
    height:700px;
    border-radius:50%;
    background:rgba(93,120,255,.12);
    filter:blur(100px);
    top:-250px;
    right:-250px;
}

/* bottom blur */
.background-illustration::after{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    border-radius:50%;
    background:rgba(0,212,255,.10);
    filter:blur(90px);
    bottom:-200px;
    left:-180px;
}

/* =========================================================
   LEFT CONTENT
========================================================= */

.left-content{
    position:relative;
    z-index:5;
    width:58%;
    padding-left:80px;
    padding-right:50px;
}

/* =========================================================
   BRAND LOGO
========================================================= */

.brand-logo img{
    max-height:95px;
    margin-bottom:50px;
}

/* =========================================================
   TITLE
========================================================= */

.brand-content h1{
    font-size:38px;
    line-height:1;
    font-weight:700;
    letter-spacing:-2px;
    color:#384157;
    margin-bottom:20px;
}

.brand-content h1 span{
    display:block;
    color:#5177e8;
}

.brand-content p{
    font-size:20px;
    line-height:1.8;
    color:#475569;
    max-width:560px;
}

/* =========================================================
   FEATURES
========================================================= */

.brand-features{
    margin-top:45px;
}

.feature-item{
    display:flex;
    align-items:flex-start;
    gap:18px;
    margin-bottom:10px;
    transition:
        transform .28s ease,
        background .28s ease,
        box-shadow .28s ease;
    border-radius:24px;
    padding:10px;
}

.feature-item:hover{
    transform:translateX(6px);
    background:rgba(255,255,255,.35);
    backdrop-filter:blur(10px);
    box-shadow:0 10px 30px rgba(15,23,42,.06);
    border-bottom: 1px solid rgba(255,255,255,.25);
}

.feature-item:last-child{
    border-bottom:none;
}

.feature-icon{
    opacity:.82;
    width:62px;
    height:62px;
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    background:rgba(59,130,246,.12);
    color:#2563eb;
    flex-shrink:0;
    transition:transform .3s ease,  box-shadow .3s ease;
}

.feature-icon i{
    font-size:22px;
}

.feature-item:hover .feature-icon{
    transform: scale(1.08) rotate(-10deg);
    box-shadow: 0 12px 25px rgba(59,130,246,.18);
}

.feature-icon.green{
    background:rgba(16,185,129,.12);
    color:#10b981;
}

.feature-icon.purple{
    background:rgba(139,92,246,.12);
    color:#8b5cf6;
}

.feature-item h5{
    font-size:17px;
    font-weight:600;
    color:#334155;
    margin-bottom:6px;
}

.feature-item p{
    font-size:14px;
    line-height:1.7;
    color:#64748b;
    margin:0;
}

/* =========================================================
   LOGIN SIDE
========================================================= */

.login-side{
    position:relative;
    z-index:10;
    width:42%;
    display:flex;
    justify-content:center;
}

/* =========================================================
   LOGIN CARD
========================================================= */

.login-card{
    width:100%;
    max-width:470px;
    padding:48px;
    border-radius:36px;
    background:rgba(255,255,255,.74);
    backdrop-filter:blur(32px);
    border:1px solid rgba(255,255,255,.55);
    box-shadow:
    0 10px 30px rgba(15,23,42,.06),
    0 30px 80px rgba(15,23,42,.10),
    0 60px 140px rgba(79,124,255,.08);
    margin-right:40px;
    animation:fadeUp .9s ease;
    floatingCard 6s ease-in-out infinite;
}

.login-card::before{
    content:"";
    position:absolute;
    inset:-2px;
    border-radius:40px;
     background:
    radial-gradient(
    circle,
    rgba(79,124,255,.12),
    rgba(79,124,255,0)
    );
    z-index:-1;
    filter:blur(30px);
}

/* =========================================================
   LOGO
========================================================= */

.login-logo{
    text-align:center;
    margin-bottom:24px;
    transition:
        transform .35s ease,
        filter .35s ease;
}

.login-logo img{
    animation: logoFloat 5s ease-in-out infinite;
    max-height:78px;
    transition:
        transform .45s cubic-bezier(.22,1,.36,1),
        filter .45s ease,
        opacity .3s ease;
    transform-origin:center;
}

.login-logo img:hover{
    transform:
        translateY(-3px)
        scale(1.035);
    filter:
        drop-shadow(
        0 12px 24px
        rgba(79,124,255,.18)
        );
    opacity:.96;
}

/* =========================================================
   LOGIN TITLE
========================================================= */

.login-title{
    text-align:center;
    margin-bottom:34px;
}

.login-title h3{
    font-size:32px;
    font-weight:700;
    color:#0f172a;
    margin-bottom:10px;
}

.login-title p{
    font-size:15px;
    color:#64748b;
}

/* =========================================================
   ALERT
========================================================= */

.alert{
    border-radius:14px;
    font-size:14px;
}

/* =========================================================
   FORM
========================================================= */

.form-group{
    margin-bottom:18px;
}

.input-modern{
    position:relative;
}

.input-modern i{
    position:absolute;
    left:18px;
    top:50%;
    transform:translateY(-50%);
    color:#94a3b8;
    font-size:18px;
    z-index:5;
    color:#64748b;
    opacity:.88;
    transition:all .25s ease;
}

.input-modern input{
    width:100%;
    height:60px;
    border-radius:18px;
    border:1px solid #e2e8f0;
    background:rgba(255,255,255,.82);
    padding-left:52px;
    padding-right:70px;
    font-size:15px;
    transition:all .25s ease;
}

.input-modern input:focus{
    outline:none;
    background:#fff;
    border-color:#4f7cff;
    box-shadow: 0 0 0 4px rgba(79,124,255,.12);
}

.input-modern:focus-within i{
    color:#4f7cff;
    opacity:1;

    transform:
    translateY(-50%)
    scale(1.05);
}

.input-modern input::placeholder{
    color:#94a3b8;
}

.input-modern input:hover{
    border-color:#c7d2fe;
}
/* =========================================================
   TOGGLE PASSWORD
========================================================= */

.toggle-password{
    position:absolute;
    right:18px;
    top:50%;
    transform:translateY(-50%);
    font-size:13px;
    font-weight:600;
    color:#4f7cff;
    cursor:pointer;
}

/* =========================================================
   CAPTCHA
========================================================= */

.login-action{
    margin:20px 0;
}

.captcha-wrapper{
    display:flex;
    justify-content:center;
}

/* =========================================================
   OPTIONS
========================================================= */

.login-options{
    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-bottom:22px;
}

.remember-box{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:14px;
    color:#475569;
    margin:0;
}

.remember-box input{
    width:16px;
    height:16px;
}

.forgot-link{
    font-size:14px;
    font-weight:500;
    color:#4f7cff;
}

/* =========================================================
   BUTTON
========================================================= */

.btn-login{
    width:100%;
    height:60px;
    border:none;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    overflow:hidden;
    font-size:15px;
    font-weight:600;
    color:#fff;
    background:
        linear-gradient(
        135deg,
        #3b5bff,
        #6d5dfc
        );
    box-shadow: 0 15px 30px rgba(59,91,255,.28);
    transition:all .25s ease;
    background-size:200% 200%;
    animation: gradientMove 6s ease infinite;
}

.btn-login:active{
    transform:scale(.985);
}

.btn-login::before{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:100%;
    height:100%;
    background:
        linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.25),
        transparent
        );
    transition:.6s;
}

.btn-login:hover{
    transform:translateY(-2px);
    box-shadow:
        0 22px 40px rgba(59,91,255,.35);
}

.btn-login:hover::before{
    left:120%;
}

.btn-login:focus{
    outline:none;
}

/* =========================================================
   TRUST
========================================================= */

.login-trust{
    margin-top:32px;
    display:flex;
    justify-content:space-between;
    gap:14px;
}

.trust-item{
    flex:1;
    text-align:center;
    transition: transform .25s ease;

}
.trust-item:hover{
    transform:translateY(-4px);
}

.trust-item i{
    width:36px;
    height:36px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 10px;
    background:rgba(79,124,255,.10);
    color:#4f7cff;
    font-size:15px;
    transition: all .28s ease;
}

.trust-item:hover i{
    transform:
        scale(1.1);
    background:
        rgba(79,124,255,.16);
    box-shadow:
        0 10px 20px rgba(79,124,255,.15);
}

.trust-item span{
    font-size:12px;
    line-height:1.5;
    color:#64748b;
    font-weight:500;
}

/* =========================================================
   FOOTER
========================================================= */

.page-footer{
    position:absolute;
    left:40px;
    right:40px;
    bottom:22px;
    z-index:20;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:13px;
    color:#64748b;
    background: rgba(255,255,255,.22);
    backdrop-filter:blur(10px);
    border: 1px solid rgba(255,255,255,.3);
    border-radius:16px;
    padding:10px 18px;
}

.page-footer a{
    position:relative;
    color:#64748b;
    font-weight:500;
    transition:all .25s ease;
}

/* underline */
.page-footer a::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-4px;
    width:0%;
    height:2px;
    background:#4f7cff;
    border-radius:20px;
    transform:translateX(-50%);
    transition:all .3s ease;
}

/* hover */
.page-footer a:hover{
    color:#4f7cff;
}

/* underline animate */
.page-footer a:hover::after{
    width:100%;
}

/* =========================================================
   ERROR
========================================================= */

.input-error input{
    border-color:#ef4444;
    background:#fff5f5;
}

/* =========================================================
    FLOATING SHAPES
========================================================= */

.floating-shape{
    position:absolute;
    border-radius:50%;
    z-index:3;
    opacity:.9;
    animation: floatingShape ease-in-out infinite;
}

/* BLUE */
.shape-1{
    animation-duration:3.5s;
    width:18px;
    height:18px;
    background:#4f7cff;
    top:22%;
    left:32%;
    box-shadow: 0 0 20px rgba(79,124,255,.45);
}

/* GREEN */
.shape-2{
    animation-duration:4.5s;
    width:14px;
    height:14px;
    background:#34d399;
    top:30%;
    left:48%;
    box-shadow:  0 0 20px rgba(52,211,153,.45);
    animation-delay:1s;
}

/* RED */
.shape-3{
    animation-duration:5s;
    width:16px;
    height:16px;
    background:#ff6b6b;
    bottom:22%;
    left:18%;
    box-shadow: 0 0 20px rgba(255,107,107,.45);
    animation-delay:2s;
}

/* OUTLINE */
.shape-4{
    animation-duration:4s;
    width:42px;
    height:42px;
    border:3px solid rgba(79,124,255,.35);
    top:12%;
    left:20%;
    animation-delay:1.5s;
}

/* =========================================================
   ANIMATION
========================================================= */

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(25px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes floatingCard{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-6px);
    }

    100%{
        transform:translateY(0px);
    }
}



@keyframes floatingShape{

    0%{
        transform:
            translateY(0px);
    }

    50%{
        transform:translateY(-24px);
    }

    100%{
        transform:translateY(0px);
    }
}

@keyframes gradientMove{

    0%{
        background-position:0% 50%;
    }

    50%{
        background-position:100% 50%;
    }

    100%{
        background-position:0% 50%;
    }
}



/* =========================================================
   MOBILE
========================================================= */

@media(max-width:992px){
    html,
    body{
        height:auto;
        overflow:auto;
    }

    .login-page{
        display:block;
        padding:30px 20px 100px;
    }


    .left-content{
        width:100%;
        padding:20px;
        margin-bottom:40px;
    }

    .brand-content h1{
        font-size:32px;
    }

    .brand-content p{
        font-size:15px;
    }

    .brand-features{
        display:none;
    }

    .login-title h3{
        font-size:22px;
    }

    .login-side{
        width:100%;
    }

    .login-card{
        margin-right:0;
        max-width:100%;
        padding:32px;
        border-radius:28px;
    }

    .page-footer{
        position:relative;
        left:auto;
        right:auto;
        bottom:auto;
        margin-top:30px;
        flex-direction:column;
        gap:10px;
    }
}

/* =========================================================
    ROLE SELECTION
 ========================================================= */

 .role-selection{
     margin-top:10px;
 }

 .role-title{
     text-align:center;
     font-size:16px;
     font-weight:600;
     color:#0f172a;
     margin-bottom:24px;
 }

 .role-btn{
     width:100%;
     height:58px;
     border-radius:18px;
     display:flex;
     align-items:center;
     gap:14px;
     padding:0 20px;
     margin-bottom:14px;
     color:#fff !important;
     font-weight:500;
     transition:all .25s ease;
 }

 .role-btn i{
     font-size:18px;
 }

 .role-btn:hover{
     transform:
     translateY(-2px);
     opacity:.95;
 }

 /* COLORS */

 .role-btn.admin{
     background:linear-gradient(135deg,#ef4444,#dc2626);
 }

 .role-btn.pegawai{
     background:linear-gradient(135deg,#3b82f6,#2563eb);
 }

 .role-btn.kepegawaian{
     background:linear-gradient(135deg,#f59e0b,#d97706);
 }

 .role-btn.eksekutif{
     background:linear-gradient(135deg,#10b981,#059669);
 }

 .role-btn.keuangan{
     background:linear-gradient(135deg,#f97316,#ea580c);
 }

 .role-btn.akademik{
     background:linear-gradient(135deg,#14b8a6,#0f766e);
 }

 .role-btn.pengajar{
     background:linear-gradient(135deg,#8b5cf6,#7c3aed);
 }


