/**
 * Stili pagina stato voto – shortcode [voto_stato]
 *
 * @since 2.7
 */

.vot-stato {
    --vot-color-grazie: #2e7d32;
    --vot-color-gia-votato: #1565c0;
    --vot-color-non-autorizzato: #c62828;
    --vot-color-non-accreditato: #e65100;
    --vot-color-errore: #c62828;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    min-height: 40vh;
    font-family: inherit;
}

.vot-stato__icona {
    font-size: 4rem;
    margin-bottom: 1rem;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: currentColor;
    color: #fff;
}

/* Colore accent per ogni stato */
.vot-stato--grazie          { color: var(--vot-color-grazie); }
.vot-stato--gia_votato      { color: var(--vot-color-gia-votato); }
.vot-stato--non_autorizzato { color: var(--vot-color-non-autorizzato); }
.vot-stato--non_accreditato { color: var(--vot-color-non-accreditato); }
.vot-stato--errore          { color: var(--vot-color-errore); }

.vot-stato__titolo {
    font-size: 1.75rem;
    margin: 0.5rem 0;
    color: inherit;
}

.vot-stato__testo {
    font-size: 1rem;
    color: #444;
    max-width: 480px;
    margin: 0.5rem auto 1.5rem;
}

.vot-stato__countdown {
    font-size: 0.875rem;
    color: #888;
    margin-bottom: 1.5rem;
}

.vot-stato__btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: currentColor;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.vot-stato__btn:hover {
    opacity: 1;
    color: #fff;
}
