/* Competitie Standen Table Styles - VVIVS Theme */
.competitie-standen-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.competitie-standen-table th,
.competitie-standen-table td {
    border: 1px solid #1B4E0C;
    padding: 12px 10px;
    text-align: center;
    color: #000000;
}

.competitie-standen-table th {
    background-color: #1B4E0C;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.competitie-standen-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.competitie-standen-table tbody tr:nth-child(even) {
    background-color: #e8f5e9;
}

.competitie-standen-table tbody tr:hover {
    background-color: #c8e6c9;
    transition: background-color 0.2s ease;
}

/* Column specific styling */
.competitie-standen-table .pos {
    width: 5%;
    font-weight: bold;
    text-align: center;
}

.competitie-standen-table .team {
    width: 25%;
    text-align: left;
    font-weight: 600;
}

.competitie-standen-table .gespeeld,
.competitie-standen-table .gewonnen,
.competitie-standen-table .gelijk,
.competitie-standen-table .verloren {
    width: 8%;
}

.competitie-standen-table .doelpunten {
    width: 10%;
}

.competitie-standen-table .doelsaldo {
    width: 8%;
}

.competitie-standen-table .punten {
    width: 8%;
    background-color: rgba(27, 78, 12, 0.1);
}

.competitie-standen-table .punten strong {
    color: #1B4E0C;
    font-size: 16px;
}

/* Updated timestamp */
.competitie-standen-updated {
    text-align: right;
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

/* Error message */
.competitie-standen-error {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
    padding: 15px;
    margin: 20px 0;
    color: #c62828;
}

/* Competition info */
.competitie-info {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin: -10px 0 20px 0;
}

/* Highlight VV IVS row */
.competitie-standen-table tr.highlight-ivs {
    background-color: #fff9c4 !important;
    font-weight: 600;
}

.competitie-standen-table tr.highlight-ivs:hover {
    background-color: #fff59d !important;
}

/* Copyright notice */
.competitie-standen-copyright {
    text-align: center;
    font-size: 11px;
    color: #999;
    margin-top: 15px;
}

/* Heading styling */
h2 + .competitie-info {
    margin-top: -10px;
}

h2 + .competitie-standen-table {
    margin-top: 15px;
}

/* Responsive design */
@media (max-width: 768px) {
    .competitie-standen-table {
        font-size: 11px;
    }
    
    .competitie-standen-table th,
    .competitie-standen-table td {
        padding: 8px 4px;
    }
    
    .competitie-standen-table .team {
        font-size: 12px;
    }
}

/* Mobile: Stack table for very small screens */
@media (max-width: 480px) {
    .competitie-standen-table {
        font-size: 10px;
    }
    
    .competitie-standen-table th,
    .competitie-standen-table td {
        padding: 6px 2px;
    }
}
