/* Enhanced Schedule Page Styles */

/* Animations */
@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Main Layout */
main {
    padding:0;
    display: flex;
    gap: 20px;
}

.container {
    width:70%;
}

.sidebar-scheduler {
    width:30%;
}

/* Header Styles */
.entry-header {
    margin-bottom: 30px;
    text-align: center;
}

.entry-title {
    color: #2c3e50;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.schedule-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    flex-wrap: wrap;
}

.schedule-stats span {
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #e9ecef;
}

/* Date Tabs */
.schedule-date-tabs-v2 {
    margin-bottom: 25px;
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tab-buttons-wrapper {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tab-buttons-wrapper::-webkit-scrollbar {
    height: 6px;
}

.tab-buttons-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.tab-buttons-wrapper::-webkit-scrollbar-thumb {
    background: #007cba;
    border-radius: 3px;
}

.tab-btn-v2 {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
    padding: 10px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
}

.tab-btn-v2:hover {
    border-color: #007cba;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,124,186,0.2);
}

.tab-btn-v2.active {
    background: linear-gradient(135deg, #007cba, #005a87);
    color: white;
    border-color: #007cba;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,124,186,0.3);
}

.tab-label {
    font-size: 12px;
    margin-bottom: 2px;
}

.tab-date {
    font-size: 14px;
    font-weight: bold;
}

/* Action Bar */
.schedule-action-bar-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex-wrap: wrap;
    gap: 15px;
}

.match-schedule-filters-v2 {
    flex: 1;
}

.schedule-filter-form-v2 {
    display: flex;
        align-items: stretch;
        gap: 10px;
        flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-weight: 600;
    color: #2c3e50;
    white-space: nowrap;
}

.league-select {
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    min-width: 200px;
    transition: border-color 0.3s ease;
}

.league-select:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0,124,186,0.1);
}

.filter-submit-btn,
.clear-filter-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.filter-submit-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.filter-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40,167,69,0.3);
}

.clear-filter-btn {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.clear-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220,53,69,0.3);
}

.quick-actions {
    display: flex;
    gap: 10px;
}

.refresh-btn {
    padding: 10px 15px;
    border: 2px solid #007cba;
    background: white;
    color: #007cba;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    background: #007cba;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,124,186,0.2);
}

/* Schedule List */
.match-schedule-list-v2 {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.schedule-league-header-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 10px;
    border-bottom: 2px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 10;
}

.league-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.league-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.league-name {
    color: #2c3e50;
    margin: 0;
}

.league-matches-count {
    background: #007cba;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.league-actions {
    display: flex;
    gap: 10px;
}

.toggle-league-btn {
    background: #007cba;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-league-btn:hover {
    background: #005a87;
    transform: scale(1.1);
}

/* Match Items */
.schedule-match-item-v2 {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease;
    position: relative;
}

.schedule-match-item-v2:hover {
    background: #f8f9fa;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.schedule-match-item-v2:last-child {
    border-bottom: none;
}

.schedule-match-content-v2 {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 20px;
    width: 50%;
}

.schedule-team {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.schedule-team-home {
    justify-content: flex-end;
    text-align: right;
}

.schedule-team-away {
    justify-content: flex-start;
    text-align: left;
}

.schedule-team-logo {
    width: 35px;
    height: 35px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.schedule-team-logo:hover {
    transform: scale(1.1);
}

.schedule-team-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.schedule-match-details-v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.match-time-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width:10%;
}

.schedule-match-time,
.schedule-match-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #666;
}

.schedule-match-time {
    font-weight: bold;
    color: #007cba;
    font-size: 14px;
}

.match-vs {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 0 5px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(255,107,107,0.3);
}

.match-status {
    margin-top: 5px;
}

.status-badge {
    background: #28a745;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.schedule-match-actions {
    display: flex;
    gap: 8px;
    margin-left: 20px;
    flex-shrink: 0;
}

.match-prediction-btn-v2,
.favorite-btn,
.share-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.match-prediction-btn-v2 {
    background: linear-gradient(135deg, #007cba, #005a87);
    color: white;
}

.match-prediction-btn-v2:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,124,186,0.3);
}

.favorite-btn {
    background: #f8f9fa;
    color: #dc3545;
    border: 1px solid #dc3545;
}

.favorite-btn:hover {
    background: #dc3545;
    color: white;
    transform: scale(1.1);
}

.share-btn {
    background: #f8f9fa;
    color: #28a745;
    border: 1px solid #28a745;
}

.share-btn:hover {
    background: #28a745;
    color: white;
    transform: scale(1.1);
}

/* No Matches State */
.schedule-no-matches-v2 {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.no-matches-icon {
    font-size: 4em;
    color: #dee2e6;
    margin-bottom: 20px;
}

.schedule-no-matches-v2 h3 {
    color: #6c757d;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.schedule-no-matches-v2 p {
    color: #6c757d;
    margin-bottom: 25px;
    font-size: 1.1em;
}

.back-to-today-btn {
    background: linear-gradient(135deg, #007cba, #005a87);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.back-to-today-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,124,186,0.3);
}
.page-content {
    background: #fff;
    border-radius: 12px;
    margin: 20px 0;
    padding: 10px;
}
/* Sidebar Widgets */
.schedule-widgets {
    margin-bottom: 20px;
}

.schedule-widget {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.schedule-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.widget-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
    padding-bottom: 10px;
    border-bottom: 2px solid #f8f9fa;
}

.widget-content {
    color: #495057;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f8f9fa;
    transition: background 0.3s ease;
}

.stat-item:hover {
    background: #f8f9fa;
    margin: 0 -10px;
    padding: 10px;
    border-radius: 6px;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    font-weight: 500;
    color: #6c757d;
}

.stat-value {
    font-weight: bold;
    color: #007cba;
    background: #e3f2fd;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 14px;
}

.league-item {
    margin-bottom: 12px;
}

.league-link {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #495057;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.league-link:hover {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-color: #007cba;
    transform: translateX(5px);
    color: #007cba;
}

.league-mini-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.sidebar-scheduler .league-name {
    flex: 1;
    font-weight: 500;
}

.league-count {
    background: #007cba;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #495057;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-weight: 500;
}

.nav-link:hover {
    background: linear-gradient(135deg, #007cba, #005a87);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0,124,186,0.2);
}

.nav-link i {
    width: 16px;
    text-align: center;
}


/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    z-index: 1000;
    animation: slideIn 0.3s ease;
    box-shadow: 0 4px 12px rgba(76,175,80,0.3);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    
}

@media (max-width: 768px) {
    main {
        flex-direction: column;
        gap: 20px;
        padding: 10px;
    }
    .container, .sidebar-scheduler {
        width: 100%;
    }
    
    .entry-title {
    }
    
    .schedule-stats {
        justify-content: center;
        gap: 10px;
    }
    
    .schedule-action-bar-v2 {
        flex-direction: column;
        align-items: stretch;
    }
    
    .schedule-filter-form-v2 {
    }
    
    .league-select {
        min-width: auto;
        width: 100%;
    }
    
    .quick-actions {
        justify-content: center;
    }
    
    .schedule-match-content-v2 {
        gap: 15px;
    }
    
    .schedule-team {
        text-align: center;
    }
    
    .schedule-team-home {
        justify-content: center;
        text-align: center;
    }
    
    .schedule-match-actions {
        margin-left: 0;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .tab-buttons-wrapper {
        justify-content: flex-start;
    }
    
    .tab-btn-v2 {
        min-width: 70px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .schedule-match-item-v2 {
        flex-direction: column;
        gap:5px;
    }
    .match-time-info {
        width: 100%;
        text-align: center;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    .match-number {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .schedule-match-content-v2 {
        width: 100%;
    }
    
    .schedule-match-actions {
        width: 100%;
        margin-left: 0;
    }
    
    .league-info {
        text-align: center;
        gap: 10px;
        width:90%;
    }
    .match-schedule-list-v2 .league-name {
        width: 65%;
        font-size: 16px;
        line-height: normal;
    }
    .schedule-league-header-v2 {
        gap: 15px;
    }
}

/* Loading States */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Additional CSS for Standing Table */
.standing-table-wrapper {
    overflow-x: auto;
    margin-bottom: 10px;
}

.standing-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.standing-table th,
.standing-table td {
    padding: 12px 8px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}
.standing-table thead tr {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}
.standing-table th {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.standing-table tbody tr:hover {
    background: #f8f9fa;
}

.standing-row.champions-league {
    border-left: 4px solid #007cba;
}

.standing-row.europa-league {
    border-left: 4px solid #ff6b35;
}

.standing-row.conference-league {
    border-left: 4px solid #28a745;
}

.standing-row.relegation {
    border-left: 4px solid #dc3545;
}

.standing-row.round1 {
    border-left: 4px solid #007cba;
}

.standing-row.round2 {
    border-left: 4px solid #ffc107;
}

.rank-cell {
    font-weight: bold;
    color: #2c3e50;
}

.team-cell {
    text-align: left !important;
    font-weight: 600;
}

.points-cell {
    background: #e3f2fd;
    color: #007cba;
    font-weight: bold;
}

.goal-diff.positive {
    color: #28a745;
}

.goal-diff.negative {
    color: #dc3545;
}

.forme-results {
    display: flex;
    gap: 2px;
    justify-content: center;
}

.forme-results .win,
.forme-results .lose,
.forme-results .draw {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: white;
}

.forme-results .win {
    background: #28a745;
}

.forme-results .lose {
    background: #dc3545;
}

.forme-results .draw {
    background: #6c757d;
}

.standing-legend {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.note-round {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.it-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.it-note:last-child {
    margin-bottom: 0;
}

.champions-league-dot,
.europa-league-dot,
.conference-league-dot,
.relegation-dot,
.round1,
.round2 {
    width: 16px;
    height: 16px;
    border-radius: 2px;
}

.champions-league-dot {
    background: #007cba;
}

.europa-league-dot {
    background: #ff6b35;
}

.conference-league-dot {
    background: #28a745;
}

.relegation-dot {
    background: #dc3545;
}

.round1 {

}

.round2 {
}

.note-txt {
    font-size: 13px;
    color: #495057;
}

.mt10 {
    margin-top: 10px;
}

.flexbox {
    display: flex;
    align-items: center;
}

/* Responsive */
@media (max-width: 768px) {
    .standing-table {
        font-size: 12px;
    }
    
    .standing-table th,
    .standing-table td {
        padding: 8px 4px;
    }
    
    .team-cell {
        min-width: 120px;
    }
}
/* ... existing code ... */

/* League Detail Page Styles */
.league-page-article {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.league-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.league-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.league-detail .league-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.league-meta h1.entry-title {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 28px;
    font-weight: bold;
}

.country {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 16px;
}

.country-flag {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

.season-selector {
    text-align: center;
}

.season-selector p {
    margin: 0 0 10px 0;
    font-weight: 600;
    color: #2c3e50;
}

.season-select {
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    min-width: 180px;
    transition: border-color 0.3s ease;
}

.season-select:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0,124,186,0.1);
}

/* League Tabs */
.league-tabs {
    display: grid;
    gap: 5px;
    margin-bottom: 20px;
    background: #f8f9fa;
    border-radius: 10px;
        grid-template-columns: repeat(6, 1fr);
}

.tab-button {
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: #6c757d;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.tab-button h2 {font-size:15px;}
.tab-button:hover {
    background: #e9ecef;
    color: #495057;
}

.tab-button.active {
    background: linear-gradient(135deg, #007cba, #005a87);
    color: white;
    box-shadow: 0 2px 4px rgba(0,124,186,0.3);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

/* Round Buttons */
.round-buttons {
    gap: 8px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
}

.round-button {
    padding: 8px 16px;
    border: 2px solid #ddd;
    background: white;
    color: #495057;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.round-button:hover {
    border-color: #007cba;
    color: #007cba;
}

.round-button.active {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 20px;
}

.schedule-table,
.standings-table,
.stats-table,
.scores-table,
.timing-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-size: 14px;
}

.schedule-table th,
.standings-table th,
.stats-table th,
.scores-table th,
.timing-table th,
.schedule-table td,
.standings-table td,
.stats-table td,
.scores-table td,
.timing-table td {
    padding: 6px;
    text-align: center;
    border: 1px solid #f0f0f0;
}

.schedule-table thead tr,
.standings-table thead tr,
.stats-table thead tr,
.scores-table thead tr,
.timing-table thead tr {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.schedule-table th,
.standings-table th,
.stats-table th,
.scores-table th,
.timing-table th {
    font-weight: 600;
    color: #2c3e50;
    font-size: 13px;
}

.schedule-table tbody tr:hover,
.standings-table tbody tr:hover,
.stats-table tbody tr:hover,
.scores-table tbody tr:hover,
.timing-table tbody tr:hover {
    background: #f8f9fa;
}

/* Team Column */
.team-col {
        min-width: auto;
}

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

.team-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.team-info a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
}

.team-info a:hover {
    color: #007cba;
}

/* Score Columns */
.score, .ht-score {
    font-weight: bold;
    color: #007cba;
    font-size: 15px;
    min-width: 55px;
}

.points {
    background: #e3f2fd;
    color: #007cba;
    font-weight: bold;
}

/* Odds Columns */
.odd {
    font-size: 12px;
    color: #6c757d;
    min-width:50px;
}

/* Form Results */
.form {
    display: flex;
    gap: 2px;
    justify-content: center;
}

.form-box {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: white;
}

.form-box.win {
    background: #28a745;
}

.form-box.draw {
    background: #6c757d;
}

.form-box.lose {
    background: #dc3545;
}

.form-box.unknown {
    background: #ffc107;
    color: #212529;
}

/* Scores Table Colors */
.scores-table .win {
    background: #d4edda;
    color: #155724;
}

.scores-table .draw {
    background: #f8f9fa;
    color: #495057;
}

.scores-table .lose {
    background: #f8d7da;
    color: #721c24;
}

.scores-table .sub-header {
    background: #e9ecef;
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #6c757d;
}

.error-message p {
    font-size: 16px;
    margin: 0;
}

/* Clear Fix */
.clear {
    clear: both;
}

/* Responsive Design for League Page */
@media (max-width: 768px) {
    .league-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .league-info {
        flex-direction: column;
        text-align: center;
    }
    
    .league-tabs {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .round-buttons {
        justify-content: center;
            grid-template-columns: repeat(5, 1fr);
    }
    
    .schedule-table,
    .standings-table,
    .stats-table,
    .scores-table,
    .timing-table {
        font-size: 12px;
    }
    
    .schedule-table th,
    .standings-table th,
    .stats-table th,
    .scores-table th,
    .timing-table th,
    .schedule-table td,
    .standings-table td,
    .stats-table td,
    .scores-table td,
    .timing-table td {
        padding: 8px 4px;
    }
    
    .team-col {
        min-width: 120px;
    }
    
    .league-detail .league-logo {
        width: 50px;
        height: 50px;
    }
    
    .league-meta h1.entry-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .league-tabs {
    }
    
    .tab-button {
        text-align: center;
    }
    
    .round-buttons {
        gap: 5px;
    }
    
    .round-button {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .team-info {
        gap: 4px;
        text-align: center;
    }

}

.league-news h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid rgba(59, 130, 246, 0.2);
    position: relative;
}
.league-news h3:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

.news-thumbnail {
    flex-shrink: 0;
    width: 150px;
    height: 100px;
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.news-content {
    flex: 1;
}

.news-content h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.news-content h4 a {
    color: #333;
    text-decoration: none;
}

.news-content h4 a:hover {
    color: #007cba;
}

.news-excerpt {
    margin: 0 0 10px 0;
    color: #666;
    line-height: 1.5;
}

.news-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #999;
}

.load-more-btn {
    margin: 20px auto;
    padding: 10px 20px;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: block;
}

.load-more-btn:hover {
    background: #005a87;
}

.load-more-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.no-news, .error {
    text-align: center;
    padding: 40px;
    color: #666;
}