

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}
.logo img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    padding: 3px;
}
body{
    display:flex;
    background:#f4f7fc;
}

/* Sidebar */

.sidebar{
    width:260px;
    height:100vh;
    background:#0f4c81;
    color:#fff;
    position:fixed;
    left:0;
    top:0;
}

.logo{
    padding:25px;
    text-align:center;
    border-bottom:1px solid rgba(255,255,255,.2);
}

.logo h2{
    font-size:24px;
}

.menu{
    list-style:none;
    padding:20px 0;
}

.menu li{
    margin:8px 15px;
}

.menu li a{
    color:white;
    text-decoration:none;
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px;
    border-radius:10px;
    transition:.3s;
}

.menu li a:hover{
    background:#1b639f;
}

/* Main */

.main{
    margin-left:260px;
    width:100%;
}

/* Navbar */

.navbar{
    background:white;
    padding:18px 30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.admin{
    display:flex;
    align-items:center;
    gap:10px;
}

.admin img{
    width:40px;
    height:40px;
    border-radius:50%;
}

/* Cards */

.cards{
    padding:25px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.card{
    background:white;
    padding:25px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.card h4{
    color:#666;
    margin-bottom:10px;
}

.card h2{
    color:#0f4c81;
}

.card i{
    font-size:35px;
    color:#0f4c81;
    float:right;
}

/* Table */

.table-section{
    margin:0 25px 25px;
    background:white;
    border-radius:15px;
    padding:20px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.table-section h3{
    margin-bottom:15px;
}

table{
    width:100%;
    border-collapse:collapse;
}

table th{
    background:#0f4c81;
    color:white;
    padding:12px;
    text-align:left;
}

table td{
    padding:12px;
    border-bottom:1px solid #ddd;
}

.status{
    padding:6px 12px;
    border-radius:20px;
    color:white;
    font-size:13px;
}

.confirm{
    background:#28a745;
}

.pending{
    background:#ffc107;
    color:black;
}

/* Responsive */

@media(max-width:768px){

.sidebar{
    width:80px;
}

.menu li a span{
    display:none;
}

.logo h2{
    display:none;
}

.main{
    margin-left:80px;
}

}
