/* styles-dark.css */

/* Base Styles Override */
body {
    background-color: #121212;
    color: #e0e0e0;
}

h1, h2 {
    color: #ffffff;
}

form {
    background-color: #1e1e1e;
    padding: 15px;
    border-radius: 8px;
}

label {
    color: #e0e0e0;
}

input[type="number"],
select {
    background-color: #2c2c2c;
    color: #ffffff;
    border: 1px solid #444;
}

input[type="checkbox"] {
    accent-color: #bbf1d5; /* Custom checkbox color */
}

button {
    background-color: #bbf1d5;
    color: #121212;
}

button:hover {
    background-color: #a1e0c3;
}

table.calendar {
    background-color: #1e1e1e;
    color: #e0e0e0;
}

table.calendar th {
    background-color: #2c2c2c;
    color: #ffffff;
}

table.calendar td {
    background-color: #2c2c2c;
    color: #e0e0e0;
    border: 1px solid #444;
}

table.calendar td.today {
    background-color: #057107; /* Enhanced contrast for today */
    border: 2px solid #bbf1d5;
}

.event {
    background: #3a3a3a;
    color: #e0e0e0;
}

.event.special {
    background: #020b3d;
    color: #ffffff;
}

.reset-line {
    color: #ff6b6b;
}

.collapse-button {
    background-color: #bbf1d5;
    color: #121212;
}

.collapse-button:hover {
    background-color: #a1e0c3;
}

/* Scrollbar Styling for Better Aesthetics */
table.calendar td::-webkit-scrollbar {
    width: 8px;
}

table.calendar td::-webkit-scrollbar-track {
    background: #2c2c2c;
}

table.calendar td::-webkit-scrollbar-thumb {
    background-color: #444;
    border-radius: 4px;
}

/* Responsive Adjustments (Optional) */
@media (max-width: 600px) {
    form {
        background-color: transparent;
    }

    table.calendar th, table.calendar td {
        background-color: #1e1e1e;
        color: #e0e0e0;
    }
}

table.calendar td:hover {
    background-color: #3a3a3a; /* Slightly lighter dark gray */
}

.event-link {
    margin-left: 5px;
    font-size: 0.8em;
    color: #82C0FF; /* Softer blue suitable for dark backgrounds */
    text-decoration: none;
    cursor: pointer;
    vertical-align: middle;
}
/* Update Time Text Colors for Dark Mode */
.time-local,
.time-game {
    color: #ffffff; /* Set to white for high contrast */
}

.time-local:hover,
.time-game:hover {
    color: #e0e0e0; /* Slightly lighter shade on hover */
}