body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #0d1b2a;
    color: #fff;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100%;
    background-color: #1b263b;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.5);
}

.sidebar h2 {
    color: #4ea8de;
    margin-bottom: 20px;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul li a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 8px;
    border-radius: 4px;
}

.sidebar ul li a:hover {
    background-color: #415a77;
}

.main-content {
    margin-left: 220px;
    padding: 20px;
}

h1 {
    color: #4ea8de;
    margin-bottom: 20px;
}

.dashboard {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    background-color: #1b263b;
    border: 1px solid #415a77;
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    height: 180px;
    box-shadow: 0 0 10px rgba(78,168,222,0.2);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(78,168,222,0.4);
}

.card h2 {
    color: #4ea8de;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.9rem;
    margin: 5px 0;
}

button {
    background-color: #4ea8de;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #417ba7;
}

#userTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

#userTable th, #userTable td {
    border: 1px solid #415a77;
    padding: 10px;
    text-align: left;
}

#userTable th {
    background-color: #1b263b;
}

.modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: #1b263b;
    padding: 20px;
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 0 15px rgba(78,168,222,0.3);
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #4ea8de;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
