/*
 * Copyright (c) 2023 Sales Igniter. All Rights Reserved.
 * Written by Cristian Arcu <cristian@itwebexperts.com>
 *
 */

.bcalm_wrapper {
    padding: 10px 0 20px 0;
}

.calendar-month-section {
    background: transparent;
    border-radius: 4px;
}

/* Category Filters Bar */
.category-filters-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.filter-dates-btn {
    flex-shrink: 0;
}

.filters-toggle-btn {
    flex-shrink: 0;
    margin-left: auto;
    display: none !important;
}

.categories-scroll-wrapper {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    position: relative;
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
}

.categories-scroll-container {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
    scroll-behavior: smooth;
    min-width: 0;
    width: 100%;
}

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

.categories-scroll-prev,
.categories-scroll-next {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #FFFFFFCC;
    cursor: pointer;
    transition: all 0.2s ease;
}

.categories-scroll-prev:hover,
.categories-scroll-next:hover {
    color: #BC5AFF;
}

.categories-scroll-prev.hidden,
.categories-scroll-next.hidden {
    display: none;
}

.categories-scroll-prev:focus,
.categories-scroll-next:focus {
    outline: none;
    border: none;
}

.categories-scroll-prev:focus-visible,
.categories-scroll-next:focus-visible {
    outline: none;
    border: none;
}

.scroll-mask {
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 15%,
            black 85%,
            transparent 100%);
    mask-image: linear-gradient(to right,
            transparent 0%,
            black 15%,
            black 85%,
            transparent 100%);
}

/* Remove gradient when at start or end */
.scroll-mask.at-start {
    -webkit-mask-image: linear-gradient(to right,
            black 0%,
            black 85%,
            transparent 100%);
    mask-image: linear-gradient(to right,
            black 0%,
            black 85%,
            transparent 100%);
}

.scroll-mask.at-end {
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 15%,
            black 100%);
    mask-image: linear-gradient(to right,
            transparent 0%,
            black 15%,
            black 100%);
}

.scroll-mask.at-start.at-end {
    -webkit-mask-image: none;
    mask-image: none;
}

.filter-category-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #1E1E1E;
    border: 1px solid #363636;
    border-radius: 4px;
    font-family: Hkgrotesk-600, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFFCC;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-category-btn:hover {
    background: #3A3A3A;
    color: #ffffff;
    text-decoration: none;
}

.filter-category-btn.active {
    background: #BC5AFF;
    border-color: #BC5AFF;
    color: #ffffff;
}

.filter-dates-btn.active {
    background: #ffffff;
    border-color: #363636;
    color: #121212A3;
}

.filter-dates-btn.active span {
    color: #121212A3;
}

.filter-category-btn i {
    font-size: 16px;
}

.filters-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #383838;
    border-radius: 4px;
    font-family: Hkgrotesk-600, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFFCC;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filters-toggle-btn:hover {
    background: #3A3A3A;
    border-color: #BC5AFF;
    color: #BC5AFF;
}

.filters-toggle-btn i {
    font-size: 16px;
}

/* Month Selector */
.month-selector-section {
    margin-bottom: 18px;
}

.change-date-label {
    font-family: Poppins, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.88);
    text-transform: uppercase;
    margin-bottom: 24px;
}



.months-selector {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.months-selector::-webkit-scrollbar {
    display: none;
}

.month-btn {
    display: inline-block;
    padding: 10px 12px;
    background: #1E1E1E;
    border: 1px solid #363636;
    border-radius: 4px;
    font-family: Hkgrotesk-600, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFFFF;
    text-decoration: none;
    text-transform: capitalize;
    transition: all 0.2s ease;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
}

.month-btn:hover,
.month-btn:active,
.month-btn:focus,
.month-btn:focus-visible {
    background: #3A3A3A;
    color: #BC5AFF;
    text-decoration: none;
}

.month-btn.selected {
    background: #BC5AFF;
    color: #ffffff;
    border-color: #BC5AFF;
}

.month-btn:visited {
    color: #ffffff;
}


/* Day Selector */
.day-selector-section {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    gap: 0;
    margin-bottom: 30px;
    background: transparent;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.day-nav-btn {
    background: transparent;
    border: none;
    color: #FFFFFFCC;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    padding: 0;
    width: 32px;
    height: 32px;
}

.day-nav-btn:focus,
.day-nav-btn:focus-visible {
    outline: none;
    border: none;
}

.day-nav-btn:hover {
    color: #BC5AFF;
}

.day-nav-btn i {
    font-size: 16px;
}

.day-nav-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.day-nav-btn.disabled:hover {
    color: #FFFFFFCC;
}

.days-selector-wrapper {
    overflow: hidden;
    position: relative;
    background: transparent;
}

.days-selector {
    display: flex;
    gap: 8px;
    background: transparent;
    transition: transform 0.3s ease;
    will-change: transform;
}


.day-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: #363636;
    text-decoration: none !important;
    transition: all 0.2s ease;
    min-width: 90px;
    cursor: pointer;
    border-radius: 4px;
}

.day-btn:hover {
    background: #3A3A3A;
    text-decoration: none !important;
}

.day-btn:visited {
    text-decoration: none !important;
}

.day-btn.selected {
    background: #BC5AFF;
    border-color: #BC5AFF;
}

.day-btn.selected:visited {
    text-decoration: none !important;
}

.day-date {
    font-family: Hkgrotesk-600, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 4px;
    text-decoration: none !important;
}

.day-btn.selected .day-date {
    color: #ffffff;
    text-decoration: none !important;
}

.day-year {
    font-family: Hkgrotesk-500, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none !important;
}

.day-btn.selected .day-year {
    color: #ffffff;
}

/* Results and Sort */
.results-sort-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #383838;
}

.results-count {
    font-family: Hkgrotesk-600, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.88);
}

.sort-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-selector label {
    font-family: Hkgrotesk-600, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFFA3;
}

.sort-select {
    background: #2E2E2E;
    border: 2px solid #383838;
    border-radius: 4px;
    padding: 10px 16px;
    padding-right: 40px;
    font-family: Hkgrotesk-500, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFFA3;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    transition: border-color 0.2s ease;
}

.sort-select:hover,
.sort-select:focus {
    background: #3A3A3A;
    outline: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
    position: relative;
    transition: opacity 0.3s ease;
}

.events-grid.loading {
    opacity: 0.5;
    pointer-events: none;
}

.events-grid-loading {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.88);
    font-family: Hkgrotesk-600, sans-serif;
    font-size: 16px;
    background: #1E1E1E;
    border-radius: 4px;
    margin-top: 30px;
}

.event-card {
    background: #232323;
    border-radius: 3px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}


.event-card-image {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
    background: #2E2E2E;
    position: relative;
}

.event-card-image a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}


.event-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    justify-content: space-between;
}

.event-card-header {
    display: flex;
    flex-direction: column;
}

.event-card-title {
    margin: 0;
    font-family: Hkgrotesk-800, sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 20px;
    line-height: 28px;
    color: #BC5AFF;
    height: 56px;
    overflow: hidden;
}

.event-card-title a {
    color: #BC5AFF;
    text-decoration: none;
    transition: color 0.2s ease;
}

.event-card-title a:hover {
    color: #BC5AFF;
}

.event-card-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.event-detail-item {
    font-family: Hkgrotesk-500, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: rgb(154, 154, 154);
}

.event-card-price {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
}

.price-label {
    font-family: Hkgrotesk-500, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: rgb(154, 154, 154);
    margin-bottom: 4px;
}

.price-amount span {
    font-family: Hkgrotesk-800, sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 24px;
    line-height: 32px;
    color: #BC5AFF;
}

.event-card-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 20px;
    background: #2E2E2E;
    border: none;
    font-family: Hkgrotesk-700, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    width: 100%;
    margin-top: 0;
}

.event-card-button:hover {
    background: #3A3A3A;
    color: #BC5AFF;
    text-decoration: none;
}

.event-card-button:visited {
    color: #FFFFFFCC;
}

.event-card-button i {
    font-size: 12px;
    color: #FFFFFFCC;
}

.event-card-button:hover i {
    color: #BC5AFF;
}

.no-events-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px 240px 20px;
}

.no-events-message p {
    font-family: Hkgrotesk-500, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

@media (max-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {

    .categories-scroll-prev,
    .categories-scroll-next {
        display: none !important;
    }

    .filters-toggle-btn {
        order: -1;
        margin-left: 0;
    }


    .months-selector {
        gap: 8px;
    }

    .month-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .day-selector-section {
        grid-template-columns: 35px 1fr 35px;
    }

    .day-btn {
        min-width: 80px;
        padding: 10px 12px;
    }

    .day-date {
        font-size: 12px;
    }

    .day-year {
        font-size: 11px;
    }

    .results-sort-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .event-card-image {
        padding-bottom: 100%;
    }

    .event-card-content {
        padding: 15px;
    }

    .event-card-title {
        font-size: 18px;
        line-height: 24px;
    }

    .price-amount {
        font-size: 20px;
        line-height: 28px;
    }

    .event-card-button {
        padding: 8px 16px;
        font-size: 12px;
    }
}

@media (max-width: 575px) {
    .months-selector {
        gap: 6px;
    }

    .month-btn {
        padding: 6px 12px;
        font-size: 11px;
    }

    .day-selector-section {
        grid-template-columns: 30px 1fr 30px;
    }

    .day-btn {
        min-width: 70px;
        padding: 8px 10px;
    }

    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .event-card-content {
        padding: 10px;
    }

    .event-card-title {
        font-size: 14px;
        line-height: 18px;
        height: 36px;
    }

    .event-detail-item {
        font-size: 11px;
        line-height: 14px;
    }

    .price-amount span {
        font-size: 16px;
        line-height: 22px;
    }

    .event-card-button {
        border-radius: 0 0 8px 8px;
    }

    .category-filters-bar {
        gap: 8px;
    }

    .filter-category-btn,
    .filters-toggle-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .main-content .qubely-column-inner {
        padding: 0 !important;
    }

    .main-content .qubely-column {
        padding: 0 !important;
    }

    .main-content .filters-toggle-label,
    .main-content .filter-dates-label {
        display: none;
    }
}

/* Filters Modal */
.filters-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filters-modal.active {
    display: block;
    opacity: 1;
}

.filters-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.filters-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    min-height: 400px;
    background: #2E2E2E;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 10001;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.filters-modal.active .filters-modal-content {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.filters-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px 10px 30px;
    position: sticky;
    top: 0;
    background: transparent;
    z-index: 10;
}

.filters-modal-title {
    font-family: Hkgrotesk-800, sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 24px;
    line-height: 32px;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

.filters-modal-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.88);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s ease;
}

.filters-modal-close:hover {
    color: #BC5AFF;
    background: #3A3A3A;
}

.filters-modal-body {
    flex: 1;
    padding: 20px 30px;
    overflow-y: auto;
    overscroll-behavior: contain;
    min-height: 0;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #383838;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #2E2E2E;
    border: 1px solid #383838;
    border-radius: 20px;
    font-family: Hkgrotesk-500, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.88);
}

.active-filter-tag .remove-filter {
    cursor: pointer;
    font-size: 12px;
    transition: color 0.2s ease;
}

.active-filter-tag .remove-filter:hover {
    color: #BC5AFF;
}

.filter-sections {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.filter-section {
    border-bottom: 1px solid #383838;
    padding-bottom: 15px;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 8px 0;
}

.filter-section-title {
    font-family: Hkgrotesk-700, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

.filter-section-toggle {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s ease;
}

.filter-section-toggle:focus,
.filter-section-toggle:focus-visible {
    outline: none;
    border: none;
    box-shadow: none;
}

.filter-section.open .filter-section-toggle {
    transform: rotate(180deg);
}

.filter-section-content {
    padding-top: 15px;
}

.price-range-slider-wrapper {
    margin-bottom: 20px;
    position: relative;
}

.price-range-slider {
    position: relative;
    height: 6px;
    width: 100%;
}

.price-slider-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 3px;
    background: #383838;
    pointer-events: none;
}

.price-slider-range {
    position: absolute;
    top: 0;
    height: 6px;
    background: #BC5AFF;
    border-radius: 3px;
    pointer-events: none;
}

.price-slider {
    position: absolute;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    pointer-events: none;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #BC5AFF;
    cursor: pointer;
    pointer-events: all;
    position: relative;
    z-index: 2;
}

.price-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #BC5AFF;
    cursor: pointer;
    border: none;
    pointer-events: all;
    position: relative;
    z-index: 2;
}

.price-slider-min {
    z-index: 1;
}

.price-slider-max {
    z-index: 1;
}

.price-inputs {
    display: flex;
    gap: 15px;
    align-items: center;
}

.price-inputs::after {
    content: "to";
    color: rgba(255, 255, 255, 0.88);
    font-family: Hkgrotesk-500, sans-serif;
    font-size: 16px;
    order: 1;
}

.price-input-group:first-child {
    order: 0;
}

.price-input-group:last-child {
    order: 2;
}

.price-input-group {
    flex: 1;
}

.price-input-group label {
    display: none;
}

.price-input {
    width: 100%;
    padding: 10px 15px;
    background: #2E2E2E;
    border: 2px solid #383838;
    border-radius: 4px;
    font-family: Hkgrotesk-500, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.88);
    transition: border-color 0.2s ease;
}

.price-input:focus {
    outline: none;
    border-color: #BC5AFF;
}

.filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-family: Hkgrotesk-500, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.88);
    position: relative;
    padding: 4px 0;
    width: 100%;
}

.filter-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: transparent;
    border: 1px solid #5a5a5a;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.filter-checkbox input[type="checkbox"]:checked {
    background-color: #BC5AFF;
    border-color: #BC5AFF;
}

.filter-checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    flex: 1;
    text-transform: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-count {
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
}

.filters-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    border-top: 1px solid #383838;
    flex-shrink: 0;
    background: #2E2E2E;
    z-index: 10;
}

.filters-reset-btn,
.filters-apply-btn {
    font-family: Hkgrotesk-700, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Clear All - Text Link Style for Desktop */
.filters-reset-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.88);
    padding: 10px 0;
    /* Minimal padding */
    flex: 0 0 auto;
}

.filters-reset-btn:hover {
    color: #BC5AFF;
    background: transparent;
    border: none;
}

/* Apply Filters - Button Style */
.filters-apply-btn {
    background: #BC5AFF;
    border: 2px solid #BC5AFF;
    color: #ffffff;
    padding: 14px 40px;
    /* Specific padding */
    border-radius: 4px;
    flex: 0 0 auto;
}

.filters-apply-btn:hover {
    background: #A048E6;
    border-color: #A048E6;
}

@media (max-width: 768px) {
    .filters-modal-footer {
        flex-direction: column-reverse;
        /* Apply top, Clear bottom */
        gap: 15px;
        padding: 20px;
    }

    .filters-apply-btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }

    .filters-reset-btn {
        width: 100%;
        text-align: center;
        padding: 10px;
        font-size: 14px;
    }
}

/* Date Picker Modal */
.date-picker-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.date-picker-modal.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.date-picker-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.date-picker-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    background: #1E1E1E;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 10001;
}

.date-picker-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #383838;
}

.date-picker-modal-title {
    font-family: Hkgrotesk-800, sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 24px;
    line-height: 32px;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

.date-picker-modal-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.88);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s ease;
}

.date-picker-modal-close:hover {
    color: #BC5AFF;
}

.date-picker-modal-body {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.date-picker-mode-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.date-mode-btn {
    flex: 1;
    padding: 12px 20px;
    background: #2E2E2E;
    border: 2px solid transparent;
    border-radius: 4px;
    font-family: Hkgrotesk-600, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.88);
    cursor: pointer;
    transition: all 0.2s ease;
}

.date-mode-btn:hover {
    border-color: #383838;
    color: #BC5AFF;
    background: #2E2E2E;
}

.date-mode-btn.active {
    background: #ffffff;
    color: #1E1E1E;
    border-color: #ffffff;
}

.date-picker-wrapper {
    position: relative;
}

#bcalm-flatpickr-container {
    margin-top: 15px;
}

.date-picker-wrapper .period-wrapper {
    position: relative;
}

.date-picker-wrapper .period {
    font-family: Hkgrotesk-500, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.88);
    background: #2E2E2E;
    border: 2px solid #383838;
    box-sizing: border-box;
    border-radius: 4px;
    height: 56px;
    width: 100%;
    padding: 16px 50px 16px 50px;
    cursor: pointer;
}

.date-picker-wrapper .calendar-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.32);
    pointer-events: none;
}

.date-picker-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding: 20px 30px;
    border-top: 1px solid #383838;
}

.date-picker-cancel-btn,
.date-picker-apply-btn {
    padding: 12px 24px;
    border-radius: 4px;
    font-family: Hkgrotesk-700, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid;
}

.date-picker-cancel-btn {
    background: transparent;
    border-color: #383838;
    color: rgba(255, 255, 255, 0.88);
}

.date-picker-cancel-btn:hover {
    border-color: #BC5AFF;
    color: #BC5AFF;
}

.date-picker-apply-btn {
    background: #BC5AFF;
    border-color: #BC5AFF;
    color: #ffffff;
}

.date-picker-apply-btn:hover {
    background: #A048E6;
    border-color: #A048E6;
}

.date-picker-modal .flatpickr-calendar {
    background-color: #1E1E1E !important;
    box-shadow: none !important;
    border: 1px solid #383838 !important;
    border-radius: 4px;
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px 0 0 0 !important;
    padding-bottom: 10px;
}

.date-picker-modal .flatpickr-calendar.arrowTop:before,
.date-picker-modal .flatpickr-calendar.arrowTop:after {
    display: none !important;
}

.date-picker-modal .flatpickr-months {
    background-color: #1E1E1E;
    border-bottom: 1px solid #383838;
    padding: 10px 0;
}

.date-picker-modal .flatpickr-month {
    color: #fff !important;
}

.date-picker-modal .flatpickr-current-month .flatpickr-monthDropdown-months {
    background-color: #1E1E1E;
    color: #fff;
    font-family: Hkgrotesk-700, sans-serif;
    font-size: 18px;
    border: none;
    appearance: none;
    -webkit-appearance: none;
}

.date-picker-modal .flatpickr-current-month input.cur-year {
    color: #fff;
    font-family: Hkgrotesk-700, sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.date-picker-modal .flatpickr-current-month .numInputWrapper span.arrowUp:after {
    border-bottom-color: #fff;
}

.date-picker-modal .flatpickr-current-month .numInputWrapper span.arrowDown:after {
    border-top-color: #fff;
}

.date-picker-modal .flatpickr-prev-month svg,
.date-picker-modal .flatpickr-next-month svg {
    fill: #fff !important;
}

.date-picker-modal .flatpickr-prev-month:hover svg,
.date-picker-modal .flatpickr-next-month:hover svg {
    fill: #BC5AFF !important;
}

.date-picker-modal .flatpickr-weekdays {
    background-color: #1E1E1E;
    border-bottom: 1px solid #383838;
}

.date-picker-modal span.flatpickr-weekday {
    color: rgba(255, 255, 255, 0.5) !important;
    font-family: Hkgrotesk-600, sans-serif;
    font-weight: 600;
}

.date-picker-modal .flatpickr-day {
    color: rgba(255, 255, 255, 0.88) !important;
    font-family: Hkgrotesk-500, sans-serif;
    border-radius: 4px !important;
    border: 1px solid transparent !important;
}

.date-picker-modal .flatpickr-day.prevMonthDay,
.date-picker-modal .flatpickr-day.nextMonthDay {
    color: rgba(255, 255, 255, 0.3) !important;
}

.date-picker-modal .flatpickr-day:hover,
.date-picker-modal .flatpickr-day:focus {
    background-color: #383838 !important;
    border-color: #383838 !important;
}

.date-picker-modal .flatpickr-day.today {
    border-color: #BC5AFF !important;
    color: #fff !important;
}

.date-picker-modal .flatpickr-day.selected,
.date-picker-modal .flatpickr-day.startRange,
.date-picker-modal .flatpickr-day.endRange,
.date-picker-modal .flatpickr-day.selected.inRange,
.date-picker-modal .flatpickr-day.startRange.inRange,
.date-picker-modal .flatpickr-day.endRange.inRange,
.date-picker-modal .flatpickr-day.selected:focus,
.date-picker-modal .flatpickr-day.startRange:focus,
.date-picker-modal .flatpickr-day.endRange:focus,
.date-picker-modal .flatpickr-day.selected:hover,
.date-picker-modal .flatpickr-day.startRange:hover,
.date-picker-modal .flatpickr-day.endRange:hover,
.date-picker-modal .flatpickr-day.selected.prevMonthDay,
.date-picker-modal .flatpickr-day.startRange.prevMonthDay,
.date-picker-modal .flatpickr-day.endRange.prevMonthDay,
.date-picker-modal .flatpickr-day.selected.nextMonthDay,
.date-picker-modal .flatpickr-day.startRange.nextMonthDay,
.date-picker-modal .flatpickr-day.endRange.nextMonthDay {
    background-color: #BC5AFF !important;
    border-color: #BC5AFF !important;
    color: #fff !important;
}


.date-picker-modal .flatpickr-day {
    color: #ffffff;
    max-width: 43px;
    background: #232323;
    border-radius: 0;
}

.date-picker-modal .flatpickr-calendar:before,
.date-picker-modal .flatpickr-calendar:after {
    content: none;
}

.date-picker-modal .dayContainer {
    background: #1E1E1E;
}

.date-picker-modal .flatpickr-day.selected,
.date-picker-modal .flatpickr-day.startRange,
.date-picker-modal .flatpickr-day.endRange,
.date-picker-modal .flatpickr-day.selected.inRange,
.date-picker-modal .flatpickr-day.startRange.inRange,
.date-picker-modal .flatpickr-day.endRange.inRange,
.date-picker-modal .flatpickr-day.selected:focus,
.date-picker-modal .flatpickr-day.startRange:focus,
.date-picker-modal .flatpickr-day.endRange:focus,
.date-picker-modal .flatpickr-day.selected:hover,
.date-picker-modal .flatpickr-day.startRange:hover,
.date-picker-modal .flatpickr-day.endRange:hover {
    border-radius: 0;
    background: #BC5AFF;
    border-color: #BC5AFF;
}

.date-picker-modal .flatpickr-day.inRange,
.date-picker-modal .flatpickr-day.prevMonthDay.inRange,
.date-picker-modal .flatpickr-day.nextMonthDay.inRange,
.date-picker-modal .flatpickr-day.today.inRange,
.date-picker-modal .flatpickr-day.prevMonthDay.today.inRange,
.date-picker-modal .flatpickr-day.nextMonthDay.today.inRange,
.date-picker-modal .flatpickr-day:hover,
.date-picker-modal .flatpickr-day.prevMonthDay:hover,
.date-picker-modal .flatpickr-day.nextMonthDay:hover,
.date-picker-modal .flatpickr-day:focus,
.date-picker-modal .flatpickr-day.prevMonthDay:focus,
.date-picker-modal .flatpickr-day.nextMonthDay:focus {
    background: #BC5AFF;
    border-color: #BC5AFF;
}

.date-picker-modal .flatpickr-day.inRange {
    background: #383838;
    border-color: #383838;
}

/* Disabled past dates styling */
.date-picker-modal .flatpickr-day.flatpickr-disabled,
.date-picker-modal .flatpickr-day.prevMonthDay.flatpickr-disabled,
.date-picker-modal .flatpickr-day.nextMonthDay.flatpickr-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #1E1E1E !important;
    border-color: #1E1E1E !important;
    color: rgba(255, 255, 255, 0.3) !important;
}

.date-picker-modal .flatpickr-day.flatpickr-disabled:hover,
.date-picker-modal .flatpickr-day.prevMonthDay.flatpickr-disabled:hover,
.date-picker-modal .flatpickr-day.nextMonthDay.flatpickr-disabled:hover {
    background: #1E1E1E !important;
    border-color: #1E1E1E !important;
    color: rgba(255, 255, 255, 0.3) !important;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .filters-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .filters-modal-header,
    .filters-modal-body,
    .filters-modal-footer {
        padding: 15px 20px;
    }

    .category-filters-bar {
        gap: 8px;
    }

    .filter-category-btn,
    .filters-toggle-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .categories-scroll-prev,
    .categories-scroll-next {
        width: 24px;
        height: 24px;
    }

    .categories-scroll-prev:focus,
    .categories-scroll-next:focus,
    .categories-scroll-prev:focus-visible,
    .categories-scroll-next:focus-visible {
        outline: none;
        border: none;
    }

    .categories-scroll-prev {
        margin-right: 8px;
    }

    .categories-scroll-next {
        margin-left: 8px;
    }

    .date-picker-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .date-picker-modal-header,
    .date-picker-modal-body,
    .date-picker-modal-footer {
        padding: 15px 20px;
    }

    .date-picker-modal-title {
        font-size: 20px;
    }

    .date-mode-btn {
        padding: 10px 15px;
        font-size: 12px;
    }

    .date-picker-wrapper .period {
        height: 48px;
        padding: 12px 45px 12px 45px;
        font-size: 14px;
    }

    .date-picker-wrapper .calendar-icon {
        left: 15px;
    }
}

/* Months Selector Interface */
.months-selector-interface {
    margin-top: 20px;
}

.months-year-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.months-nav-btn {
    background: #2E2E2E;
    border: 2px solid #383838;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.88);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.months-nav-btn:hover:not(.disabled) {
    background: #3A3A3A;
    border-color: #BC5AFF;
    color: #BC5AFF;
}

.months-nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.months-year-display {
    font-family: Hkgrotesk-800, sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 24px;
    line-height: 32px;
    color: rgba(255, 255, 255, 0.88);
    min-width: 80px;
    text-align: center;
}

.months-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.month-select-btn {
    padding: 15px 20px;
    background: #2E2E2E;
    border: 2px solid transparent;
    border-radius: 4px;
    font-family: Hkgrotesk-600, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.88);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.month-select-btn:hover:not(.disabled) {
    background: #3A3A3A;
    border-color: #383838;
}

.month-select-btn.selected {
    background: #BC5AFF;
    border-color: #BC5AFF;
    color: #ffffff;
}

.month-select-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
    background: #1E1E1E;
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .months-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .month-select-btn {
        padding: 12px 16px;
        font-size: 12px;
    }

    .months-year-display {
        font-size: 20px;
        line-height: 28px;
    }

    .months-nav-btn {
        width: 35px;
        height: 35px;
    }
}

/* Block Type Links Styles - Moved from block-type-links */
.btl_wrapper {
    width: 100%;
    padding: 30px 0;
}

.btl_links_container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}

.btl_link_item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 12px;
    background: #363636;
    border-radius: 3px;
    text-decoration: none;
    color: #FFFFFF;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 56px;
    gap: 12px;
}

.btl_link_item:hover {
    background: #2E2E2E;
    color: #ffffff;
    text-decoration: none;
}

/* Icon for shows (fallback when no thumbnail) */
.btl_link_item--shows .btl_link_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.88);
}

.btl_link_item--shows .btl_link_icon i {
    font-size: 18px;
    line-height: 1;
}

/* Thumbnail for shows and venues */
.btl_link_item--shows .btl_link_thumbnail,
.btl_link_item--venues .btl_link_thumbnail {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2E2E2E;
}

.btl_link_item--shows .btl_link_thumbnail img,
.btl_link_item--venues .btl_link_thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Months - no icon/thumbnail */
.btl_link_item--shows-by-month {
    justify-content: center;
}

.btl_link_title {
    font-family: Hkgrotesk-500, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    color: inherit;
    flex: 1;
    text-align: left;
}

.btl_link_item--shows-by-month .btl_link_title {
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .btl_links_container {
        gap: 10px;
    }

    .btl_link_item {
        padding: 14px 16px;
        min-height: 52px;
        gap: 10px;
    }

    .btl_link_item--shows .btl_link_thumbnail,
    .btl_link_item--venues .btl_link_thumbnail {
        width: 36px;
        height: 36px;
    }

    .btl_link_item--shows .btl_link_icon {
        width: 20px;
        height: 20px;
    }

    .btl_link_item--shows .btl_link_icon i {
        font-size: 16px;
    }

    .btl_link_title {
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .btl_links_container {
        gap: 8px;
    }

    .btl_link_item {
        padding: 12px 14px;
        min-height: 48px;
        gap: 8px;
    }

    .btl_link_item--shows .btl_link_thumbnail,
    .btl_link_item--venues .btl_link_thumbnail {
        width: 32px;
        height: 32px;
    }

    .btl_link_item--shows .btl_link_icon {
        width: 18px;
        height: 18px;
    }

    .btl_link_item--shows .btl_link_icon i {
        font-size: 14px;
    }

    .btl_link_title {
        font-size: 12px;
    }
}