.search-shell {
    position: relative;
    width: 100%;
}

.hero-banner-one .slider {
    position: relative;
    z-index: 1000;
}



.hero-banner-one .search-shell__card,
.hero-banner-one .search-shell__row,
.hero-banner-one .search-filter__toggle,
.hero-banner-one .search-shell__submit {
    position: relative;
    z-index: 50;
}

.hero-banner-one .search-shell {
    position: relative;
    z-index: 40;
    max-width: 960px;
    margin: 0 auto 35px;
}

.hero-search-wrapper {
    position: relative;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.hero-banner-one .search-shell * {
    pointer-events: auto;
}

.search-shell__card {
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(13, 38, 76, 0.08);
    padding: 24px;
}

.search-shell__tabs {
    display: flex;
    justify-content: center;
    gap: 48px;
    border-bottom: 1px solid #dbe3ef;
    margin-bottom: 20px;
    position: relative;
}

.search-shell__tab {
    background: none;
    border: none;
    padding: 0 0 16px;
    font-weight: 700;
    font-size: 18px;
    color: #49556f;
    position: relative;
    transition: color 0.2s linear;
}

.search-shell__tab.is-active,
.search-shell__tab:hover {
    color: #12294d;
}

.search-shell__tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #63ace5 0%, #2e75d4 100%);
}

.search-shell__row {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.search-shell__row--primary {
    margin-bottom: 16px;
}

.search-shell__input {
    position: relative;
    width: 100%;
}

.search-shell__input-icon {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: #7c8799;
    font-size: 20px;
    pointer-events: none;
}

[dir="rtl"] .search-shell__input-icon {
    left: auto;
    right: 20px;
}

.search-shell__input-field {
    width: 100%;
    border-radius: 18px;
    border: 1px solid #dfe3ec;
    padding: 18px 24px 18px 52px;
    font-size: 16px;
    color: #1a2533;
    background-color: #f8f9fc;
    transition: border-color 0.2s linear, box-shadow 0.2s linear;
}

[dir="rtl"] .search-shell__input-field {
    padding-left: 24px;
    padding-right: 52px;
}

.search-shell__input-field:focus {
    outline: none;
    border-color: #2e75d4;
    box-shadow: 0 0 0 4px rgba(46, 117, 212, 0.12);
}

.search-shell__suggestions {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 24px 55px rgba(13, 38, 76, 0.15);
    border: 1px solid #dfe3ec;
    overflow: hidden;
    z-index: 3000;

    max-height: 360px;
    overflow-y: auto;
}

.search-shell__suggestion-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    cursor: pointer;
    transition: background 0.2s linear;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.search-shell__suggestion-item:hover,
.search-shell__suggestion-item:focus {
    background: #f2f6ff;
}

.search-shell__suggestion-avatar {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #f1f4fb;
    color: #2e75d4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    text-transform: uppercase;
    overflow: hidden;
}

.search-shell__suggestion-item[data-type="developer"] .search-shell__suggestion-avatar {
    background: #fff4e5;
    color: #f2994a;
}

.search-shell__suggestion-item[data-type="project"] .search-shell__suggestion-avatar {
    background: #ecf9f3;
    color: #2f9d62;
}

.search-shell__suggestion-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1 1 auto;
}

[dir="rtl"] .search-shell__suggestion-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .search-shell__suggestion-avatar {
    margin-left: 0;
}

[dir="rtl"] .search-shell__suggestion-body {
    align-items: flex-end;
    text-align: right;
}

.search-shell__suggestion-title {
    font-size: 15px;
    font-weight: 600;
    color: #132a4b;
}

.search-shell__suggestion-meta {
    font-size: 13px;
    color: #7c8799;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-shell__suggestions::-webkit-scrollbar {
    width: 6px;
}

.search-shell__suggestions::-webkit-scrollbar-thumb {
    background: rgba(13, 38, 76, 0.25);
    border-radius: 12px;
}


.search-shell__row--filters {
    flex-wrap: wrap;
    overflow: visible;
}

.search-filter {
    position: relative;
    flex: 1 1 50px;
    min-width: 180px;
}

.search-filter__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-radius: 16px;
    border: 1px solid #dfe3ec;
    background: #f8f9fc;
    padding: 14px 18px;
    font-size: 15px;
    color: #1a2533;
}

.search-filter__toggle i {
    color: #7c8799;
    font-size: 16px;
}

.search-filter__label {
    font-weight: 600;
}

.search-filter__value {
    flex-grow: 1;
    text-align: right;
    color: #2e75d4;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[dir="rtl"] .search-filter__value {
    text-align: left;
}

.search-filter__dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 24px 55px rgba(13, 38, 76, 0.18);
    border: 1px solid #dfe3ec;
    padding: 20px;
    z-index: 25;
}

[dir="rtl"] .search-shell__tabs {
    direction: rtl;
}

[dir="rtl"] .search-shell__tab {
    font-weight: 700;
}

.search-filter__dropdown-body {
    max-height: 280px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.search-filter__dropdown-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
}

.search-filter__action {
    border: none;
    border-radius: 12px;
    padding: 8px 22px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}

.search-filter__action--reset {
    background: transparent;
    color: #7c8799;
}

.search-filter__action--apply {
    background: #2e75d4;
    color: #ffffff;
}

.search-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: #1a2533;
}

.search-checkbox + .search-checkbox {
    margin-top: 12px;
}

.search-checkbox input {
    width: 18px;
    height: 18px;
}

.search-filter__section h6 {
    font-size: 14px;
    font-weight: 700;
    color: #132a4b;
    margin-bottom: 12px;
}

.search-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid #d6deeb;
    padding: 6px 12px;
    font-size: 14px;
    color: #1a2533;
    cursor: pointer;
    transition: background 0.2s linear, color 0.2s linear, border-color 0.2s linear;
}

.search-pill input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.search-pill span {
    pointer-events: none;
}

.search-pill input:checked + span,
.search-pill.is-active {
    background: #e7f1ff;
    border-color: #2e75d4;
    color: #2e75d4;
}

.range-fields {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

[data-price-slider] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.search-filter__dropdown-body .irs {
    margin-top: 12px;
}

.range-field {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: #7c8799;
}

.range-input {
    border-radius: 12px;
    border: 1px solid #dfe3ec;
    padding: 10px 12px;
    font-size: 14px;
    color: #1a2533;
    background: #f8f9fc;
}

.search-shell__submit {
    flex: 0 0 20px;
    border: none;
    border-radius: 16px;
    background: #0f6abf;
    color: #ffffff;
    font-weight: 600;
    padding: 14px 24px;
    font-size: 16px;
    transition: background 0.2s linear;
}

.search-shell__submit:hover {
    background: #0d5aa4;
}

.search-shell__advanced,
.search-shell__advanced-toggle,
.search-shell__advanced-body {
    display: none;
}

@media (max-width: 1024px) {
    .search-shell__row--filters {
        flex-direction: column;
        align-items: stretch;
    }

    .search-shell__submit {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .search-shell {
        max-width: 84%;
        margin: 28px auto 20px;
    }

    .search-shell__card {
        padding: 18px;
        border-radius: 18px;
    }

    .search-shell__tabs {
        gap: 24px;
    }

    .search-shell__input-field {
        font-size: 15px;
        padding: 10px 16px;
        border-radius: 14px;
    }

    .search-shell__row--filters {
        gap: 6px;
        margin-bottom: 6px;
    }

    .search-filter {
        width: 100%;
        margin-bottom: 0;
    }

    .search-filter__toggle {
        padding: 10px 14px;
        border-radius: 14px;
        font-size: 15px;
    }

    .search-shell__submit {
        width: 60%;
        margin: 12px auto 0;
        min-height: 40px;
        padding: 8px 14px;
        font-size: 14px;
    }
}
.hero-banner-one .slider img {
    pointer-events: none;
}
.hero-search-wrapper .search-filter__dropdown,
.hero-mobile-banner .search-filter__dropdown {
    z-index: 2000;
}
.hero-search-wrapper {
    position: relative;
    margin-top: -80px;
    z-index: 5;
    display: flex;
    justify-content: center;
}
.hero-search-wrapper .search-shell {
    position: relative;
    z-index: 50;
    max-width: 980px;
    margin: 0 auto;
}
[dir="rtl"] .search-shell__suggestion-type {
    margin-left: 0;
    margin-right: 12px;
}

.search-shell__suggestion-type {
    margin-left: 12px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: #edf3ff;
    color: #2e6adc;
    flex-shrink: 0;
}

.search-shell__suggestion-item[data-type="developer"] .search-shell__suggestion-type {
    background: #fff2dc;
    color: #e08a2d;
}

.search-shell__suggestion-item[data-type="project"] .search-shell__suggestion-type {
    background: #def5ea;
    color: #23824c;
}

.search-shell__suggestion-item[data-type="location"] .search-shell__suggestion-type {
    background: #eae9ff;
    color: #5a52ce;
}
