.gdt-volunteer-search-archive {
    color: #10213f;
}

.gdt-volunteer-search {
    margin: 0 0 28px;
}

.gdt-volunteer-search--smart-sticky {
    position: fixed;
    top: 50px;
    left: 50%;
    z-index: 9998;
    width: min(1160px, calc(100vw - 24px));
    transform: translate(-50%, -120%);
    transition: transform 180ms ease;
}

.gdt-volunteer-search--sticky-visible {
    transform: translate(-50%, 12px);
}

.gdt-volunteer-search--sticky-hidden {
    transform: translate(-50%, -120%);
}

.gdt-volunteer-searchbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    padding: 8px;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 33, 63, 0.06);
}

.gdt-volunteer-searchbar__input {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 36px;
    gap: 10px;
    align-items: center;
    min-height: 42px;
    margin: 0;
    padding: 0 8px 0 12px;
    border: 1px solid #edf0f5;
    border-radius: 7px;
    color: #f36b21;
}

.gdt-volunteer-searchbar__input input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #10213f;
    font-size: 13px;
}

.gdt-volunteer-searchbar__input button,
.gdt-volunteer-filter-toggle,
.gdt-volunteer-clear-filters,
.gdt-volunteer-filter-actions button {
    min-height: 34px;
    border: 1px solid #edf0f5;
    border-radius: 6px;
    background: #fff;
    color: #52637a;
    padding: 0 13px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.gdt-volunteer-searchbar__input button,
.gdt-volunteer-filter-toggle {
    color: #f36b21;
}

.gdt-volunteer-clear-filters[hidden],
.gdt-volunteer-filter-drawer[hidden] {
    display: none;
}

.gdt-volunteer-filter-drawer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(16, 33, 63, 0.28);
}

body.gdt-volunteer-filter-open {
    overflow: hidden;
}

.gdt-volunteer-filter-drawer__panel {
    display: grid;
    grid-template-rows: auto 1fr auto;
    width: min(390px, 100vw);
    height: 100%;
    margin-left: auto;
    background: #fff;
    box-shadow: -18px 0 40px rgba(16, 33, 63, 0.18);
}

.gdt-volunteer-filter-drawer__header,
.gdt-volunteer-filter-drawer__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #e7ebf2;
}

.gdt-volunteer-filter-drawer__footer {
    justify-content: center;
    border-top: 1px solid #e7ebf2;
    border-bottom: 0;
}

.gdt-volunteer-filter-close {
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: #10213f;
    font-size: 22px;
    cursor: pointer;
}

.gdt-volunteer-filter-drawer__body {
    display: grid;
    grid-template-columns: 132px 1fr;
    min-height: 0;
}

.gdt-volunteer-filter-tabs {
    border-right: 1px solid #e7ebf2;
    background: #f5f8fb;
}

.gdt-volunteer-filter-tabs button {
    display: block;
    width: 100%;
    min-height: 44px;
    border: 0;
    border-bottom: 1px solid #e7ebf2;
    background: transparent;
    color: #10213f;
    padding: 0 12px;
    text-align: left;
    font-size: 12px;
    cursor: pointer;
}

.gdt-volunteer-filter-tabs button.is-active {
    background: #fff;
    color: #0d5bd7;
    font-weight: 700;
}

.gdt-volunteer-filter-content {
    padding: 18px;
    overflow: auto;
}

.gdt-volunteer-filter-pane {
    display: none;
    gap: 7px;
}

.gdt-volunteer-filter-pane.is-active {
    display: grid;
    gap: 16px;
}

.gdt-volunteer-filter-group {
    display: grid;
    gap: 9px;
}

.gdt-volunteer-filter-group > strong {
    color: #10213f;
    font-size: 14px;
}

.gdt-volunteer-check {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    margin: 0;
    color: #52637a;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
}

.gdt-volunteer-check input {
    width: 16px;
    height: 16px;
    min-width: 16px;
    flex: 0 0 16px;
    margin: 0;
    margin-top: 1px;
    accent-color: #f36b21;
}

.gdt-volunteer-check span {
    min-width: 0;
}

.gdt-volunteer-select-field {
    display: grid;
    gap: 7px;
    margin: 0;
    color: #52637a;
    font-size: 13px;
    font-weight: 700;
}

.gdt-volunteer-select-field select {
    min-height: 40px;
    width: 100%;
    border: 1px solid #d8dde7;
    border-radius: 6px;
    background: #fff;
    padding: 0 10px;
    color: #10213f;
}

.gdt-volunteer-filter-empty {
    margin: 0;
    color: #8a96a8;
    font-size: 13px;
}

.gdt-volunteer-filter-empty[hidden] {
    display: none;
}

.gdt-volunteer-filter-apply {
    min-height: 38px;
    min-width: 170px;
    border: 0;
    border-radius: 999px;
    border-color: #f36b21;
    background: #f36b21;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.gdt-volunteer-search-archive--loading .gdt-volunteer-search-results {
    opacity: 0.55;
    pointer-events: none;
}

.gdt-volunteer-result-section + .gdt-volunteer-result-section {
    margin-top: 42px;
}

.gdt-volunteer-results__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 22px;
}

.gdt-volunteer-results__bar h2 {
    margin: 0;
    color: #10213f;
    font-size: 24px;
    font-weight: 800;
}

.gdt-volunteer-results__bar span {
    color: #64758e;
    font-size: 14px;
    font-weight: 700;
}

.gdt-volunteer-no-match,
.gdt-volunteer-empty {
    margin: 0 0 24px;
    border: 1px solid #d9dde5;
    border-radius: 7px;
    background: #fff;
    padding: 18px 20px;
    color: #52637a;
}

.gdt-volunteer-no-match strong {
    color: #10213f;
}

@media (max-width: 991px) {
    .gdt-volunteer-filter-drawer__body {
        grid-template-columns: 116px 1fr;
    }
}

@media (max-width: 640px) {
    .gdt-volunteer-searchbar {
        grid-template-columns: 1fr;
    }

    .gdt-volunteer-filter-drawer__body {
        grid-template-columns: 108px 1fr;
    }

    .gdt-volunteer-filter-tabs button {
        padding: 0 9px;
        font-size: 11px;
    }

    .gdt-volunteer-results__bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}
