/* GingaFoot API - Estilo base compatível com o tema escuro */

.ginga-matchs,
.ginga-classement {
    background: #0d0d0d;
    color: #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ginga-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    color: #fff;
}

.ginga-bar {
    display: inline-block;
    width: 4px;
    height: 16px;
    background: #00e676;
    border-radius: 2px;
}

.ginga-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.ginga-filter {
    background: transparent;
    border: 1px solid #333;
    color: #aaa;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.ginga-filter:hover,
.ginga-filter.active {
    background: #00e676;
    border-color: #00e676;
    color: #000;
    font-weight: 600;
}

/* Match cards */
.ginga-match-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ginga-match-card {
    background: #161616;
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ginga-match-time {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 12px;
}

.ginga-match-time .time {
    color: #00e676;
    font-weight: 600;
}

.ginga-match-time .comp {
    color: #888;
    text-transform: uppercase;
    font-size: 11px;
}

.ginga-match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ginga-match-teams .team {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.ginga-match-teams .team.away {
    justify-content: flex-end;
    text-align: right;
}

.ginga-match-teams .team img {
    border-radius: 50%;
    object-fit: contain;
}

.ginga-match-teams .score {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    min-width: 50px;
    text-align: center;
}

/* Classement table */
.ginga-table-wrap {
    overflow-x: auto;
}

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

.ginga-table th {
    text-align: left;
    padding: 8px 6px;
    color: #888;
    font-weight: 500;
    font-size: 12px;
    border-bottom: 1px solid #222;
}

.ginga-table td {
    padding: 10px 6px;
    border-bottom: 1px solid #1a1a1a;
}

.ginga-table .rank {
    width: 30px;
    color: #888;
}

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

.ginga-table .team img {
    border-radius: 50%;
    object-fit: contain;
}

.ginga-table .pts {
    font-weight: 700;
    color: #00e676;
    text-align: right;
}

.ginga-empty {
    padding: 20px;
    text-align: center;
    color: #888;
    background: #161616;
    border-radius: 10px;
}
