/* ══════════════════════════════════════
       SEARCH
       ══════════════════════════════════════ */
.search-section {
    background: #fff;
    padding: 26px 0 28px;
}

.search-label {
    font-size: 28px;
    font-weight: 500;
    color: var(--bs-black);
    margin-bottom: 10px;
}

.search-group {
    display: flex;
    /* max-width: 460px; */
    border-radius: 8px;
    overflow: hidden;
    border: 1.5px solid #C8CDD4;
}

.search-group select {
    flex: 0 0 148px;
    border: none;
    border-right: 1.5px solid #C8CDD4;
    font-size: 13px;
    color: #333;
    padding: 9px 28px 9px 10px;
    background: #fff;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%23666' d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 10px) center;
}

.search-btn {
    flex: 1;
    background: var(--bs-secondary-500);
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: background .15s;
}

.search-btn:hover {
    background: var(--bs-secondary-700);
}

.search-input-bg{
    background-color: var(--bs-gray-300) !important;
    border: none !important;
    border-radius: 0px;
}

.search-input-bg:focus {
    background-color: var(--bs-gray-300) !important;
    border: none !important;
    border-radius: 0px;
    box-shadow: none !important;
}

/* ── Search box wrap (replaces inline width:50%) ── */
.search-box-wrap {
    width: 50%;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .search-box-wrap {
        width: 75%;
    }
}

@media (max-width: 767.98px) {
    .search-box-wrap {
        width: 90%;
    }
    .search-label {
        font-size: 22px;
    }
}

@media (max-width: 575.98px) {
    .search-section {
        padding: 20px 0 22px;
    }
    .search-box-wrap {
        width: 100%;
        padding: 0 4px;
    }
    .search-label {
        font-size: 19px;
    }
    /* Stack select above input+button on very small screens */
    .search-group {
        flex-wrap: wrap;
        border-radius: 8px;
    }
    .search-group select {
        flex: 0 0 100%;
        border-right: none;
        border-bottom: 1.5px solid #C8CDD4;
        border-radius: 0;
        padding: 9px 28px 9px 10px;
    }
    .search-group .form-control {
        flex: 1;
        border-radius: 0;
    }
    .search-btn {
        flex: 0 0 auto;
        padding: 9px 16px;
        white-space: nowrap;
    }
}
