/* Base Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Typography & Layout */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #f0f0f0;
    padding: 40px 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: #1e1e1e;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.4);
    overflow-x: auto;
}

/* Heading */
h1 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid #2a2a2a;
    padding-bottom: 15px;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background-color: #1e1e1e;
}

thead {
    background-color: #2c2c2c;
    border-bottom: 2px solid #3c3c3c;
}

th, td {
    padding: 16px 20px;
    text-align: left;
    font-size: 0.95rem;
}

th {
    color: #dddddd;
    font-weight: 600;
}

tbody tr {
    border-bottom: 1px solid #2c2c2c;
}

tbody tr:hover {
    background-color: #292929;
    transition: background-color 0.2s ease-in-out;
}

td {
    color: #cccccc;
}

.navbar {
    background-color: #1e1e1e;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.nav-button {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 16px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-button:hover {
    background-color: #555;
}

.nav-link-button {
    background: none;
    border: none;
    color: #cccccc;
    font-size: 16px;
    cursor: pointer;
    margin-left: 16px;
    padding: 8px;
    transition: color 0.3s ease, transform 0.1s ease;
}

.nav-link-button:hover {
    color: #ffffff;
    transform: scale(1.05);
}

.nav-link-button:active {
    color: #aaaaaa;
    transform: scale(0.98);
}

.no-events {
    text-align: center;
    font-style: italic;
    color: #888888;
    margin-top: 20px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.pagination button {
    background-color: #2e2e2e;
    border: 1px solid #444;
    padding: 10px 14px;
    font-size: 14px;
    color: #cccccc;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.pagination button:hover {
    background-color: #3a3a3a;
}

.pagination button.active {
    background-color: #4f46e5;
    color: white;
    font-weight: 600;
    border-color: #4f46e5;
}

.pagination button:disabled {
    background-color: #1f1f1f;
    color: #666666;
    cursor: default;
    border-color: #333;
}
