/* League Standings Table Styles - Pure CSS (No JavaScript) */
.simple-standings-wrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 20px 0;
}

.simple-standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.simple-standings-header th {
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
    padding: 12px 8px;
    text-align: left;
    border-bottom: 2px solid #e9ecef;
}

.pos-header, .stat-header, .points-header {
    text-align: center !important;
    width: 50px;
}

.team-header {
    min-width: 200px;
}

.simple-standings-row {
    border-bottom: 1px solid #f1f3f4;
    transition: background-color 0.2s ease;
}

.simple-standings-row:hover {
    background-color: #f8f9fa;
}

.pos-cell, .stat-cell, .points-cell {
    padding: 12px 8px;
    text-align: center;
    font-weight: 500;
}

.team-cell {
    padding: 12px;
}

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

.team-logo {
    border-radius: 4px;
    flex-shrink: 0;
}

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

.pos-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    color: #666;
    background: #f1f3f4;
}

/* Position-based styling */
.pos-number.champions-league {
    background: #4CAF50;
    color: white;
}

.pos-number.europa-league {
    background: #FF9800;
    color: white;
}

.pos-number.relegation {
    background: #f44336;
    color: white;
}

.stat-cell.win { color: #4CAF50; }
.stat-cell.draw { color: #FF9800; }
.stat-cell.loss { color: #f44336; }
.stat-cell.gd { font-weight: 600; }

.points-value {
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

/* Legend */
.simple-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 16px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    font-size: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-color.champions-league { background: #4CAF50; }
.legend-color.europa-league { background: #FF9800; }
.legend-color.relegation { background: #f44336; }

/* Error and Empty States */
.standings-error-state-modern,
.simple-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.error-icon-modern {
    width: 48px;
    height: 48px;
    color: #f44336;
    margin-bottom: 16px;
}

.error-title-modern,
.simple-empty-state h3 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 18px;
}

.error-description-modern,
.simple-empty-state p {
    margin: 0 0 20px 0;
    color: #666;
}

.error-retry-btn-modern {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.error-retry-btn-modern:hover {
    background: #0056b3;
}

.error-retry-btn-modern svg {
    width: 16px;
    height: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .simple-standings-table {
        font-size: 12px;
    }
    
    .simple-standings-header th,
    .pos-cell, .stat-cell, .points-cell {
        padding: 8px 4px;
    }
    
    .team-cell {
        padding: 8px;
    }
    
    .team-info {
        gap: 6px;
    }
    
    .team-logo {
        width: 20px;
        height: 20px;
    }
    
    .simple-legend {
        flex-wrap: wrap;
        gap: 10px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .simple-standings-wrapper {
        margin: 10px 0;
        border-radius: 4px;
    }
    
    .simple-standings-table {
        font-size: 11px;
    }
    
    .stat-header:nth-child(4),
    .stat-cell:nth-child(4),
    .stat-header:nth-child(5),
    .stat-cell:nth-child(5) {
        display: none; /* Hide draws and losses on small screens */
    }
} 