*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
}

html,
body {
    /*height: 100%;*/
    font-family: "League Spartan", sans-serif;
    line-height: 1.5;
    background: #fff;
    color: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
#myVideo .content-template img {
    border-radius: 20px 20px 20px 20px !important;
    object-fit: contain;
    min-height: 300px;
}
.container-header {
    max-width: 100% !important;
    padding: 0 20px;
}
.container-header:has(> .header) {
    background: #ffffff;
}
#login-mobile .container-input p {
    text-align: center;
    color: #000;
    font-weight: 550;
    cursor: pointer;
}
.container {
    max-width: 69% !important;
}
.owl-theme .owl-nav.disabled + .owl-dots {
    margin-top: 5px !important;
}

.top-content {
    /*background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 60%, #fff 100%),*/
    /*url('/assets/img/background-ai2.webp') no-repeat center center;*/
    /*background-size: cover;*/
}

.header {
    padding: 10px 15px 8px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .sidebar {
    display: flex;
    gap: 24px;
    padding: 0px 0px 0px 0px;
    align-items: center;
}
.header .menu-item {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.header .menu-item img {
    width: 9%;
    object-fit: contain;
    margin-bottom: 7px;
}
.header .logo-mobile img {
    width: 100%;
}

.header .left-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header .left-header .container-logo {
    width: 15%;
}
.header .left-header .container-logo img {
    width: 90%;
    object-fit: contain;
}

.header .left-header .logo {
    width: 100%;
    object-fit: contain;
    margin-bottom: 10px;
}

.header .left-header .logo:hover {
    cursor: pointer;
}

@media (min-width: 1200px) {
    .header {
        position: relative;
    }
    .header .left-header .container-logo {
        width: 145px;
        flex-shrink: 0;
    }
    .header .left-header .container-logo img {
        width: 100%;
    }
    .header .left-header .logo {
        margin-bottom: 0;
    }
    .header .left-header .sidebar {
        position: absolute;
        left: calc(15.5vw - 5px);
    }
}

.header .sidebar p {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: #222;
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
    padding: 3px 20px;
}

.header .sidebar p:hover:not(.beauty-ai) {
    background: #bcbcbc;
    border-radius: 20px;
}

.header .sidebar p i {
    margin-left: 6px;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.header .sidebar p:hover:not(.beauty-ai) i {
    transform: rotate(180deg);
}

.header .sidebar p:hover:not(.beauty-ai) {
    color: #000;
}

.header .pro {
    width: 11%;
    margin-bottom: 3px;
}

.header .pro img {
    width: 100%;
}

.header .pro img:hover {
    cursor: pointer;
}
.header .right-header {
    display: none;
}

.header .right-header:hover {
    cursor: pointer;
}
.container-pc {
    padding: 0 !important;
}

.sub-content {
    display: flex;
    margin: 30px 0px 20px 0px;
    gap: 40px;
    align-items: center;
}

.sub-content .left-sub_content {
    width: 90%;
}

.loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

.loader {
    width: 40px;
    height: 40px;
    border: 5px solid #ccc;
    border-top-color: #2c7be5;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.left-sub_content img {
    width: 100%;
}

.right-sub_content h1 {
    font-size: 50px;
    font-weight: bold;
    line-height: 1;
    padding-bottom: 10px;
    margin-bottom: 0;
}

.right-sub_content p {
    font-size: 20px;
    padding: 10px 0;
    margin-bottom: 20px;
    font-weight: 550;
}

.right-sub_content .container-start {
    width: 28%;
}

.right-sub_content .container-start img {
    width: 100%;
}

.right-sub_content .container-start img:hover {
    cursor: pointer;
}

.form-upload {
    background: #fff;
    border-radius: 20px;
    border: 2px solid #9f9f9f;
    padding: 30px;
    display: flex;
    justify-content: center;
    margin-top: 50px;
    max-height: 400px;
}
.name-template {
    white-space: nowrap; /* Không xuống dòng */
    overflow: hidden; /* Ẩn phần vượt quá */
    text-overflow: ellipsis; /* Hiện dấu "..." */
    padding: 0 10px;
}

.header-template .left-header_template h4 {
    font-size: 28px;
    margin-top: 10px;
    margin-bottom: 0;
}

.header-template {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-content .left-header-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
.header-content .left-header-content h1.video-heading {
    font-size: min(calc(1.3rem + .6vw), 1.75rem);
}
#banner-slider .owl-stage-outer,
#banner-slider .owl-item {
    overflow: hidden;
}
.home-page .slider-wap + .container {
    margin-top: 16px;
}
.header-content .left-header-content h3,
.header-content .left-header-content h1.video-heading {
    margin-bottom: 0 !important;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}
.header-content .left-header-content img {
    width: 22px;
    margin-bottom: 25px;
    cursor: pointer;
}
.list-function .header-content {
    display: flex;
    justify-content: space-between;
}
.list-image .header-content {
    display: flex;
    justify-content: space-between;
}
.list-function .header-content .right-header-content {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    justify-content: end;
}
.header-content .right-header-content p {
    font-size: 20px;
    margin-bottom: 0 !important;
    font-weight: 550;
    color: #ffffff;
}
.list-function .header-content .right-header-content img {
    width: 10%;
    margin-bottom: 5px;
    filter: brightness(0) invert(1);
}
.item-image .content-template {
    position: relative;
    width: 100%;
    background: #dde9ff;
    padding-bottom: 10px;
}
.item-template .content-template-motion {
    position: relative;
    width: 100%;
    background: transparent !important;
    padding-bottom: 0px !important;
}
.content-template .icon-hot-ai {
    position: absolute;
    top: 3%;
    width: 21% !important;
    right: 5px;
}
.item-image .content-template img {
    width: 100%;
}
.footer-template {
    display: flex;
    justify-content: center;
}
.item-image .footer-template p {
    margin-bottom: 0 !important;
    text-align: center;
    padding-top: 10px;
    font-size: 20px;
}
.item-template .footer-template-motion {
    background: linear-gradient(
        90deg,
        rgba(92, 92, 92, 0.6) 0%,
        rgba(46, 46, 46, 0.6) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    position: absolute;
    bottom: 0%;
    border-radius: 0 0 20px 20px;
    width: 100%;
}
.item-template .footer-template-motion p {
    margin-bottom: 0 !important;
    text-align: center;
    padding-top: 7px !important;
    padding-bottom: 5px;
    font-size: 20px;
    color: #fff !important;
}
.item-template {
    cursor: pointer;
}
.item-template-demo {
    cursor: pointer;
}
.item-image {
    cursor: pointer;
}
.item-image img {
    border-radius: 15px 15px 15px 15px;
}
.item-template .content-template {
    position: relative;
    width: 100%;
    background: #dde9ff;
    border-radius: 20px 20px 20px 20px;
    padding-bottom: 10px;
}
.item-template-demo .content-template {
    position: relative;
    width: 100%;
    background: #dde9ff;
    border-radius: 20px 20px 20px 20px;
    padding-bottom: 10px;
}
.item-template .content-template video {
    width: 100%;
    border-radius: 20px;
    display: flex;
}
.item-template-demo .content-template video {
    width: 100%;
    border-radius: 20px;
    display: flex;
}
.item-template .footer-template p {
    text-align: center;
    font-size: 20px;
    margin-bottom: 0 !important;
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 220px;
}
.item-template-demo .footer-template p {
    text-align: center;
    font-size: 20px;
    margin-bottom: 0 !important;
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 240px;
}
.item-template-demo .list-icon {
    display: flex;
    position: absolute;
    top: 3%;
    justify-content: space-between;
    width: 100%;
    padding: 0 10px;
}

.item-template .list-icon {
    display: flex;
    position: absolute;
    top: 3%;
    justify-content: space-between;
    width: 100%;
    padding: 0 10px;
}
.content-template-video .list-icon {
    justify-content: end !important;
}
.template-home {
    display: flex;
    gap: 16px; /* Tăng khoảng cách giữa các item */
    overflow-x: auto; /* Cho phép cuộn ngang */
    white-space: nowrap; /* Ngừng xuống dòng */
    padding: 0 0 16px 0;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}
.icon-back {
    cursor: pointer;
}
#myVideo .template-home.show-all {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 cột */
    gap: 16px;
    overflow-x: unset; /* bỏ scroll ngang */
    white-space: normal; /* cho phép xuống dòng */
    scroll-snap-type: none;
}
.template-home.show-all .item-template {
    width: 100% !important;
}

.list-template {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 cột trên PC */
    gap: 16px;
}

.template-home .item-template {
    flex: 0 0 auto; /* Đảm bảo mỗi item có kích thước cố định và không thay đổi */
    width: 24%; /* Điều chỉnh kích thước của item nếu cần */
}
.template-home::-webkit-scrollbar {
    height: 8px; /* Đặt độ cao cho thanh cuộn ngang */
}

.template-home::-webkit-scrollbar-thumb {
    background-color: #ccc; /* Màu của thanh cuộn */
    border-radius: 4px; /* Bo tròn thanh cuộn */
    transition: background-color 0.3s ease;
}

.template-home::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        90deg,
        #ffa692 0%,
        #fb9ed5 100%
    ) !important; /* Màu khi hover lên thanh cuộn */
}

.template-home::-webkit-scrollbar-track {
    background-color: #f4f4f4; /* Màu nền của track */
    border-radius: 4px;
}

.item-template-demo .list-icon img {
    width: 13%;
    cursor: pointer;
}
.item-template .list-icon img {
    width: 13%;
    cursor: pointer;
}

.list-image {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 cột trên PC */
    gap: 16px;
}
.header-template .right-header_template {
    width: 18%;
    opacity: 0.6;
}
.list-image .center-content {
    padding: 20px 0;
}
.list-function .center-content {
    padding: 0px 0 20px 0;
}
.right-header_template.active {
    opacity: 1;
}
.progress-texts {
    position: absolute;
    top: 60%;
    left: 60%;
    transform: translate(-50%, -50%);
    font-size: 22px;
    font-weight: bold;
    color: #fff;
}
.header-template .right-header_template img {
    width: 100%;
}

.right-header_template {
    position: relative;
    display: inline-block;
}

.right-header_template .search-input {
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    border: none;
    background: transparent;
    width: 70%;
    font-size: 20px;
    margin-top: 2px;
    padding: 10px;
    color: #333;
    outline: none;
}

/* Placeholder xám mờ như ảnh */
.search-input::placeholder {
    color: #888;
}

#popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

#popup-modal .popup-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    position: relative;
    max-width: 350px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease;
    top: -27%;
    left: 0;
}

#popup-modal .close-btn {
    position: absolute;
    top: -5px;
    right: 10px;
    font-size: 40px;
    cursor: pointer;
    color: #b1b1b1;
}

#popup-modal .center-content {
    display: flex;
    flex-direction: column;
    padding: 10px 30px;
}
#popup-modal .center-content .logo-dowloand {
    width: 40%;
    margin: auto;
}
#popup-modal .center-content .btn-downloand {
    width: 80%;
    margin: auto;
    cursor: pointer;
}
#popup-modal .center-content .text-content-popup {
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.template-two #remove-image3 {
    position: absolute;
    padding: 5px;
    font-size: 16px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    top: 0px;
    right: -80px;
    color: #000;
    background: none;
    border: none;
    cursor: pointer;
}
.template-two .progress-container {
    display: none;
    margin: auto;
    width: 50%;
    background: #5e5e5e;
    text-align: center;
    padding: 20px;
    border-radius: 20px;
    position: absolute; /* Đặt nó nổi lên trên */
    top: 30%; /* Cách 10% từ trên */
    left: 50%; /* Căn giữa ngang */
    transform: translateX(-50%); /* Căn giữa chính xác */
    z-index: 10; /* Đảm bảo nó ở trên cùng */
}

.template-two .progress-bar {
    width: 80%;
    height: 10px;
    background-color: #fff;
    border-radius: 5px;
    margin: 20px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.template-two .progress {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #09ddb9 0%, #e42be5 100%);
    border-radius: 5px;
}

.template-two #progress-text {
    font-size: 18px;
    color: #fff;
}
.border-header {
    /*border-bottom: 1px solid #8E8E8E;*/
}

.tooltip-wrapper {
    position: relative;
    display: inline-block;
}
.content-template video {
    width: 100%;
    aspect-ratio: 1/ 1;
    object-fit: cover; /* Cắt đều khung */
}
.footer-template p {
    white-space: nowrap; /* Không xuống dòng */
    overflow: hidden; /* Ẩn phần vượt quá */
    text-overflow: ellipsis; /* Hiển thị dấu "..." */
}

.content-template .img-demo {
    width: 100%;
}

.tooltip-box {
    position: absolute;
    top: 120%;
    left: 0;
    z-index: 999;
    width: 300px;
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: none;
    font-size: 14px;
}
.tooltip-box .icon-close-tooltip {
    position: absolute;
    width: 10% !important;
    right: 15px;
}

/*#myVideo .item-template {*/
/*    display: none;*/
/*}*/

/*#myVideo .item-template:nth-child(-n+4) {*/
/*    display: block;*/
/*}*/

#myVideo .list-template.show-all .item-template {
    display: block;
}
.content-downloand {
    position: relative;
}
.modal-layout {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.modal-layout-animal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.modal-comming {
    background: #fff;
    padding: 30px;
    position: absolute;
    z-index: 99999;
    border-radius: 20px;
    max-width: 400px;
    top: 40%;
    left: 40%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.9);
}

.modal-comming .content-modal {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 20px 0 20px;
    text-align: center;
}
.modal-comming .icon-close {
    position: absolute;
    width: 8%;
    right: 10px;
    top: 10px;
    cursor: pointer;
}
.modal-comming .content-modal h4 {
    font-size: 29px;
    background: linear-gradient(90deg, #fc8701 0%, #e6007f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.modal-downloand {
    background: #fff;
    padding: 30px;
    position: absolute;
    z-index: 99999;
    border-radius: 20px;
    max-width: 400px;
    top: 30%;
    left: 40%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.9);
}
.modal-downloand .content-modal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.modal-downloand .icon-close {
    position: absolute;
    width: 10%;
    right: 10px;
    top: 10px;
    cursor: pointer;
}
.modal-downloand .header-modal {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}
.modal-downloand .content-modal h4 {
    margin-bottom: 0 !important;
    font-weight: 600;
}
.modal-downloand .content-modal img {
    width: 60%;
    cursor: pointer;
}
.modal-downloand h5 {
    margin-bottom: 0 !important;
    text-align: center;
}
.modal-downloand .content-modal .logo-dowloand {
    width: 35%;
}
.item-template .list-icon .icon-voice {
    display: none;
}
.item-template .list-icon .icon-hot,
.item-template .list-icon .icon-new {
    width: 21% !important;
    object-fit: contain;
}
.container-logo-pc {
    display: block;
}
.container-left-header {
    display: none;
}
#otp .close-btn {
    width: 4% !important;
}
body.hidden {
    visibility: hidden;
}

.content-otp p {
    color: #000;
    margin-bottom: 30px !important;
    font-weight: 530;
}
.masked-input {
    position: absolute;
    top: 37%;
    left: 11%;
    font-size: 24px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    outline: none;
    width: 300px;
    text-align: center;
}
.content-otp .btn-access {
    width: 45%;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    margin-top: 30px;
}
.content-otp .btn-access:hover {
    transform: scale(1.05);
}
#otp .close-btn img {
    width: 100% !important;
}
@media (min-width: 900px) and (max-width: 1400px) {
    .content-template .icon-hot-ai {
        width: 30% !important;
    }
    .item-template .footer-template p {
        max-width: 160px !important;
    }
    .item-template .list-icon .icon-hot,
    .item-template .list-icon .icon-new {
        width: 30% !important;
        object-fit: contain;
    }
    .item-image .footer-template p {
        max-width: 160px !important;
    }
    .item-template .list-icon img {
        width: 22% !important;
    }
    .item-template-demo .footer-template p {
        max-width: 160px !important;
    }
    .item-template-demo .list-icon img {
        width: 22% !important;
    }
    .container-header {
        padding: 0 20px !important;
    }
}

@media (max-width: 840px) {
    .popup-content-login_mobile {
        width: 90% !important;
        left: 5% !important;
        top: 30% !important;
    }
    .container-ok img {
        width: 15% !important;
    }

    #forgot-password .container-input input {
        padding: 7px 20px !important;
    }
    #forgot-password .container-input {
        gap: 10px !important;
        width: 70% !important;
        left: 17% !important;
        top: 17% !important;
    }
    #forgot-password .close-btn {
        width: 4% !important;
        top: -5% !important;
        right: 4% !important;
    }

    #login-mobile .container-input input {
        padding: 7px 20px !important;
    }
    #login-mobile .container-input {
        gap: 10px !important;
        width: 70% !important;
        left: 17% !important;
        top: 17% !important;
    }
    #login-mobile .close-btn {
        width: 4% !important;
        top: -5% !important;
        right: 4% !important;
    }
    .container-ok .icon-gg {
        width: 17% !important;
        margin-top: 2px !important;
    }
    .container-ok {
        left: 29% !important;
        top: 75% !important;
    }
    .popup-content_welcome {
        top: 35% !important;
        width: 90% !important;
        left: 5% !important;
    }
    #welcome .close-btn {
        width: 4% !important;
        top: -4% !important;
        right: 4% !important;
    }
    .content-welcome {
        left: 8% !important;
        top: 37% !important;
    }

    .content-welcome h5 {
        font-size: 18px !important;
    }
    .content-welcome p {
        font-size: 15px !important;
    }
    .header .sidebar p {
        padding: 0 !important;
    }
    .container-logo .logo {
        width: 100px !important;
    }
    .container-logo-pc {
        display: none;
    }
    .container-left-header {
        display: flex;
    }
    .footer {
        margin-top: 0 !important;
    }
    .desktop-signin {
        top: 4.2% !important;
    }
    .mobile-menu-btn {
        display: block !important;
    }
    .header {
        padding-top: 0 !important;
    }
    .container-left-header {
        display: flex;
        gap: 10px;
        align-items: center;
    }
    #menuBtn img {
        width: 60%;
    }
    .sub-pc {
        display: none !important;
    }

    .sub-mobile {
        display: block !important;
    }
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer .logo_footer a {
        width: 20% !important;
    }
    .footer .logo_footer img {
        width: 100% !important;
    }
    .slider-wap {
        padding: 0 !important;
    }
    #banner-slider .item img {
        border-radius: 0 !important;
    }
    .footer .list-btn-download img {
        width: 40% !important;
    }
    #myVideo .template-home.show-all {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important; /* 4 cột */
        gap: 16px;
    }
    .item-template .list-icon .icon-hot,
    .item-template .list-icon .icon-new {
        width: 32%;
        object-fit: contain;
    }
    .content-template .icon-hot-ai {
        width: 32% !important;
    }
    .modal-downloand {
        padding: 15px;
        top: 30%;
        left: 10%;
        max-width: 300px;
    }
    .modal-comming {
        padding: 15px;
        top: 30%;
        left: 10%;
        max-width: 300px;
    }
    .template-home .item-template {
        width: 47% !important;
    }
    .modal-downloand h5 {
        font-size: 16px;
    }
    .container {
        max-width: 98% !important;
    }
    .container-header {
        padding: 0 !important;
    }
    .item-template .footer-template p {
        max-width: 150px;
    }
    .item-template-demo .footer-template p {
        max-width: 150px !important;
    }
    .list-template {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important; /* 4 cột trên PC */
        gap: 16px;
    }
    .list-image {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important; /* 4 cột trên PC */
        gap: 16px;
    }
    .owl-theme .owl-dots .owl-dot span {
        width: 7px !important;
        height: 7px !important;
    }
    .footer-template p {
        font-size: 15px !important; /* nhỏ hơn tí */
    }
    .left-header-content h3,
    .left-header-content h1.video-heading {
        font-size: 20px !important;
    }
    .header-content .left-header-content img {
        width: 35%;
        margin-bottom: 10px !important;
    }
    .list-function .header-content .right-header-content img {
        width: 9% !important;
    }
    .border-header {
        margin-bottom: 5px;
    }
    .item-template-demo .list-icon img {
        width: 22% !important;
    }
    .item-template .list-icon img {
        width: 23%;
    }
    .header .pro {
        margin-left: 0 !important;
        margin-bottom: 0 !important;
    }
    .isVip {
        width: 17% !important;
    }
    #popup-modal .popup-content {
        top: 0 !important;
    }
    #popup-modal .center-content {
        padding: 10px 3px !important;
    }
    .template-two .content-form .icon-upload {
        width: 24%;
    }
    #popup-modal .center-content .text-content-popup {
        font-size: 15px !important;
    }
    #popup-modal {
        z-index: 99999999999 !important;
    }
    #popup-modal .popup-content {
        max-width: 100% !important;
        width: 72%;
    }
    #popup-modal .close-btn {
        font-size: 30px !important;
    }
    #popup-modal .center-content .logo-dowloand {
        width: 60% !important;
    }
    #popup-modal .center-content .btn-downloand {
        width: 100% !important;
    }

    .template-two #remove-image1,
    #remove-image2 {
        top: 0px;
        right: -60px;
    }

    .template-two #remove-image1 img {
        width: 40% !important;
    }
    .template-two #remove-image2 img {
        width: 40% !important;
    }
    .template-two .form-content {
        padding: 0 !important;
        gap: 0 !important;
    }
    .template-two .content-form p {
        text-align: center;
        font-size: 14px;
    }
    .template-two #progress-text {
        font-size: 15px !important;
    }
    .template-two .remove-video {
        right: -45px !important;
        top: -40px !important;
    }
    .template-two .form-upload {
        padding: 0 10px !important;
    }
    .template-two #upload-container1 {
        padding-right: 10px !important;
    }
    .template-two #upload-container2 {
        padding-left: 10px !important;
    }
    .template-two .content-form .btn-upload {
        width: 100% !important;
    }
    .template-two .progress-container {
        width: 80% !important;
    }
}

/* Khi màn hình <= 768px (mobile), hiển thị 2 cột */

.container-share {
    justify-content: center;
    margin-top: 50px;
    display: none;
}

.container-share img {
    width: 20%;
}

.container-share img:hover {
    cursor: pointer;
}

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    font-family: sans-serif;
}
.popup-content-mobile {
    width: 100%;
    height: 100%;
    overflow-y: auto;
}
.popup-content-vip-mobile {
    width: 90%;
    position: absolute;
    top: 15%;
    left: 5%;
    border: 2px solid #8f8f8f;
    border-radius: 15px;
}
.popup-content-vip-mobile .header-popup-vip .close-btn {
    top: -10px !important;
    right: -10px !important;
}
.popup-content-vip-mobile .header-popup-vip p {
    text-align: center;
    color: #fff;
    font-size: 23px;
    margin-bottom: 0 !important;
    position: absolute;
    left: 35%;
    top: 5px;
    font-weight: bold;
}
.content-popup-vip {
    background-color: #1f2243;
    padding: 20px 15px;
    border-radius: 0 0 15px 15px;
}
.content-popup-vip .title-content {
    color: #fff;
    font-size: 17px;
    text-decoration: underline;
    margin: 10px 0 25px 0 !important;
    font-weight: 550;
}
.header-popup-vip .close-btn img {
    width: 38%;
    object-fit: contain;
}
#superProMobile .close-btn img {
    width: 55%;
}
#superProMobile .header-vip .top-vip {
    display: flex;
    width: 80%;
    margin: 50px auto 0px auto;
    align-items: center;
    gap: 10px;
}
.top-vip .title-popup {
    margin-bottom: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 550;
}
.top-vip img {
    width: 20%;
}
.content-header-vip {
    padding: 30px 0 20px 0;
    width: 55%;
    margin: 0 auto;
}
.content-header-vip .item-content-header {
    display: flex;
    align-items: start;
    gap: 10px;
    margin-bottom: 17px;
}
.list-content-vip {
    width: 80%;
    margin: 0 auto;
}
.item-content-vip.active p {
    color: #fff;
}
.item-content-vip.active {
    border: 3px solid #d4af37 !important;
    border-radius: 20px;
    background: #2a2a2a;
}
.item-content-vip.active .icon-inf-package {
    top: -5% !important;
    right: -1% !important;
}
.list-content-vip .item-content-vip {
    display: flex;
    justify-content: space-between;
    border: 1px solid #707070;
    padding: 15px 22px;
    border-radius: 10px;
    position: relative;
    margin-bottom: 20px;
}
.item-content-vip img {
    position: absolute;
    top: 0;
    width: 7%;
    right: 0;
}

.item-content-vip p {
    margin-bottom: 0;
    color: #707070;
}
.item-content-vip .best-value {
    position: absolute;
    width: 40%;
    object-fit: contain;
    top: -10px;
    left: -10px !important;
    right: auto !important;
}
.item-content-header img {
    width: 12%;
}
.item-content-header p {
    margin-bottom: 0;
    color: #fff;
}
.footer-vip {
    width: 80%;
    margin: 50px auto 0 auto;
}
.footer-vip img {
    width: 100%;
}

.item-content-day-vip {
    display: flex;
    gap: 10px;
    align-items: start;
    margin-bottom: 10px;
}
.item-content-day-vip img {
    width: 6%;
    object-fit: contain;
}
.item-content-day-vip p {
    color: #fff;
    margin-bottom: 0 !important;
}

/* Popup Box */
.popup-content {
    display: flex;
    background: #fff;
    width: 45%;
    border-radius: 33px;
    overflow: hidden;
    position: relative;
}

/* Close button */
.close-btn {
    position: absolute;
    right: 20px;
    top: 1px;
    font-size: 35px;
    background: none;
    border: none;
    cursor: pointer;
}
#superProMobile .close-btn {
    position: absolute;
    left: 0 !important;
    top: 1px;
    z-index: 99999;
    right: auto !important;
}
/* Left Side */
.popup-left {
    padding: 40px 30px;
    width: 45%;
    box-sizing: border-box;
}

.popup-left h4 {
    margin-bottom: 20px;
}

.social-btn {
    margin: 5px 0;
    border-radius: 10px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.social-btn img {
    width: 100%;
}

.social-btn:hover {
    cursor: pointer;
    transform: scale(1.05);
}

.divider {
    margin: 8px 0 10px;
    font-size: 14px;
    text-align: center;
    color: #979797;
}

.popup-left input {
    width: 100%;
    padding: 15px 15px;
    margin: 5px 0 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.forgot {
    display: block;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    padding: 10px 0;
    margin-bottom: 5px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #3b7de0;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.btn-ok {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.btn-ok:hover {
    transform: scale(1.05);
}
.submit-btn:hover {
    transform: scale(1.05);
}
.isVip {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 11%;
}

/* Right Side */
.popup-right {
    width: 55%;
}

.popup-right img {
    width: 100%;
    height: 100%;
}

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-content_vip {
    width: 50%;
    height: 30%;
    border-radius: 24px;
    color: white;
    font-family: "Arial", sans-serif;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #021e3b;
    top: 10%;
    left: 25%;
}
.popup-content_otp {
    width: 20%;
    border-radius: 24px;
    color: white;
    font-family: "Arial", sans-serif;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    top: 32%;
    left: 37%;
}
.popup-content_welcome {
    width: 30%;
    border-radius: 24px;
    color: white;
    font-family: "Arial", sans-serif;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    top: 20%;
    left: 28%;
}
.popup-content-login_mobile {
    width: 40%;
    border-radius: 24px;
    color: white;
    font-family: "Arial", sans-serif;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    top: 20%;
    left: 28%;
}
.popup-content-login_mobile img {
    width: 100%;
}
.popup-content_welcome img {
    width: 100%;
}
#welcome .close-btn {
    width: 3%;
    top: 0%;
    right: 3%;
}
#login-mobile .close-btn {
    width: 3%;
    top: 0%;
    right: 3%;
}
#forgot-password .close-btn {
    width: 3%;
    top: 0%;
    right: 3%;
}
#login-mobile .container-input {
    position: absolute;
    top: 25%;
    left: 20%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 60%;
}
#forgot-password .container-input {
    position: absolute;
    top: 35%;
    left: 20%;
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 60%;
}
#login-mobile .container-input input {
    padding: 20px 30px;
    border-radius: 30px;
}
#login-mobile .container-input input:focus {
    outline: none;
}
#login-mobile .container-input input::placeholder {
    color: #b5b5b5; /* Màu sắc placeholder */
}
#login-mobile .container-input img {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    cursor: pointer;
}
#login-mobile .container-input img:hover {
    transform: scale(1.05);
}

#forgot-password .container-input input {
    padding: 20px 30px;
    border-radius: 30px;
}
#forgot-password .container-input input:focus {
    outline: none;
}
#forgot-password .container-input input::placeholder {
    color: #b5b5b5; /* Màu sắc placeholder */
}
#forgot-password .container-input img {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    cursor: pointer;
}
#forgot-password .container-input img:hover {
    transform: scale(1.05);
}
.content-welcome {
    position: absolute;
    top: 42%;
    left: 14%;
    text-align: center;
}
.container-ok {
    position: absolute;
    top: 73%;
    left: 25%;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.container-ok img {
    width: 18%;
    cursor: pointer;
    object-fit: contain;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
#subPackageVip .icon-package {
}
#subPackageVip .popup-content_welcome {
    position: fixed;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}
#subPackageVip .container-btn-package {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(12px, 2vw, 20px);
    width: min(78%, 560px);
}
#subPackageVip .container-btn-package img {
    flex: 1 1 0;
    width: auto;
    max-width: 270px;
    min-width: 0;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}
#subPackageVip .container-btn-package img:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}
.btn-package-vip {
    width: 65%;
    margin: 40px 0 0 30px;
}
.btn-package-vip img {
    width: 100%;
    cursor: pointer;
}
.container-ok .icon-gg {
    margin-top: 3px;
    width: 20%;
    object-fit: contain;
}
.container-ok img:hover {
    transform: scale(1.05);
}
.content-welcome h5 {
    color: #000;
    font-size: 30px;
    font-weight: 600;
}
.content-welcome p {
    font-size: 20px;
    color: #000;
    margin-bottom: 3px !important;
}
#yearVipPC .close-btn,
#monthVipPC .close-btn,
#dayVipPC .close-btn {
    position: absolute;
    top: 25%;
    right: 0% !important;
    font-size: 30px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 2;
}
#superPro .close-btn {
    position: absolute;
    top: 30%;
    right: 2% !important;
    font-size: 30px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 2;
}
#yearVipPC .close-btn img,
#monthVipPC .close-btn img,
#dayVipPC .close-btn img,
#superPro .close-btn img {
    width: 50%;
}
#yearVipPC .content-header-pc,
#monthVipPC .content-header-pc,
#dayVipPC .content-header-pc {
    display: flex;
    align-items: end;
    position: absolute;
    left: 42%;
    top: 36%;
    gap: 20px;
}
#superPro .content-header-pc {
    display: flex;
    align-items: center;
    position: absolute;
    left: 30%;
    top: 30%;
    gap: 20px;
}

#superPro .content-header-pc img {
    width: 25%;
}
#yearVipPC .content-header-pc p,
#monthVipPC .content-header-pc p,
#dayVipPC .content-header-pc p {
    font-size: 25px;
    font-weight: 550;
    white-space: nowrap;
    margin-bottom: 0;
}
#superPro .content-header-pc p {
    font-size: 25px;
    font-weight: 550;
    white-space: nowrap;
    margin-bottom: 0;
}
#superPro .list-content-vip .item-content-vip {
    padding: 15px 35px !important;
    cursor: pointer;
}
#yearVipPC .content-popup-pc,
#monthVipPC .content-popup-pc,
#dayVipPC .content-popup-pc {
    background-color: #001831;
    width: 50%;
    margin: 0 auto;
    position: relative;
    top: -2%;
    padding: 40px 50px 40px 50px;
    gap: 20px;
    border-radius: 0 0 40px 40px;
    border: 4px solid #6c869d;
    border-top: none;
}
#superPro .content-popup-pc {
    background-color: #001831;
    width: 50%;
    margin: 0 auto;
    position: relative;
    top: 0%;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-radius: 0 0 40px 40px;
    border: 4px solid #6c869d;
    border-top: none;
}
#yearVipPC .title-popup-pc,
#monthVipPC .title-popup-pc,
#dayVipPC .title-popup-pc {
    text-align: center;
    color: #fff;
    font-size: 20px;
    text-decoration: underline;
    margin-bottom: 30px !important;
}
#yearVipPC .content-popup-pc .item-content-day-vip,
#monthVipPC .content-popup-pc .item-content-day-vip,
#dayVipPC .content-popup-pc .item-content-day-vip {
    margin-bottom: 16px !important;
    margin-left: 10%;
}
#yearVipPC .content-popup-pc .item-content-day-vip img,
#monthVipPC .content-popup-pc .item-content-day-vip img,
#dayVipPC .content-popup-pc .item-content-day-vip img {
    width: 3% !important;
}
.content-popup-pc .left-content-pc {
    width: 45%;
}
.content-popup-pc .right-content-pc {
    margin-top: 5%;
    width: 45%;
}
.content-popup-pc .right-content-pc .title-content-pc {
    color: #fff;
    font-size: 25px;
}
.content-popup-pc .left-content-pc .list-content-vip {
    width: 100% !important;
}
.right-content-pc .item-content-header {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}
.right-content-pc .item-content-header img {
    width: 7%;
    object-fit: contain;
}

.left-content-pc .btn-vip {
    width: 100%;
    margin: 40px 0 20px 0;
}
.left-content-pc .btn-vip img {
    width: 100%;
    cursor: pointer;
}
.vip-body {
    width: 100%;
    aspect-ratio: 1500 / 768;
    display: flex;
    padding-top: 170px;
    justify-content: flex-start; /* 👈 Đẩy về bên trái */
    align-items: center; /* 👈 Căn giữa theo chiều dọc */
    padding-left: 130px; /* 👈 Dịch sang phải đúng vùng vàng */
}
.container-ok .icon-opacity {
    opacity: 0.5;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #ff008c !important;
}
.owl-theme .owl-dots .owl-dot span {
    background: #9f9f9f !important;
}
@media (min-width: 1650px) and (max-width: 1700px) {
    #myVideo .content-template img {
        min-height: 270px !important;
    }
}
@media (min-width: 1520px) and (max-width: 1650px) {
    #myVideo .content-template img {
        min-height: 250px !important;
    }
}
@media (min-width: 1420px) and (max-width: 1520px) {
    #myVideo .content-template img {
        min-height: 230px !important;
    }
}
@media (min-width: 1320px) and (max-width: 1420px) {
    #myVideo .content-template img {
        min-height: 220px !important;
    }
}
@media (min-width: 1220px) and (max-width: 1320px) {
    #myVideo .content-template img {
        min-height: 200px !important;
    }
}
@media (min-width: 1100px) and (max-width: 1219px) {
    #myVideo .content-template img {
        min-height: 180px !important;
    }
}
@media (min-width: 1000px) and (max-width: 1099px) {
    #myVideo .content-template img {
        min-height: 160px !important;
    }
}
@media (min-width: 1500px) and (max-width: 1700px) {
    .btn-package-vip {
        margin-top: 55px !important;
    }
    #login-mobile .container-input input {
        padding: 15px 30px !important;
    }
    #forgot-password .container-input input {
        padding: 15px 30px !important;
    }
    .container-ok {
        left: 30% !important;
    }
    .container-ok img {
        width: 15% !important;
    }
    .container-ok .icon-gg {
        width: 17% !important;
    }
    .item-content-vip .best-value {
        width: 45% !important;
    }
    .otp-inputs {
        gap: 10px !important;
    }
    .popup-content_otp {
        width: 22% !important;
    }
    .content-otp p {
        top: 20%;
        left: 22%;
    }
    .masked-input {
        top: 37%;
        left: 13%;
    }
    .content-otp .btn-access {
        top: 67%;
        left: 25%;
    }
    .content-welcome {
        left: 13% !important;
    }
    .container-ok {
        top: 75%;
    }
    .content-welcome h5 {
        font-size: 25px !important;
    }
    .content-welcome p {
        font-size: 18px !important;
    }
}
@media (min-width: 1701px) and (max-width: 1800px) {
    #login-mobile .container-input input {
        padding: 15px 30px !important;
    }
    #forgot-password .container-input input {
        padding: 15px 30px !important;
    }
    .container-ok {
        left: 30% !important;
    }
    .container-ok img {
        width: 15% !important;
    }
    .container-ok .icon-gg {
        width: 17% !important;
    }
    .otp-inputs {
        gap: 10px !important;
    }
    .popup-content_otp {
        width: 22% !important;
    }
    .content-otp p {
        top: 20%;
        left: 22%;
    }
    .masked-input {
        top: 37%;
        left: 13%;
    }
    .content-otp .btn-access {
        top: 67%;
        left: 25%;
    }
    .content-welcome {
        left: 16% !important;
    }
    .container-ok {
        top: 75%;
    }
    .content-welcome h5 {
        font-size: 25px !important;
    }
    .content-welcome p {
        font-size: 18px !important;
    }
}
@media (min-width: 1380px) and (max-width: 1499px) {
    #login-mobile .container-input input {
        padding: 13px 30px !important;
    }
    #forgot-password .container-input input {
        padding: 13px 30px !important;
    }
    .container-ok {
        left: 30% !important;
    }
    .container-ok img {
        width: 15% !important;
    }
    .container-ok .icon-gg {
        width: 17% !important;
    }
    .item-content-vip .best-value {
        width: 45% !important;
        left: -5px !important;
    }
    .otp-inputs {
        gap: 10px !important;
    }
    .popup-content_otp {
        width: 22% !important;
    }
    .otp-input {
        width: 35px !important;
        height: 35px !important;
    }
    .content-otp p {
        top: 20%;
        left: 20%;
    }
    .masked-input {
        width: 80% !important;
        top: 37%;
        left: 11%;
    }
    .content-otp .btn-access {
        top: 67%;
        left: 25%;
    }
    .content-welcome h5 {
        font-size: 25px !important;
    }
    .content-welcome p {
        font-size: 18px !important;
    }
    .content-welcome {
        top: 40% !important;
        left: 8% !important;
    }
    .container-ok {
        top: 75%;
    }
}
@media (min-width: 1280px) and (max-width: 1379px) {
    #login-mobile .container-input input {
        padding: 12px 30px !important;
    }
    #forgot-password .container-input input {
        padding: 12px 30px !important;
    }
    .container-ok {
        left: 30% !important;
    }
    .container-ok img {
        width: 15% !important;
    }
    .container-ok .icon-gg {
        width: 17% !important;
    }
    .item-content-vip .best-value {
        width: 45% !important;
        left: 0 !important;
    }
    .otp-inputs {
        gap: 10px !important;
    }
    .popup-content_otp {
        width: 22% !important;
    }
    .otp-input {
        width: 35px !important;
        height: 35px !important;
    }
    .popup-content_otp {
        width: 25% !important;
    }
    .content-otp p {
        top: 20%;
        left: 18%;
    }
    .masked-input {
        width: 80% !important;
        top: 37%;
        left: 11%;
    }
    .content-otp .btn-access {
        top: 70%;
        left: 25%;
    }
    .content-welcome h5 {
        font-size: 25px !important;
    }
    .content-welcome p {
        font-size: 17px !important;
    }
    .content-welcome {
        top: 40% !important;
        left: 10% !important;
    }
    .container-ok {
        top: 75%;
    }
    .content-welcome h5 {
        font-size: 22px !important;
    }
    .content-welcome p {
        font-size: 17px !important;
    }
}
@media (min-width: 1179px) and (max-width: 1279px) {
    #login-mobile .container-input input {
        padding: 10px 30px !important;
    }
    #forgot-password .container-input input {
        padding: 10px 30px !important;
    }
    .container-ok {
        left: 30% !important;
    }
    .container-ok img {
        width: 15% !important;
    }
    .container-ok .icon-gg {
        width: 17% !important;
    }
    .otp-inputs {
        gap: 10px !important;
    }
    .popup-content_otp {
        width: 28% !important;
    }
    .otp-input {
        width: 35px !important;
        height: 35px !important;
    }
    .content-otp p {
        top: 20%;
        left: 18%;
    }
    .masked-input {
        width: 80% !important;
        top: 37%;
        left: 11%;
    }
    .content-otp .btn-access {
        top: 70%;
        left: 25%;
    }
    .content-welcome h5 {
        font-size: 20px !important;
    }
    .content-welcome p {
        font-size: 15px !important;
    }
    .content-welcome {
        top: 40% !important;
        left: 11% !important;
    }
    .container-ok {
        top: 75%;
        left: 33%;
    }
}
@media (min-width: 1000px) and (max-width: 1100px) {
    #login-mobile .container-input input {
        padding: 8px 30px !important;
    }
    #forgot-password .container-input input {
        padding: 8px 30px !important;
    }
    .container-ok {
        left: 30% !important;
    }
    .container-ok img {
        width: 15% !important;
    }
    .container-ok .icon-gg {
        width: 17% !important;
    }
    .otp-inputs {
        gap: 10px !important;
    }
    .popup-content_otp {
        width: 32% !important;
    }
    .otp-input {
        width: 35px !important;
        height: 35px !important;
    }

    .content-otp p {
        top: 20%;
        left: 18%;
    }
    .masked-input {
        width: 80% !important;
        top: 37%;
        left: 11%;
    }
    .content-otp .btn-access {
        top: 70%;
        left: 25%;
    }
    #welcome .close-btn {
        width: 3.5% !important;
        top: -3% !important;
    }
    .content-welcome h5 {
        font-size: 18px !important;
    }
    .content-welcome p {
        font-size: 14px !important;
    }
    .content-welcome {
        top: 40% !important;
        left: 8% !important;
    }
    .container-ok {
        top: 79%;
        left: 33%;
    }
}
@media (min-width: 1101px) and (max-width: 1178px) {
    #login-mobile .container-input input {
        padding: 10px 30px !important;
    }
    #forgot-password .container-input input {
        padding: 10px 30px !important;
    }
    .container-ok {
        left: 30% !important;
    }
    .container-ok img {
        width: 15% !important;
    }
    .container-ok .icon-gg {
        width: 17% !important;
    }
    .otp-inputs {
        gap: 10px !important;
    }
    .popup-content_otp {
        width: 32% !important;
    }
    .otp-input {
        width: 35px !important;
        height: 35px !important;
    }

    .content-otp p {
        top: 20%;
        left: 18%;
    }
    .masked-input {
        width: 80% !important;
        top: 37%;
        left: 11%;
    }
    .content-otp .btn-access {
        top: 70%;
        left: 25%;
    }
    #welcome .close-btn {
        width: 5% !important;
        top: -3% !important;
    }
    .content-welcome h5 {
        font-size: 18px !important;
    }
    .content-welcome p {
        font-size: 14px !important;
    }
    .content-welcome {
        top: 40% !important;
        left: 10% !important;
    }
    .container-ok {
        top: 77%;
        left: 33%;
    }
}

@media (min-width: 1400px) and (max-width: 1700px) {
    #superPro .content-header-pc img {
        width: 20% !important;
    }
    #superPro .content-header-pc {
        top: 35% !important;
    }

    #yearVipPC .close-btn,
    #monthVipPC .close-btn,
    #dayVipPC .close-btn {
        top: 28% !important;
        right: 3%;
    }
    #yearVipPC .content-popup-pc .item-content-day-vip img,
    #monthVipPC .content-popup-pc .item-content-day-vip img,
    #dayVipPC .content-popup-pc .item-content-day-vip img {
        width: 3% !important;
    }
    #superPro .close-btn {
        right: 0 !important;
        top: 28% !important;
    }
    .vip-body {
        width: 100%;
        aspect-ratio: 1500 / 768;
        display: flex;
        padding-top: 130px;
        justify-content: flex-start; /* 👈 Đẩy về bên trái */
        align-items: center; /* 👈 Căn giữa theo chiều dọc */
        padding-left: 70px; /* 👈 Dịch sang phải đúng vùng vàng */
    }

    .list-package img {
        width: 45% !important;
    }

    #loginPopup .popup-content {
        width: 60% !important;
    }

    .vip-footer {
        padding: 30px 40px 40px 70px !important;
    }

    .vip-footer img {
        width: 38% !important;
    }
}

@media (min-width: 1000px) and (max-width: 1399px) {
    #yearVipPC .close-btn,
    #monthVipPC .close-btn,
    #dayVipPC .close-btn {
        top: 34% !important;
    }
    #yearVipPC .content-popup-pc .item-content-day-vip img,
    #monthVipPC .content-popup-pc .item-content-day-vip img,
    #dayVipPC .content-popup-pc .item-content-day-vip img {
        width: 5% !important;
    }
    #yearVipPC .content-header-pc,
    #monthVipPC .content-header-pc,
    #dayVipPC .content-header-pc {
        top: 42% !important;
    }
    #superPro .content-popup-pc {
        top: -1% !important;
    }
    #superPro .content-header-pc {
        top: 35% !important;
        left: 23% !important;
    }
    #superPro .content-header-pc img {
        width: 17% !important;
    }

    #superPro .close-btn {
        right: 0 !important;
        top: 38% !important;
    }
    .item-content-vip .best-value {
        width: 60% !important;
    }
    #superPro .content-popup-pc {
        border: 2px solid #6c869d !important;
        border-top: none !important;
    }
    #superPro .list-content-vip .item-content-vip {
        padding: 15px 10px !important;
    }
    #superPro .content-popup-pc {
        padding: 50px 20px;
        gap: 10px !important;
    }
    .content-popup-pc .left-content-pc,
    .content-popup-pc .right-content-pc {
        width: 48% !important;
    }
    .content-popup-pc .right-content-pc .title-content-pc {
        font-size: 20px !important;
    }
    .vip-body {
        width: 100%;
        aspect-ratio: 1500 / 768;
        display: flex;
        padding-top: 110px;
        justify-content: flex-start; /* 👈 Đẩy về bên trái */
        align-items: center; /* 👈 Căn giữa theo chiều dọc */
        padding-left: 70px; /* 👈 Dịch sang phải đúng vùng vàng */
    }

    .list-package img {
        width: 40% !important;
    }

    #loginPopup .popup-content {
        width: 70% !important;
    }

    .vip-footer {
        padding: 30px 40px 40px 70px !important;
    }

    .vip-footer img {
        width: 42% !important;
    }
    .header .left-header .container-logo img {
        width: 100% !important;
        object-fit: contain;
        margin-bottom: 10px !important;
    }
    .header {
        margin-bottom: 10px;
    }
}

.vip-left,
.vip-right {
    width: 50%;
}

.vip-icon {
    width: 32px;
    margin-bottom: 10px;
}

.vip-left h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.vip-option {
    display: flex;
    justify-content: space-between;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 16px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.05);
}

.vip-option.selected {
    border: 2px solid gold;
}

.vip-right h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.vip-right ul {
    list-style: none;
    padding-left: 0;
    line-height: 2;
    font-size: 16px;
}

/* ✅ Footer nút nằm trên nền #021E3B */
.vip-footer {
    background-color: #021e3b;
    padding: 30px 40px 40px 130px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

.vip-footer img {
    width: 37%;
}

.vip-footer img:hover {
    cursor: pointer;
}

.vip-subscribe {
    background: linear-gradient(to right, #f4ce6a, #f3a92f);
    border: none;
    color: black;
    font-weight: bold;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
}

.list-package {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Khoảng cách giữa các ảnh */
    z-index: 2;
    position: relative;
}

.list-package img {
    width: 50%;
}

.list-package img:hover {
    cursor: pointer;
}

/* Ẩn nút menu mặc định trên desktop */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: #000;
    cursor: pointer;
    padding: 10px;
}

.sidebar-mobile {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: linear-gradient(180deg, #171836 0%, #34347A 100%) !important;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 10001 !important;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.sidebar-mobile .sidebar,
.sidebar-mobile .menu-scroll {
    background: transparent !important;
}

.sidebar-mobile .menu-item p {
    color: #ffffff !important;
}

/* Khi mở */
.sidebar-mobile.active {
    left: 0;
}

/* Để scroll nếu dài */
.menu-scroll {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.see-all {
    display: flex;
    justify-content: end;
    padding: 20px 0;
}
.see-all p {
    margin-bottom: 0 !important;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
}
.hidden-video {
    display: none;
}
.footer {
    position: relative;
    margin-top: 0 !important;
    background: transparent;
    color: #ffffff;
    width: 100%;
    padding: 80px 15px 20px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
}
.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url(/assets/img/bg-footer-pc.webp) no-repeat center top;
    background-size: cover;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 28%, black 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 28%, black 100%);
    pointer-events: none;
}

@media (max-width: 769px) {
    .footer {
        padding: 36px 15px 16px 15px !important;
    }
    .footer::before {
        background: url(/assets/img/bg-footer.webp) no-repeat center top;
        background-size: 100% auto;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 22%, black 100%);
        mask-image: linear-gradient(to bottom, transparent 0%, black 22%, black 100%);
    }
}
.footer > * {
    position: relative;
    z-index: 1;
}
.footer .logo_footer {
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer .logo_footer a.logo-footer-brand {
    width: auto !important;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 28px;
}
.footer .logo_footer .logo-footer-ai {
    height: 66px;
    width: auto !important;
    object-fit: contain;
    justify-self: end;
}
.footer .logo_footer .logo-footer-divider {
    height: 64px;
    width: 2px !important;
    object-fit: fill;
}
.footer .logo_footer .logo-footer-dayup {
    height: 122px;
    width: auto !important;
    object-fit: contain;
    margin: -22px 0;
    justify-self: start;
}
.footer .list-btn-download {
    display: flex;
    justify-content: center;
    margin: 12px 0 18px 0;
}
.footer .list-btn-download img {
    width: 25%;
    cursor: pointer;
}
.footer .footer-policy {
    margin: 8px 0 22px;
}
.footer .footer-policy-link {
    color: #ffffff;
    font-size: 18px;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.footer .text-footer {
    text-align: center;
}
.footer .text-footer .name-company {
    margin-bottom: 4px !important;
}
.footer .text-footer p {
    margin-bottom: 4px !important;
    font-size: 16px;
}
.footer .text-footer .all-right {
    margin-top: 25px;
    font-size: 16px;
}

.pro img {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.pro img:hover {
    transform: scale(1.05);
}

.right-header img,
.right-header .btn-signin {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.right-header img:hover,
.right-header .btn-signin:hover {
    transform: scale(1.05);
}
.btn-signin {
    background: #5E5AF1;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 8px 16px;
    font-family: inherit;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
}
.container-name {
    position: absolute;
    bottom: 0px;
    padding: 8px 0;
    text-align: center;
    color: #fff;
    font-size: 18px;
    width: 100%;
    margin-bottom: 0 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.1),
        rgba(0, 0, 0, 0.9)
    );
}
.name-template {
    margin-bottom: 0 !important;
}
.top-header-content {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 90%;
    justify-content: center;
}
.top-my-video {
    width: 100% !important;
}

.top-header-content img {
    width: 30px !important;
    margin-bottom: 10px !important;
}
.top-header-content .icon-animal {
    width: 35px !important;
}
.top-my-video img {
    width: 16% !important;
}
.desktop-signin img {
    width: 45%;
}

@media (min-width: 765px) and (max-width: 840px) {
    .item-image .footer-template p {
        font-size: 25px !important;
    }
    .item-template-demo .footer-template p {
        font-size: 25px !important;
    }
    .text-content .item-text p {
        font-size: 20px !important;
    }
    .popup-content-vip-mobile .header-popup-vip p {
        top: 12px !important;
    }
    .popup-content-vip-mobile {
        top: 28% !important;
    }

    .desktop-signin img {
        width: 100%;
    }
    .sidebar {
        width: 60% !important;
    }
    .sidebar-mobile {
        width: 60% !important;
    }
    .header .sidebar p {
        padding: 0 !important;
    }
    .header .menu-personal img {
        width: 7% !important;
    }
    .header .menu-item {
        display: flex;
        flex-direction: row;
        gap: 20px;
        width: 100% !important;
        padding: 10px 10px 10px 40px;
    }
    .top-my-video img {
        width: 13% !important;
    }
    .item-template .footer-template p {
        max-width: 230px !important;
        font-size: 25px !important;
    }
    .header-content .tooltip-wrapper .icon-inf {
        width: 70% !important;
        margin-left: 5px;
    }
    #myVideo .content-template img {
        min-height: 265px;
    }
    .header-content .left-header-content {
        gap: 0px !important;
    }
    .tooltip-box .icon-close-tooltip {
        width: 10% !important;
    }
    .right-content h5 {
        font-size: 30px !important;
    }
    .item-template-demo .list-icon img {
        width: 18% !important;
    }
    .container-content .right-content {
        border-radius: 20px;
    }
    .modal-downloand {
        max-width: 400px !important;
        left: 25% !important;
    }
    .modal-downloand h5 {
        font-size: 20px !important;
    }
    .list-image::-webkit-scrollbar {
        height: 8px;
    }
    .container-logo-pc {
        display: none;
    }
    .container-left-header {
        display: flex;
        gap: 20px;
        align-items: center;
    }
    #menuBtn {
        display: block;
    }
    .top-vip img {
        width: 20% !important;
    }
    .top-vip .title-popup {
        font-size: 35px !important;
    }
    .item-content-header img {
        width: 9%;
    }
    .item-content-header p {
        font-size: 22px !important;
    }
    .content-header-vip {
        width: 50% !important;
    }
    .item-content-vip .best-value {
        width: 27% !important;
    }
    .item-content-vip img {
        width: 4% !important;
    }
    .item-content-vip.active .icon-inf-package {
        right: -0.7% !important;
    }
    .footer-vip {
        width: 50% !important;
    }
    .header-popup-vip {
        border-radius: 15px 15px 0 0 !important;
        height: 60px !important;
    }
    body.vi .popup-content-vip-mobile .header-popup-vip p {
        left: 41% !important;
    }

    body.en .popup-content-vip-mobile .header-popup-vip p {
        left: 35% !important;
    }
    .content-popup-vip .title-content {
        text-align: center;
    }
    .popup-content_welcome {
        top: 22% !important;
    }
    #welcome .close-btn {
        top: 0 !important;
    }
    .content-preview {
        padding: 15px 0 !important;
    }
    .list-content-vip .item-content-vip {
        padding: 15px 40px !important;
    }
    .item-content-day-vip img {
        width: 4% !important;
    }
    #menuBtn img {
        width: 70% !important;
    }
    .container-logo .logo {
        width: 140px !important;
        margin-bottom: 10px !important;
    }
    .list-image::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }
    .list-image::-webkit-scrollbar-track {
        background-color: #f4f4f4;
        border-radius: 4px;
    }
    .list-template::-webkit-scrollbar {
        height: 8px;
    }
    .desktop-signin {
        top: 3% !important;
    }
    .list-template::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }
    .list-template::-webkit-scrollbar-track {
        background-color: #f4f4f4;
        border-radius: 4px;
    }
    .list-template,
    .list-image {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        white-space: nowrap;
        padding: 0 0 16px 0;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
    }
    .list-template .item-template-demo,
    .list-image .item-image {
        flex: 0 0 40%;
        width: 40% !important;
    }
    .header .left-header .logo {
        width: 70% !important;
        margin-top: 15px !important;
    }
    .desktop-signin img {
        width: 60% !important;
    }
    .right-sub_content .container-start img {
        width: 70% !important;
    }
    .content-form .btn-upload {
        width: 50% !important;
    }
    .content-template .template-img {
        width: 40% !important;
    }
    .template-img .button-generate img {
        width: 60% !important;
    }
    .vip-mobile {
        width: 25% !important;
    }
    .modal-comming {
        left: 25% !important;
    }

    .content-image {
        right: -5% !important;
    }
    .name-template {
        top: 28% !important;
        width: 220px !important;
        max-width: 220px !important;
        font-size: 17px !important;
    }
    .modal-comming {
        max-width: 400px !important;
    }
    .modal-comming .content-modal p {
        font-size: 18px;
    }
}

/* Responsive Header */
@media (max-width: 840px) {
    .desktop-signin img {
        width: 100%;
    }
    .container-content .right-content {
        border-radius: 20px;
    }
    .content-preview {
        width: 70% !important;
    }
    .text-preview-duet,
    .text-preview {
        width: 80% !important;
    }
    .btn-choose {
        width: 40% !important;
    }
    .template-home .item-template {
        width: 33%;
    }
    .list-template {
        grid-template-columns: repeat(3, 1fr);
    }
    .content-preview .btn-login img {
        width: 70% !important;
    }
    .social-btn {
        background: none;
        width: 100%;
    }
    .social-btn img {
        width: 80%;
    }
    .divider {
        font-size: 20px;
    }
    .forgot {
        font-size: 20px;
    }
    .submit-btn {
        padding: 20px 15px;
        font-size: 20px;
    }
    .vip-footer img {
        margin-left: 40px;
        width: 45% !important;
    }
    .list-package {
        top: 30%;
    }

    .popup-left input {
        margin: 10px auto;
        padding: 20px 15px;
    }
    .popup-left h4 {
        font-size: 30px !important;
        text-align: center;
    }
    .item-template .list-icon img {
        width: 15%;
    }
    .content-template .icon-hot-ai {
        width: 27% !important;
    }
    .template-home .item-template {
        width: 40% !important;
    }
    .item-template-demo .list-icon img {
        width: 20%;
    }
    .item-template .list-icon .icon-hot,
    .item-template .list-icon .icon-new {
        width: 23% !important;
    }
    .container {
        max-width: 90% !important;
    }
    .list-image {
        grid-template-columns: repeat(3, 1fr);
    }
    .pro {
        display: none !important; /* ẩn vip bên desktop luôn */
    }
    .header .left-header .logo {
        margin-bottom: 20px !important;
    }

    .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px 8px 15px;
    }

    .left-header {
        flex: 1;
        justify-content: center;
        position: relative;
        display: flex;
    }

    .container-logo {
        width: auto;
        margin: 0 auto;
    }

    .container-logo .logo {
        width: 120px;
    }

    .header .left-header .container-logo {
        width: 33%;
        margin-top: 5px;
    }

    .mobile-menu-btn .fa-bars {
        font-size: 20px;
    }

    .desktop-signin {
        position: absolute;
        right: 15px;
        top: 4.7%;
        transform: translateY(-50%);
        width: 20%;
    }

    .desktop-signin img {
        width: 100%;
    }

    .sidebar {
        display: none;
        flex-direction: column;
        gap: 0;
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100%;
        background: #fff;
        padding: 30px 20px;
        transition: left 0.3s ease;
        z-index: 9999;
        overflow-y: auto;
    }

    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        display: none;
        z-index: 10000;
    }

    .mobile-overlay.show {
        display: block;
    }

    body.sidebar-open {
        overflow: hidden;
    }

    .vip-mobile {
        margin-top: 10px;
        width: 45%;
    }

    .vip-mobile img {
        width: 100%;
    }

    .menu-item .dropdown-mega {
        display: none !important;
        padding-top: 15px !important;
    }

    .menu-item .dropdown-box {
        display: none !important;
        margin-top: 0 !important;
    }

    .dropdown-box ul {
        padding: 0 15px;
    }
    .header .sidebar p:hover:not(.beauty-ai) {
        background: none !important;
    }

    .menu-item.show-active p:not(.beauty-ai) {
        background-color: #bcbcbc !important;
        border-radius: 10px !important;
    }

    .dropdown-mega .dropdown-column ul {
        padding: 0 20px;
    }

    .dropdown-mega {
        padding-bottom: 0 !important;
    }

    .menu-item.show-active .dropdown-mega {
        display: block !important;
    }

    .menu-item.show-active .dropdown-box {
        display: block !important;
    }

    .menu-item .fa-chevron-down {
        transition: transform 0.3s ease;
        transform: rotate(0deg) !important; /* Mặc định hướng xuống */
    }

    .menu-item.show-active:not(.beauty-menu) .fa-chevron-down {
        transform: rotate(180deg) !important;
    }

    .header .sidebar {
        gap: 2px;
    }

    .close-sidebar-btn {
        position: absolute;
        top: 0px;
        right: 5px;
        font-size: 40px;
        background: none;
        border: none;
        color: #333;
        z-index: 10002;
        cursor: pointer;
    }

    .sidebar-mobile.active .sidebar {
        left: 0;
    }

    .dropdown-mega,
    .dropdown-box {
        position: static;
        display: none;
        box-shadow: none;
    }

    .menu-item:hover .dropdown-mega,
    .menu-item.active .dropdown-mega,
    .menu-item:hover .dropdown-box,
    .menu-item.active .dropdown-box {
        display: block;
    }

    .container-content {
        margin: 0 !important;
    }

    .right-sub_content {
        width: 170%;
    }

    .right-sub_content h1 {
        font-size: 25px;
        padding-bottom: 0 !important;
    }

    .right-sub_content .container-start {
        width: 52%;
    }

    .right-sub_content p {
        font-size: 13px;
        margin-bottom: 0px;
    }

    .sub-content .left-sub_content {
        width: 100%;
    }

    .sub-content {
        gap: 20px !important;
    }

    #image-container {
        width: 65% !important;
    }
    .content-form .btn-upload {
        width: 70%;
    }
    .generate {
        width: 50%;
        padding-top: 20px;
    }
    .form-upload {
        margin-top: 25px !important;
    }
    .header-template .left-header_template h4 {
        font-size: 20px !important;
        margin-top: 0 !important;
    }
    .header-template .right-header_template {
        width: 35%;
    }
    .container-share {
        margin-top: 25px !important;
    }
    .container-share img {
        width: 50%;
    }
    #remove-image {
        right: -70px !important;
    }

    #loginPopup .popup-content {
        flex-direction: column;
        width: 90% !important;
        border-radius: 20px;
    }

    .popup-left,
    .popup-right {
        width: 100% !important;
    }

    .popup-left {
        padding: 20px 20px !important;
    }

    .popup-right img {
        height: auto !important;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .popup-content_vip {
        width: 90% !important;
        border-radius: 20px;
    }

    .vip-body {
        flex-direction: column;
        align-items: center;
        background-size: contain !important;
        padding-top: 75px;
        padding-left: 10px;
    }

    .list-package {
        gap: 10px !important;
    }

    .list-package img {
        width: 50% !important;
        object-fit: contain;
    }

    .vip-footer {
        padding: 20px 8px !important;
    }
    .popup-right {
        display: none !important;
    }

    .vip-body {
        aspect-ratio: 1450 / 768 !important;
    }
}

@media (max-width: 400px) {
    .vip-body {
        padding-top: 65px !important;
    }
}

@media (max-width: 320px) {
    #login-mobile .container-input {
        gap: 5px !important;
    }

    #myVideo .template-home.show-all {
        gap: 5px !important;
    }
    .template-home.show-all .item-template {
        width: 95% !important;
    }
    #login-mobile .container-input input {
        padding: 4px 15px !important;
    }
    .content-welcome {
        left: 9% !important;
    }
    .container-ok img {
        width: 15% !important;
    }
    #welcome .close-btn {
        top: -6% !important;
        right: 4% !important;
    }
    .container-ok .icon-gg {
        width: 17% !important;
        margin-top: 2px !important;
    }
    .container-ok {
        left: 27% !important;
        top: 75% !important;
    }
    .content-welcome h5 {
        font-size: 15px !important;
    }
    .content-welcome p {
        font-size: 13px !important;
    }

    .vip-body {
        padding-top: 55px !important;
    }
    .content-form p {
        font-size: 13px !important;
    }
    .right-header_template .search-input {
        font-size: 13px !important;
    }
    .header .menu-item {
        display: flex;
        flex-direction: row;
        gap: 20px;
        width: 100% !important;
        padding: 10px 10px 10px 40px;
    }
}

@media (max-width: 840px) {
    .popup-content_otp {
        width: 90% !important;
        left: 5% !important;
    }
    .content-otp p {
        left: 20%;
    }
    .masked-input {
        width: 80% !important;
        padding: 4px 12px !important;
    }
    #otp .close-btn {
        top: -4% !important;
    }
    .mobile-only .top-header-content {
        width: 92%;
    }
    .mobile-only {
        display: block !important; /* hoặc flex tùy layout */
    }
    .tooltip-box {
        width: 250px !important;
    }
    .close-sidebar-btn {
        font-size: 30px !important;
    }
    .icon-close-tooltip {
        width: 10% !important;
    }
    .header .menu-item {
        display: flex;
        flex-direction: row;
        gap: 20px;
        width: 100% !important;
        padding: 10px 10px 10px 40px;
    }
    .header .menu-personal img {
        width: 8% !important;
        object-fit: contain;
    }
}
@media (min-width: 1400px) and (max-width: 1500px) {
    .btn-package-vip {
        margin-top: 55px !important;
    }
}
@media (min-width: 1385px) and (max-width: 1400px) {
    .btn-package-vip {
        margin-top: 59px !important;
    }
}
@media (min-width: 1290px) and (max-width: 1384px) {
    .btn-package-vip {
        margin-top: 65px !important;
    }
}

@media (min-width: 1200px) and (max-width: 1289px) {
    .btn-package-vip {
        margin-top: 65px !important;
    }
}

@media (min-width: 1100px) and (max-width: 1199px) {
    .btn-package-vip {
        margin-top: 45px !important;
    }
}
@media (min-width: 1060px) and (max-width: 1099px) {
    .btn-package-vip {
        margin-top: 50px !important;
    }
}
@media (min-width: 1000px) and (max-width: 1059px) {
    .btn-package-vip {
        margin-top: 58px !important;
    }
}
@media (min-width: 2000px) and (max-width: 2100px) {
    .btn-package-vip {
        margin-top: 32px !important;
    }
}
@media (min-width: 800px) and (max-width: 999px) {
    .btn-package-vip {
        margin-top: 40px !important;
    }
}
@media (min-width: 768px) and (max-width: 840px) {
    .footer-package {
        width: 50%;
        margin: 30px auto 0 auto;
    }
    .footer-package img {
        width: 100%;
    }
}
@media (max-width: 767px) {
    .footer-package {
        width: 80%;
        margin: 5px auto 20px auto;
    }
    .footer-package img {
        width: 100%;
    }
}
@media (min-width: 1000px) and (max-width: 1300px) {
    .header .pro {
        width: 13% !important;
    }
    .header .sidebar {
        gap: 14px !important;
    }
    .header .sidebar p {
        font-size: 17px !important;
    }

    .header .left-header .logo {
        margin-bottom: 20px !important;
    }
    .content-form .btn-upload {
        width: 42% !important;
    }
    .right-sub_content h1 {
        font-size: 40px !important;
    }
    .right-sub_content p {
        font-size: 16px !important;
    }
}
.icon-back {
    white-space: nowrap;
}
@media (min-width: 540px) and (max-width: 767px) {
    .item-template .footer-template p {
        font-size: 18px !important;
        max-width: 220px !important;
    }
    .template-home .item-template {
        width: 48% !important;
    }
    .list-template {
        grid-template-columns: repeat(2, 1fr);
    }
    .modal-downloand,
    .modal-comming {
        left: 25% !important;
    }
    .item-template .list-icon img {
        width: 15% !important;
    }
    .item-template .list-icon .icon-hot,
    .item-template .list-icon .icon-new {
        width: 25% !important;
        object-fit: contain;
    }
    .item-template-demo .list-icon img {
        width: 15% !important;
    }
    .wide-video + .icon-mute {
        right: -2% !important;
    }
    .name-template {
        font-size: 16px !important;
        max-width: 100% !important;
        top: 30% !important;
    }
    .icon-mute img {
        width: 50% !important;
    }
    .content-image {
        right: -6% !important;
    }
}
.sub-pc {
    display: block;
}

.sub-mobile {
    display: none;
}
.otp-inputs {
    display: flex;
    justify-content: center; /* Canh giữa các ô nhập */
    gap: 15px;
}
.content-otp {
    position: absolute;
    top: 20%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    left: 2%;
}

.otp-input {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 24px;
    border: 2px solid #ccc;
    border-radius: 5px;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield; /* Dành cho Firefox */
}

.mobile-only {
    display: none;
}
.content-template img {
    width: 100%;
}
#btn-access-otp {
    cursor: pointer;
}
.content-template-video .icon-play {
    display: none;
}
.content-template-video.icon-voice {
    display: none;
}

.template-swap {
    height: 100%;
    cursor: pointer;

    padding: 0 0 50px 0 !important;
}
.content-template {
    border-radius: 16px;
    overflow: hidden;
}
#card-filter .footer-template,
#card-big .footer-template,
#card-face .footer-template,
#card-skin .footer-template,
#card-chibi .footer-template,
#card-hair .footer-template,
#card-delete .footer-template,
#card-remove .footer-template {
    bottom: 2%;
    width: 100%;
    position: absolute;
}
.item-image .footer-template p {
    padding-left: 20px;
    padding-right: 20px;
}
.swap {
    inset: 0;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.2s ease; /* Chỉ thay đổi opacity */
}

.swap.show {
    opacity: 1;
}
.swap.b,
.swap.c {
    display: none;
}

.swap.hide-left {
    opacity: 0;
}

/* tia sáng */
.shine {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0; /* Đảm bảo shine không ra ngoài phạm vi card */
    width: 90px;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    ) !important;
    transform: translateX(-120%);
    opacity: 0;
    height: 87%;
}

.content-template.play .shine {
    opacity: 1;
    animation: sweep 0.2s ease forwards; /* Tăng tốc độ tia sáng */
}

@keyframes sweep {
    from {
        transform: translateX(-30%);
    }
    to {
        transform: translateX(250%);
    }
}

.container-login img {
    width: 35%;
    position: absolute;
    top: 65%;
    left: 31%;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.container-login img:hover {
    transform: scale(1.05);
}

/* Các ảnh mặc định sẽ ẩn đi */
#card-filter .swap {
    position: absolute;
    inset: 0;
    object-fit: cover;
    display: none; /* Mặc định các ảnh bị ẩn */
    transition: opacity 0.5s ease; /* Chỉ thay đổi opacity để hiệu ứng mượt mà */
}

#card-filter .swap.show {
    display: block; /* Hiển thị ảnh */
    opacity: 1;
}

#card-filter .swap.hide-left {
    display: none; /* Ẩn ảnh cũ */
}

.empty-forder {
    background-color: #dde9ff;
    padding: 30px;
    margin: 10px 0;
    border-radius: 15px;
}
.empty-forder .content-forder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.empty-forder .content-forder img {
    width: 8% !important;
}
.empty-forder .content-forder h5 {
    margin: 15px 0 5px 0 !important;
}
.empty-forder .content-forder p {
    margin-bottom: 0 !important;
}
#card-filter .content-template.play .shine {
    opacity: 1;
    animation: sweep 0.2s ease forwards;
}

@keyframes sweep {
    from {
        transform: translateX(-30%);
    }
    to {
        transform: translateX(250%);
    }
}

@media (min-width: 1000px) and (max-width: 1300px) {
    #card-filter .footer-template,
    #card-big .footer-template,
    #card-face .footer-template,
    #card-skin .footer-template,
    #card-chibi .footer-template,
    #card-hair .footer-template,
    #card-delete .footer-template,
    #card-remove .footer-template {
        bottom: 5% !important;
    }
    .shine {
        height: 80% !important;
        width: 60px !important;
    }
}

@media (max-width: 540px) {
    .empty-forder {
        background-color: #dde9ff;
        padding: 15px;
        margin: 10px 0;
        border-radius: 15px;
    }
    .empty-forder .content-forder img {
        width: 16% !important;
    }
    #login-success .btn-ok {
        width: 42% !important;
        left: 28% !important;
    }
    #myVideo .content-template img {
        min-height: 147px !important;
    }
    .shine {
        height: 75% !important;
        width: 50px !important;
    }
    .template-swap {
        padding: 0 0 40px 0 !important;
    }
    #card-filter .footer-template,
    #card-big .footer-template,
    #card-face .footer-template,
    #card-skin .footer-template,
    #card-chibi .footer-template,
    #card-hair .footer-template,
    #card-delete .footer-template,
    #card-remove .footer-template {
        bottom: 4% !important;
    }
    .header {
        position: relative;
    }
    .desktop-signin {
        top: 50% !important;
    }
    .item-chat p {
        padding-left: 10px;
        padding-right: 10px;
    }
    .item-chat img {
        border-radius: 15px 15px 15px 15px;
    }
    .desktop-signin {
        width: 20% !important;
    }
    .mobile-only .tooltip-box {
        width: 230px !important;
    }
    .top-header-content img {
        width: 22px !important;
    }
    .container-left-header {
        gap: 0 !important;
    }
    .template-home {
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 12px !important;
    }
    .list-image {
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 12px !important;
    }
    .list-image::-webkit-scrollbar {
        display: none;
    }
    .list-template {
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 12px !important;
    }
    .list-template::-webkit-scrollbar {
        display: none;
    }

    .template-home::-webkit-scrollbar {
        display: none;
    }
    .header {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    .sub-content {
        margin-top: 25px !important;
    }
    .right-sub_content h1 {
        margin-top: 5px;
    }
    /*.container-logo .logo{*/
    /*    margin-bottom: 7px !important;*/
    /*}*/
    .footer .list-btn-download {
        margin: 10px 0 !important;
    }
    .text-footer p {
        line-height: 1.4;
    }
    .footer .text-footer .all-right {
        margin-top: 15px !important;
    }
    .footer .text-footer .name-company {
        font-size: 17px !important;
    }
    .modal-downloand .content-modal .btn-downloand {
        width: 70% !important;
    }
    .right-sub_content p {
        line-height: 1.2;
        padding: 5px 0 5px 0 !important;
    }
    .list-image::-webkit-scrollbar {
        height: 8px;
    }
    .list-image::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }
    .list-image::-webkit-scrollbar-track {
        background-color: #f4f4f4;
        border-radius: 4px;
    }
    .list-template::-webkit-scrollbar {
        height: 8px;
    }
    .list-template::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }
    .list-template::-webkit-scrollbar-track {
        background-color: #f4f4f4;
        border-radius: 4px;
    }
    .list-template,
    .list-image {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        white-space: nowrap;
        padding: 0 0 16px 0;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
    }
    .list-template .item-template-demo,
    .list-image .item-image {
        flex: 0 0 40%;
        width: 40% !important;
    }
    .left-header-content h3,
    .left-header-content h1.video-heading {
        font-size: 18px !important;
    }
    .template-home .item-template {
        width: 40% !important;
    }
    .item-template .list-icon img {
        width: 18% !important;
    }
    .item-template .list-icon .icon-hot,
    .item-template .list-icon .icon-new {
        width: 30% !important;
    }

    .header-content .left-header-content .icon-inf {
        width: 18px !important;
        margin-bottom: 15px !important;
    }
    .header-content .tooltip-box img {
        width: 10% !important;
    }
    .header-content .tooltip-box p {
        margin-bottom: 10px !important;
        font-weight: 500;
    }
    .header-content .left-header-content {
        gap: 5px !important;
    }
    .container {
        max-width: 100% !important;
    }
    .header-content .right-header-content p {
        font-size: 17px !important;
    }
    .list-function .header-content .right-header-content img {
        width: 7% !important;
    }
    .list-function .center-content {
        padding: 0 0 0px 0 !important;
    }
    .sub-content .left-sub_content {
        width: 70% !important;
    }
    .right-sub_content {
        width: 70% !important;
    }
    .right-sub_content h1 {
        font-size: 18px !important;
    }
    .list-package {
        top: 10% !important;
    }
    .vip-footer img {
        width: 52% !important;
        margin-left: 0 !important;
    }
    .popup-left h4 {
        font-size: 18px !important;
        text-align: start !important;
    }
    .social-btn img {
        width: 100% !important;
    }
    .divider {
        font-size: 14px !important;
    }
    .popup-left input {
        padding: 10px !important;
    }
    .forgot {
        font-size: 13px !important;
    }
    .submit-btn {
        padding: 10px !important;
    }
    .top-header-content {
        justify-content: start !important;
        width: 95%;
    }
    .top-my-video {
        width: 100% !important;
    }
    .top-header-content .icon-animal {
        width: 24px !important;
    }
    .top-my-video img {
        width: 22px !important;
    }
    .header-content .left-header-content img {
        margin-bottom: 6px !important;
    }
}
@media (max-width: 320px) {
    .empty-forder .content-forder p {
        text-align: center;
    }
    #myVideo .content-template img {
        min-height: 120px !important;
    }
    .list-function .center-content {
        padding-top: 5px !important;
    }
    .list-function .center-content {
        padding-bottom: 8px !important;
    }
    .tooltip-box {
        width: 200px !important;
    }
    .otp-inputs {
        gap: 10px !important;
    }
    .content-otp p {
        margin-bottom: 20px !important;
    }
    #btn-access-otp {
        margin-top: 20px !important;
    }
    .otp-input {
        width: 30px !important;
        height: 30px !important;
    }
}
@media (min-width: 380px) and (max-width: 500px) {
    .content-welcome {
        left: 13% !important;
        top: 37% !important;
    }
}
@media (min-width: 1900px) and (max-width: 2000px) {
    #myVideo .content-template img {
        min-height: 310px !important;
    }
}
@media (min-width: 321px) and (max-width: 375px) {
    #myVideo .content-template img {
        min-height: 140px !important;
    }
}
@media (min-width: 400px) and (max-width: 420px) {
    #myVideo .content-template img {
        min-height: 155px !important;
    }
}
@media (min-width: 820px) and (max-width: 840px) {
    #myVideo .content-template img {
        min-height: 280px !important;
    }
}
#myVideo .content-template img.img-325 {
    min-height: 325px !important;
}

#myVideo .content-template img.img-345 {
    min-height: 345px !important;
}
#myVideo .content-template img.img-190 {
    min-height: 190px !important;
}
#myVideo .content-template img.img-168 {
    min-height: 168px !important;
}
#myVideo .content-template img.img-145 {
    min-height: 145px !important;
}
@media (min-width: 900px) and (max-width: 1200px) {
    .modal-downloand,
    .modal-comming {
        left: 31% !important;
    }
    .name-template {
        left: 10% !important;
    }
    .container-content .header-preview img {
        width: 3.5% !important;
    }
}
@media (min-width: 900px) and (max-width: 1050px) {
    .popup-content_vip {
        width: 70% !important;
        left: 15% !important;
        top: 2% !important;
    }
    #superPro .content-popup-pc {
        width: 70% !important;
        top: -9% !important;
    }
    #superPro .list-content-vip .item-content-vip {
        padding: 15px 25px !important;
    }
    #yearVipPC .content-popup-pc,
    #monthVipPC .content-popup-pc,
    #dayVipPC .content-popup-pc {
        width: 70% !important;
        top: -9% !important;
    }
    #yearVipPC .close-btn,
    #monthVipPC .close-btn,
    #dayVipPC .close-btn {
        top: 37% !important;
    }
    #yearVipPC .content-header-pc,
    #monthVipPC .content-header-pc,
    #dayVipPC .content-header-pc {
        top: 45% !important;
    }
    .item-content-vip .best-value {
        width: 50% !important;
    }
    .popup-content_welcome {
        width: 50% !important;
        left: 25% !important;
    }
    .modal-comming {
        top: 25% !important;
    }
    .modal-downloand {
        top: 20% !important;
    }
}
@media (min-width: 900px) and (max-width: 980px) {
    #myVideo .content-template img {
        min-height: 145px !important;
    }
    #myVideo .template-home.show-all {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .popup-content_vip {
        width: 80% !important;
        left: 10% !important;
    }
    #superPro .content-popup-pc {
        width: 80% !important;
    }
    #superPro .content-header-pc {
        top: 35% !important;
        left: 23% !important;
    }
    #superPro .content-header-pc img{
        width: 16% !important;
    }
    #superPro .close-btn {
        top: 38% !important;
    }
    #yearVipPC .content-popup-pc,
    #monthVipPC .content-popup-pc,
    #dayVipPC .content-popup-pc {
        width: 80% !important;
    }
    .header .pro {
        width: 13% !important;
    }
    #welcome .close-btn {
        top: -2% !important;
    }
    .header .left-header .logo {
        margin-bottom: 15px !important;
    }
    .header {
        margin-bottom: 6px !important;
    }
}
@media (min-width: 775px) and (max-width: 810px) {
    .desktop-signin {
        top: 10% !important;
    }
    .popup-content_welcome {
        width: 55% !important;
        top: 3% !important;
        left: 21% !important;
    }
    #welcome .close-btn {
        width: 3.4% !important;
        top: -3% !important;
    }
    .modal-downloand .content-modal .logo-dowloand {
        width: 20% !important;
    }
    .modal-downloand {
        top: 10% !important;
    }
    .modal-downloand .content-modal {
        gap: 20px !important;
    }
    .modal-downloand .content-modal img {
        width: 40% !important;
    }
    .modal-downloand .icon-close {
        width: 7% !important;
    }
    .popup-content-vip-mobile {
        top: 5% !important;
    }
    .content-popup-vip {
        max-height: 70vh; /* chỉnh theo nhu cầu, hoặc dùng calc(...) */
        overflow-y: auto; /* bật scroll dọc */
        overscroll-behavior: contain; /* tránh “giật” body khi cuộn */
        -webkit-overflow-scrolling: touch; /* iOS mượt */
        padding-right: 8px; /* chừa chỗ cho scrollbar */
    }

    /* Scrollbar đẹp (WebKit) */
    .content-popup-vip::-webkit-scrollbar {
        width: 8px;
    }
    .content-popup-vip::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 8px;
    }
    .content-popup-vip::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 8px;
    }
    .content-popup-vip::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

    /* Firefox */
    .content-popup-vip {
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 #f1f5f9;
    }
    #myVideo .content-template img.img-325 {
        min-height: 335px !important;
    }
}
@media (min-width: 420px) and (max-width: 540px) {
    #myVideo .content-template img {
        min-height: 162px !important;
    }
}

@media (max-height: 540px) {
    .desktop-signin img {
        width: 60% !important;
        margin-top: 5px !important;
    }
    .list-content-vip .item-content-vip {
        padding: 15px 40px !important;
    }
    .item-content-vip .icon-inf-package {
        width: 5% !important;
    }
    .item-content-vip.active .icon-inf-package {
        right: -0.6% !important;
    }
    .popup-content_welcome {
        width: 55% !important;
        top: 15% !important;
        left: 21% !important;
    }
    #welcome .close-btn {
        width: 3.4% !important;
        top: -3% !important;
    }
    .modal-downloand .content-modal .logo-dowloand {
        width: 20% !important;
    }
    .modal-downloand {
        top: 10% !important;
    }
    .modal-downloand .content-modal {
        gap: 20px !important;
    }
    .modal-downloand .content-modal img {
        width: 40% !important;
    }
    .modal-downloand .icon-close {
        width: 7% !important;
    }
    .popup-content-vip-mobile {
        top: 5% !important;
    }
    .content-popup-vip {
        max-height: 70vh; /* chỉnh theo nhu cầu, hoặc dùng calc(...) */
        overflow-y: auto; /* bật scroll dọc */
        overscroll-behavior: contain; /* tránh “giật” body khi cuộn */
        -webkit-overflow-scrolling: touch; /* iOS mượt */
        padding-right: 8px; /* chừa chỗ cho scrollbar */
    }

    /* Scrollbar đẹp (WebKit) */
    .content-popup-vip::-webkit-scrollbar {
        width: 8px;
    }
    .content-popup-vip::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 8px;
    }
    .content-popup-vip::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 8px;
    }
    .content-popup-vip::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

    /* Firefox */
    .content-popup-vip {
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 #f1f5f9;
    }
    #myVideo .content-template img.img-325 {
        min-height: 335px !important;
    }
    .header-popup-vip {
        border-radius: 15px 15px 0 0 !important;
    }
    .item-content-day-vip img {
        width: 4% !important;
    }
    .content-popup-vip .title-content {
        text-align: center;
    }
    .popup-content-vip-mobile .header-popup-vip p {
        left: 40% !important;
    }
    .header-content .left-header-content .icon-inf {
        width: 70% !important;
    }
    #myVideo .content-template img {
        min-height: 277px !important;
    }
}
@media (min-height: 768px) and (max-height: 800px) {
    #superPro .content-header-pc {
        top: 30% !important;
    }
    #superPro .close-btn {
        top: 28% !important;
    }
    #yearVipPC .content-header-pc,
    #monthVipPC .content-header-pc,
    #dayVipPC .content-header-pc {
        top: 37% !important;
    }
    #yearVipPC .close-btn,
    #monthVipPC .close-btn,
    #dayVipPC .close-btn {
        top: 32% !important;
    }
}

@media (min-height: 820px) and (max-height: 840px) {
    #superPro .content-header-pc {
        top: 33% !important;
    }
    #superPro .close-btn {
        top: 30% !important;
    }

    #yearVipPC .content-header-pc,
    #monthVipPC .content-header-pc,
    #dayVipPC .content-header-pc {
        top: 36% !important;
    }
    #yearVipPC .close-btn,
    #monthVipPC .close-btn,
    #dayVipPC .close-btn {
        top: 32% !important;
    }
}
@media (min-width: 1001px) and (max-width: 1400px) {
    #login-mobile .popup-content-login_mobile {
        width: 45% !important;
    }
    #forgot-password .popup-content-login_mobile {
        width: 45% !important;
    }
    #login-mobile .container-input {
        top: 20% !important;
    }
}
@media (min-width: 881px) and (max-width: 1000px) {
    #login-mobile .popup-content-login_mobile {
        width: 50% !important;
    }
    #login-mobile .container-input input {
        padding: 7px 30px !important;
    }
    #login-mobile .container-input {
        top: 20% !important;
    }

    #forgot-password .popup-content-login_mobile {
        width: 50% !important;
    }
    #forgot-password .container-input input {
        padding: 7px 30px !important;
    }
    #forgot-password .container-input {
        top: 20% !important;
    }
}

@media (min-width: 768px) and (max-width: 880px) {
    #login-mobile .popup-content-login_mobile {
        width: 55% !important;
        left: 22% !important;
    }
    #login-mobile .container-input input {
        padding: 7px 30px !important;
    }
    #login-mobile .container-input {
        top: 20% !important;
    }

    #forgot-password .popup-content-login_mobile {
        width: 55% !important;
        left: 22% !important;
    }
    #forgot-password .container-input input {
        padding: 7px 30px !important;
    }
    #forgot-password .container-input {
        top: 20% !important;
    }
}
@media (max-width: 767px) {
    .popup-content-login_mobile {
        width: 95% !important;
        left: 2.5% !important;
        top: 30% !important;
    }
    #login-mobile .container-input {
        gap: 7px !important;
        top: 20% !important;
    }
    #login-mobile .container-input p {
        font-size: 11px !important;
    }
    #login-mobile .close-btn {
        width: 3.5% !important;
    }
    #login-mobile .container-input input {
        padding: 5px 20px !important;
    }

    #forgot-password .container-input p {
        font-size: 11px !important;
    }
    #forgot-password .close-btn {
        width: 3.5% !important;
    }
    #forgot-password .container-input input {
        padding: 5px 20px !important;
    }
    #forgot-password .container-input {
        top: 35% !important;
        gap: 15px !important;
    }
}
@media (max-width: 1000px) {
    .item-tool .left-tool img {
        min-width: 31px !important;
        max-width: 33px !important;
    }
}
@media (max-width: 320px) {
    #login-mobile .container-input {
        top: 17% !important;
    }
    #login-mobile .container-input p {
        font-size: 9px !important;
    }
    #forgot-password .container-input {
        top: 35% !important;
        gap: 10px !important;
    }
}
@media (min-width: 768px) and (max-width: 1000px) {
    #forgot-password .container-input {
        top: 35% !important;
        gap: 15px !important;
    }
    #forgot-password .close-btn {
        right: 5% !important;
    }
    .header {
        margin-bottom: 10px;
    }
    .header .sidebar p {
        font-size: 15px !important;
    }
    .header .pro {
        width: 13% !important;
    }
    .desktop-signin img {
        width: 55% !important;
    }
}
#toast-container > div {
    padding: 15px 20px;
    background-color: #ffebf7 !important; /* Màu nền đen */
    color: #fff !important; /* Màu chữ trắng */
    border-radius: 8px !important; /* Bo tròn các góc với bán kính 15px */
    border: none !important;
}
.toast-message {
    color: #464646 !important;
}
#welcome .popup-content_welcome{
    width: 40%;
}
@media (max-width: 768px) {
    .border-header {
        margin-bottom: 0px !important;
    }
}
@media (min-width: 768px) {
    .right-header {
        display: flex;
        justify-content: end;
    }
}

.template-home::-webkit-scrollbar {
    height: 10px !important; /* 🔥 tăng độ cao của thanh scroll ngang */
}
@media (min-width: 1024px) and (max-width: 1700px) {
    .template-home::-webkit-scrollbar {
        height: 12px !important; /* 🔥 tăng độ cao của thanh scroll ngang */
    }

    .template-home::-webkit-scrollbar-track {
        border-radius: 20px !important;
    }

    .template-home::-webkit-scrollbar-thumb {
        border-radius: 20px !important;
    }
}

/* ===================================================
   CẤU HÌNH NỀN VÀ KHUNG CHUẨN DÙNG CHUNG TOÀN HỆ THỐNG
   =================================================== */

/* 1. Mặc định toàn bộ trang web nền trắng sạch */
html, body {
    background: url(/assets/img/background_body.png) no-repeat center top;
    background-size: cover;
    min-height: 100vh;
}

.top-content {
    background: url(/assets/img/background_body.png) no-repeat center top;
    background-size: cover;
}

.top-content:has(.container) {
    min-height: 100vh;
}

@media (min-width: 770px) {
    .top-content.home-page {
        min-height: auto !important;
        background: url(/assets/img/background_body.png) no-repeat center top !important;
        background-size: cover !important;
        padding-bottom: 0 !important;
    }
    .top-content.home-page + .container .container-content {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    .top-content.home-page + .container .container-content .item-function {
        margin-top: 8px !important;
    }
}
@media (max-width: 769px) {
    html, body,
    .top-content {
        background: url(/assets/img/background_body.webp) no-repeat center top !important;
        background-size: 100% 100% !important;
    }
    .top-content > .container .container-content {
        background: transparent !important;
    }
    .top-content.home-page {
        min-height: auto !important;
        background: url(/assets/img/background_body.webp) no-repeat center top !important;
        background-size: 100% 100% !important;
        padding-bottom: 0 !important;
    }
    .top-content.home-page + .container .container-content {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    .top-content.home-page + .container .container-content .item-function {
        margin-top: 5px !important;
    }
}



@media (min-width: 540px) and (max-width: 820px) {
    .desktop-signin {
        top: 3% !important;
        width: 15%;
    }
    .header-content .left-header-content img {
        width: 75%;
    }
}

#login-mobile .popup-content-login_mobile.login-white-card,
#forgot-password .popup-content-login_mobile.login-white-card {
    background: #ffffff !important;
    color: #111827 !important;
    width: min(92vw, 620px) !important;
    min-height: auto !important;
    border-radius: 24px !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
}

#login-mobile .login-white-card .close-btn,
#forgot-password .login-white-card .close-btn {
    position: absolute !important;
    width: 20px !important;
    height: 20px !important;
    top: 15px !important;
    right: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1 !important;
    z-index: 2;
}

#login-mobile .login-white-card .close-btn img,
#forgot-password .login-white-card .close-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#login-mobile .login-white-card .container-input,
#forgot-password .login-white-card .container-input {
    position: static !important;
    width: 100% !important;
    padding: 38px 72px 32px !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

#forgot-password .login-white-card .container-input {
    padding: 68px 72px 66px !important;
    gap: 26px;
}

.login-white-card .login-popup-title {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    text-align: center;
}

#login-mobile .login-white-card .container-input input,
#forgot-password .login-white-card .container-input input {
    width: 100% !important;
    box-sizing: border-box;
    padding: 15px 24px !important;
    border-radius: 999px !important;
    border: 1.5px solid #8c8c8c !important;
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 16px;
}

#login-mobile .login-white-card .container-input input:focus,
#forgot-password .login-white-card .container-input input:focus {
    border-color: #5C5BDA !important;
    outline: none;
}

.login-white-card .btn-login-purple {
    width: 100%;
    padding: 15px 24px;
    border-radius: 999px;
    border: none;
    background: #5C5BDA;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 4px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.login-white-card .btn-login-purple:hover {
    transform: scale(1.02);
    opacity: 0.95;
}

#login-mobile .login-white-card #openForgot {
    margin: 4px 0 2px 0;
    color: #111827 !important;
    font-weight: 700;
    font-size: 15px !important;
    cursor: pointer;
    text-align: center;
}

#login-mobile .login-terms-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
    font-size: 14px;
    color: #111827;
    text-align: left;
}

#login-mobile .login-terms-row img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    #login-mobile .login-white-card .close-btn,
    #forgot-password .login-white-card .close-btn {
        width: 15px !important;
        height: 15px !important;
        top: 14px !important;
        right: 14px !important;
    }
    #login-mobile .login-white-card .container-input {
        padding: 34px 24px 26px !important;
        gap: 12px;
    }
    #forgot-password .login-white-card .container-input {
        padding: 44px 24px 36px !important;
        gap: 18px;
    }
    .login-white-card .login-popup-title {
        font-size: 21px;
        margin-bottom: 4px;
    }
    #login-mobile .login-white-card .container-input input,
    #forgot-password .login-white-card .container-input input {
        padding: 12px 20px !important;
        font-size: 15px !important;
    }
    .login-white-card .btn-login-purple {
        padding: 13px 20px;
        font-size: 16px;
    }
    #login-mobile .login-terms-row {
        font-size: 12.5px;
    }
    #login-mobile .login-terms-row img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) {
    .desktop-signin {
        width: auto !important;
        right: 12px !important;
        transform: translateY(-50%) !important;
    }
    .right-header .btn-signin,
    .btn-signin {
        font-size: 15px !important;
        padding: 8px 16px !important;
    }
}
