
/* css slider charge used  */
.content-main {
    display: flex;
    padding: 24px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    border-radius: 12px;
    background: #FFF;
    box-shadow: 0 2px 15px 0 rgba(56, 157, 251, 0.10);
    margin-bottom: 20px;
}

.content-main .slider2 {
    width: 100% !important;
}
.m-card-slider {
    position: relative;
    display: flex ;
    /*min-height: 260px;*/
    /*width: auto;*/
    height: auto !important;
    /*width: 300px;*/
    width: 100%;
    min-width: 420px;
    max-width: none;   /* đủ cho 3 vòng tròn */
    /*min-width: 380px;   !* ngăn bị co nhỏ *!*/
    padding: 16px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    border-radius: 12px;
    border: 1px solid  #28A6FC;
    background: #FFF;
    margin: 0 auto;
}


.lightSlider_used li {

    /*width: 420px !important;  !* hoặc 416px nếu bạn muốn giống card *!*/
    /*list-style: none;*/
}

.pack-title {
    display: flex;
    width: 151px;
    height: 42px;
    padding: 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: absolute;
    border-radius: 11px 0;
    background: linear-gradient(266deg, #28A6FC 0%, #0052CC 100%);
    top: 0;
    left: 0;
    color:  #FFF;
    /* Title/20/Bold */
    font-family: Roboto;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px; /* 160% */

}

.pack-hsd {
    padding-top: 38px;
    color:  #6B7280;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    align-self: flex-start !important;
    text-align: left;
    width: 100%;
    padding-left: 2px;
}

.box-time {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    align-self: stretch;
}
.box-time img {
    width: 24px;
    height: 24px;
    cursor: pointer;
}
.box-time .time-update {
    padding:0;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.pack-box-item {
    display: flex;
    justify-content: center;
    margin: 10px 0 20px 0;
}

.pack-detail {
    color: #0a70ff;
    font-weight: 600;
    font-size: 14px;

    display: inline-flex;
    align-items: center; /* CHO CHỮ & ICON CĂN GIỮA THEO CHIỀU DỌC */
    gap: 6px; /* khoảng cách giữa chữ & icon */
    cursor: pointer;


}
.pack-detail .img-detail {
    width: 14px;
    height: 14px;
    object-fit: contain;
    margin-top: 1px; /* tinh chỉnh icon nếu muốn sát cạnh chữ */
}

.metrics-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
.slider-charge {
    width: 100%;
    /*overflow: hidden;*/
    overflow: visible !important;
}

.using-pack-content .box-lSPager {
    display: block;
}

.using-pack-content .lSSlideOuter .lSPager.lSpg>li {
    padding: 0 2px;
}

.using-pack-content .lSSlideOuter .lSPager.lSpg>li.active a {
    width: 16px;
    height: 8px;
    border-radius: 4px;
    background:  linear-gradient(86deg, #237BD3 0%, #227BD4 0.01%, #00A3FF 99.12%, #00A6DA 99.12%);
}


/*css modal detail charge used*/


#popupChargeUsed .modal-dialog {
    max-width: 720px !important;
}

#popupChargeUsed .charge-used-modal {
    border-radius: 16px;
    padding: 32px 40px;
    border: 2px solid #0a70ff; /* viền xanh đúng design */
    background: #fff;
    position: relative;
}

/* ============================
   NÚT CLOSE (X)
============================ */
#popupChargeUsed .modal-close {
    position: absolute;
    right: 24px;
    top: 24px;
    cursor: pointer;
    background: none;
    border: none;
    width: 20px;
    height: 20px;
}

/* ============================
   TIÊU ĐỀ
============================ */
#popupChargeUsed .modal-title-used {
    color: #0A4874;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 24px;
}

/* ============================
   TABLE CHI TIẾT
============================ */
#popupChargeUsed .used-pack-table {
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    overflow: hidden;
}

#popupChargeUsed .row-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 16px;
    font-size: 15px;
}

#popupChargeUsed .row-item:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 15px;
}

#popupChargeUsed .row-item:last-child {
    border-bottom: none;
}

/* icon bên trái + text */
#popupChargeUsed .row-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    color:  #141414;
}

#popupChargeUsed .row-left img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

#popupChargeUsed .row-right {
    font-weight: 500;
    color: #0F3A8F;
    font-size: 16px;
    line-height: 20px;

}

#popupChargeUsed .row-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #E5E5E5;
    padding-bottom: 12px;
}

/* bỏ border ở item cuối */
#popupChargeUsed .row-item:last-child .row-inner {
    border-bottom: none;
}

/* ============================
   BUTTONS
============================ */
#popupChargeUsed #pkg-actions {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 28px;
}

#popupChargeUsed #pkg-actions .used-btn {
    flex: 1;
    height: 48px;
    font-size: 15px;
    border-radius: 8px;
}

#popupChargeUsed #pkg-actions.single-btn .used-btn {
    flex: 1 1 100%;
}

/* Hủy gói */
#popupChargeUsed .cancel-data {
    display: flex;
    height: 48px;
    padding: 10px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
    border-radius: 12px;
    border: 1px solid  #0060A6;
    background:  #F9FCFF;
    color:  #0060A6;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

/* Gia hạn */
#popupChargeUsed .autorenew {
    display: flex;
    height: 48px;
    padding: 10px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
    border-radius: 12px;
    background:  #0060A6;
    color:  #FFF;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}


.title-charge {
    color: #041F4A;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

/*css slider charge hot*/
.slider-charge-hot {
    display: flex;
    justify-content: center;
}
.slider-charge-hot .lSSlideOuter {
    width: 92%;
}

.slider-charge-hot .pack_title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    color:  #0060A6;

}
.slider-charge-hot .pack_title img {
    display: flex;
    width: 32px;
    height: 32px;
    padding: 2px 0;
    justify-content: center;
    align-items: center;
}



.slider-charge-hot .pack_desc , .slider-charge-hot .pack_price {
    display: flex;
    align-items: center;
    gap: 12px;
    align-self: stretch;
    margin-bottom: 2px !important;
}


.slider-charge-hot .pack_desc img , .slider-charge-hot .pack_price img {
    display: flex;
    width: 24px;
    height: 24px;
    justify-content: center;
    align-items: center;
}

.slider-charge-hot .pack_desc .pack_hsd {
    overflow: hidden;
    white-space: nowrap;
    color:  #0A4874;
    text-overflow: ellipsis;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    padding-right: 12px;
    border-right: 1px solid #E5E5E5;
}

.slider-charge-hot .pack_desc:not(:has(> .pack_data)) .pack_hsd {
    border-right: none;
    padding-right: 0;
}

.slider-charge-hot .pack_desc .pack_data {
    overflow: hidden;
    white-space: nowrap;
    color:  #0A4874;
    text-overflow: ellipsis;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.slider-charge-hot .pack_price .price-item {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color:  #FF3E3E;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    padding-right: 12px;
}

.slider-charge-hot .pack_price .pack_point {
    display: flex;
    align-items: center;
    color:  #FFA23A;
    text-align: center;
    font-family: Roboto;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: 0 !important;
}

.slider-charge-hot .pack_price .pack_point img {
    width: 11.965px;
    height: 12px;
    margin-right: 2px !important;
}

.slider-charge-hot  .promo_tag {
    font-size: 10px;
    font-weight: 400;
    line-height: normal;
}

.slider-charge-hot .detail-charge-hot {
    display: flex;
    height: 32px;
    padding: 10px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 8px;
    background: #007BFF;
    color:  #FFF;
    text-align: center;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
}

.slider-charge-hot .hot_desc {
    flex-direction: column;
    justify-content: space-between;
}

.slider-charge-hot .pack_promotion {
    padding-bottom: 12px;
}

.slider-charge-hot .box-lSPager {
    display: none;
}

.slider-charge-hot .box-lSPager .lSPager.lSpg {
    margin-top: 0 !important;
}

.slider-charge-hot .lSSlideOuter .lSPager.lSpg>li {
    padding: 0 2px;
}

.slider-charge-hot .lSSlideOuter .lSPager.lSpg>li.active a {
    width: 16px;
    height: 8px;
    border-radius: 4px;
    background:  linear-gradient(86deg, #237BD3 0%, #227BD4 0.01%, #00A3FF 99.12%, #00A6DA 99.12%);
}

.slider-charge-hot .lSAction>a {
    display: flex;
    width: 38px;
    height: 38px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 15px 0 rgba(56, 157, 251, 0.10);
    gap: 10px;
    top: 40%;
}
.slider-charge-hot .lSPrev {
    background-image: url('/images/goicuoc/arrow-left.png') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 9px !important;
}

.slider-charge-hot .lSNext {
    background-image: url('/images/goicuoc/arrow-right.png') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 9px !important;
}

.title-page-charge {
    padding-bottom: 32px;
}


/* css tạo gói cước */

/* Khung tab */

.create-charge .content-header {
    margin-bottom: 32px;
}


.create-charge .content-header .box-tab {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    border-radius: 12px;
    border: 1px solid #D1D5DB;
    overflow: hidden;   /* ⭐ Quan trọng để không bị hở viền */
}

.create-charge .change-url-target {
    flex: 1;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: #344A6C;
    font-size: 18px;
    font-weight: 500;
}

.create-charge .charge-tab-date,
.create-charge .charge-tab-month {
    border-right: 1px solid #D1D5DB;
}

.create-charge .change-url-target.active {
    background: #0060A6;
    color: #FFF;
    font-weight: 700;
}

/* ⭐ FIX BO TRÒN 2 TAB BIÊN */
.create-charge .box-tab .change-url-target:first-child.active {
    border-radius: 12px 0 0 12px;
}

.create-charge .box-tab .change-url-target:last-child.active {
    border-radius: 0 12px 12px 0;
}

.create-charge .change-url-target img {
    width: 48px;
    height: 48px;
}


.create-charge .m-card.create-pack-card {
    padding: 24px;
}

.create-charge ul.list-face-value li.face-value {
    margin-top: 0;
}


.create-charge #create_package_flex {
    width: 100%;
    padding: 10px 16px;
    border-radius: 12px;
    background: #007BFF;
    color:  #FFF;
    text-align: center;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
}

.create-charge #btn-open-popup-confirm-flex {
    width: 33.375rem;
    margin: auto;
    padding: 10px 16px;
    border-radius: 12px;
    background: #007BFF;
    color:  #FFF;
    text-align: center;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
}


/*css danh sách gói cước*/

.list-charge .mobile-service-content.package_list {
    width: 100% !important;
}

.list-charge .box-tab {
    width: 100%;
}
.box-tab-group-package {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 0;
    border-radius: 12px;
}

/* -------------------------------------------------------------------------------------
   TỪNG TAB ITEM
------------------------------------------------------------------------------------- */
.box-tab-group-package .tab-item {
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    text-align: center;
    cursor: pointer;
    min-height: 90px; /* Giữ chiều cao đồng nhất */
    border-radius: 12px;
    transition: 0.25s;
    position: relative;
    padding-left: 20px;
    padding-right: 20px;
}


/* ❌ Bỏ padding-left cho phần tử .tab-item đầu tiên */
.box-tab-group-package .tab-item:first-child {
    padding-left: 0 !important;
}

/* ❌ Bỏ padding-right cho phần tử .tab-item cuối cùng */
.box-tab-group-package .tab-item:last-child  {
    padding-right: 0 !important;
}


/* Icon */
.box-tab-group-package .tab-item .active-tab img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Text */
.box-tab-group-package .tab-item .active-tab span {
    max-width: 120px;
    /*overflow: hidden;*/
    /*text-overflow: ellipsis;*/
    /*white-space: nowrap;*/
    display: block;
}
.box-tab-group-package .tab-item .active-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4px;
    gap: 6px;
    text-align: center;
    cursor: pointer;
    min-height: 90px; /* Giữ chiều cao đồng nhất */
    border-radius: 12px;
    transition: 0.25s;
    position: relative;

    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color:  #041F4A;
}



/* ACTIVE */
.box-tab-group-package .tab-item.active .active-tab {
    background: linear-gradient(266deg, #28A6FC 0%, #0052CC 100%);
    color: white;
    font-weight: 700;
}

/* -------------------------------------------------------------------------------------
   GẠCH PHÂN CÁCH (GIỐNG THIẾT KẾ)
------------------------------------------------------------------------------------- */
.box-tab-group-package .tab-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    width: 1px;
    height: 60%;
    background: #D1D5DB;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 cột như thiết kế */
    gap: 16px;
}

.package-grid .pack_content {
    box-shadow: 0 2px 15px 0 rgba(56, 157, 251, 0.10);
    height: auto;
    margin-bottom: 8px;
}

.package-item {
    display: none; /* FE xử lý hiển thị */
}

.m-tab.active .package-item.show {
    display: flex;
    flex-direction: column;
}

/* HÀNG 1: Xem tất cả */
.row-view-all {
    display: flex;
    justify-content: flex-end;
    padding: 10px 0;
}

.view-all {
    font-size: 16px;
    font-weight: 500;
    color: #237BD3;
    cursor: pointer;
    text-decoration-line: underline;
    line-height: 20px;
}


/* HÀNG 2: FILTER */
.row-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 24px 0;
}

.filter-left {
    display: flex;
    align-items: center;   /* Căn giữa theo chiều dọc */
    gap: 16px;
}

.filter-left label {
    display: flex;
    padding: 4px 0;
    align-items: center;
    gap: 8px;           /* Khoảng cách radio ↔ text */
    margin: 0;
    cursor: pointer;
    font-size: 16px;
    color: #041F4A;
    font-weight: 400;
    line-height: 20px;
}
.title-cycle {
    color: #6B7280;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.list-charge .filter-left input[type="radio"] {
    margin:0 !important;
}

/* Sort bên phải */
.filter-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.sort-item {
    display: flex;
    padding: 4px 0;
    align-items: center;
    gap: 8px;           /* Khoảng cách radio ↔ text */
    margin: 0;
    cursor: pointer;
    font-size: 16px;
    color: #041F4A;
    font-weight: 400;
    line-height: 20px;
}

.sort-item.active {
    color:  #0060A6;
    font-weight: 600;
}

.sort-item .arrow {
    width: 20px;
    height: 20px;
}

.list-charge .pack_content .pack_title {
    border-radius: 0;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    color:  #FFF;
}

.list-charge .register_btn_detail {
    display: flex;
    width: 100%;
    padding: 12px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 8px;
    border: 1px solid #237BD3;
    background:  #FFF;
    color: #237BD3;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

.list-charge .pack_content .register {
    padding: 0 15px;
}

/*css hộp gói cước màn danh sách*/


.package-grid .pack_desc_list {
    display: flex;
    align-items: center;
    padding-top: 12px;
    gap: 8px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.package-grid .pack_hsd {
    color:  #0A4874;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    padding-right: 8px;
    position: relative;
}




.package-grid .pack_hsd::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;       /* đường kẻ cao 80% */
    width: 1px;
    background: #E5E5E5;
}

.package-item .pack_desc_list:not(:has(> .pack_data_detail)) .pack_hsd::after {
    display: none;
}

.package-grid .pack_data_detail {
    color:  #0A4874;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.package-grid .service-tags {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 4px;
    align-self: stretch;
    flex-wrap: nowrap;
    overflow-x: hidden;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.package-grid .service-tags .tag {
    display: flex;
    padding: 2px 6px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 6px;
    background:  #F0F1F2;
    color:  #6B7280;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

 .package-grid .pack_promotion {
     padding-bottom: 0px;
     gap: 4px;
 }
.package-grid .promo_tag {
    padding: 2px 6px;
    border-radius: 4px;
    border: 0.5px solid #F04438;
    color: #F04438;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.package-grid .pack_body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 15px;
}

 .package-grid .pack_price_list {
     padding-top: 4px;
     color: #EB2A28;
     font-size: 16px;
     font-style: normal;
     font-weight: 700;
     line-height: normal;
     margin-top: auto;
     padding-bottom: 8px;
 }

/*css nut xem them*/

.list-charge .see-more-wrap {
    display: flex;
    padding: 8px 0;
    justify-content: center;
    align-items: center;
    gap: 4px;
    align-self: stretch;
}

.list-charge .see-more-wrap .btn-see-more {
    color: #237BD3;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px; /* 142.857% */
    letter-spacing: 0.14px;
    cursor: pointer;
    gap: 2px;
    display: flex;
    align-items: center; /* căn giữa theo chiều dọc */
}

.see-more-image {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.filter-left-label {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.register_mobile {
    display: none;
}
.pack_price_point {
    display: flex;
    gap: 12px;
    align-items: center;
}
.package-grid .pack_point {
    margin-bottom: 0;
}

/*css khi lọc không thấy gói cước nào*/

.no-result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: 30px;
}

.no-result .img-no-result {
    display: flex;
    justify-content: center;
    padding-bottom: 10px;
}

.no-result img {
    width: 120px;
}

.no-result p {
    color:  #344A6C;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px
}

/*css cho xem them rut gon*/

.btn-see-more .text {
    color: #237BD3;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.list-charge .pack_point .amount , .mvPackage .pack_point .amount {
    color:  #F79009;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
}

/* 1 ITEM */
.lSSlideOuter:has(.lightSlider_used > li:only-child) .lSPager.lSpg {
    display: none !important;
}

/* 2 ITEMS */
.lSSlideOuter:has(
        .lightSlider_used > li:nth-child(2):last-child
    ) .lSPager.lSpg {
    display: none !important;
}

.mvPackage .lSAction>.lSNext {
    right: -3rem;
}

.mvPackage .lSAction>.lSPrev {
    left: -3rem;
}

@media (min-width: 1201px) and (max-width: 1300px) {
    .slider-charge-hot .pack_desc, .slider-charge-hot .pack_price {
        gap: 7px;
    }
    #mvPackage .hot_desc {
        padding: 14px;
    }
    .slider-charge-hot .pack_desc .pack_hsd {
        padding-right: 7px;
    }
}



@media screen and (max-width: 991px) {
    .lSSlideOuter:has(
        .lightSlider_used > li:nth-child(2):last-child
    ) .lSPager.lSpg {
        display: block !important;
    }



    /*css tạo gói cước*/
    .title-page-charge {
        display: flex;
        justify-content: space-between;
        padding-top: 19px;
        padding-bottom: 19px;
    }
    .title-page-charge .title-charge {
        padding-bottom: 0px;
    }
    .package-content .mobile-service-content .content-header {
        margin-bottom: 0px;
    }
    .create-charge .content-header .box-tab {
        display: none;
    }
    .list-charge .content-header .box-tab {
        display: block;
    }

    .title-page-charge .dropdown-mobile .btn-preview {
        border-radius: 4px;
        border: 1px solid #CCC !important;
        background: #FFF !important;
        display: flex;
        height: 28px;
        padding: 4px 17px 4px 12px !important;
        align-items: center;
        gap: 8px;
        color: #041F4A;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 20px;
    }

    .create-charge .m-card.create-pack-card {
        padding: 16px 12px;
    }
    .create-charge #create_package_flex {
        height: 40px;
    }
    .create-charge #btn-open-popup-confirm-flex {
        width: 33.375rem;
    }
    .customer-content, .events-content, .mobile-service-content, .service-content {
        padding-top: 0px;
    }
    .create-charge.mobile-service-content .m-tab {
        padding-bottom: 0px;
    }
    body .change-list .package-content {
        margin-bottom: 0px;
    }
    .title-page-charge .dropdown.dropdown-mobile {
        display: block;
    }
    /* css danh sách gói  */

    .package-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .row-filter {
        flex-direction: column;
        align-items: flex-start;
        gap:12px;
        padding: 12px 0 24px 0;
    }
    .filter-left {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap:8px;
    }
    .filter-left-label {
        display: flex;
        justify-content: flex-start;
        width: 100%;
    }
    .title-cycle {
        color: #041F4A;
        font-weight: 600;
    }
    .package-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .register {
        display: none;
    }

    .register_mobile {
        display: block;
    }

    .package-grid .pack_price_list {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top : 6px;
        padding-bottom: 0;
    }
    .list-charge .register_btn_detail {
        padding: 4px 12px;
        font-size: 14px;
        font-weight: 500;
        line-height: 24px;
    }
    .package-grid .pack_content {
        margin-bottom: 0;
    }


}


@media screen and (max-width: 769px) {

    /* css danh sách gói  */
    .package-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



@media screen and (max-width: 576px) {

    .bank-transfer-layout .main-content .inner {
        padding: 7px;
    }
    .using-pack-content {
        margin-bottom: 0px;
    }

    /* gói cước đang sử dụng*/
    .title-charge {
        font-size: 18px;
        padding-bottom: 16px;
    }
    .content-main {
        padding: 15px 12px;
    }
    .time-update {
       font-size: 12px;
        font-weight: 400;
    }
    .pack-hsd {
        font-size: 12px;
    }

    .pack-title {
        width: 129px;
        height: 37px;
        font-size: 16px;
    }
    .m-card-slider {
        padding: 12px;
        gap:0;
        min-width: 323px;
    }
    /* css tạo gói cước    */

    .title-page-charge {
        display: flex;
        justify-content: space-between;
        padding-top: 19px;
        padding-bottom: 19px;
    }
    .title-page-charge .title-charge {
        padding-bottom: 0px;
    }
    .package-content .mobile-service-content .content-header {
        margin-bottom: 0px;
    }
    .create-charge .content-header .box-tab {
        display: none;
    }
    .list-charge .content-header .box-tab {
        display: block;
    }

    .title-page-charge .dropdown-mobile .btn-preview {
        border-radius: 4px;
        border: 1px solid #CCC !important;
        background: #FFF !important;
        display: flex;
        height: 28px;
        padding: 4px 17px 4px 12px !important;
        align-items: center;
        gap: 8px;
        color: #041F4A;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 20px;
    }

    .create-charge .m-card.create-pack-card {
        padding: 16px 12px;
    }
    .create-charge #create_package_flex {
        height: 40px;
    }
    .create-charge #btn-open-popup-confirm-flex {
        width: 22.375rem;
    }
    .customer-content, .events-content, .mobile-service-content, .service-content {
        padding-top: 0px;
    }
    .create-charge.mobile-service-content .m-tab {
        padding-bottom: 0px;
    }
    body .change-list .package-content {
        margin-bottom: 0px;
    }

    /* css gói cước nổi bật    */


    .slider-charge-hot .lSSlideOuter {
        width: 66%;
    }


    .lightSlider_hot li {
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .mvPackage .lSAction>.lSNext {
        right: -3rem;
    }

    .mvPackage .lSAction>.lSPrev {
        left: -3rem;
    }
    #mvPackage .pack_title {
        font-size: 14px !important;
    }
    #mvPackage .pack_desc, #mvPackage .pack_price {
        gap:6px;
    }
    .slider-charge-hot .pack_title img {
        width: 24px;
        height: 24px;
    }
    .slider-charge-hot .pack_desc img, .slider-charge-hot .pack_price img {
        width: 20px;
        height: 20px;
    }
    .slider-charge-hot .pack_desc .pack_hsd {
        font-size : 12px;
        padding-right: 6px;
    }
    .slider-charge-hot .pack_desc .pack_data, .slider-charge-hot .pack_price .price-item {
        font-size: 12px;
    }
    .slider-charge-hot .detail-charge-hot {
        font-size: 12px;
        font-weight: 600;
        line-height: 20px;
    }


    #mvPackage .lSAction {
        margin-top: 10px;
    }
    .row.mvPackagerow {
        padding: 28px 10px;
    }
    #mvPackage {
        margin-bottom: 0px;
    }

    /* css danh sách gói cước */
    .box-tab-group-package .tab-item .active-tab {
        display: flex;
        flex-direction: row;
        padding: 8px 12px;
        align-items: center;
        gap: 4px;
        border-radius: 12px;
        border: 1px solid  #DEEBFF;
        background: #FFF;
    }
    .box-tab-group-package .tab-item .active-tab img {
        width: 24px;
    }

    .box-tab-group-package .tab-item .active-tab span {
        white-space: nowrap !important;
    }
    /* Container của tab */
    .box-tab-group-package {
        display: flex;
        flex-wrap: nowrap !important;   /* Không cho xuống dòng */
        overflow-x: auto !important;    /* Cho phép kéo ngang */
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch; /* Cuộn mượt trên iOS */
        gap: 12px;                      /* Khoảng cách giữa các tab */
        padding-bottom: 8px;
    }

    /* Ẩn scrollbar để đẹp hơn */
    .box-tab-group-package::-webkit-scrollbar {
        display: none;
    }

    /* Tab item không co giãn toàn bộ */
    .box-tab-group-package .tab-item {
        flex: 0 0 auto !important;   /* Chiều rộng bằng nội dung */
        min-width: max-content;      /* Không bị bóp nhỏ */
        padding-left: 12px;
        padding-right: 12px;
        min-height: unset;
        display: flex;
        align-items: center;
        padding-left: 0;
        padding-right: 0;
    }

    /* Nội dung trong tab */
    .box-tab-group-package .tab-item .active-tab {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        border-radius: 12px;
        border: 1px solid #DEEBFF;
        background: #FFF;
        white-space: nowrap !important;   /* Không xuống dòng */
        min-height: unset;
    }

    .box-tab-group-package .tab-item .active-tab span {
        max-width: none;
        white-space: nowrap !important;
    }

    /* Gạch phân cách dọc bỏ luôn trên mobile */
    .box-tab-group-package .tab-item::after {
        display: none !important;
    }
    .row-filter {
        flex-direction: column;
        align-items: flex-start;
        gap:12px;
        padding: 12px 0 24px 0;
    }
    .filter-left {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap:8px;
    }
    .filter-left-label {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    .title-cycle {
        color: #041F4A;
        font-weight: 600;
    }
    .package-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .register {
        display: none;
    }

    .register_mobile {
        display: block;
    }

    .package-grid .pack_price_list {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top : 6px;
        padding-bottom: 0;
    }
    .list-charge .register_btn_detail {
        padding: 4px 12px;
        font-size: 14px;
        font-weight: 500;
        line-height: 24px;
    }
    .package-grid .pack_content {
        margin-bottom: 0;
    }
   /*  css popup chi tiết gói cước*/
    #popupChargeUsed .modal-title-used {
        font-size: 20px;
    }

    #popupChargeUsed .modal-body {
        padding: 0;
    }
    #popupChargeUsed .charge-used-modal {
        padding: 20px;
    }
    #popupChargeUsed .modal-close {
        top: 6px;
        right: 0px;
    }
    #popupChargeUsed .row-left, #popupChargeUsed .row-right {
        font-size: 15px;
    }
    #popupChargeUsed #pkg-actions{
        gap: 15px;
    }
    #popupChargeUsed #pkg-actions .used-btn {
        font-size: 14px;
    }
    #popupChargeUsed .modal-dialog {
        margin-top: 0;
    }


}

@media screen and (max-width: 400px) {

    .create-charge #btn-open-popup-confirm-flex {
        width: 19.375rem
    }

}

@media screen and (max-width: 390px) {

    .content-main {
        padding: 15px 11px;
    }

}


