/* 418 Football Sports Section Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #f6f6f6;
    color: #333;
    line-height: 1.4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    color: #1e3a8a;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.nav-link:hover {
    border-bottom-color: #1e3a8a;
}

/* Sports Tabs */
.sports-tabs {
    display: flex;
    gap: 2px;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    background-color: #f5f5f5;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    border-radius: 4px 4px 0 0;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-btn:hover {
    background-color: #e5e5e5;
    color: #333;
}

.tab-btn.active {
    background-color: #1e3a8a;
    color: white;
}

.tab-btn:disabled,
.tab-btn.disabled {
    background-color: #f9f9f9;
    color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.tab-btn.disabled:hover {
    background-color: #f9f9f9;
    color: #ccc;
    cursor: not-allowed;
}

/* Main Content */
.main {
    background-color: #fff;
    margin: 20px 0;
    padding: 30px 0;
}

.article-header {
    margin-bottom: 30px;
}

.updated-time {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.article-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.article-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 15px;
}

.article-links {
    font-size: 14px;
    color: #666;
}

.article-links a {
    color: #1e3a8a;
    text-decoration: none;
}

.article-links a:hover {
    text-decoration: underline;
}

/* Controls */
.controls {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.control-group label {
    font-weight: bold;
    color: #333;
}

.btn-control {
    background-color: #1e3a8a;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.btn-control:hover {
    background-color: #1e40af;
}

/* Predictions Table */
.predictions-table {
    overflow-x: auto;
    margin-bottom: 30px;
}

.nfl-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background-color: #fff;
}

.nfl-table th {
    background-color: #f5f5f5;
    padding: 12px 8px;
    text-align: left;
    font-weight: bold;
    color: #333;
    border-bottom: 2px solid #ddd;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nfl-table td {
    padding: 12px 8px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.team-row:hover {
    background-color: #f9f9f9;
}

.elo-rating {
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

.team-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.team-logo {
    width: 24px;
    height: 24px;
}

.team-name {
    font-weight: bold;
    color: #333;
}

.team-abbr {
    color: #666;
    font-size: 12px;
}

.team-record {
    color: #666;
    font-size: 12px;
}

.division {
    color: #666;
    font-size: 12px;
}

.playoff-chance,
.division-chance,
.bye-chance,
.superbowl-chance {
    font-weight: bold;
    text-align: center;
}

.playoff-chance {
    color: #2e8b57;
}

.division-chance {
    color: #4169e1;
}

.bye-chance {
    color: #ff8c00;
}

.superbowl-chance {
    color: #dc143c;
}

.matchup {
    font-size: 12px;
    color: #666;
    text-align: center;
}

/* Methodology */
.methodology {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.methodology a {
    color: #1e3a8a;
    text-decoration: none;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        gap: 20px;
    }

    .article-title {
        font-size: 28px;
    }

    .article-subtitle {
        font-size: 16px;
    }

    .control-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .nfl-table {
        font-size: 12px;
    }

    .nfl-table th,
    .nfl-table td {
        padding: 8px 4px;
    }

    .team-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* Color coding for different probability ranges */
.playoff-chance:contains(">99%"),
.division-chance:contains(">99%") {
    background-color: #e8f5e8;
}

.playoff-chance:contains("90%"),
.playoff-chance:contains("80%"),
.playoff-chance:contains("70%") {
    background-color: #f0f8f0;
}

.superbowl-chance:contains("20%"),
.superbowl-chance:contains("10%") {
    background-color: #fff5f5;
}
