/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Category Tab Active State styling */
.category-tab.active {
    background-color: #D4AF37 !important; /* Gold */
    color: #121212 !important;            /* Dark Charcoal text */
    border-color: #D4AF37 !important;
}

.category-tab.active i {
    color: #121212 !important;            /* Dark icon when active */
}

/* Swiper Pagination styling override */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3) !important;
    opacity: 1 !important;
    width: 6px !important;
    height: 6px !important;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #D4AF37 !important; /* Gold active bullet */
    width: 16px !important;
    border-radius: 3px !important;
}

/* Customized HTML Scrollbar for desktop preview */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #121212;
}

::-webkit-scrollbar-thumb {
    background: #2A2A2A;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #D4AF37;
}

/* Floating Bottom Navigation active effects */
nav a.active {
    color: #D4AF37 !important;
}

/* Micro animations */
.dish-card {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
}

/* Custom overlay smooth entry */
#dish-modal {
    transition: opacity 0.3s ease;
}

#dish-modal:not(.hidden) {
    display: flex;
}

/* Fix calendar icons visibility on dark background */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    padding: 2px;
    cursor: pointer;
}

/* Force dark color-scheme on inputs */
input, select, textarea {
    color-scheme: dark;
}
