:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --accent-color: #0066cc;
    --font-stack: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: var(--font-stack);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

header, main, footer {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    border-bottom: 1px solid #eee;
}

footer {
    margin-top: 40px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


/* Buttons */
button, .btn {
    font-family: var(--font-stack);
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button:hover, .btn:hover {
    background-color: #0052a3;
}

button:active, .btn:active {
    background-color: #003d80;
}

button:disabled, .btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

button:focus-visible, .btn:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

.btn {
    display: inline-block;
    text-decoration: none;
}

.btn:hover {
    text-decoration: none;
}



/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1rem;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #dddddd;
}

th {
    background-color: var(--accent-color);
    color: white;
    font-weight: 600;
}

tbody tr:nth-child(even) {
    background-color: #f5f5f5;
}

tbody tr:hover {
    background-color: #eaf3ff;
}


/* Table Flags */
.ai {
    background-color: #cf0000;
    color: #ffffff;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 4px;
}