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

body{
    background:#eef3fb;
    color:#333;
}

.navbar{
    height:70px;
    background:#0F62FE;
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 40px;
    box-shadow:0 4px 10px rgba(0,0,0,.2);
}

.logo{
    font-size:24px;
    font-weight:bold;
}

.logo i{
    margin-right:10px;
}

.nav-right{
    display:flex;
    gap:15px;
}

.nav-btn{
    background:white;
    color:#0F62FE;
    border:none;
    padding:10px 18px;
    border-radius:8px;
    cursor:pointer;
    font-weight:bold;
    transition:.3s;
}

.nav-btn:hover{
    background:#FFC107;
    color:#222;
}

.dashboard{
    display:grid;
    grid-template-columns:350px 1fr;
    gap:25px;
    padding:30px;
}

.card,
.status-card,
.counter,
.search,
.table-card{
    background:white;
    border-radius:15px;
    padding:25px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.card h2,
.table-card h2{
    margin-bottom:20px;
    color:#0F62FE;
}

.card form{
    display:flex;
    flex-direction:column;
}

.card input{
    padding:14px;
    margin-bottom:15px;
    border:1px solid #ccc;
    border-radius:8px;
    font-size:15px;
}

.card button{
    background:#0F62FE;
    color:white;
    border:none;
    padding:14px;
    border-radius:8px;
    cursor:pointer;
    font-size:16px;
    transition:.3s;
}

.card button:hover{
    background:#0847b8;
}

.status-card{
    margin-top:20px;
}

.status-card h3{
    color:#0F62FE;
    margin-bottom:15px;
}

.top-row{
    display:grid;
    grid-template-columns:250px 1fr;
    gap:20px;
    margin-bottom:20px;
}

.counter h3{
    color:#666;
}

.counter h1{
    font-size:42px;
    color:#0F62FE;
    margin-top:10px;
}

.search input{
    width:100%;
    padding:14px;
    border:1px solid #ccc;
    border-radius:8px;
}

.table-card table{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
}

.table-card th{
    background:#0F62FE;
    color:white;
    padding:14px;
}

.table-card td{
    padding:14px;
    border-bottom:1px solid #eee;
    text-align:center;
}

.table-card tr:hover{
    background:#f8f9ff;
}

footer{
    margin-top:20px;
    padding:20px;
    text-align:center;
    color:#666;
}

@media(max-width:900px){

.dashboard{
    grid-template-columns:1fr;
}

.top-row{
    grid-template-columns:1fr;
}

}

/* Modal Background */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

/* Modal Box */
.modal-content {
    background: #fff;
    width: 400px;
    margin: 10% auto;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Close Button */
.close {
    float: right;
    font-size: 28px;
    cursor: pointer;
}

.close:hover {
    color: red;
}
