/*
 * Votaciones 2 - Estilos públicos
 */

.glb2-public {
    --glb2-navy: #20396f;
    --glb2-blue: #375ca0;
    --glb2-gold: #eec42f;
    --glb2-bg: #f4f7fb;
    --glb2-text: #172033;
    --glb2-muted: #697386;
    --glb2-border: #dfe4ee;
    color: var(--glb2-text);
}

.glb2-public button {
    font: inherit;
}

.glb2-public button:focus-visible {
    outline: 3px solid rgba(238, 196, 47, .55);
    outline-offset: 2px;
}

.glb2-public .glb2-hero {
    position: relative;
    overflow: hidden;
}

.glb2-public .glb2-hero::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -60px;
    top: -70px;
    border-radius: 50%;
    background: rgba(238, 196, 47, .12);
}

.glb2-public .glb2-card,
.glb2-public .glb2-panel {
    transition: transform .18s ease, box-shadow .18s ease;
}

.glb2-public .glb2-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(32, 57, 111, .10);
}

.glb2-public .glb2-buttons button {
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.glb2-public .glb2-buttons button:hover {
    transform: translateY(-1px);
}

.glb2-public .glb2-candidate {
    transition: background .15s ease;
}

.glb2-public .glb2-candidate:hover {
    background: #fafbfd;
}

.glb2-public .glb2-bar span {
    transition: width .35s ease;
}

.glb2-public .glb2-table tbody tr:hover {
    background: #f8fafc;
}

.glb2-public .glb2-map-shell {
    display: grid;
    place-items: center;
    min-height: 300px;
    padding: 12px;
    background: #eef4ff;
    border-radius: 16px;
    overflow: hidden;
}

.glb2-public .glb2-map-shell svg {
    width: 100%;
    height: auto;
    max-height: 430px;
    display: block;
}

.glb2-public .glb2-map-shell .departamento {
    cursor: pointer;
    transition: fill .2s ease, stroke .2s ease, filter .2s ease;
}

.glb2-public .glb2-map-shell .departamento.is-active {
    fill: var(--glb2-gold) !important;
    stroke: var(--glb2-navy) !important;
    stroke-width: 2.5 !important;
    filter: drop-shadow(0 6px 9px rgba(32, 57, 111, .20));
}

@media (max-width: 850px) {
    .glb2-public .glb2-candidate-head {
        flex-direction: column;
        align-items: flex-start;
    }
}
