/* =========================================================================
   SYSTÈME DE VOTE BCA - FRONT-END
   ========================================================================= */

/* Le conteneur du bouton de vote */
.bca-vote-container {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'ABeeZee', sans-serif;
}

/* L'affichage du score en direct */
.bca-score-display {
    background-color: #F2F2F2; /* 60% : Fond clair */
    color: #1F160A; /* 60% : Texte principal */
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    border: 1px solid rgba(31, 22, 10, 0.1);
}

/* Le bouton d'action */
.bca-btn-vote {
    background-color: #03738C; /* 10% : Bleu d'action (CTA) */
    color: #F2F2F2 !important;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'ABeeZee', sans-serif;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.bca-btn-vote:hover {
    background-color: #02596C;
}

.bca-btn-vote:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Les messages de retour (Succès / Info) */
.bca-vote-msg {
    font-size: 14px;
    font-weight: bold;
}

.bca-vote-msg.success, 
.bca-vote-msg.info {
    color: #378B2E; /* 30% : Vert de succès/structure */
}

.bca-vote-msg.error {
    color: #ef4444; /* Rouge natif pour les erreurs */
}

.bca-vote-msg.guest {
    color: #6D5026; /* 30% : Marron de soutien */
    font-style: italic;
    font-weight: normal;
}

/* -------------------------------------------------------------------------
   INJECTIONS DIVI
   ------------------------------------------------------------------------- */

/* La pastille dans la grille Divi (Aperçu) */
.bca-badge-score {
    margin-top: 15px;
    display: inline-block;
    background-color: rgba(55, 139, 46, 0.1);
    color: #378B2E;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-family: 'ABeeZee', sans-serif;
    font-size: 13px;
    border: 1px solid #378B2E;
}

/* Le conteneur injecté en bas de l'article complet */
.bca-injection-vote {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #F2F2F2;
}

.bca-injection-vote h3 {
    font-family: 'Aclonica', sans-serif;
    color: #1F160A;
    font-size: 20px;
    margin-bottom: 20px;
}