/* Glassmorphism & Utilities */
.glass-nav {
    background: rgba(2, 44, 34, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-gradient {
    background: linear-gradient(to top, rgba(2, 44, 34, 0.85) 0%, rgba(2, 44, 34, 0.3) 60%, rgba(2, 44, 34, 0.1) 100%);
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.active-prayer-row {
    background-color: #ECFDF5;
    border-left: 4px solid #059669;
    transform: scale(1.01);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

/* Slider Animations */
.slide {
    display: none;
    animation: fade 1.5s ease-in-out;
}

.slide.active {
    display: block;
}

@keyframes fade {
    from {
        opacity: 0.4
    }

    to {
        opacity: 1
    }
}

/* Hide scrollbar for horizontal scrolling elements */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Mobile Menu Animations */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu:not(.hidden) {
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
    opacity: 1;
}

/* Hide Masjid Box logo in widget */
/* Clip the bottom of the iframe to hide the logo */
iframe[src*="masjidbox"] {
    max-height: calc(100% - 40px) !important;
    margin-bottom: -40px !important;
    display: block !important;
}

/* Ensure parent container hides overflow */
a[data-masjidbox-ifr] {
    display: block !important;
    overflow: hidden !important;
    max-height: 600px !important;
}

/* Additional targeting for any Masjidbox branding elements */
a[data-masjidbox-widget]~* img[src*="masjidbox"],
a[data-masjidbox-widget]~* a[href*="masjidbox"],
iframe[src*="masjidbox.com"]+*,
div:has(> iframe[src*="masjidbox"]) img,
div:has(> iframe[src*="masjidbox"]) a[href*="masjidbox"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}