/* ==========================================
   GLOBAL
========================================== */

body{
    font-family:Inter,Arial,sans-serif;
    background:#f4f6fb;
    margin:0;
}

/* ==========================================
   LOGIN
========================================== */

.login-page{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#f7f8fc,#eef2f8);
    padding:20px;
}

.login-card{
    width:100%;
    max-width:420px;
    background:#fff;
    border-radius:18px;
    padding:32px;
    border:1px solid #e9edf5;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
}

.login-logo{
    width:78px;
    height:78px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto;
}

.login-title{
    color:#0d47a1;
    font-size:30px;
    font-weight:700;
}

/* ==========================================
   LAYOUT
========================================== */

.app-wrapper{
    display:flex;
    min-height:100vh;
}

.sidebar{

    position:fixed;
    left:0;
    top:0;
    bottom:0;

    width:260px;

    background:linear-gradient(180deg,#102030,#09131d);

    overflow-y:auto;

    color:#fff;

}

.main-content{

    margin-left:260px;

    width:calc(100% - 260px);

}

/* ==========================================
   SIDEBAR
========================================== */

.sidebar-brand{

    height:72px;

    display:flex;

    align-items:center;

    padding:20px;

    border-bottom:1px solid rgba(255,255,255,.08);

    font-size:22px;

    font-weight:700;

}

.sidebar-menu{

    padding:15px 10px;

}

.menu-item{

    display:flex;

    align-items:center;

    justify-content:space-between;

    color:rgba(255,255,255,.85);

    text-decoration:none;

    padding:13px 15px;

    border-radius:12px;

    margin-bottom:6px;

    transition:.25s;

}

.menu-item span{

    display:flex;

    align-items:center;

    gap:12px;

}

.menu-item:hover{

    background:rgba(255,255,255,.08);

    color:#fff;

    text-decoration:none;

}

.menu-item.active{

    background:linear-gradient(90deg,#0d6efd,#2d86ff);

    color:#fff;

    box-shadow:0 10px 20px rgba(13,110,253,.25);

}

/* ==========================================
   PERMISSION SUBMENU
========================================== */

.menu-group{

    margin-bottom:8px;

}

.menu-group .collapse{

    margin-top:6px;

    margin-left:18px;

    padding-left:12px;

    border-left:2px solid rgba(255,255,255,.10);

}

.submenu-item{

    display:flex;

    align-items:center;

    gap:10px;

    color:#cfd6dd !important;

    text-decoration:none !important;

    padding:10px 14px;

    border-radius:10px;

    margin:4px 0;

    transition:.25s;

}

.submenu-item:hover{

    background:rgba(255,255,255,.08);

    color:#fff !important;

}

.submenu-item.active{

    background:#0d6efd;

    color:#fff !important;

}

.submenu-item i{

    width:18px;

    text-align:center;

}

.arrow{

    transition:.25s;

}

.menu-item[aria-expanded="true"] .arrow{

    transform:rotate(180deg);

}

/* ==========================================
   TOPBAR
========================================== */

.topbar{

    height:72px;

    background:linear-gradient(90deg,#0d47a1,#0d6efd);

    display:flex;

    justify-content:space-between;

    align-items:center;

    color:#fff;

    padding:0 25px;

    box-shadow:0 2px 10px rgba(0,0,0,.08);

}

.topbar-left{

    display:flex;

    align-items:center;

    gap:12px;

}

.user-pill{

    display:flex;

    align-items:center;

    gap:10px;

    background:rgba(255,255,255,.12);

    border-radius:30px;

    padding:8px 16px;

}

/* ==========================================
   CONTENT
========================================== */

.page-content{

    padding:25px;

}

.page-title{

    font-weight:700;

}

.app-card{

    border:none;

    border-radius:16px;

    box-shadow:0 8px 25px rgba(0,0,0,.06);

}

.stat-card{

    background:#fff;

    border-radius:16px;

    padding:20px;

    display:flex;

    gap:15px;

    align-items:center;

    box-shadow:0 10px 25px rgba(0,0,0,.05);

}

.stat-icon{

    width:56px;

    height:56px;

    border-radius:14px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:24px;

}

.stat-label{

    color:#6c757d;

}

.stat-value{

    font-size:22px;

    font-weight:700;

}

/* ==========================================
   TABLE
========================================== */

.table td,
.table th{

    vertical-align:middle;

}

/* ==========================================
   MOBILE
========================================== */

@media(max-width:991px){

.sidebar{

    transform:translateX(-100%);

    transition:.3s;

}

.sidebar.show{

    transform:translateX(0);

}

.main-content{

    margin-left:0;

    width:100%;

}

}