.pill-dropdown {
    border-radius: 50px !important;
    background-color: #fff !important;
    border: 1px solid #e9ecef !important;
    height: 40px !important;
    display: flex;
    align-items: center;
}

.filter-scroll-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 5px;
    gap: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.filter-scroll-container::-webkit-scrollbar {
    display: none;
}

.filter-item {
    flex: 0 0 auto;
    min-width: 100px;
}

.filter-item:last-child {
    padding-right: 80px;
}

.filter-item-wide {
    flex: 0 0 auto;
    min-width: 200px;
}

/* Container for the timeline */
.timeline-container {
    position: relative;
    padding-left: 40px;
    min-height: 300px;
    padding-top: 40px;
}

/* The vertical dashed line */
.timeline-line {
    position: absolute;
    left: 11px;
    /* Centered relative to the dots */
    top: 20px;
    bottom: 35px;
    width: 1px;
    border-left: 2px dashed #1cb09a;
    z-index: 1;
}

.timeline-dot {
    position: absolute;
    left: -34px;
    width: 12px;
    height: 12px;
    background-color: #1cb09a;
    border-radius: 50%;
    z-index: 2;
}

.timeline-dot-main {
    left: 0px;
    width: 24px;
    height: 24px;
    background-color: #1cb09a;
    /* Light teal background */
    border: 3px solid #d1efea;
    animation: pulse 2s infinite;
    border-radius: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-icon-bottom {
    position: absolute;
    left: 2px;
    bottom: 0;
    color: #1cb09a;
    z-index: 2;
}

.filter-mobile-popup {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overscroll-behavior: contain;
}

/* Ensure Radzen panels are on top of our popup */
.rz-dropdown-panel,
.rz-datepicker-panel,
.rz-autocomplete-panel,
.rz-multiselect-panel {
    z-index: 10001 !important;
}

.filter-mobile-header {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    /* Prevents header from shrinking */
}

.filter-mobile-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
    padding: 1.5rem 1rem;
    touch-action: pan-y;
}

.filter-mobile-footer {
    padding: 1rem;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    /* Prevents footer from shrinking */
}

/* Visibility classes */
@media (max-width: 991.98px) {
    .hide-on-mobile {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .hide-on-mobile {
        display: block !important;
    }

    .show-on-mobile {
        display: none !important;
    }
}