﻿body {
    background: #f5f7fa;
    font-family: Segoe UI, Arial;
}

/* HEADER */

.header-institucional {
    background: #fafa68;
    color: black;
    padding: 15px 0;
}

.logo-colegio {
    height: 55px;
}


/* TITULOS */

.titulo-votacion {
    font-weight: 700;
    color: #1b3c74;
}


/* CONTENEDOR */

.voting-container {
    min-height: 80vh;
}


/* TARJETAS CANDIDATOS */

.card-candidato {
    border: 2px solid #d9dee7;
    border-radius: 10px;
    background: white;
    padding: 25px;
    cursor: pointer;
    transition: all .3s ease;
}

    .card-candidato:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .card-candidato.selected {
        border: 3px solid #1b3c74;
        background: #f0f4ff;
        transform: scale(1.03);
    }


/* FOTO CANDIDATO */

.foto-candidato {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ddd;
    margin: 1px auto;
}


/* NUMERO LISTA */

.numero-lista {
    font-size: 22px;
    font-weight: 700;
    color: #1b3c74;
    margin-top: 5px;
}


/* RADIO */

.radio-candidato {
    display: none;
}


/* BOTON */

.btn-votar {
    background: #fafa68;
    color: black;
    font-weight: 600;
    padding: 12px 40px;
    font-size: 18px;
    border: 1px solid #dbdb4b;
}

    .btn-votar:hover,
    .btn-votar:active {
        background: #f4f462 !important;
        border: 1px solid #d2d257 !important;
        color: black !important;
        background-color: #f4f462 !important;
        border-color: #d2d257 !important;
    }



.card-resultado {
    border-radius: 12px;
    padding: 25px;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.puesto {
    font-size: 80px;
    font-weight: bold;
    color: #1b3c74;
}
.puesto-1 {
    color: #ff0000;
}

.foto-resultado {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ddd;
}

.porcentaje {
    font-size: 26px;
    font-weight: 700;
    color: #1b3c74;
}

.footer-institucional {
    background: #000000;
    color: white;
    padding: 15px 0;
    margin-top: 40px;
}

.footer-institucional small {
    font-size: 13px;
}
