﻿#ratificacion-wrapper {
    margin-bottom: 200px;
}


.ratio-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 9 / 16;
    margin: 0 auto;
}

    .ratio-container iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: 12px;
    }


#reformajudicial-wrapper {
    margin-bottom: 200px;
}

#containerRatificacion {
    height: 800px;
    max-width: 100%;
    margin: 0 auto;
}

/* Estilos para el tooltip del mapa */
.votacion {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    min-width: 300px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.votacionEstado {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
    text-align: center;
    color: #ffffff;
}

.votacionSubtitulo {
    font-size: 14px;
    font-weight: normal;
    color: #e0e0e0;
    display: block;
    margin-top: 4px;
}

.votacionCargos {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin: 15px 0;
    color: #ffd700;
    line-height: 1.2;
}

    .votacionCargos br + * {
        font-size: 16px;
        font-weight: normal;
        color: #ffffff;
    }

.votacionEleccion {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    text-align: center;
}

.votacionNumero {
    font-size: 28px;
    font-weight: bold;
    color: #ffd700;
}

.votacionEleccion .col-md-12 {
    font-size: 16px;
    color: #ffffff;
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .votacion {
        min-width: 250px;
        padding: 15px;
    }

    .votacionEstado {
        font-size: 20px;
    }

    .votacionCargos {
        font-size: 26px;
    }

    .votacionNumero {
        font-size: 24px;
    }
}
