.tabs {
    margin-bottom: 20px;
}
.tab-btn {
    background: #eee;
    border: 1px solid #ccc;
    border-bottom: none;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 1em;
    margin-right: 4px;
    border-radius: 8px 8px 0 0;
    outline: none;
    transition: background 0.2s;
}
.tab-btn.active {
    background: #fff;
    border-bottom: 2px solid #fff;
    font-weight: bold;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
body.dark .tab-btn {
    background: #232323;
    color: #e0e0e0;
    border-color: #444;
}
body.dark .tab-btn.active {
    background: #181818;
    border-bottom: 2px solid #181818;
}
body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    margin: 0;
    padding: 0;
    transition: background 0.3s, color 0.3s;
.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.nav-links {
    margin-bottom: 10px;
    font-size: 1.1em;
}
.nav-links a {
    color: #0074d9;
    text-decoration: none;
    margin: 0 4px;
}
.nav-links a:hover {
    text-decoration: underline;
}
body.dark .nav-links a {
    color: #66aaff;
}
}
#darkModeToggle {
    background: #222;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s, color 0.3s;
}
#darkModeToggle:hover {
    background: #444;
}
.team-logo {
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin-right: 8px;
}
.sortable {
    cursor: pointer;
    text-decoration: underline;
}
body.dark {
    background: #181818;
    color: #e0e0e0;
}
body.dark .container {
    background: #232323;
    color: #e0e0e0;
}
body.dark th {
    background: #222;
}
body.dark td, body.dark th {
    border-color: #333;
}
body.dark #darkModeToggle {
    background: #e0e0e0;
    color: #222;
}
.container {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
h1 {
    text-align: center;
    margin-bottom: 30px;
}
.league {
    margin-bottom: 40px;
}
.league h2 {
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
}
.division {
    margin-bottom: 20px;
}
.division h3 {
    margin-bottom: 10px;
    color: #444;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
th {
    background: #f0f0f0;
}
tr:nth-child(even) {
    background: #fafafa;
}
@media (max-width: 600px) {
    .container {
        padding: 10px;
    }
    th, td {
        font-size: 12px;
        padding: 4px;
    }
}
