.tiens-vote-container {
    text-align: center;
    margin: 40px 0;
    color: white;
}


/* =========================================================
   QUESTION
   ========================================================= */

.tiens-vote-question {
    margin-bottom: 70px;
    padding-bottom: 70px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}


/* Pas de ligne après la dernière question */

.tiens-vote-question:last-child {
    border-bottom: none;
}


.tiens-vote-number {
    margin-bottom: 12px;

    font-size: 18px;
    font-weight: bold;

    color: white;
}


.tiens-vote-question-title {
    display: inline-block;

    margin-bottom: 25px;
    padding: 14px 24px;

    max-width: 90%;

    box-sizing: border-box;

    background: #fbfbfb;
    color: #111;

    border-radius: 22px;

    font-size: 22px;
    font-weight: 700;

    line-height: 1.25;

    text-transform: none;
}


/* =========================================================
   BOUTONS
   ========================================================= */

.tiens-vote-buttons {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 20px;

    margin: 0;
    padding: 0;
}


.tiens-vote-button {
    box-sizing: border-box !important;

    width: 80px !important;
    height: 80px !important;

    min-width: 80px !important;
    min-height: 80px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 2px solid white !important;
    border-radius: 50% !important;

    background: transparent !important;
    color: white !important;

    font-family: inherit !important;
    font-size: 18px !important;
    font-weight: normal !important;

    line-height: normal !important;

    text-align: center !important;

    cursor: pointer !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    outline: none !important;
    box-shadow: none !important;

    transform: none !important;
    filter: none !important;

    opacity: 1 !important;

    position: relative !important;
}


/* Aucun effet au clic / survol */

.tiens-vote-button:hover,
.tiens-vote-button:active,
.tiens-vote-button:focus,
.tiens-vote-button:focus-visible {
    background: transparent !important;
    color: white !important;

    outline: none !important;
    box-shadow: none !important;

    transform: none !important;
    filter: none !important;
}


/* Désactive les pseudo-éléments */

.tiens-vote-button::before,
.tiens-vote-button::after {
    content: none !important;
    display: none !important;
}


/* Bouton déjà utilisé */

.tiens-vote-button:disabled {
    cursor: default !important;
    opacity: 0.7 !important;
}


/* =========================================================
   MESSAGE
   ========================================================= */

.tiens-vote-message {
    margin-top: 15px;

    min-height: 20px;

    font-weight: normal;
}


.tiens-vote-message-success {
    color: white;
    font-weight: normal;
}


.tiens-vote-message-error {
    color: red;
    font-weight: normal;
}


/* =========================================================
   GRAPHIQUE
   ========================================================= */

.tiens-vote-graph-wrapper {
    margin-top: 35px;
}


.tiens-vote-total {
    margin-bottom: 20px;
    font-weight: normal;
}


.tiens-vote-graph {
    display: flex;

    justify-content: center;
    align-items: flex-end;

    gap: 60px;

    height: 260px;

    box-sizing: border-box;

    overflow: hidden;
}


.tiens-vote-bar-container {
    display: flex;

    flex-direction: column;
    align-items: center;

    justify-content: flex-end;

    height: 100%;
}


.tiens-vote-bar {
    width: 80px;

    max-height: 240px;

    display: flex;

    align-items: flex-end;
    justify-content: center;

    font-weight: bold;

    color: white;

    transition: height 0.5s ease;
}


.tiens-vote-bar-yes {
    background: #f4c542;
}


.tiens-vote-bar-no {
    background: #aa3e3c;
}


.tiens-vote-label {
    margin-top: 10px;
}


/* =========================================================
   POURCENTAGE
   ========================================================= */

.tiens-vote-percent {
    margin-top: 20px;
    font-weight: normal;
}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .tiens-vote-question {
        margin-bottom: 60px;
        padding-bottom: 60px;
    }

    .tiens-vote-question-title {
        max-width: 94%;
        padding: 12px 18px;
        font-size: 22px;
    }

    .tiens-vote-buttons {
        gap: 15px;
    }

    .tiens-vote-button {
        width: 70px !important;
        height: 70px !important;

        min-width: 70px !important;
        min-height: 70px !important;
    }

    .tiens-vote-graph {
        gap: 35px;
        height: 260px;
    }

    .tiens-vote-bar {
        width: 60px;
        max-height: 240px;
    }
}

