/* Custom Scrollbars */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Transitions & Animations */
.slide-in {
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.slide-in.active {
    transform: translateX(0);
}

.modal-fade {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
    backdrop-filter: blur(4px);
}

.modal-fade.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-scale {
    transform: scale(0.95);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-fade.active .modal-scale {
    transform: scale(1);
}

/* UI Resets */
details>summary {
    list-style: none;
}

details>summary::-webkit-details-marker {
    display: none;
}

/* View Management */
.view-section {
    display: none;
}

.view-section.active {
    display: block;
}

#filter-drawer {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* iOS Safe Area Padding */
.pb-safe {
    padding-bottom: env(safe-area-inset-bottom);
}