/* ==========================
   KAY Payroll Enterprise
==========================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#f4f7fb;
    font-family:Arial, Helvetica, sans-serif;
}

/* ==========================
   WRAPPER
==========================*/

.wrapper{
    display:flex;
    width:100%;
}

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

#sidebar{

    min-width:260px;
    max-width:260px;

    min-height:100vh;

    background:#1e293b;

    color:white;

    position:fixed;

    left:0;

    top:0;

}

.sidebar-header{

    padding:25px;

    text-align:center;

    background:#0f172a;

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

}

.sidebar-header h3{

    margin-bottom:5px;

    font-weight:bold;

}

.sidebar-header small{

    color:#94a3b8;

}

#sidebar ul{

    list-style:none;

    padding:20px 0;

}

#sidebar ul li{

    margin-bottom:5px;

}

#sidebar ul li a{

    display:block;

    color:white;

    text-decoration:none;

    padding:15px 25px;

    transition:.25s;

    font-size:15px;

}

#sidebar ul li a i{

    width:30px;

}

#sidebar ul li a:hover{

    background:#2563eb;

}

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

#content{

    width:100%;

    margin-left:260px;

}

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

.navbar{

    height:70px;

}

.navbar h4{

    font-weight:bold;

}

/* ==========================
   KPI CARDS
==========================*/

.card{

    border:none;

    border-radius:16px;

    box-shadow:0 4px 12px rgba(0,0,0,.08);

    transition:.2s;

}

.card:hover{

    transform:translateY(-3px);

}

.card h3{

    font-size:34px;

    font-weight:bold;

}

.card h6{

    color:#64748b;

}

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

.table{

    background:white;

    border-radius:10px;

    overflow:hidden;

}

.table thead{

    background:#2563eb;

    color:white;

}

.table th{

    border:none;

}

.table td{

    vertical-align:middle;

}

/* ==========================
   BUTTONS
==========================*/

.btn{

    border-radius:8px;

}

.btn-primary{

    background:#2563eb;

    border:none;

}

.btn-primary:hover{

    background:#1d4ed8;

}

.btn-warning{

    color:white;

}

.btn-danger{

    border:none;

}

/* ==========================
   FORMS
==========================*/

.form-control{

    border-radius:8px;

    height:45px;

}

/* ==========================
   RESPONSIVE
==========================*/

@media(max-width:992px){

    #sidebar{

        margin-left:-260px;

    }

    #content{

        margin-left:0;

    }

}

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

@media (max-width: 768px) {

    #sidebar {
        position: fixed;
        left: -260px;
        top: 0;
        width: 260px;
        height: 100vh;
        background: #fff;
        transition: left .3s;
        z-index: 1050;
    }

    #sidebar.show {
        left: 0;
    }

    #content {
        margin-left: 0 !important;
        width: 100%;
    }

    .btn {
        margin-bottom: 10px;
    }

    table {
        font-size: 14px;
    }
}
