
/*css ô search list gói cước*/
.search-package-bar, .search-history-bar {
    display: flex;
    align-items: center;
    gap: 32px;
    width: 100%;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
}

.search-input-wrapper .icon-search {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    opacity: 0.6;
}

.search-input-wrapper input {
    width: 100%;
    padding: 10px 14px 10px 43px; /* chừa chỗ cho icon */
    outline: none;
    color: #041F4A;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    border-radius: 6px;
    border: 1px solid #CCC;
    background: #FFF;
}

.search-input-wrapper input::placeholder {
    color: #8C8C8C;
    font-weight: 400;
    opacity: 1;
}

.btn-search {
    padding: 10px 50px;
    background: #1a73e8;
    color: #fff;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    white-space: nowrap;
    text-transform: uppercase;
}

.btn-search:hover {
    background: #115ecb;
}

.list-charge .mobile-service-content.package_list {
    padding-bottom: 0;
}

.search-result-title {
    color: #041F4A;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding-bottom: 16px;
}


/*css lịch sử tìm kiếm*/


.search-history {
    width: 100%;
    margin-top: 12px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 16px 12px;
    margin-bottom: 32px;
}

.history-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 8px;
}

.clear-history {
    cursor: pointer;
    color:  #FF3E3E;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.history-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.history-item {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 16px;
    font-size: 13px;
    cursor: pointer;
    background: #f9f9f9;
}

.history-item:hover {
    background: #e3f2fd;
}

#btnSearchPackageCss {
    opacity: 0;
    pointer-events: none;
}

.history-header-title {
    color: #041F4A;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}


.history-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.history-item {
    display: flex;
    padding: 8px 8px 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    border: 1px solid #CCC;
}

.history-item .text {
    white-space: nowrap;
    color: #041F4A;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}

.history-item .remove {
    width: 16px;
    height: 16px;
    opacity: 0.8;
    cursor: pointer;
}

.history-item .remove:hover {
    opacity: 1;
}


/*css không tìm thấy kết quả khi search*/
.no-result {
    background: #fff;
    border-radius: 12px;
    padding: 56px 16px;
    text-align: center;
}

.no-result .img-result {
    width: 270px;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

.no-result-text {
    color:  #344A6C;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    padding-top: 24px;
}


@media screen and (max-width: 576px) {
    .search-package-bar, .search-history-bar {
        gap : 12px;
    }
    .btn-search {
        padding: 8px 12px;
        font-size: 14px;
        font-weight: 700;
        text-transform: none;
    }
    .search-input-wrapper input {
        padding: 8px 12px 8px 35px;
        font-size: 14px;
    }
    .search-input-wrapper .icon-search {
        width: 20px;
    }
    .search-input-wrapper input::placeholder {
      font-size: 14px;
    }

    .history-item {
        padding: 4px 4px 4px 8px ;
    }

    .no-result .img-result {
        width: 200px;
    }
    .no-result-text {
        font-size: 14px;
        padding-top: 16px;
    }
    .history-list {
        gap:8px;
    }


}

