/* --- DVC Football Data Style (v7.2.1) --- */

/* --- General Styles --- */
.dvcf-container {
    max-width: 960px;
    margin: 30px auto;
    font-family: "Be Vietnam Pro", sans-serif;
    background-color: #ffffff;
    border: 1px solid #e0e6f0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
}
.dvcf-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.dvcf-league-logo {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}
.dvcf-header h2 {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    text-align: center;
}
.dvcf-team-logo {
    width: 24px;
    height: 24px;
}
.dvcf-error-message {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 15px;
    border-radius: 4px;
}

/* --- Standings Table Styles (Bảng xếp hạng) --- */
.dvcf-standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.dvcf-standings-table th, 
.dvcf-standings-table td {
    padding: 12px 8px;
    text-align: center;
}
.dvcf-standings-table th {
    background-color: #f8f9fa;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
}
.dvcf-standings-table tbody tr {
    border-bottom: 1px solid #f1f1f1;
}
.dvcf-standings-table tbody tr:last-child {
    border-bottom: none;
}
.dvcf-standings-table .dvcf-team {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}
.dvcf-standings-table .dvcf-rank {
    font-weight: bold;
    width: 40px;
}
.dvcf-standings-table .dvcf-points {
    font-weight: bold;
    color: #000;
}
.dvcf-standings-table .dvcf-played,
.dvcf-standings-table .dvcf-win,
.dvcf-standings-table .dvcf-draw,
.dvcf-standings-table .dvcf-lose,
.dvcf-standings-table .dvcf-goals,
.dvcf-standings-table .dvcf-points {
    width: 50px;
}

/* --- Fixtures List Styles (Lịch thi đấu) --- */
.dvcf-filters-bar { display: flex; flex-wrap: wrap; gap: 20px; padding: 15px; background-color: #f8f9fa; border-radius: 6px; margin-bottom: 20px; }
.dvcf-filter-group { display: flex; flex-direction: column; gap: 5px; }
.dvcf-filter-group label { font-size: 12px; font-weight: 600; color: #6c757d; }
.dvcf-filter-group select, .dvcf-filter-group input[type="date"] { padding: 8px 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; }
.dvcf-round-title { background-color: #f8f9fa; padding: 8px 15px; margin: 20px 0 10px 0; font-size: 14px; font-weight: 600; color: #333; border-radius: 4px; }
.dvcf-fixtures-list { display: flex; flex-direction: column; gap: 1px; }
.dvcf-match-item { background-color: #fff; border-bottom: 1px solid #f1f1f1; padding: 15px 10px; }
.dvcf-match-item:last-child { border-bottom: none; }
.dvcf-match-info { font-size: 12px; color: #6c757d; text-align: center; margin-bottom: 12px; display: flex; justify-content: space-between; }
.dvcf-match-teams { display: flex !important; align-items: center; justify-content: space-between; font-size: 16px; font-weight: 500; }
.dvcf-team-home, .dvcf-team-away { display: flex; align-items: center; gap: 10px; flex: 1; }
.dvcf-team-home { justify-content: flex-end; text-align: right; }
.dvcf-team-away { justify-content: flex-start; text-align: left; }
.dvcf-match-score { padding: 0 15px; text-align: center; }
.dvcf-score-final { font-size: 20px; font-weight: bold; color: #333; background-color: #f8f9fa; padding: 5px 10px; border-radius: 4px; }
.dvcf-score-time { font-size: 14px; font-weight: 600; color: #6c757d; }

/* Responsive */
@media (max-width: 600px) {
    .dvcf-team-home span, .dvcf-team-away span {
        font-size: 14px;
    }
    .dvcf-match-teams {
        font-size: 14px;
    }
}

/* Nút Bỏ lọc */
.dvcf-clear-button {
    display: inline-block;
    background-color: #6c757d;
    color: #fff !important;
    padding: 4px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    margin: 25px 0 0;
}

.dvcf-clear-button:hover {
    background-color: #5a6268;
    color: #fff !important;
}
/* --- KẾT THÚC PHẦN MỚI --- */

/* --- PHẦN MỚI: Bảng Vua phá lưới --- */
.dvcf-topscorers-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.dvcf-topscorers-table th, 
.dvcf-topscorers-table td {
    padding: 12px 8px;
    text-align: center;
    border-bottom: 1px solid #f1f1f1;
}
.dvcf-topscorers-table th {
    background-color: #f8f9fa;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
}
.dvcf-topscorers-table .dvcf-player {
    text-align: left;
    display: flex;
    align-items: center;
}
.dvcf-player-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
}
.dvcf-player-info {
    display: flex;
    flex-direction: column;
}
.dvcf-player-name {
    font-weight: 600;
    color: #000;
}
.dvcf-player-nationality {
    font-size: 12px;
    color: #6c757d;
}
.dvcf-team-logo-small {
    width: 24px;
    height: 24px;
}
.dvcf-topscorers-table .dvcf-team-short { width: 60px; }
.dvcf-topscorers-table .dvcf-goals, 
.dvcf-topscorers-table .dvcf-assists, 
.dvcf-topscorers-table .dvcf-played { width: 80px; }
.dvcf-topscorers-table .dvcf-goals strong { font-size: 16px; }