.autocomplete {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
}
.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
}
.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: #e9e9e9;
}
.autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: DodgerBlue !important;
    color: #ffffff;
}
.box-loading {
    background: #fff;
    height: 325px;
    width: 800px;
    margin: 0 auto;
    padding: 20px;
    display: block;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    -o-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    border-radius: 3px;
    -o-border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

.box-thumbnail {
    height: 40px;
    width: 100%;
    float: left;
    margin-right: 10px;
}
[class*="box-line"],
.box-thumbnail {
    animation: timeline;
    animation-duration: 1.2s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    background: unset;
    background-size: 800px auto;
}
@keyframes timeline {
    0% {
        background-position: -350px 0;
    }
    100% {
        background-position: 400px 0;
    }
}
@media (min-width: 375px) {
    .description-text{
        font-size: 12px;
    }
    .img-gift{
        display: none;
    }
    .img-gift-mobile{
        display: flex;
        width: 200px;
    }
}
@media (min-width: 768px) {
    #statistic {
        height: 450px;
    }
    .description-text{
        font-size: 11px;
    }
    .img-gift{
        display: flex;
    }
    .img-gift-mobile{
        display: none;
    }
}
@media (min-width: 1024px) {
    #statistic {
        height: 200px;
    }
    .description-text{
        font-size: 14px;
    }
    .img-gift{
        display: flex;
    }
    .img-gift-mobile{
        display: none;
    }
}
@media (min-width: 1280px) {
    #statistic {
        height: 200px;
    }
    .description-text{
        font-size: 15px;
    }
    .img-gift{
        display: flex;
    }
    .img-gift-mobile{
        display: none;
    }
}

.icon_noti{
    display: block;
    margin: auto;
    transform: scale(10);
    transform-origin: top center;
    animation: bellring 1.4s ease infinite;
}
@keyframes bellring {
    0% { transform: rotate(0); }
    10% { transform: rotate(30deg); }
    20% { transform: rotate(-30deg); }
    30% { transform: rotate(20deg); }
    40% { transform: rotate(-20deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(-10deg); }
    70% { transform: rotate(8deg); }
    80% { transform: rotate(0);}
    100% { transform: rotate(0);}
}

.upload__inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
.upload__btn {
    display: inline-block;
    font-weight: 600;
    color: #fff;
    text-align: center;
    min-width: 116px;
    padding: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid;
    background-color: #4045ba;
    border-color: #4045ba;
    border-radius: 10px;
    line-height: 15px;
    font-size: 14px;
}
.upload__btn:hover {
    background-color: unset;
    color: #4045ba;
    transition: all 0.3s ease;
}
.upload__btn-box {
    margin-bottom: 10px;
}
.upload__img-wrap {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}
.upload__img-box {
    width: 175px;
    padding: 0 10px;
    margin-bottom: 12px;
}
.upload__img-close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 10px;
    right: 10px;
    text-align: center;
    line-height: 24px;
    z-index: 1;
    cursor: pointer;
}
.upload__img-close:after {
    content: '\2716';
    font-size: 14px;
    color: white;
}
.img-bg {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    padding-bottom: 100%;
}



/* Giới hạn chiều cao danh sách quà và bật scroll */
.gift-container {
    max-height: 615px; /* Điều chỉnh chiều cao phù hợp */
    overflow-y: auto; /* Hiển thị thanh cuộn dọc nếu cần */
    overflow-x: hidden; /* Tránh cuộn ngang nếu không cần */
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Danh sách quà tặng có thể cuộn ngang */
.gift-list {
    display: flex;
    flex-wrap: wrap;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;
}

/* Cố định nút "Đặt hàng" ở cuối gift-container khi cuộn */
.sticky-order-btn {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white; /* Đảm bảo không bị che bởi nội dung */
    padding: 10px;
    text-align: end;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.accordion-collapse.collapse {
    visibility: unset;
}

.text-tpurple {
    --tw-text-opacity: 1;
    color: rgb(111 45 189 / var(--tw-text-opacity, 1));
}

.popover-wide {
    min-width: 390px;
}


