/**
 * Football DB - Frontend Styles
 */

.fdb-league-table {
    margin: 20px 0;
}

.fdb-table-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.fdb-season {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

.fdb-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.fdb-table th,
.fdb-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.fdb-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.fdb-table tbody tr:hover {
    background-color: #f9f9f9;
}

.fdb-table tbody tr:first-child {
    background-color: #e8f5e9;
}

.fdb-club-players {
    margin: 20px 0;
}

.fdb-players-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.fdb-position-filter {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

.fdb-players-list {
    list-style: none;
    padding: 0;
}

.fdb-player-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.fdb-player-item strong {
    font-size: 1.1em;
    margin-right: 10px;
}

.fdb-player-position,
.fdb-player-nationality,
.fdb-player-birthdate {
    padding: 3px 8px;
    background-color: #f0f0f0;
    border-radius: 3px;
    font-size: 0.9em;
}

.fdb-matches {
    margin: 20px 0;
}

.fdb-matches-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.fdb-matchday {
    font-size: 0.9em;
    color: #666;
    margin-left: 10px;
}

.fdb-matches-list {
    list-style: none;
    padding: 0;
}

.fdb-match-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.fdb-match-date {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 8px;
}

.fdb-match-teams {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.fdb-home-team,
.fdb-away-team {
    font-weight: bold;
}

.fdb-match-result {
    font-size: 1.2em;
    font-weight: bold;
    padding: 5px 15px;
    background-color: #f5f5f5;
    border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fdb-table {
        font-size: 0.9em;
    }
    
    .fdb-table th,
    .fdb-table td {
        padding: 5px;
    }
    
    .fdb-match-teams {
        flex-direction: column;
        align-items: flex-start;
    }
}

