.gf-filter-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gf-open-filters {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(0,0,0,.15);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.gf-open-filters:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0,0,0,.12);
}

.gf-quick-date-buttons {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.gf-quick-date-buttons button {
    min-height: 50px;
    padding: 8px 13px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,.14);
    background: var(--ast-global-color-1, #f5f5f5);
    color: var(--ast-global-color-3, #222);
    cursor: pointer;
    font-size: 13px;
    transition: .2s ease;
}

.gf-quick-date-buttons button:hover,
.gf-quick-date-buttons button.active {
	filter: brightness(0.7);
    background: var(--ast-global-color-1);
    color: var(--ast-global-color-3);
}

.gf-filters-overlay {
    position: fixed !important;
    inset: 0;
    background: rgba(0,0,0,.78);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 2147483647 !important;
    padding: 20px;
    transition: opacity .25s ease, visibility .25s ease;
}

.gf-filters-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gf-filters-modal {
    background: var(--ast-global-color-1, #fff);
    color: var(--ast-global-color-3, #222);
    width: 92%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 25px 80px rgba(0,0,0,.35);
    box-sizing: border-box;
    transform: translateY(15px) scale(.98);
    transition: transform .25s ease;
}

.gf-filters-overlay.is-open .gf-filters-modal {
    transform: translateY(0) scale(1);
}

.gf-filters-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 25px;
}

.gf-filters-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: .55;
    margin-bottom: 4px;
}

.gf-filters-modal h3 {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
    color: var(--ast-global-color-3, #222);
}

.gf-filter-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.15);
    background: transparent;
    color: var(--ast-global-color-3, #222);
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.gf-filter-section {
    margin-bottom: 23px;
}

.gf-filter-section-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    margin-bottom: 10px;
    opacity: .75;
}

.gf-filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gf-filter-field span {
    font-size: 12px;
    font-weight: 600;
    opacity: .7;
}

.gf-filter-field input {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border-radius: 7px;
    border: 1px solid rgba(0,0,0,.14);
    background: var(--ast-global-color-1, #f5f5f5);
    color: var(--ast-global-color-3, #222);
    font-size: 14px;
}

.gf-date-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gf-filter-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,.1);
}

.gf-filter-clear {
    border: none;
    background: transparent;
    color: var(--ast-global-color-3, #222);
    opacity: .65;
    cursor: pointer;
    padding: 10px;
}

.gf-filter-apply {
    flex: 1;
    max-width: 260px;
    border: none;
    background: #7b2cff;
    color: #fff;
    padding: 12px 20px;
    border-radius: 7px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 600px) {
    .gf-filter-toolbar {
        width: 100%;
    }

    .gf-quick-date-buttons {
        flex: 1;
    }

    .gf-quick-date-buttons button {
        flex: 1;
    }

    .gf-filters-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .gf-filters-modal {
        width: 100%;
        max-width: none;
        max-height: 88vh;
        border-radius: 18px 18px 0 0;
        padding: 22px 18px;
    }

    .gf-filters-modal h3 {
        font-size: 24px;
    }

    .gf-date-grid {
        grid-template-columns: 1fr;
    }

    .gf-filter-actions {
        position: sticky;
        bottom: 0;
        background: var(--ast-global-color-5, #fff);
    }

    .gf-filter-apply {
        max-width: none;
    }
}
