/* CSS cho máy tính */
@media screen and (min-width: 768px) {
    .swiper-desktop {
        display: block;
    }
    .swiper-mobile {
        display: none;
    }
}

/* CSS cho điện thoại di động */
@media screen and (max-width: 767px) {
    .swiper-desktop {
        display: none;
    }
    .swiper-mobile {
        display: block;
    }
}

/* Thêm đoạn CSS sau vào phần style của bạn */
#searchButton {
    position: relative;
   /* Đảm bảo rằng nút tìm kiếm có vị trí tương đối */
    z-index: 1000;
   /* Đặt giá trị z-index cho nút tìm kiếm */
}
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
   /* Đặt giá trị z-index cho thanh điều hướng */
    background-color: #fff;
   /* Màu nền của thanh điều hướng */
    border-bottom: 1px solid #ddd;
   /* Đường viền dưới của thanh điều hướng */
    padding: 10px;
}
#searchPopover {
    display: none;
    position: fixed;
    bottom: 60px;
   /* Đặt khoảng cách từ bottom sao cho nó nằm trên thanh điều hướng */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1500;
   /* Đặt giá trị z-index cao hơn thanh điều hướng */
    width: 320px;
}
#searchPopover.visible {
    display: block;
}
@media only screen and (max-width: 600px) {
   /* Hiển thị thanh điều hướng trên các màn hình nhỏ hơn 600px (điện thoại di động) */
    .ws-sticky-navbar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background-color: white;
        border-top: 1px solid #ddd;
       /* Thêm đường viền trên thanh điều hướng nếu cần */
        padding: 2px 1px;
        display: flex;
        justify-content: space-between;
        align-items: center;
   }
    .ws-sticky-navbar a {
        text-decoration: none;
        color: #333;
       /* Màu chữ của các liên kết */
        padding: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
   }
    .ws-sticky-navbar i {
        font-size: 20px;
        margin-bottom: 5px;
   }
    .ws-sticky-navbar span {
        font-weight: bold;
        font-size: 12px;
   }
}
#dropdownContent {
    position: fixed;
    display: none;
    z-index: 2001;
    max-height: 100vh;
    /* Chiều cao tối đa là chiều cao của cửa sổ */
    overflow: hidden;
    white-space: nowrap;
    /* Ngăn chặn chữ xuống dòng */
}

.el-input--suffix .el-input__inner {
    padding-right: 30px;
}
.el-select .el-input__inner {
    cursor: pointer;
    padding-right: 35px;
}
.el-input--suffix .el-input__inner {
    padding-right: 30px;
}
.el-select .el-input__inner {
    cursor: pointer;
    padding-right: 35px;
}
.el-input__inner {
    -webkit-appearance: none;
    background-color: #fff;
    background-image: none;
    border-radius: 4px;
    border: 1px solid #dcdfe6;
    box-sizing: border-box;
    color: #606266;
    display: inline-block;
    font-size: inherit;
    height: 40px;
    line-height: 40px;
    outline: none;
    padding: 0 15px;
    transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    width: 100%;
}
.custom-swal-container {
    z-index: 2012;
}
.tw-text-red-500 {
    --tw-text-opacity: 1;
    color: rgba(48, 184, 242, var(--tw-text-opacity));
}
.tw-font-bold {
    font-weight: 700;
}
.tw-py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.tw-px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.tw-bg-white {
    --tw-bg-opacity: 1;
    background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
}
.tw-mb-4 {
    margin-bottom: 1rem;
}
.tw-relative {
    position: relative;
}
.tw-flex {
    display: flex;
}
.tw-h-10 {
    height: 2.5rem;
}
.tw-items-center {
    align-items: center;
}
.tw-justify-center {
    justify-content: center;
}
.tw-flex {
    display: flex;
}
.tw-justify-center {
    justify-content: center;
}
@media (min-width: 768px) .md\:tw-rounded {
    border-radius: 6rem;
}
.tw-text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}
.tw-bg-white {
    --tw-bg-opacity: 1;
    background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
}
.tw-justify-center {
    justify-content: center;
}
.tw-items-center {
    align-items: center;
}
.tw-w-10 {
    width: 2.5rem;
}
.tw-h-10 {
    height: 2.5rem;
}
.tw-flex {
    display: flex;
}
.tw-absolute {
    position: absolute;
}
.tw-flex {
    display: flex;
}
.tw-items-center {
    align-items: center;
}
.tw-flex {
    display: flex;
}
.tw-items-center {
    align-items: center;
}
.tw-w-full {
    width: 100%;
}
.tw-flex {
    display: flex;
}
.tw-w-full {
    width: 100%;
}
.fade {
    display: none;
}
.fade.show {
    display: flex !important;
}
.open {
    display: block !important;
}

/* index */
.home {
    display: flex;
}

#button-contact-vr {
    position: fixed;
    bottom: 88px;
    z-index: 99999;
    right: 8px;
}

#zalo-vr {
    transition: 1s all;
    -moz-transition: 1s all;
    -webkit-transition: 1s all;
}

.button-contact {
    position: relative;
    margin-top: -5px;
}

#button-contact-vr .button-contact .phone-vr {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 90px;
    height: 90px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility 0.5s;
    left: 0;
    bottom: 0;
    display: block;
}

.phone-vr-circle-fill {
    width: 65px;
    height: 65px;
    top: 10px;
    left: 10px;
    position: absolute;
    box-shadow: 0 0 0 0 #c31d1d;
    background-color: rgba(230, 8, 8, 0.7);
    border-radius: 50%;
    border: 2px solid transparent;
    -webkit-animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    transition: all 0.5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-animuiion: zoom 1.3s infinite;
    animation: zoom 1.3s infinite;
}

.sungtrai {
    position: absolute;
    z-index: 1;
    left: 0vw;
    bottom: -100px;
}

.nvphai {
    position: absolute;
    z-index: 0;
    right: 0vw;
    bottom: -140px;
}

.pulse {
    animation: pulse 1s infinite ease-in-out alternate;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

#zalo-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #2196f3;
    background-color: rgba(33, 150, 243, 0.7);
}

#zalo-vr .phone-vr-img-circle {
    background-color: #2196f3;
}

#messenger-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #ffffff;
    background-color: rgba(255, 255, 255, 0.9);
}

#messenger-vr .phone-vr-img-circle {
    background-color: #ffffff;
}

.phone-vr-img-circle {
    background-color: #e60808;
    width: 40px;
    height: 40px;
    line-height: 40px;
    top: 25px;
    left: 25px;
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    /* -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out; */
    animation: phone-vr-circle-fill 1s infinite ease-in-out;
}

.phone-vr-img-circle img {
    max-height: 25px;
    max-width: 27px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

.phone-vr-img-circle a {
    display: block;
    line-height: 37px;
}

@keyframes zoom {
    0% {
        transform: scale(0.9);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent;
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 transparent;
    }
}

@keyframes phone-vr-circle-fill {
    0% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
    10% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }
    20% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }
    30% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }
    40% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }
    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
}