body{
    font-family:Arial;
    background:#f5f5f5;
    margin:40px;
}
h1{
    text-align:center;
}
table{
    width:100%;
    border-collapse:collapse;
    margin-top:30px;
    background:white;
}
th{
    background:#061426;
    color:white;
    padding:12px;
}
td{
    padding:10px;
    border:1px solid #ddd;
    text-align:center;
}
body{
    margin:0;
    background:#EEF5F8;
    font-family:Arial,Helvetica,sans-serif;
}
/* Dashboard */
#dashboardSection{
    width:95%;
    max-width:1500px;
    margin:40px auto;
}
/* Header */
.dashboard-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#010425;
    color:white;
    padding:25px 35px;
    border-radius:14px;
    margin-bottom:30px;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}
.dashboard-header h1{
    margin:0;
    font-size:30px;
    letter-spacing:1px;
}
.dashboard-header p{
    margin-top:8px;
    color:#CCD8E1;
}
/* Logout */
#logoutBtn{
    background:#24506A;
    color:white;
    border:none;
    padding:14px 28px;
    border-radius:8px;
    cursor:pointer;
    font-size:16px;
    transition:.3s;
}
#logoutBtn:hover{
    background:#0E5A67;
}
/* Cards */
.stats{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(290px,1fr));
    gap:25px;
    margin-bottom:35px;
}
.card{
    background:white;
    border-radius:14px;
    padding:28px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}
.card:hover{
    transform:translateY(-5px);
}
.card h3{
    margin:0;
    color:#24506A;
    font-size:18px;
}
.card span{
    display:block;
    margin-top:18px;
    font-size:34px;
    font-weight:bold;
    color:#010425;
}
/* Search */
.toolbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    margin-bottom:25px;
    flex-wrap:wrap;
}
#statusFilter{
    padding:12px 18px;
    border:1px solid #d6d6d6;
    border-radius:8px;
    font-size:15px;
    background:white;
    cursor:pointer;
    min-width:180px;
}
#statusFilter:focus{
    outline:none;
    border-color:#0b5ed7;
}
.table-controls{
    margin-bottom:25px;
}
#searchBox{
    width:100%;
    padding:16px;
    border-radius:10px;
    border:1px solid #CCD8E1;
    font-size:16px;
    outline:none;
}
#searchBox:focus{
    border-color:#24506A;
}
.search-wrapper{
    display:flex;
    align-items:center;
    width:100%;
    gap:10px;
}
.search-wrapper input{
    flex:1;
    padding:14px 18px;
    border:1px solid #d8dde6;
    border-radius:10px;
    font-size:16px;
    outline:none;
}
.search-wrapper input:focus{
    border-color:#0d6efd;
}
.search-wrapper button{
    width:55px;
    height:55px;
    border:none;
    border-radius:10px;
    background:#08162b;
    color:white;
    font-size:22px;
    cursor:pointer;
    transition:.3s;
}
.search-wrapper button:hover{
    background:#12345c;
}
/* Table */
.table-wrapper{
    background:white;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}
#usersTable{
    width:100%;
    border-collapse:collapse;
}
#usersTable thead{
    background:#24506A;
    color:white;
}
#usersTable th{
    padding:18px;
    text-align:left;
    font-weight:600;
}
#usersTable td{
    padding:18px;
    border-bottom:1px solid #EAEAEA;
}
#usersTable tbody tr:nth-child(even){
    background:#F8FBFC;
}
#usersTable tbody tr:hover{
    background:#EAF5F8;
}
/* Select */
#usersTable select{
    padding:10px;
    border-radius:8px;
    border:1px solid #CCD8E1;
    width:130px;
}
/* Save Button */
.save-btn{
    background:#0E5A67;
    color:white;
    border:none;
    padding:10px 18px;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;
}
.save-btn:hover{
    background:#3FA861;
}
/* Mobile */
@media(max-width:900px){
.dashboard-header{
    flex-direction:column;
    gap:20px;
    text-align:center;
}
.stats{
    grid-template-columns:1fr 1fr;
}
}
@media(max-width:650px){
.stats{
    grid-template-columns:1fr;
}
.table-wrapper{
    overflow-x:auto;
}
}
/* ==========================
   TOAST NOTIFICATIONS
========================== */
#toastContainer{
    position:fixed;
    top:25px;
    right:25px;
    z-index:99999;
    display:flex;
    flex-direction:column;
    gap:15px;
}
.toast{
    min-width:320px;
    max-width:420px;
    padding:16px 22px;
    border-radius:10px;
    color:#fff;
    font-size:15px;
    font-weight:500;
    box-shadow:0 10px 30px rgba(0,0,0,.18);
    animation:slideIn .35s ease;
}
.toast.success{
    background:#16a34a;
}
.toast.error{
    background:#dc2626;
}
.toast.info{
    background:#2563eb;
}
.toast.warning{
    background:#d97706;
}
@keyframes slideIn{
    from{
        transform:translateX(120%);
        opacity:0;
    }
    to{
        transform:translateX(0);
        opacity:1;
    }
}
@keyframes slideOut{
    from{
        transform:translateX(0);
        opacity:1;
    }
    to{
        transform:translateX(120%);
        opacity:0;
    }
}
/* ===========================
   USER DETAILS MODAL
=========================== */
.modal{
    display:none;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.45);
    z-index:9999;
}
.modal-content{
    background:#fff;
    width:520px;
    max-width:92%;
    margin:70px auto;
    border-radius:12px;
    padding:30px;
    box-shadow:0 15px 40px rgba(0,0,0,.25);
    animation:popup .25s ease;
}
.modal-content h2{
    margin-bottom:15px;
    color:#061426;
}
.modal-content p{
    margin:12px 0;
    font-size:16px;
}
.modal-content strong{
    display:inline-block;
    width:150px;
}
.close-modal{
    float:right;
    font-size:28px;
    cursor:pointer;
    color:#777;
}
.close-modal:hover{
    color:#000;
}
@keyframes popup{
    from{
        transform:scale(.9);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}