/* =========================================================
   SMART COMPLAINT SYSTEM : LAPORKUY
   FUTURISTIC AI DASHBOARD UI
   REVISION VERSION
========================================================= */

/* =========================
   GOOGLE FONT
========================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* =========================
   ROOT COLORS
========================= */
:root{

    --bg-main: #050816;
    --bg-sidebar: #0d1330;
    --bg-card: rgba(17, 24, 54, 0.85);

    --primary: #7c5cff;
    --secondary: #a855f7;
    --blue: #4f8cff;

    --text-white: #ffffff;
    --text-soft: #bfc7e0;

    --border: rgba(255,255,255,0.08);

    --glow:
    0 0 15px rgba(124,92,255,0.35),
    0 0 35px rgba(124,92,255,0.15);

    --transition: 0.3s ease;
}

/* =========================
   RESET
========================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* =========================
   BODY
========================= */
body{

    background:
    radial-gradient(circle at top left,
    rgba(124,92,255,0.15),
    transparent 25%),

    radial-gradient(circle at bottom right,
    rgba(79,140,255,0.12),
    transparent 25%),

    #050816;

    color:white;
    font-family:'Poppins',sans-serif;

    overflow-x:hidden;
}

/* =========================
   SCROLLBAR
========================= */
::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-thumb{
    background:linear-gradient(
    180deg,
    #7c5cff,
    #a855f7
    );

    border-radius:20px;
}

/* =========================
   SIDEBAR
========================= */
.sidebar{

    position:fixed;
    left:0;
    top:0;

    width:270px;
    height:100vh;

    background:rgba(10,15,40,0.92);

    backdrop-filter:blur(18px);

    border-right:1px solid rgba(255,255,255,0.06);

    padding:25px;

    display:flex;
    flex-direction:column;

    z-index:1000;

    box-shadow:
    0 0 40px rgba(124,92,255,0.12);
}

/* =========================
   LOGO
========================= */
.logo{

    margin-bottom:40px;
}

.logo h2{

    font-size:28px;
    font-weight:700;
    color:white;
}

.logo span{
    color:#9f67ff;
}

.logo p{

    margin-top:5px;
    color:var(--text-soft);
    font-size:14px;
}

/* =========================
   SIDEBAR MENU
========================= */
.sidebar-menu{

    list-style:none;
}

.sidebar-menu li{

    margin-bottom:18px;
}

.sidebar-menu a{

    display:flex;
    align-items:center;
    gap:15px;

    padding:16px 18px;

    border-radius:18px;

    text-decoration:none;
    color:white;

    background:rgba(255,255,255,0.03);

    transition:var(--transition);

    border:1px solid transparent;
}

.sidebar-menu a:hover,
.sidebar-menu .active{

    background:linear-gradient(
    90deg,
    rgba(124,92,255,0.35),
    rgba(168,85,247,0.25)
    );

    border:1px solid rgba(255,255,255,0.08);

    box-shadow:var(--glow);
}

.sidebar-menu i{

    width:20px;
    font-size:18px;
}

/* =========================
   MAIN CONTENT
========================= */
.main-content{

    margin-left:270px;
    padding:24px;
}

/* =========================
   NAVBAR
========================= */
.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 24px;

    background:rgba(17,24,54,0.88);

    border:1px solid rgba(255,255,255,0.05);

    border-radius:22px;

    backdrop-filter:blur(18px);

    box-shadow:
    0 0 25px rgba(124,92,255,0.12);

    margin-bottom:28px;
}

/* =========================
   SEARCH BOX
========================= */
.search-box{

    width:450px;
    position:relative;
}

.search-box input{

    width:100%;

    padding:18px 22px;

    background:rgba(255,255,255,0.04);

    border:none;
    outline:none;

    border-radius:20px;

    color:white;

    border:1px solid rgba(255,255,255,0.05);

    backdrop-filter:blur(10px);
}

.search-box input::placeholder{

    color:#9aa4c7;
}

/* =========================
   USER PROFILE
========================= */
.user-profile{

    display:flex;
    align-items:center;
    gap:15px;
}

.user-profile img{

    width:55px;
    height:55px;

    border-radius:50%;
    object-fit:cover;

    border:2px solid rgba(255,255,255,0.08);
}

.user-profile h4{

    font-size:16px;
}

.user-profile p{

    color:#bfc7e0;
    font-size:13px;
}

/* =========================
   TITLE
========================= */
.dashboard-title{

    margin-bottom:30px;
}

.dashboard-title h1{

    font-size:34px;
    font-weight:700;
}

.dashboard-title p{

    margin-top:6px;
    color:#bfc7e0;
}

/* =========================
   DASHBOARD GRID
========================= */
.dashboard-cards{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:16px;

    margin-bottom:30px;
}

/* =========================
   GLASS CARD
========================= */
.glass-card{

    background:rgba(17,24,54,0.88);

    border:1px solid rgba(255,255,255,0.05);

    border-radius:22px;

    padding:20px;

    backdrop-filter:blur(18px);

    box-shadow:
    0 0 25px rgba(124,92,255,0.12);

    transition:0.3s ease;
}

.glass-card:hover{

    transform:translateY(-5px);

    box-shadow:
    0 0 30px rgba(124,92,255,0.25);
}

/* =========================
   STAT CARD
========================= */
.stat-card{

    position:relative;
    overflow:hidden;
}

.stat-card::before{

    content:'';

    position:absolute;

    width:180px;
    height:180px;

    background:rgba(124,92,255,0.12);

    border-radius:50%;

    top:-80px;
    right:-80px;
}

.stat-card h3{

    color:#bfc7e0;

    font-size:15px;
    font-weight:500;

    margin-bottom:12px;
}

.stat-card h1{

    font-size:34px;
    font-weight:700;

    margin-bottom:10px;
}

.stat-card p{

    color:#53f2a9;
    font-size:14px;
}

/* =========================
   BUTTON
========================= */
.btn-gradient{

    padding:14px 24px;

    border:none;
    outline:none;

    border-radius:16px;

    background:linear-gradient(
    45deg,
    #7c5cff,
    #a855f7
    );

    color:white;

    font-weight:600;

    cursor:pointer;

    transition:0.3s ease;

    box-shadow:
    0 0 20px rgba(124,92,255,0.3);
}

.btn-gradient:hover{

    transform:translateY(-2px);

    box-shadow:
    0 0 30px rgba(124,92,255,0.45);
}

/* =========================
   TABLE
========================= */
.table-container{

    overflow-x:auto;
}

table{

    width:100%;
    border-collapse:collapse;
}

table thead{

    background:rgba(255,255,255,0.03);
}

table th{

    padding:14px;

    color:#bfc7e0;

    text-align:left;

    font-weight:500;
}

table td{

    padding:14px;

    border-top:
    1px solid rgba(255,255,255,0.05);
}

/* =========================
   BADGE
========================= */
.badge{

    padding:8px 14px;

    border-radius:12px;

    font-size:12px;
    font-weight:600;
}

.badge-success{

    background:rgba(34,197,94,0.18);
    color:#4ade80;
}

.badge-warning{

    background:rgba(245,158,11,0.18);
    color:#fbbf24;
}

.badge-danger{

    background:rgba(239,68,68,0.18);
    color:#f87171;
}

/* =========================
   FORM
========================= */
.form-group{

    margin-bottom:20px;
}

.form-group label{

    display:block;

    margin-bottom:10px;

    color:#dbe4ff;
}

.form-control{

    width:100%;

    padding:16px 18px;

    border-radius:18px;

    border:none;
    outline:none;

    background:rgba(255,255,255,0.04);

    color:white;

    border:1px solid rgba(255,255,255,0.05);

    backdrop-filter:blur(10px);

    transition:0.3s ease;
}

.form-control:focus{

    border-color:#8b5cf6;

    box-shadow:
    0 0 20px rgba(124,92,255,0.25);
}

/* =========================
   NOTIFICATION
========================= */
.notification-box{

    display:flex;
    align-items:center;
    gap:15px;

    padding:18px;

    border-radius:18px;

    background:rgba(255,255,255,0.03);

    margin-bottom:15px;

    transition:0.3s ease;
}

.notification-box:hover{

    background:rgba(255,255,255,0.05);
}

/* =========================
   FOOTER
========================= */
.footer-card{

    display:flex;
    justify-content:space-between;
    align-items:center;

    flex-wrap:wrap;

    padding:18px 24px;

    background:rgba(17,24,54,0.88);

    border:1px solid rgba(255,255,255,0.05);

    border-radius:22px;

    backdrop-filter:blur(18px);

    box-shadow:
    0 0 25px rgba(124,92,255,0.12);

    margin-top:28px;
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:991px){

    .sidebar{

        width:90px;
        padding:20px 10px;
    }

    .sidebar .logo p,
    .sidebar .logo h2,
    .sidebar-menu a span{

        display:none;
    }

    .main-content{

        margin-left:90px;
    }
}

@media(max-width:768px){

    .navbar{

        flex-direction:column;
        align-items:flex-start;
        gap:20px;
    }

    .search-box{

        width:100%;
    }

    .dashboard-cards{

        grid-template-columns:1fr;
    }
}

/* =========================================================
   AUTH PAGE
========================================================= */

html,
body{

    width:100%;
    height:100%;

    margin:0;
    padding:0;
}

.auth-wrapper{

    width:100vw;
    height:100vh;

    display:grid;

    grid-template-columns:58% 42%;

    overflow:hidden;
}

/* =========================
   LEFT SIDE
========================= */

.auth-left{

    height:100vh;

    position:relative;

    background:
    linear-gradient(
    rgba(124,92,255,.80),
    rgba(79,140,255,.75)
    ),
    url('../images/campus.jpg')
    center center/cover no-repeat;

    display:flex;
    align-items:flex-end;

    padding:50px;
}

.auth-content{

    position:relative;
    z-index:2;

    max-width:430px;

    color:white;
}

.auth-logo{

    display:flex;
    align-items:center;
    gap:14px;

    margin-bottom:35px;
}

.logo-icon{

    width:60px;
    height:60px;

    border-radius:18px;

    background:
    rgba(255,255,255,.15);

    backdrop-filter:blur(10px);

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:24px;

    color:white;
}

.auth-logo h2{

    font-size:26px;
    font-weight:700;

    margin-bottom:3px;
}

.auth-logo p{

    font-size:13px;

    color:rgba(255,255,255,.85);
}

.auth-text h1{

    font-size:38px;

    line-height:1.25;

    margin-bottom:15px;

    font-weight:700;
}

.auth-text p{

    font-size:14px;

    line-height:1.8;

    color:rgba(255,255,255,.90);
}

/* =========================
   RIGHT SIDE
========================= */

.auth-right{

    height:100vh;

    background:#111836;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:40px;
}

.auth-card{

    width:100%;
    max-width:380px;

    background:none;
    border:none;
    box-shadow:none;
}

/* =========================
   LOGIN HEADER
========================= */

.auth-top{

    text-align:center;

    margin-bottom:28px;
}

.auth-icon{

    width:65px;
    height:65px;

    margin:auto;
    margin-bottom:15px;

    border-radius:18px;

    background:
    linear-gradient(
    135deg,
    #7c5cff,
    #a855f7
    );

    display:flex;
    justify-content:center;
    align-items:center;

    color:white;

    font-size:24px;

    box-shadow:
    0 0 25px rgba(124,92,255,.35);
}

.auth-top h2{

    font-size:26px;

    margin-bottom:6px;
}

.auth-top p{

    color:#bfc7e0;

    font-size:14px;
}

/* =========================
   FORM
========================= */

.form-group{

    margin-bottom:16px;
}

.form-group label{

    font-size:13px;
}

.form-control{

    padding:14px 16px;

    font-size:14px;
}

.input-group{

    position:relative;
}

.input-group i:first-child{

    position:absolute;

    left:16px;
    top:50%;

    transform:translateY(-50%);

    color:#bfc7e0;
}

.input-group i:last-child{

    position:absolute;

    right:16px;
    top:50%;

    transform:translateY(-50%);

    color:#bfc7e0;

    cursor:pointer;
}

.input-group .form-control{

    padding-left:45px;
    padding-right:45px;
}

/* =========================
   OPTIONS
========================= */

.auth-options{

    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-bottom:20px;
}

.remember-me{

    display:flex;
    align-items:center;
    gap:8px;

    color:#bfc7e0;

    font-size:13px;
}

.auth-options a{

    color:#9f67ff;

    text-decoration:none;

    font-size:13px;
}

/* =========================
   BUTTON
========================= */

.auth-btn{

    width:100%;

    padding:14px;

    font-size:14px;
}

/* =========================
   FOOTER
========================= */

.auth-footer{

    text-align:center;

    margin-top:22px;

    color:#bfc7e0;

    font-size:13px;
}

.auth-footer a{

    color:#9f67ff;

    text-decoration:none;

    font-weight:600;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:992px){

    .auth-wrapper{

        grid-template-columns:1fr;
    }

    .auth-left{

        display:none;
    }

    .auth-right{

        width:100%;
        padding:25px;
    }

    .auth-card{

        max-width:400px;
    }
}

@media(max-width:576px){

    .auth-right{

        padding:20px;
    }

    .auth-card{

        max-width:100%;
    }

    .auth-icon{

        width:58px;
        height:58px;

        font-size:22px;
    }

    .auth-top h2{

        font-size:22px;
    }

    .auth-top p{

        font-size:13px;
    }

    .form-control{

        padding:13px 15px;

        font-size:14px;
    }

    .auth-btn{

        padding:13px;
    }

    .auth-footer{

        font-size:12px;
    }
}

.input-group{

    position:relative;
}

.input-group i:first-child{

    position:absolute;

    left:16px;
    top:50%;

    transform:translateY(-50%);

    color:#bfc7e0;

    z-index:2;
}

.toggle-password{

    position:absolute;

    right:16px;
    top:50%;

    transform:translateY(-50%);

    color:#bfc7e0;

    cursor:pointer;

    z-index:2;
}

.input-group .form-control{

    padding-left:48px;
    padding-right:48px;
}

/* =========================================================
   REGISTER PAGE ONLY
========================================================= */

.register-right{

    min-height:100vh;

    justify-content:center;

    align-items:flex-start;

    padding-top:25px;
    padding-bottom:25px;

    overflow-y:auto;
}

.register-card{

    width:100%;

    max-width:340px;
}

/* HEADER REGISTER */

.register-card .auth-top{

    margin-bottom:15px;
}

.register-card .auth-icon{

    width:50px;
    height:50px;

    font-size:18px;

    border-radius:15px;

    margin-bottom:10px;
}

.register-card .auth-top h2{

    font-size:22px;

    margin-bottom:3px;
}

.register-card .auth-top p{

    font-size:12px;
}

/* FORM */

.register-card .form-group{

    margin-bottom:10px;
}

.register-card label{

    font-size:12px;

    margin-bottom:5px;
}

.register-card .form-control{

    height:40px;

    padding:10px 14px;

    font-size:13px;
}

.register-card .input-group .form-control{

    padding-left:42px;
    padding-right:42px;
}

/* TERMS */

.register-card .remember-me{

    font-size:11px;

    line-height:1.4;
}

/* BUTTON */

.register-card .auth-btn{

    height:42px;

    font-size:13px;
}

/* FOOTER */

.register-card .auth-footer{

    margin-top:12px;

    font-size:12px;
}

/* =========================
   REGISTER MOBILE
========================= */

@media(max-width:992px){

    .register-right{

        align-items:center;

        padding:20px;
    }

    .register-card{

        max-width:400px;
    }
}

@media(max-width:576px){

    .register-right{

        padding:15px;
    }

    .register-card{

        max-width:100%;
    }

    .register-card .auth-top h2{

        font-size:20px;
    }

    .register-card .auth-icon{

        width:45px;
        height:45px;

        font-size:18px;
    }

    .register-card .form-control{

        height:auto;

        min-height:40px;
    }
}

.action-dropdown{
    position:relative;
    display:inline-block;
}

.action-btn{
    width:38px;
    height:38px;

    border:none;

    border-radius:12px;

    background:
    rgba(255,255,255,.05);

    color:white;

    cursor:pointer;

    transition:.3s;
}

.action-btn:hover{

    background:
    rgba(159,103,255,.25);

}

.action-menu{

    display:none;

    position:absolute;

    right:0;
    top:45px;

    min-width:160px;

    background:#151a2d;

    border:
    1px solid rgba(255,255,255,.05);

    border-radius:14px;

    overflow:hidden;

    z-index:999;

    box-shadow:
    0 15px 40px rgba(0,0,0,.45);

}

.action-menu a{

    display:flex;

    align-items:center;

    gap:10px;

    padding:12px 15px;

    text-decoration:none;

    color:white;

    font-size:13px;

    transition:.3s;

}

.action-menu a:hover{

    background:
    rgba(159,103,255,.15);

}

.delete-item{

    color:#ff5d7c !important;

}