/* Football League Stats - Main Styles */

.fls-standings-wrapper,
.fls-scorers-wrapper,
.fls-assists-wrapper,
.fls-fixtures-wrapper {
    margin: 20px 0;
	    font-family: inherit;

}

.fls-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #f5c6cb;
}

.fls-league-header,
.fls-section-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    color: #fff;
	
}

.fls-league-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}


.fls-league-name,
.fls-section-title{
background-color: #3258a3; 
	margin: 10px 0;
    font-size: 24px;
    font-weight: 700;

}

.fls-league-season {
    font-size: 14px;
    opacity: 0.9;
	
}

.fls-table-responsive {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.fls-standings-table,
.fls-scorers-table,
.fls-assists-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.fls-standings-table thead,
.fls-scorers-table thead,
.fls-assists-table thead {
    background: #f8f9fa;
}

.fls-standings-table th,
.fls-scorers-table th,
.fls-assists-table th {
    padding: 15px 10px;
    text-align: center;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e9ecef;
    font-size: 13px;
    text-transform: uppercase;
}

.fls-standings-table td,
.fls-scorers-table td,
.fls-assists-table td {
    padding: 15px 10px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.fls-standings-table tbody tr:hover,
.fls-scorers-table tbody tr:hover,
.fls-assists-table tbody tr:hover {
    background: #f8f9fa;
}

.fls-rank {
    width: 50px;
    font-weight: 600;
}

.fls-team,
.fls-player {
    text-align: left !important;
}

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

.fls-team-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.fls-team-logo-small {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.fls-player-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.fls-player-details {
    display: flex;
    flex-direction: column;
}

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

.fls-player-nationality {
    font-size: 12px;
    color: #666;
}

.fls-positive {
    color: #28a745;
    font-weight: 600;
}

.fls-negative {
    color: #dc3545;
    font-weight: 600;
}

.fls-highlight {
    color: #667eea;
    font-size: 18px;
}

.fls-points {
    font-weight: 700;
    color: #667eea;
}

.fls-position-1 .fls-rank-number {
    background: #ffd700;
    color: #000;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
}

.fls-position-2 .fls-rank-number,
.fls-position-3 .fls-rank-number,
.fls-position-4 .fls-rank-number {
    background: #667eea;
    color: #fff;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
}

.fls-fixtures-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fls-fixture-item {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.fls-fixture-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.fls-fixture-date {
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.fls-fixture-time {
    margin-left: 10px;
    font-weight: 600;
}

.fls-fixture-match {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.fls-fixture-team {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.fls-home-team {
    flex-direction: row;
}

.fls-away-team {
    flex-direction: row-reverse;
    text-align: right;
}

.fls-fixture-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.fls-fixture-team-name {
    font-weight: 600;
    font-size: 16px;
}

.fls-fixture-score {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.fls-vs {
    color: #999;
    font-size: 18px;
}

.fls-live-badge {
    background: #dc3545;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.fls-fixture-venue {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    color: #666;
}

.fls-last-update {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #999;
}

@media (max-width: 768px) {
    .fls-standings-table th,
    .fls-standings-table td {
        padding: 10px 5px;
        font-size: 12px;
    }
    
    .fls-team-name,
    .fls-player-name {
        font-size: 14px;
    }
    
    .fls-team-logo {
        width: 24px;
        height: 24px;
    }
    
    .fls-fixture-match {
        flex-direction: column;
        gap: 10px;
    }
    
    .fls-fixture-team {
        width: 100%;
        justify-content: center;
    }
}

