*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Segoe UI",sans-serif;
}

body{
    background:#F8FAFC;
}

/* ================= MAIN CONTENT ================= */
.main-content{
    flex:1;
    padding:30px;
    transition:.3s ease;
}

/* ================= MENU BUTTON ================= */
.menu-toggle{
    width:48px;
    height:48px;
    border:none;
    border-radius:12px;
    background:#0F172A;
    color:white;
    font-size:18px;
    cursor:pointer;
    transition:.3s;
}

.menu-toggle:hover{
    background:#1E293B;
    transform:translateY(-2px);
}

/* ================= PAGE HEADER ================= */
.page-header{
    margin:25px 0;
}

.page-header h1{
    font-size:38px;
    font-weight:700;
    color:#0F172A;
    margin-bottom:8px;
}

.page-header p{
    color:#64748B;
    font-size:15px;
}

/* ================= TOP BAR ================= */
.top-bar{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:25px;
    flex-wrap:wrap;
}

/* SEARCH */
.search-box{
    flex:1;
    min-width:280px;
    position:relative;
}

.search-box i{
    position:absolute;
    left:16px;
    top:50%;
    transform:translateY(-50%);
    color:#94A3B8;
}

.search-box input{
    width:100%;
    height:45px;
    padding-left:45px;
    border-radius:10px;
    border:1px solid #CBD5E1;
    background:white;
    outline:none;
    font-size:15px;
    transition:.3s;
}

.search-box input:focus{
    border-color:#2563EB;
    box-shadow:0 0 0 3px rgba(37,99,235,.1);
}

/* FILTER */
.filter-box select{
    padding:12px 18px;
    border-radius:12px;
    border:1px solid #CBD5E1;
    background:white;
    color:#334155;
    font-size:14px;
    cursor:pointer;
    outline:none;
}

.filter-box select:focus{
    border-color:#0F172A;
}

/* ================= TABLE ================= */
.table-card{
    background:white;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,0.05);
}

table{
    width:100%;
    border-collapse:collapse;
}

thead{
    background:#64748B;
}

thead th{
    padding:22px;
    text-align:center;
    font-size:14px;
    font-weight:600;
    color:white;
}

tbody td{
    padding:22px;
    border-bottom:1px solid #F1F1F1;
    color:#334155;
    font-size:14px;
    text-align:center;
}

tbody tr:hover{
    background:#FAFCFF;
}

/* ================= STATUS BADGE ================= */
.status{
    display:inline-block;
    padding:6px 15px;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
}

.checked-in{
    background:#ddf5e6;
    color:#2e9e63;
}

.checked-out{
    background:#f2d1a3;
    color:#f89916;
}

.leave{
    background:#788b98;
    color:#414345;
}

/* ================= RESPONSIVE ================= */

@media(max-width:768px){

    .main-content{
        padding:20px;
    }

    .top-bar{
        flex-direction:column;
        align-items:stretch;
    }

    .search-box{
        width:100%;
    }

    .filter-box select{
        width:100%;
    }

    table{
        min-width:700px;
    }

    .table-card{
        overflow-x:auto;
    }

}