*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,Helvetica,sans-serif;
}

html,
body{
    width:100%;
    min-height:100%;
    background:#eef3f7;
}

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

.outer{
    display:flex;
    width:100%;
    min-height:100vh;
}

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

.sidebar{
    width:250px;
    flex-shrink:0;
    background:#0077b6;
    color:#fff;
    display:flex;
    flex-direction:column;
    padding:20px 10px;
    position:fixed;
    left:0;
    top:0;
    bottom:0;
}

.sidebar h2{
    margin-bottom:30px;
}

.sidebar a{
    display:flex;
    align-items:center;
    gap:15px;
    padding:14px 18px;
    margin:4px 12px;
    text-decoration:none;
    color:#fff;
    border-radius:10px;
    transition:.25s;
}

.sidebar a:hover{
    background:rgba(255,255,255,.15);
}

.sidebar a.active{
    background:#fff;
    color:#0077b6;
    font-weight:bold;
}

.sidebar a i{
    width:22px;
    text-align:center;
    font-size:18px;
}

.sidebar a span{
    flex:1;
}

/* ===================================
   LOGOUT
=================================== */

.btn-logout{
    margin-top:auto;
    border:none;
    padding:14px;
    border-radius:10px;
    background:#dc3545;
    color:#fff;
    cursor:pointer;
    font-size:15px;
    font-weight:bold;
}

.btn-logout:hover{
    background:#bb2d3b;
}

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

.inner{
    flex:1;
    margin-left:250px;
    display:flex;
    flex-direction:column;
    min-width:0;
}

/* ===================================
   HEADER
=================================== */

.header{
    height:70px;
    background:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 30px;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:100;
}

.header h1{
    font-size:24px;
    color:#333;
}

.user{
    font-weight:bold;
}

/* ===================================
   MAIN
=================================== */

.main{
    flex:1;
    padding:5px 10px;
    background:#eef3f7;
}

/* ===================================
   CARD
=================================== */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.card{
    background:#fff;
    padding:25px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.card h3{
    color:#666;
    margin-bottom:10px;
}

.card h1{
    color:#0077b6;
}

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

table{
    width:100%;
    margin:20px 0px;
    border-collapse:collapse;
    background:#fff;
    border-radius:5px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

table th{
    background:#0077b6;
    color:#fff;
    padding:2px;
    text-align:center;
    font-weight: 400;
}

table td{
    padding:5px;
    border-bottom:1px solid #eee;
}

table tr:hover{
    background:#cff2ff;
}

td {
    text-align: center;
}

td p {
    padding: 2px 0px;
}

.success{
    display:inline-block;
    padding:5px 10px;
    background:#2ecc71;
    color:#fff;
    border-radius:5px;
}

.warning{
    display:inline-block;
    padding:5px 10px;
    background:#f39c12;
    color:#fff;
    border-radius:5px;
}
input,
select {

    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #f7faf8 100%
    );

    border: 1px solid #d5e1dc;

    color: #26332e;

    font-size: 13px;
    font-weight: 400;

    padding: 8px 10px;

    border-radius: 7px;

    outline: none;

    box-shadow:
        0 2px 6px rgba(25, 55, 45, .04);

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

input::placeholder {
    color: #a1aaa6;
}

input:hover,
select:hover {
    border-color: #b8d3c5;
}

input:focus,
select:focus {
    background: #ffffff;

    border-color: #1ea46d;

    box-shadow:
        0 0 0 3px rgba(30, 164, 109, .10),
        0 4px 10px rgba(25, 55, 45, .05);
}

select {
    cursor: pointer;
}

input:disabled,
select:disabled {
    background: #f1f4f3;
    color: #9aa39f;
    cursor: not-allowed;
}
/* ===================================
   BUTTON
=================================== */
button {
    background: linear-gradient(135deg, #2872a8 0%, #1f6041 100%);
    border: 1px solid #1b5b8a;
    color: #ffffff;
    font-weight: 200;
    box-shadow: 0 3px 8px rgba(22, 77, 120, 0.18);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
    padding: 5px;
    border-radius: 5px;
}
.btn-primary, .main-menu-option, .main-popup-option{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:0 20px;
    height:30px;
    border:none;
    border-radius:8px;
    background:#0077b6;
    color:#fff;
    cursor:pointer;
    transition:.2s;
}

.btn-primary:hover, .main-menu-option:hover, .main-popup-option:hover{
    background:#005f8f;
}

.btn-secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:0 20px;
    height:30px;
    border:1px solid #ddd;
    border-radius:8px;
    background:#fff;
    cursor:pointer;
}

.btn-secondary:hover{
    background:#f5f5f5;
}

.btn-warning{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:0 20px;
    height:30px;
    border:1px solid #e99713;
    border-radius:8px;
    background:#f39c12;
    cursor:pointer;
}

.btn-warning:hover{
    background:#f39c10;
}

.apps-menu-sub{
	padding: 1vh 0;
    text-align: right;
    gap: 3px;
    display: flex;
    justify-content: end;
}
.menu-sub-title{
	font-size: 24px;
	font-weight: bold;
}

.tac {
    text-align: center;
}

.tal {
    text-align: left;
}

.tar {
    text-align: right;
}

.d-none {
    display: none;
}

.menu-toggle{
    display:none;
    width:42px;
    height:42px;
    border:none;
    border-radius:8px;
    background:#0077b6;
    color:#fff;
    cursor:pointer;
    font-size:18px;
}

@media (max-width:768px){

    .sidebar{
        left:-250px;
        transition:.3s;
        z-index:9999;
        margin-top: 70px;
    }

    .sidebar.show{
        left:0;
    }

    .inner{
        margin-left:0;
    }

    .header{
        padding:0 15px;
    }

    .header h1{
        font-size:20px;
    }

    .main{
        padding:15px;
    }

    .menu-toggle{
        display:flex;
        justify-content:center;
        align-items:center;
    }
}