/* =====================================================
   HEADER COMMENTS BADGE - Indicador de comentarios del dia (Admin)
   ===================================================== */

.hc-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px 4px 8px;
    border-radius: 16px;
    font-family: inherit;
    cursor: pointer;
    margin: 0 4px;
    white-space: nowrap;
    transition: all 0.3s ease;
    animation: hc-fadeIn 0.5s ease;
    flex-shrink: 0;
    height: 30px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.26);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
    position: relative;
    overflow: hidden;
}

.hc-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hc-badge-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.94) !important;
    filter: none !important;
}

.hc-badge-count {
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.3px;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: none;
}

.hc-badge-label {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.86);
}

/* Sin comentarios hoy */
.hc-badge-empty {
    background: rgba(108, 117, 125, 0.18);
    color: #c0c5ca;
    border: 1px solid rgba(108, 117, 125, 0.30);
    opacity: 0.7;
    box-shadow: none;
}

.hc-badge-empty .hc-badge-icon {
    color: rgba(255, 255, 255, 0.82) !important;
    opacity: 0.88;
}

.hc-badge-empty .hc-badge-count {
    color: #c0c5ca;
    text-shadow: none;
}

.hc-badge-active {
    animation: hc-fadeIn 0.5s ease;
}

.hc-badge:not(.hc-badge-empty)::after {
    display: none;
}

/* --- Animaciones --- */

@keyframes hc-fadeIn {
    from { opacity: 0; transform: translateX(-10px) scale(0.9); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes hc-purple-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(139, 92, 246, 0.18), 0 0 3px rgba(139, 92, 246, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.15); }
    50% { box-shadow: 0 0 16px rgba(139, 92, 246, 0.38), 0 0 28px rgba(139, 92, 246, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
}

@keyframes hc-shimmer-sweep {
    0% { left: -100%; }
    30% { left: 100%; }
    100% { left: 100%; }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hc-badge-label {
        display: none;
    }
    .hc-badge {
        padding: 5px 10px;
    }
}
