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

html, body {
    height: 100%;
    font-family: 'Open Sans', sans-serif;
}
.container {
    max-width:420px;
    margin: 0 auto;
    background-image: url('/assets/image/background-home.png');
    background-size: cover;        /* Hoặc 'contain' nếu muốn toàn bộ ảnh hiển thị */
    background-position: center;   /* Căn giữa hình */
    background-repeat: no-repeat;  /* Không lặp hình */
}
.box-container{
    padding: 10px 15px;

}
.box-container .header{
    display: flex;align-items: center;
}
.header .header-left{
    width: 40%;
}
.header .header-left:hover{
    cursor: pointer;
}
.header-left img{
    width: 15%;
}
.header-center img{
    width: 40%;
}
.box-container .banner{
    padding: 10px 0;
}
.box-container .banner img{
    width: 100%;
}
.item-content h4{
    padding: 10px 0;
}
.box-container .text-content h3{
    padding: 3px 0;
}
.box-container .text-content{
    padding: 0 0 15px 0;
}
.text-content .text-header span{
    padding-top: 5px;
    display: block;
    font-size: 15px;
}
.item-content .box-item_content{
    background: #fff;
    border-radius: 10px;
}
.box-item_content .item-package{
    margin-left: 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding:10px 10px ;
}
.box-item_content .item-package .text-package{
    display: flex;
    width: 70%;
    justify-content: space-between;
    margin-top: 3px;
}
.box-item_content .item-package .font-bold{
  font-weight: bold;
    font-size: 18px;
}
.item-package .font-bold .syntax{
    color: #2764FE;
}
.item-package .data{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.item-package .data .money{
    font-size: 15px;
}
.item-package .img-btn{
    width: 25%;
}
.item-package .img-btn:hover{
    cursor: pointer;
}
.item-package .btn-register{
    width:100%;
}
.box-item_content .container-item_package{
    border-bottom: 1px solid #DDDDDD;
}
.box-item_content .step-item_package{

    padding:10px 10px 0 10px ;
}
.container-item_package .step-item_package .step{
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.step-item_package .step img{
    width: 10%;
}
.step-item_package .btn-step_right{
    width: 15%!important;
}
.step-item_package .text-step span{
    font-size: 15px;
    padding: 10px 0;
    font-weight: 550;
}
.step-item_package .text-step{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.step-item_package .text-step .text-step_center{
    margin-left: -25px;
}

.container-news{
    margin-top: 20px;
    background: #fff;
    border-radius: 10px;
    padding: 10px 10px 0 10px;
    margin-bottom: 110px;
}
.container-news .news .header-news{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 8px;
}
.header-news img{
    width: 8%;
}
.header-news span{
    font-size: 16px;
    font-weight: bold;
    padding: 0 10px;
}
.list-news{
    padding: 10px 0;
}
.list-news .item-new{

    margin: 10px 0;
}
.list-news .item-new img{
    width: 100%;
}
.list-news .item-new span{
    padding: 10px 15px;
    display:block ;
}

.text-title{
    border: 1px solid #8BB7DE;
    margin-top: -7px;
    border-radius: 0 0 10px 10px;
}



.sidebar {
    position: fixed;
    top: 0;
    left: 0%;
    width: 80vw;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 99999999999;
}


.sidebar.active {
    transform: translateX(0);
    left: 39.2%;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 9999999;
}

.hidden {
    display: none;
}

.banner-img {
    width: 100%;
    display: block;
    padding: 30px 0 40px 0;
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s;
}

.menu-item:hover,
.menu-item.active {
    background: #f3f4f6;
}

.menu-item img {
    width: 24px;
    height: 24px;
    margin-right: 12px;
}

.menu-item span {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #111;
}

.footer{
    padding: 10px 20px;
    position: fixed;
    bottom: 0;
    z-index: 9999;
   margin-left: -20px;
    max-width: 420px;
    width: 100%;
}
.footer .list-footer .item-footer:hover{
    cursor: pointer;
}
.footer .list-footer .item-footer img{
    width: 40%;
}
.menu a{
    text-decoration: none;
}
.footer .list-footer{
    border-top: 1px solid #87B6CF;
    display: flex;
    justify-content: space-around;
}
.list-footer .item-footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20%;
    height: 70px;
}
.list-footer .item-footer:hover{
    cursor: pointer;
}
.item-footer span{
    display: block;
    text-align: center;
}
.list-footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient(90deg, #E8F7FF 0%, #C4EAFE 100%);
    padding: 10px 20px;
    position: fixed;
    bottom: 0;
    z-index: 9999;
    margin-left: -15px;
    max-width: 420px;
    width: 100%;
}

.list-footer .item-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20%;
    position: relative; /* cần cho ::after định vị */
}

.list-footer .item-footer img {
    width: 40%;
}

.item-footer span {
    display: block;
    text-align: center;
    font-weight: bold;
    color: #4B4B4B;
}

/* Tạo dấu gạch đứng sau mỗi item-footer trừ phần tử cuối */
.list-footer .item-footer:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20%;
    right: -10px;
    width: 3px;
    height: 80%;
    background-color: #fff;
    opacity: 0.6;
}



@media (max-width: 320px) {
    .box-item_content .item-package .font-bold{
        font-weight: bold;
        font-size: 14px;
    }
    .item-package .data .money{
        font-size: 15px;
    }
    .step-item_package .text-step span{
        font-size: 13px;
    }
}
@media (max-width: 500px) {
    .item-package .data .money{
        font-size: 15px !important;
    }
    .footer{
        margin-left: 0px !important;
        left: -1%;
        max-width: 420px;
        width: 100%;
    }
    .sidebar.active {
        transform: translateX(0);
        left: 0 !important;
    }
}
@media (min-width: 1800px) and (max-width: 2000px) {
    .sidebar.active {
        transform: translateX(0);
        left: 38.8%;
    }
}
@media (min-width: 1600px) and (max-width: 1799px) {
    .sidebar.active {
        transform: translateX(0);
        left: 37.8%;
    }
}
@media (min-width: 1400px) and (max-width: 1599px) {
    .sidebar.active {
        transform: translateX(0);
        left: 36%;
    }
}
@media (min-width: 1200px) and (max-width: 1499px) {
    .sidebar.active {
        transform: translateX(0);
        left: 33.7%;
    }
}
@media (min-width: 1000px) and (max-width: 1199px) {
    .sidebar.active {
        transform: translateX(0);
        left: 30%;
    }
}
@media (min-width: 800px) and (max-width: 999px) {
    .sidebar.active {
        transform: translateX(0);
        left: 25.5%;
    }
}
@media (min-width: 510px) and (max-width: 799px) {
    .sidebar.active {
        transform: translateX(0);
        left: 11% !important;
    }
}


@media (max-width: 320px) {
    .item-footer span{
        font-size: 15px;
    }
    .footer-content .btn-show{
        margin-left: 62% !important;
    }
}
