/* ===== STANDARDIZED BADGE STYLES ===== */
/* Views, Favorites, and Likes badges with consistent colors */

/* Base badge styles */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.badge i {
    margin-right: 0.25rem;
    font-size: 0.7rem;
}

/* Views badge - Green with white text */
.badge.bg-views,
.badge.bg-success {
    background-color: #28a745 !important;
    color: white !important;
}

.badge.bg-views:hover,
.badge.bg-success:hover {
    background-color: #218838 !important;
    transform: scale(1.05);
}

/* Favorites badge - Yellow with white text */
.badge.bg-favorites,
.badge.bg-warning {
    background-color: #ffc107 !important;
    color: white !important;
}

.badge.bg-favorites:hover,
.badge.bg-warning:hover {
    background-color: #e0a800 !important;
    transform: scale(1.05);
}

/* Likes badge - Red with white text */
.badge.bg-likes,
.badge.bg-danger {
    background-color: #dc3545 !important;
    color: white !important;
}

.badge.bg-likes:hover,
.badge.bg-danger:hover {
    background-color: #c82333 !important;
    transform: scale(1.05);
}

/* Interactive badge buttons */
.badge.badge-interactive {
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.badge.badge-interactive:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.badge.badge-interactive:active {
    transform: scale(0.95);
}

/* Inactive state for interactive badges */
.badge.badge-interactive.badge-inactive {
    background-color: #6c757d !important;
    color: white !important;
}

.badge.badge-interactive.badge-inactive:hover {
    background-color: #5a6268 !important;
}

/* Responsive badge adjustments */
@media (max-width: 767.98px) {
    .badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .badge i {
        font-size: 0.65rem;
        margin-right: 0.2rem;
    }
}

/* Badge container for proper alignment */
.badges-container {
    display: flex;
    gap: 0.25rem;
    flex-wrap: nowrap;
    align-items: center;
}

/* Stats row layout */
.stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}
