/* VôleiRio Placares Premium Styles */

.voleirio-container {
    font-family: 'Inter', 'Roboto', sans-serif;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 24px;
    margin: 20px 0;
    color: #333;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.voleirio-header h2 {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    border-bottom: 2px solid #edf2f7;
    padding-bottom: 12px;
}

.voleirio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    background: #f7fafc;
    padding: 16px;
    border-radius: 12px;
}

.voleirio-filters select,
.voleirio-filters input[type="text"] {
    flex: 1;
    min-width: 150px;
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #4a5568;
    background-color: #fff;
    transition: all 0.3s ease;
    outline: none;
}

.voleirio-filters select:hover,
.voleirio-filters input[type="text"]:hover {
    border-color: #cbd5e0;
}

.voleirio-filters select:focus,
.voleirio-filters input[type="text"]:focus {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

.voleirio-loading {
    text-align: center;
    padding: 40px;
    color: #a0aec0;
    font-size: 16px;
}

/* Tabela Premium */
.voleirio-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.voleirio-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 15px;
}

.voleirio-table th {
    background-color: #f7fafc;
    color: #4a5568;
    font-weight: 600;
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.05em;
}

.voleirio-table td {
    padding: 16px;
    border-bottom: 1px solid #edf2f7;
    color: #2d3748;
    vertical-align: middle;
}

.voleirio-table tbody tr {
    transition: background-color 0.2s ease;
}

.voleirio-table tbody tr:hover {
    background-color: #fbfdff;
}

.voleirio-table tbody tr:last-child td {
    border-bottom: none;
}

/* Badges e Destaques */
.posicao-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #edf2f7;
    color: #4a5568;
    font-weight: 700;
    font-size: 14px;
}

.posicao-1 .posicao-badge {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: #fff;
    box-shadow: 0 4px 10px rgba(253, 160, 133, 0.3);
}

.posicao-2 .posicao-badge {
    background: linear-gradient(135deg, #e2e8f0 0%, #a0aec0 100%);
    color: #fff;
}

.posicao-3 .posicao-badge {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: #fff;
}

.equipe-nome {
    font-weight: 600;
    color: #2b6cb0;
}

.atleta-nome {
    font-size: 13px;
    color: #718096;
    display: block;
    margin-top: 4px;
}

.pontos-destaque {
    font-weight: 700;
    color: #38a169;
}

/* Cards para Quadra */
.jogo-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.jogo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.jogo-placar {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    justify-content: center;
}

.time {
    font-weight: 600;
    font-size: 16px;
    width: 40%;
}

.time.mandante { text-align: right; }
.time.visitante { text-align: left; }

.placar-box {
    background: #1a202c;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 2px;
}

.jogo-info {
    font-size: 12px;
    color: #a0aec0;
    text-align: right;
    width: 20%;
}

@media (max-width: 768px) {
    .jogo-card {
        flex-direction: column;
        gap: 16px;
    }
    .jogo-info {
        width: 100%;
        text-align: center;
    }
    .time {
        width: auto;
    }
}
