body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: #f0f0f0;
    margin: 0;
    padding: 20px;
    text-align: center;
}

.menu-bar {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.menu-bar .btn-custom {
    background-color: #333;
    color: #fff;
    padding: 8px 15px; /* Smaller padding */
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em; /* Smaller font size */
    transition: background-color 0.3s, transform 0.2s;
    border: 1px solid #555;
}

.menu-bar .btn-custom:hover {
    background-color: #e6a756;
    color: #1a1a1a;
    transform: translateY(-2px);
}

.menu-bar .btn-custom.active {
    background-color: #e6a756;
    color: #1a1a1a;
}

.container {
    background-color: #242424;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    max-width: 1200px;
    margin: auto;
}

h1 {
    color: #e6a756;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 1.5px;
}

.filter-container {
    margin-bottom: 20px;
}

#month-select {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #555;
    background-color: #333;
    color: #f0f0f0;
    font-size: 1em;
}

#report-container {
    margin-top: 20px;
    overflow-x: auto; /* Add horizontal scroll for smaller screens */
}

table {
    width: 100%;
    border-collapse: collapse;
    color: #f0f0f0;
}

th, td {
    padding: 12px 15px;
    border-bottom: 1px solid #444;
    white-space: nowrap; /* Prevent line breaks */
}

th {
    background-color: #333;
    font-weight: 600;
    text-align: left;
}

tr:nth-child(even) {
    background-color: #2a2a2a;
}

tr:hover {
    background-color: #3a3a3a;
}

#report-container table th:nth-child(1),
#report-container table td:nth-child(1),
#report-container table th:nth-child(3),
#report-container table td:nth-child(3),
#report-container table th:nth-child(4),
#report-container table td:nth-child(4) {
    text-align: center;
}

#report-container table td:nth-child(2) {
    text-align: left;
}

.late-update td {
    color: #f1c753;
}

.footer {
    padding: 2rem 0;
    background-color: #1a1a1a;
    color: #f0f0f0;
}

.footer a {
    color: #e6a756;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

#pagination-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

#pagination-container button {
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border: 1px solid #555;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#pagination-container button:hover {
    background-color: #e6a756;
    color: #1a1a1a;
}

#pagination-container button.active {
    background-color: #e6a756;
    color: #1a1a1a;
}

#pagination-container button:disabled {
    background-color: #222;
    color: #555;
    cursor: not-allowed;
}

@keyframes rankUp {
    0% { background-color: rgba(76, 175, 80, 0.5); }
    100% { background-color: transparent; }
}

@keyframes rankDown {
    0% { background-color: rgba(244, 67, 54, 0.5); }
    100% { background-color: transparent; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.rank-up {
    animation: rankUp 2s ease-out;
}

.rank-down {
    animation: rankDown 2s ease-out;
}

.fade-in {
    animation: fadeIn 1s ease-in;
}
