.elecciones-legislativas-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.partido-card {
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.partido-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.partido-card.featured {
    background-color: #f9f9f9;
}

.partido-logo {
    max-width: 80px;
    max-height: 60px;
    object-fit: contain;
}
.featured .partido-nombre {
    font-size: 0.75rem;
    font-weight: 600;
    text-align: left;
}

.standard .partido-nombre {
    font-size: 0.75rem;
    font-weight: 600;
    text-align: left;
}

.partido-nombre:not(.featured) {
    font-size: 0.75rem;
    font-weight: 600;
    text-align: left;
}

.partido-logo-nombre {
    display: flex;
    align-items: center;
    gap: 10px;
}

img.partido-logo {
    max-width: 30px !important;
    height: auto !important;
}

.partido-votos {
    font-weight: 600 !important;
    color: #757575 !important;
    border-right: 1px solid #d5d5d5;
    border-left: 1px solid #d5d5d5;
    font-size: 0.95rem;
}

.partido-porcentajes {
    font-weight: 700!important;
    font-size: 0.95rem;
}

.partido-bancas {
    font-weight: 600 !important;
    color: #757575 !important;
    font-size: 0.95rem;
}

.mesas-info .border-right {
    border-right: 1px solid #d5d5d5 !important;
}


.featured .partido-porcentajes small, .featured .partido-votos small, .featured .partido-bancas small {
    font-size: 0.63rem;
    font-weight: 500;
    color: #6c757d !important;
}

.standard .partido-porcentajes small, .standard .partido-votos small, .standard .partido-bancas small {
    font-size: 0.7rem;
    font-weight: 500;
    color: #6c757d !important;
}

.standard .partido-porcentajes, .standard .partido-votos, .standard .partido-bancas {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6c757d !important;
}



/* Responsive adjustments */
@media (max-width: 576px) {
    .partido-card .partido-nombre {
        font-size: 0.8rem;
    }
    
    .partido-card .partido-votos {
        font-size: 1rem;
    }
    
    .partido-card .partido-porcentaje {
        font-size: 0.9rem;
    }

    .mesas-info .row {
    }

    .mesas-info p {
        font-size: 2rem;
        font-weight: 500;
    }
}