/* Estilos para os jogos agendados */
.matches-container {
    width: 100%;
    padding: 1rem 0;
    min-height: 200px;
}

.match-date-header {
    font-size: 1.1rem;
    font-weight: 600;
    color: #3a7bd5;
    margin: 1.5rem 0 0.75rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
    text-transform: capitalize;
}

.matches-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

.match-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    width: 100%;
    box-sizing: border-box;
}

.match-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.match-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #666;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    width: 100%;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 0;
    padding: 0 5px;
}

.team-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 5px;
}

.team-name {
    font-weight: 500;
    text-align: center;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.match-score {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 15px;
    min-width: 60px;
    text-align: center;
    flex-shrink: 0;
}

.match-status {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #e0e0e0;
    font-weight: 500;
}

/* Status específicos */
.match-status.live {
    color: #e74c3c;
    font-weight: 600;
}

.match-status.postponed {
    color: #f39c12;
    font-weight: 600;
}

.match-status.cancelled {
    color: #7f8c8d;
    text-decoration: line-through;
}

.match-status.suspended {
    color: #e67e22;
    font-weight: 600;
}

/* Estado vazio */
.empty-state {
    text-align: center;
    padding: 2rem 1rem;
    color: #666;
    display: none;
}

.empty-state i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 1rem;
    display: block;
}

.empty-state h3 {
    margin: 0.5rem 0;
    color: #444;
}

.empty-state p {
    margin: 0.5rem 0 0;
    color: #777;
}

/* Responsividade */
@media (max-width: 768px) {
    .matches-group {
        grid-template-columns: 1fr;
    }
    
    .match-card {
        padding: 12px;
    }
    
    .match-score {
        font-size: 1.3rem;
        min-width: 50px;
    }
    
    .team-logo {
        width: 35px;
        height: 35px;
    }
    
    .team-name {
        font-size: 0.85rem;
    }
}

/* Modo escuro */
.dark-mode .match-card {
    background: #2d2d2d;
    border-color: #444;
    color: #eee;
}

.dark-mode .match-header,
.dark-mode .match-status {
    color: #aaa;
}

.dark-mode .match-status {
    border-top-color: #444;
}

.dark-mode .match-date-header {
    color: #5d9cec;
    border-bottom-color: #444;
}

.dark-mode .empty-state {
    color: #aaa;
}

.dark-mode .empty-state h3 {
    color: #ddd;
}

.dark-mode .empty-state p {
    color: #999;
}
