body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    background-color: #00030c;
    min-height: 100vh;
}
h2 {
    color: white;
    text-align: center;
    margin-bottom: 25px;
}
.table-container {
    overflow-x: auto;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
table {
    width: 100%;
    border-collapse: collapse;
    background-color: transparent;
    min-width: 600px;
}
th, td {
    border: 1px solid #444;
    padding: 12px;
    text-align: left;
}
th {
    background-color: rgba(20, 40, 80, 0.5);
    color: white;
}
tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.05);
}

.user-picture {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

table td:nth-child(5) {
    text-align: center;
}

.pagination {
    margin-top: 20px;
    text-align: center;
}
.pagination a {
    color: #eee;
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid #555;
    margin: 0 4px;
    border-radius: 4px;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.pagination a.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}
.pagination a:hover:not(.active) {
    background-color: #555;
    color: white;
}
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
}

.nav-item {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    margin: 0 5px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    position: relative; /* For tooltip-like effect */
}

.nav-item i {
    font-size: 1.2em;
    margin-right: 5px; /* Space between icon and text */
}

.nav-text {
    display: none; /* Hidden by default */
    white-space: nowrap; /* Prevent text wrapping */
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #00bcd4;
}

.nav-item:hover .nav-text {
    display: inline; /* Show text on hover */
}

.user-info {
    color: white;
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.user-info i {
    font-size: 1.5em;
    margin-right: 8px;
}

/* Responsive adjustments for navigation */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .nav-left, .nav-right {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }

    .nav-right {
        margin-top: 10px;
        justify-content: center;
    }

    .nav-item {
        margin: 5px;
        padding: 8px;
    }

    .nav-item .nav-text {
        display: none; /* Always hide text on small screens */
    }

    .nav-item:hover .nav-text {
        display: none; /* Keep text hidden on hover for small screens */
    }

    .user-info {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle linear infinite;
    z-index: -1;
}
@keyframes twinkle {
    0% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.5); }
}
@media (max-width: 768px) {
    body { padding: 10px; }
    th, td { padding: 8px; }
    .pagination a { padding: 6px 12px; margin: 0 2px; }
    .table-container { padding: 10px; }
}
footer {
    padding: 0px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8em;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
