/* İlan ara — enterprise */

.search-sort-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem;
}

.search-sort-toolbar__search {
    flex: 1 1 280px;
    min-width: 0;
}

.search-sort-toolbar__sort {
    flex: 1 1 320px;
    min-width: 0;
}

.search-index-page--enterprise .search-page-intro {
    background: linear-gradient(135deg, #e7f5ff 0%, #fff 50%, #f8f9fa 100%);
    border: 1px solid rgba(13, 110, 253, 0.1);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    margin-bottom: 1rem;
}

.search-index-page--enterprise .search-page-intro h1 {
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 800;
    color: #1864ab;
    margin: 0 0 0.35rem;
}

.search-index-page--enterprise .search-page-intro p {
    margin: 0;
    color: #495057;
    font-size: 0.95rem;
}

.search-index-page--enterprise .search-filters-card {
    border-radius: 16px;
    border: 1px solid #dee2e6;
    box-shadow: 0 8px 32px rgba(13, 110, 253, 0.06);
    position: sticky;
    top: 88px;
}

.search-index-page--enterprise .search-filters-card h5 {
    font-weight: 700;
    color: #1864ab;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e7f5ff;
    margin-bottom: 1rem !important;
}

.search-index-page--enterprise .search-filters-card h6 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #868e96;
    font-weight: 600;
}

.search-index-page--enterprise #listingResultsRoot {
    min-height: 200px;
}

.search-index-page--enterprise #listingResultsRoot.blog-results-loading {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.search-index-page--enterprise .page-highlights {
    margin-bottom: 1.5rem;
}

.search-filter-section-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #868e96;
    font-weight: 700;
    margin: 0;
}

.search-feature-accordion {
    --bs-accordion-border-radius: 12px;
    --bs-accordion-inner-border-radius: 12px;
}

.search-feature-accordion-item {
    border: none;
    margin-bottom: 8px;
    border-radius: 12px !important;
    overflow: hidden;
    background: #f8f9fa;
}

.search-feature-accordion-item .accordion-button {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.65rem 0.85rem;
    background: #f8f9fa;
    box-shadow: none;
}

.search-feature-accordion-item .accordion-button:not(.collapsed) {
    background: #e7f5ff;
    color: #1864ab;
}

.search-feature-accordion-item .accordion-body {
    padding: 0.75rem 0.85rem 0.85rem;
}

.search-filter-block {
    border-top: 1px solid #e9ecef;
    padding-top: 0.75rem;
}

.search-filter-block-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    padding: 0.35rem 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #868e96;
    font-weight: 700;
}

.search-filter-chevron {
    transition: transform 0.2s ease;
    font-size: 0.75rem;
}

.search-filter-block-toggle[aria-expanded="true"] .search-filter-chevron {
    transform: rotate(180deg);
}

.search-feature-filters {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 4px;
    margin-top: 0.5rem;
}

.search-feature-group {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
}

.search-feature-group-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0.65rem 0.85rem;
    background: transparent;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: #343a40;
    text-align: left;
}

.search-feature-group-toggle:hover {
    background: #e9ecef;
}

.search-feature-group-count {
    font-size: 0.7rem;
    font-weight: 500;
    color: #868e96;
    white-space: nowrap;
}

.search-feature-group-body {
    padding: 0 0.85rem 0.85rem;
}

.search-feature-row + .search-feature-row {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #dee2e6;
}

.search-feature-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #495057;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.search-feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.search-feature-pill {
    display: inline-flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
    user-select: none;
}

.search-feature-pill-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.search-feature-pill span {
    display: inline-block;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    border: 1px solid #ced4da;
    background: #fff;
    color: #495057;
    transition: all 0.15s ease;
}

.search-feature-pill:hover span {
    border-color: #74c0fc;
    color: #1864ab;
}

.search-feature-pill.is-active span {
    background: linear-gradient(135deg, #1864ab, #228be6);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px rgba(24, 100, 171, 0.25);
}

.search-feature-clear {
    font-size: 0.8125rem;
}

.search-index-page--enterprise .search-filters-card .form-select,
.search-index-page--enterprise .search-filters-card .form-control {
    border-radius: 10px;
    font-size: 0.9rem;
}

@media (max-width: 991.98px) {
    .search-index-page--enterprise .search-filters-card {
        position: static;
    }

    .search-feature-filters {
        max-height: none;
    }
}
