/* Container principal - Força largura total e centralização */
.spr-reaction-container {
    margin: 25px auto; 
    padding: 20px; 
    background: #fff; /* Fundo branco para destaque */
    border: 1px solid #e0e0e0; /* Borda leve */
    border-radius: 8px;
    width: 100%;
    max-width: 600px; /* Limita largura para ficar elegante */
    text-align: center; /* Centraliza textos e itens inline */
    display: block;
    clear: both;
}

/* Título */
.spr-reaction-container h3 {
    margin-top: 0;
    font-size: 16px;
    color: #444;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

/* Área dos botões - Flexbox centralizado */
.spr-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center; /* CENTRALIZA NA HORIZONTAL */
    align-items: center;
    margin: 0 auto;
}

/* Botões individuais */
.spr-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 5px;
    margin: 0;
    min-width: 60px;
}

.spr-btn:hover {
    transform: translateY(-3px);
}

/* Ícones (círculos) */
.spr-icon {
    font-size: 24px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f2f5;
    transition: background 0.3s;
}

/* Cores */
.spr-btn.like .spr-icon { color: #1877f2; }
.spr-btn.love .spr-icon { color: #f3425f; }
.spr-btn.haha .spr-icon, .spr-btn.wow .spr-icon { color: #f7b928; }
.spr-btn.dislike .spr-icon { color: #65676b; background: #e4e6eb; }

/* Estado Ativo */
.spr-btn.active .spr-icon {
    background: #e7f3ff;
    box-shadow: inset 0 0 0 2px currentColor;
    transform: scale(1.1);
}
.spr-btn.active.dislike .spr-icon { background: #d8dadf; }

/* Contagem */
.spr-count {
    background: #333;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    margin-top: -12px;
    z-index: 2;
    position: relative;
    border: 2px solid #fff;
    min-width: 18px;
    text-align: center;
}

.spr-count[data-count="0"] {
    opacity: 0; 
    visibility: hidden;
}

/* Rótulo abaixo */
.spr-label {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-weight: 500;
}