/* Custom animations */
@keyframes heart-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.heart-liked {
    animation: heart-pulse 0.3s ease-in-out;
}

/* Custom input styles */
.comment-input {
    border: none !important;
    padding: 0 !important;
}

.comment-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Image upload styles */
.upload-area {
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: #3b82f6 !important;
    background-color: #f8fafc;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 5px; /* Reduced width */
    height: 5px;
    display: none; /* Hide scrollbar by default */
}

::-webkit-scrollbar-track {
    background: #f8f8f8; /* Lighter track */
}

::-webkit-scrollbar-thumb {
    background: #bbb; /* Lighter thumb */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #999; /* Slightly darker on hover */
}

#search-filters:hover::-webkit-scrollbar {
    display: block; /* Show scrollbar on hover */
}

.video-wrapper {
    position: relative;
    width: 100%; /* Ensure wrapper takes video width */
    height: auto; /* Ensure wrapper takes video height */
    display: block;
}
.mute-icon {
    position: absolute;
    bottom: 10px; /* Adjust as needed */
    right: 10px;  /* Adjust as needed */
    z-index: 10; /* Above video */
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px;
    border-radius: 50%;
    font-size: 16px; /* Adjust icon size */
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.video-wrapper:hover .mute-icon {
    opacity: 1;
}