/* Page-specific styles for event_list.html */

.content-auto {
    content-visibility: auto;
}

.scrollbar-thin {
    scrollbar-width: thin;
}

.scrollbar-thumb-orange {
    scrollbar-color: #FF6A00 #E5E7EB;
}

.scrollbar-thumb-rounded {
    scrollbar-color: #FF6A00 #E5E7EB;
    scrollbar-width: thin;
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

.quota-bar {
    height: 8px;
    border-radius: 4px;
    background-color: #E5E7EB;
    overflow: hidden;
}

.quota-progress {
    height: 100%;
    background-color: #FF6A00;
    border-radius: 4px;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skeleton {
    background: linear-gradient(90deg, #E5E7EB 25%, #F3F4F6 50%, #E5E7EB 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s infinite;
}

@keyframes skeletonLoading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Mobile dropdown styles */
@media (max-width: 768px) {

    #filterDropdown,
    #sortDropdown {
        max-height: 70vh;
        overflow-y: auto;
        position: fixed !important;
        right: 1rem !important;
        left: auto !important;
        width: calc(100vw - 2rem) !important;
        max-width: 320px !important;
    }
}