body {
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.4;
    margin: 0;
    padding: 20px;
    background-color: #1a1a1a;
    color: #c9c9c9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #222222;
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    border: 1px solid #333;
}

.footer {
    text-align: center;
    margin-top: 20px;
    color: #888;
    font-size: 0.85em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Cinzel Decorative', cursive;
}

h1 {
    text-align: center;
    color: #a30000;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Cinzel Decorative', cursive;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border: 1px solid #444;
}

thead {
    background-color: #2a0a0a;
    color: #ddd;
}

th, td {
    padding: 6px 10px;   /* Reduced vertical padding */
    text-align: left;
    border-bottom: 1px solid #444;
    font-size: 0.95em;   /* Slightly smaller font */
    line-height: 1.2;    /* Tighter line height */
}

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

tr:nth-child(odd) {
    background-color: #252525;
}

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

/* Additional Gothic theme elements */
th {
    border-bottom: 2px solid #5c0000;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: #222;
}

::-webkit-scrollbar-thumb {
    background: #5c0000;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7e0000;
}

/* Focus style for checkboxes */
input[type="checkbox"]:focus {
    outline: 1px solid #7e0000;
    box-shadow: 0 0 3px rgba(255, 0, 0, 0.5);
}

/* Table header with button styles */
.header-with-button span {
    margin-bottom: 3px;
    font-weight: bold;
}

/* Style for header with reset buttons */
.header-with-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.reset-column-btn {
    background-color: #5c0000;
    color: #ddd;
    border: 1px solid #7e0000;
    padding: 2px 7px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.65rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Courier New', Courier, monospace;
}

.reset-column-btn:hover {
    background-color: #7e0000;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.4);
}

/* Status message styles */
#status-message {
    padding: 8px 15px;
    margin-bottom: 15px;
    border-radius: 3px;
    text-align: center;
    font-size: 0.9em;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

.status-success {
    background-color: #1e3a1e;
    color: #7ccc7c;
    border-left: 4px solid #4c9a4c;
}

.status-error {
    background-color: #3a1e1e;
    color: #cc7c7c;
    border-left: 4px solid #9a4c4c;
}

/* Style for checkbox cells */
td input[type="checkbox"] {
    cursor: pointer;
    width: 14px;
    height: 14px;
    display: block;
    margin: 0 auto;
    accent-color: #5c0000;
}