/* nfl_rankings_styles.css */

/* General body styling for the rankings page */
body {
    color: #333;  /* Dark grey text color */
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Ensure the content is centered and responsive */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header styles */
h1 {
    color: #fff;  /* Make heading white to contrast with primary background color */
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
}

/* Flexbox for side-by-side tables */
.rankings-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* Each table takes up 50% of the container width */
.rankings-table {
    flex: 1;
}

/* Modern Table Styling */
.team-rankings-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Table headers */
.team-rankings-table th {
    background-color: #007bff;
    color: white;
    padding: 12px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}

/* Table rows */
.team-rankings-table td {
    padding: 12px;
    text-align: center;
    font-size: 14px;
    background-color: white;
    color: #555;
    border-bottom: 2px solid #f4f4f9;
}

/* Rank coloring */
.team-rankings-table td.rank-best {
    background-color: #28a745;
    color: white !important;
    font-weight: bold;
}

.team-rankings-table td.rank-good {
    background-color: #6c757d;
    color: white !important;
    font-weight: bold;
}

.team-rankings-table td.rank-average {
    background-color: #ffc107;
    color: #333 !important;
    font-weight: bold;
}

.team-rankings-table td.rank-worst {
    background-color: #dc3545;
    color: white !important;
    font-weight: bold;
}

/* Hover effect on rows */
.team-rankings-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Navigation links */
.navigation-links {
    text-align: center;
    margin-bottom: 20px;
}

.navigation-links .btn {
    background-color: #fff;
    color: #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
    transition: background-color 0.3s;
}

.navigation-links .btn:hover {
    background-color: #007bff;
    color: white;
}

/* Footer styles */
.footer {
    text-align: center;
    margin-top: 50px;
}

.footer p {
    font-size: 14px;
    color: #555;
}
