.menu-newbitel {
    display: inline-block;
}
.menu-newbitel > a {
    display: inline-block;
    text-decoration: none;
    font-size: 11.5px;
    color: #2a3a49;
    text-transform: uppercase;
    margin-right: 40px;
    margin-top: 15px;
}
.menu-newbitel > div {
    display: inline-block;
    padding: 10px 18px 8px;
    margin-right: 13px;
}
.menu-newbitel .item-list {
    display: inline-block;
}
.menu-newbitel > div > span {
    vertical-align: top;
    display: inline-block;
    padding: 3px 23px 3px 0;
    margin-left: 0;
    font-size: 13px;
    font-weight: 500;
}
nav#nav-bitel .container #navbar ul {
    display: block;
    padding-left: 5px;
}
nav#nav-bitel .container #navbar ul li a, nav#nav-bitel .container #navbar ul li.active a {
    line-height: 24px;
    margin-right: 0;
    font-size: 10px;
}
.menu-newbitel .cart {
    position: relative;
    padding: 10px 0;
}
.menu-newbitel .cart a span.icon-cart {
    background: url(../v2-images/icon-cart.svg) no-repeat 0 0;
    background-size: contain;
    height: 23px;
    width: 26px;
    display: inline-block;
    position: inherit;
    bottom: 0;
}
.menu-newbitel .cart a span.icon-count {
    position: absolute;
    top: -4px;
    right: 6px;
    font-size: 10px;
    text-align: center;
    line-height: 20px;
    padding-top: 2px;
    background-color: #008c95;
    border-radius: 50%;
    min-width: 22px;
    min-height: 20px;
    color: #fff;
    -webkit-transition: 0.5s ease all;
    transition: 0.5s ease all;
}
#navbar {
    position: relative;
}
.navbar-right {
    font-family: 'Montserrat', sans-serif;
    margin-top: 16px;
}
.navbar-right ul {
    list-style: none;
}
.navbar-right ul li {
    display: inline-block;
}
#nav-bitel .member-info {
    padding: 10px 14px;
    position: relative !important;
    margin: 0 10px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 12px;
    border-radius: 5px;
    -webkit-backdrop-filter: blur(50px);
    backdrop-filter: blur(50px);
    white-space: nowrap;
    box-shadow: 0 3px 0 0 rgba(0, 0, 0, 0.1);
    background-image: linear-gradient(to top, #00a1a4, #12c9aa);
}
#nav-bitel .member-info:hover {
    color: #fff !important;
}

#nav-bitel .member-info.logged-in {
    box-shadow: none;
    padding: 6px 25px 6px 6px;
    display: block;
}
#nav-bitel .member-info.logged-in img {
    display: inline-block;
}
#nav-bitel .member-info.logged-in:after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: #000;
    border-radius: 100%;
    top: 10px;
    right: 4px;
    background: url('../v2-images/down-arrow.svg') no-repeat center center;
}

.member-info-popup {
    position: absolute;
    width: 300px;
    height: 250px;
    z-index: 100000;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.16);
    display: none;
    top: -4px;
    right: 17px;
}
.member-info-popup:before {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
    top: -10px;
    right: 25px;
}
.member-info-popup .top-info {
    padding: 25px 23px;
    border-bottom: 1px solid #e3eaf2;
}
.member-info-popup .account-info .name-info {
    font-size: 15.5px;
    color: #405264;
    line-height: 18px;
}
.member-info-popup .account-info .email-info {
    font-size: 12px;
    color: #8d9dba;
    line-height: 15px;
}
.member-info-popup .account-info a {
    border-radius: 1px;
    background-color: #00a1a4;
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    padding: 7px 15px;
    text-transform: uppercase;
    margin-top: 9px;
    display: inline-block;
    text-decoration: none;

}
.member-info-popup .top-info .member-avatar {
    width: 69px;
    height: 70px;
    float: left;
    margin-right: 17px;
    background: #cacfd3;
}
.member-info-popup .top-info .account-info {
    float: right;
    width: 168px;
}
.member-info-popup .top-info:after {
    content: '';
    display: block;
    clear: both;
}
.member-info-popup .list-links {
    padding: 20px 23px;
}
.member-info-popup .list-links a {
    display: block;
    font-size: 13px;
    color: #405264;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 16px;
}

.navbar-toggle {
    margin: 0;
}

.navbar-header {
    width: 15% !important;
}

.cart-link .cart-icon {
    background: url(/v2-images/icon-cart.svg) no-repeat 0 0;
}
.cart-link .alert-icon {
    background: url(/v2-images/alert.svg) no-repeat 0 0;
}
.hidden {
    display: none !important;
}

.member-info-mobile {
    display: none !important;
}

@media screen and (max-width: 1170px) {
    .cart-link {
        position: relative;
        margin-top: 11px;
        margin-right: 10px;
        float: right;
        padding: 5px;
    }

    .cart-link .cart-icon {
        background-size: cover;
        height: 30px;
        width: 33px;
        display: block;
    }
    .cart-link .alert-icon {
        background-size: cover;
        height: 30px;
        width: 33px;
        display: block;
    }

    .cart-link .count-icon {
        position: absolute;
        top: -7px;
        right: -7px;
        font-size: 12px;
        //line-height: 24px;
        width: 22px;
        height: 22px;
        text-align: center;
        padding-top: 2px;
        background-color: #008c95;
        border-radius: 50%;
        color: #fff;
        -webkit-transition: 0.5s ease all;
        transition: 0.5s ease all;
    }

    #navbar {
        z-index: 999999 !important;
    }

    .navbar-header {
        width: 100% !important;
        padding: 0 15px !important;
        height: 44px !important;
    }

    .visible-xs-inline-block {
        display: inline-block !important;
    }
    nav#nav-bitel {
        padding-top: 12px;
    }

    nav#nav-bitel .container .navbar-header .navbar-toggle {
        margin-top: 10px;
    }
    #navbar-close img {
        height: 18px;
    }
    .arrow {
        text-align: right;
        padding-right: 20px;
        /*margin-top: -10px;*/
    }
    .arrow-up {
        width: 0px;
        height: 0px;
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-bottom: 15px solid;
        display: inline-block;
        float: right;
        color: #008c95;
    }

    nav#nav-bitel .container .navbar-header a.navbar-brand {
        height: 48px;
        position: absolute;
    }
    #nav-bitel .container {
        width: 100%;
        max-width: none;
        padding-left: 15px;
        margin: 0;
    }
    .menu-newbitel, .menu-newbitel > div {
        display: block;
        margin: 0;
    }
    .menu-newbitel > div > span {
        font-weight: 300;
        text-transform: uppercase;
        font-size: 13px;
        color: #a4e3e7;
        background: none;
        margin-bottom: 6px;
    }
    .menu-newbitel .item-list {
        display: block;
    }
    .menu-newbitel .item-list ul {
        padding: 0;
    }
    .menu-newbitel .item-list ul li a {
        background: #02777f !important;
        display: block;
        font-size: 16px;
        color: #fff !important;
        line-height: 21px;
        padding: 14px 21px 13px;
        margin: 0 !important;
        border-radius: 6px;
    }
    .menu-newbitel .cart {
        display: none;
    }
    .navbar-right {
        float: initial !important;
        padding: 0 15px;
    }
    .navbar-right ul {
        float: initial !important;
        padding: 0 !important;
    }
    .navbar-right ul li {
        display: block;
        margin: 0 0 24px !important;
        border: none !important;
    }
    .navbar-right ul li a {
        color: #fff !important;
        font-size: 16px;
        margin-left: 13px;
    }
    #nav-bitel .member-info.logged-in {
        display: none;
    }

    .member-info {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 14px !important;
        margin: 0 !important;
        font-family: Roboto;
    }

    .info-bitel {
        padding: 0 20px;
    }

    .postpago-item, .prepago-item {
        margin-top: 20px !important;
        padding: 0px 20px 0px !important;
    }

    .member-info,
    .navbar-right ul li a,
    .menu-newbitel .item-list ul li a,
    .menu-newbitel > div > span,
    .cart-link .count-icon {
        font-family: Roboto;
        font-weight: 300;
    }

    .navbar-toggle {
        outline:none !important;
    }

    .navbar-toggle::-moz-focus-inner {
        border: 0 !important;
    }

    .member-info-mobile {
        padding: 5px 5px 0 10px;
        display: inline-block !important;
        float: right;
    }

    .member-info-mobile .member-info {
        width: 54px !important;
        height: 36px !important;
        display: inline-block !important;
        float: right;
    }

    .member-info-popup {
        top: 15px;
        right: 0;
        z-index: 9999999999;
    }

    .member-info-popup:before {
        right: 77px;
    }

    .member-info-popup .top-info .account-info {
        float: left;
    }
}

@media (max-width: 767px) {
    nav#nav-bitel .container #navbar {
        width: 100%;
        padding-left: 35px;
        top: 0;
        right: 0;
        height: 100%;
        background: #fff;
        position: fixed;
        background-color: rgba(0, 0, 0, 0.5);
    }
    nav#nav-bitel .container #navbar .menu-content {
        width: 100%;
        height: 100%;
        background: #fff;
        position: relative;
    }
    #navbar .navbar-header {
        background: #fff200;
        height: 69px !important;
    }
    #navbar .navbar-header #navbar-close {
        float: right;
        margin: 20px 20px 0 0;
    }
    .menu-newbitel a {
        display: block;
        color: #2a3a49;
        font-size: 13px;
        line-height: 15px;
        padding: 15px 0 20px 22px;
        border-bottom: 1px solid #e3eaf2;
        margin: 0;
    }
    .member-info-popup {
        width: 100%;
    }
    #nav-bitel .member-info {
        padding: 14px 56px 15px;
        border-radius: 22px;
        box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.06);
        background-color: #00a5b1;
        font-size: 12px;
        font-weight: 600;
        color: #fff;
        background-image: none;
    }
    .info-bitel.navbar-right {
        position: absolute;
        left: 0;
        bottom: 10px;
        width: 100%;
    }
}

@media screen and (max-width: 515px) {
    .cart-link .cart-icon {
        height: 23px;
        width: 26px;
    }
    .cart-link .alert-icon {
        height: 23px;
        width: 26px;
    }
    /*.cart-link .count-icon {*/
        /*font-size: 12px;*/
        /*line-height: 20px;*/
        /*width: 22px;*/
        /*height: 22px;*/
    /*}*/

}

/*cart*/

.btn-cart {
    margin-right: 20px;
}
.btn-cart a{
    background-color: #fff;
    padding: 10px 7px;
    border-radius: 40px;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.06);
}

.btn-cart span{
    position: absolute;
    margin-top: -13px;
    background-color: #00a5b1;
    margin-left: 28px;
    padding-top: 3px;
    border-radius: 18px;
    color: #ffffff;
    height: 22px;
    text-align: center;
    width: 22px;
}

.btn-cart a:hover {
    cursor: pointer;
}

.btn-alert {
    margin-right: 20px;
}
.btn-alert a{
    background-color: #fff;
    padding: 10px 7px;
    border-radius: 40px;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.06);
}

.btn-alert span{
    position: absolute;
    margin-top: -13px;
    background-color: #00a5b1;
    margin-left: 28px;
    padding-top: 3px;
    border-radius: 18px;
    color: #ffffff;
    height: 22px;
    text-align: center;
    width: 22px;
}

.btn-alert a:hover {
    cursor: pointer;
}

/* Các item */
.item-noti {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 10px;
    padding: 12px 16px;
    transition: background-color 0.2s ease;
}
.item-noti:hover {
    background-color: #eef6ff;
}

/* Pagination */
.pagination-wrapper {
    position: sticky;        /* 👈 giữ cố định trong khối scroll */
    bottom: 0;               /* 👈 dính sát đáy */
    background: #f8f9fa;     /* nền để không bị che item */
    padding: 8px;
    margin-top: auto;        /* đẩy xuống đáy nếu nội dung ngắn */
    border-top: 1px solid #dee2e6;
    z-index: 5;
}

/* Tùy chỉnh style pagination cho đẹp */
.pagination {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
    flex-wrap: wrap;
    gap: 4px;
}

.pagination li {
    display: flex;                    /* để icon và số cùng cao */
    align-items: center;
    justify-content: center;
}


.pagination a,
.pagination span {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #495057;
    background: #e9ecef;
    transition: all 0.2s ease;
    font-size: 14px;
}

.pagination a:hover {
    background: #007bff;
    color: #fff;
}

.pagination .active span {
    background: #007bff;
    color: #fff;
    font-weight: 600;
}

ul.pagination .glyphicon {
    font-size: 12px;
    vertical-align: middle;           /* giúp icon nằm đúng giữa */
}
.noti-list {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 550px;             /* 👈 cố định chiều cao khối danh sách */
    overflow-y: auto;          /* 👈 cho phép cuộn nội dung */
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px;
}

#modal_alert .modal-body {
    padding: 15px;
    height: calc(100% - 319px);
    overflow-y: scroll;
    overflow-x: hidden;
}

#modal_alert.modal {
    padding-right: 0 !important;
    overflow-y: hidden;
}
#modal_alert .modal-dialog, #modal_alert .modal-content {
    max-height: 100vh;
}

#modal_alert .close {
    padding: 0!important;
    margin: 0 !important;
}
#modal_alert .modal-header h5 {
    width: 100%;
    margin-top: 10px;
    padding-left: 10px;
    text-transform: uppercase;
}
#modal_alert{
    z-index: 9999 !important;
}
#modal_noti_paginate{
    z-index: 99999 !important;
}
#modal_noti_paginate .modal-body {
    padding: 15px;
    height: calc(100% - 319px);
    overflow-x: hidden;
}

#modal_noti_paginate.modal {
    padding-right: 0 !important;
    overflow-y: hidden;
}
#modal_noti_paginate .modal-dialog, #modal_noti_paginate .modal-content {
    max-height: 100vh;
}

#modal_noti_paginate .close {
    padding: 0!important;
    margin: 0 !important;
}
#modal_noti_paginate .modal-header h5 {
    width: 100%;
    margin-top: 10px;
    padding-left: 10px;
    text-transform: uppercase;
}

#noti_detail_modal{
    z-index: 999999 !important;
}
#noti_newest_modal{
    z-index: 9999999 !important;

}
/* ===============================
   NOTIFICATION DETAIL MODAL STYLE
   =============================== */

.noti-detail-container {
    padding: 10px;
    font-family: 'Helvetica', 'Arial', sans-serif;
    background: #fff;
    border-radius: 8px;
    height: 610px;
}
.noti-newest-container {
    padding: 10px;
    font-family: 'Helvetica', 'Arial', sans-serif;
    background: #fff;
    border-radius: 8px;
    height: 330px;
}


/* ===== HEADER (title + back button) ===== */
.noti-plan-header {
    display: flex;
    justify-content: center;
    background: linear-gradient(90deg, #1b7fa5, #007b9f);
    color: #fff;
    border-radius: 8px 8px 0 0;
    padding: 10px 15px;
    margin-bottom: 15px;
    position: relative;
}

.noti-plan-header .btn-back {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    margin-right: 10px;
    cursor: pointer;
    outline: none;
    transition: transform 0.2s ease;
}

.noti-plan-header .btn-back:hover {
    transform: translateX(-2px);
}

.noti-plan-header .plan-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    text-align:center;
    padding-top: 4px;
}

/* ===== PROMO BANNER ===== */
.noti-banner {
    background: #ff5b5b;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border-radius: 6px;
    padding: 10px 8px;
    margin-bottom: 15px;
    font-size: 16px;
    letter-spacing: 0.5px;
}

/* ===== INFO SECTION (icon + text) ===== */
.noti-info-section {
    background: #f9fafb;
    border: 0px solid #e2e2e2;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    color: #555;
    font-size: 14px;
    margin: 5px 0;
}

.info-item i {
    color: #007b9f;
    margin-right: 8px;
    font-size: 15px;
}

/* ===== DESCRIPTION ===== */
.noti-description {
    border: 0px solid #ddd;
    border-radius: 6px;
    padding: 12px;
    background: #fff;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    white-space: pre-line;
}

/* ===== FOOTER BUTTONS ===== */
.noti-footer {
    display: flex;
    justify-content: center;
}

.noti-footer .btn {
    width: 48%;
    font-weight: 500;
    padding: 8px 0;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

.noti-footer .btn-secondary {
    background: #e0e0e0;
    color: #333;
    border: none;
}

.noti-footer .btn-secondary:hover {
    background: #d5d5d5;
}

.noti-footer .btn-primary {
    background: #9c4dcc;
    border: none;
}

.noti-footer .btn-primary:hover {
    background: #8a3fb8;
}
/* ===== Overall container ===== */
.noti-yellow-style {
    background-color: #FFD93B; /* vàng sáng */
    border-radius: 16px;
    color: #333;
    padding: 0;
    overflow: hidden;
    font-family: "Helvetica Neue", Arial, sans-serif;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    max-width: 360px;
    margin: 0 auto;
}

/* ===== Header bar ===== */
.noti-header {
    flex-direction: column;
    background-color: #004AAD;
    color: #fff;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height:80px;
}

.noti-header i {
    font-size: 20px;
    margin-right: 8px;
}

.noti-header-title {
    font-weight: 600;
    font-size: 15px;
}

.noti-close {
    position: absolute;
    right: 12px;
    top: 8px;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

/* ===== Body ===== */
.noti-body {
    padding: 25px 20px;
}

#noti-newest-container .noti-body .plan-title {
    font-size: 20px;
    font-weight: 700;
    color: #004AAD;
    margin-bottom: 18px;
}

/* ===== Promo white tilted badge ===== */
.promo-badge {
    display: inline-block;
    background: #fff;
    color: #0056A3;
    font-weight: 700;
    font-size: 16px;
    padding: 10px 16px;
    border-radius: 6px;
    transform: rotate(-4deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    margin-bottom: 20px;
}

/* ===== Note / region label ===== */
.region-note {
    background: #FFEAB8;
    color: #7A5C1C;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 25px;
}

/* ===== Footer button ===== */
.btn-view-more {
    display: inline-block;
    background: #9C4DCC;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
}

.btn-view-more:hover {
    background: #7b3aa8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .noti-detail-container {
        padding: 10px;
    }

    .plan-title {
        font-size: 16px;
    }

    .noti-banner {
        font-size: 13px;
        padding: 8px;
    }
}


.glyphicon-chevron-right::before {
  content: '»';
}
.glyphicon-chevron-left::before {
  content: '«';
}
