/*==================== GOOGLE FONTS ====================*/
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
/*==================== BASE ====================*/
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
    background: #000;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 15px;
}
ol,
ul,
.h1,
.h2,
.h3,
h1,
h2,
h3 {
    margin: 0;
    padding: 0;
}
h1,
h2,
h3,
h4 {
    color: hsl(255, 8%, 15%);
    font-weight: 600;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
button {
    outline: none;
    border: none;
}
dl,
ol,
ul {
    margin-bottom: 0;
}
/*==================== ELEMENTS ====================*/
.wrapper-main {
    background: #2b0d0b url(../image/3qgoituongdi/bg-2.jpg) no-repeat;
    background-position: center 0;
    background-size: contain;
    min-height: 1080px;
}
.wrapper-cover {
    background-color: #ffffff;
    padding: 20px 50px 200px 60px;
    max-width: 1400px;
    min-height: 1080px;
}
.wrapper-content {
    width: 100%;
    height: 100%;
    max-width: 1300px;
    margin: 0 auto;
    background: #ffffff;
    min-height: 600px;
    height: 100%;
}
.wrapper-news {
    max-width: 1120px;
}
.container-md {
    max-width: 900px;
}
:focus-visible {
    outline: unset;
}
/*=============DEFINE ICON=============*/
i {
    display: block;
}
.icon-568 {
    width: 26px;
    height: 24px;
    background: url(../image/icon-568.png) no-repeat;
}
.icon-close {
    width: 25px;
    height: 24px;
    background: url(../image/icon-close.png) no-repeat;
}
.icon-user {
    width: 29px;
    height: 29px;
    background: url(../image/icon-user.png) no-repeat 0 0 / 100% 100%;
}
.icon-payment {
    width: 21px;
    height: 15px;
    background: url(../image/icon-payment.png) no-repeat 0 0 / 100% 100%;
}
.icon-user-white {
    width: 16px;
    height: 19px;
    background: url(../image/icon-user-white.png) no-repeat 0 0 / 100% 100%;
}
.icon-home {
    width: 27px;
    height: 25px;
    background: url(../image/icon-home.png) no-repeat 0 -1px;
    background-size: 100%;
}
.icon-gift {
    width: 25px;
    height: 26px;
    background: url(../image/icon-gift.png) no-repeat 0 -1px;
    background-size: 100%;
}
.icon-news {
    width: 24px;
    height: 24px;
    background: url(../image/icon-news.png) no-repeat 0 -1px;
    background-size: 100%;
}
.icon-mission-white {
    width: 15px;
    height: 20px;
    background: url(../image/icon-mission.png) no-repeat;
    background-size: 100%;
}
.icon-logout {
    width: 19px;
    height: 19px;
    background: url(../image/icon-logout.png) no-repeat 0 0 / 100% 100%;
}
.icon-card-user {
    width: 29px;
    height: 20px;
    background: url(../image/icon-card-user.png) no-repeat;
    background-size: 100%;
}
.icon-history {
    width: 20px;
    height: 19px;
    background: url(../image/icon-histories.png) no-repeat;
    background-size: 100%;
}
.icon-bag {
    width: 16px;
    height: 20px;
    background: url(../image/icon-bag.png) no-repeat;
    background-size: 100%;
}
/*==================== HEADER ====================*/
.wrapper-header {
    background-color: #000;
}
.wrapper-sub-header {
    background-color: #6c6c6c;
}
.main-header {
    background: #000;
    height: 80px;
    flex-shrink: 0;
    justify-content: space-between;
}
.hamburger-menu {
    display: none;
}
.main-header .logo {
    background: url(../image/3qgoituongdi/logo.png);
    width: 110px;
    height: 66px;
}
.main-header .wrapper-center-nav {
    margin-top: 16px;
    font-size: 20px;
    gap: 20px;
    font-weight: 600;
}
.main-header .wrapper-center-nav li {
    position: relative;
}
.main-header .wrapper-center-nav li a {
    color: #d3d3d3
}
.main-header .wrapper-center-nav li a:hover,
.main-header .wrapper-center-nav li a.active {
    color: #fff;
}
.main-header .wrapper-center-nav li a::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    height: 14px;
    width: 1px;
    background-color: #acacac;
}
.main-header .wrapper-center-nav li:first-child a::before {
    display: none;
}
.main-header .user-info .avatar-text {
    display: none;
}
.main-header .btn-login,
.main-header .user-info .btn-user {
    width: 121px;
    height: 30px;
    background: #3fa4f9;
    color: #fff;
    font-size: 18px;
    line-height: 30px;
    border: none;
    outline: none;
    border-radius: 3px;
    text-align: center;
    text-decoration: unset;
}
.main-header .user-info {
    max-width: 100%;
}
.main-header .user-info .btn-user {
    max-width: 100%;
    width: 258px;
    gap: 10px;
    padding-left: 10px;
    position: relative;
}
.main-header .user-info .btn-user::after {
    content: "";
    position: absolute;
    right: 17px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    width: 23px;
    height: 12px;
    background: url(../image/icon-dropdown.png) no-repeat;
    background-size: 100%;
    transition: transform 0.25s ease;
}
.main-header .btn-login:hover {
    background: #61c1fd;
}
.main-header .user-info .btn-user>span,
.main-header .user-info ul.menu li.id .username {
    max-width: 180px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.main-header .user-group {
    gap: 32px;
}
.main-header .user-group .list-products button {
    background: transparent;
    border: none;
    outline: none;
    width: 31px;
    height: 30px;
}
.main-header .user-info .btn-user.show::after {
    transform: translateY(-50%) rotate(0);
}
.main-header .user-info ul.menu,
.main-header .user-group .list-products ul {
    background: #4c4c4c;
    border-radius: 4px;
}
.main-header .user-info ul.menu .wrap-icon {
    width: 30px;
}
.main-header .user-info ul.menu .dropdown-item,
.main-header .user-group .list-products .dropdown-item {
    color: #fff;
}
.main-header .user-info ul.menu .dropdown-item:hover,
.main-header .user-group .list-products .dropdown-item:hover {
    background: #5a5a5a;
}
.main-header .user-info ul.menu li.id {
    padding: 0 16px;
    margin: 6px 0 15px 0;
}
.main-header .user-info ul.menu li.id .username {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}
.main-header .user-info ul.menu li.id .userId {
    color: #868686;
    user-select: auto;
}
/* User Info Header Styles */
.main-header .user-info ul.menu .user-info-header {
    padding: 7px 11px;
    margin: 0;
    background-color: #5a5a5a;
    border-bottom: 1px solid #4c4c4c;
}
.main-header .user-info ul.menu .avatar-circle {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background-color: #3fa4f9;
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    flex-shrink: 0;
    padding-top: 2px;
}
.main-header .user-info ul.menu .user-info-text {
    flex: 1;
    min-width: 0;
}
.main-header .user-info ul.menu .user-info-text .username {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.main-header .user-info ul.menu .user-info-text .user-rank-name {
    color: #fff;
    font-size: 14px;
    margin-top: 2px;
}
.main-header .user-info ul.menu .user-info-text .user-rank-name span {
    color: #ffb629;
    font-weight: 800;
}
.sub-header {
    background: #6c6c6c;
    height: 33px;
    flex-wrap: nowrap;
}
.sub-header li {
    position: relative;
    flex-shrink: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    height: 100%;
}
.sub-header li:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 18px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
}
.sub-header li:first-child {
    margin-left: 0 !important;
    padding-left: 0 !important;
}
.sub-header .menu-item {
    color: #fff;
    text-decoration: unset;
    line-height: 30px;
    padding: 0 10px;
    font-weight: 500;
    width: 100%;
    height: 100%;
}
.sub-header .menu-item:nth-child(2) {
    padding: 0 14px;
}
.sub-header .menu-item:hover,
.sub-header .menu-item.active {
    background: #3fa3f8;
}
/*==================== FOOTER ====================*/
footer {
    border-top: 12px solid #ae3730;
    width: 100%;
    height: 220px;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    position: relative;
    flex-shrink: 0;
}
footer .footer-logo {
    width: 134px;
    height: 134px;
    background: url(../image/logo-568-512.png) no-repeat;
    background-size: 100%;
    margin-right: 8px;
}
footer .footer-logo:hover {
    filter: brightness(1.2);
}
footer .company-name {
    font-size: 24px;
    line-height: normal;
}
footer .company-text-small {
    color: #acacac;
    font-size: 18px;
    line-height: normal;
}
.footer-menu {
    margin-left: auto;
}
.footer-menu li a {
    color: #fff;
}
.footer-menu li a:hover {
    color: #f8715f;
}
/*==================== DETAIL ====================*/
.vip-detail .vip-image {
    width: 130px;
    height: 211px;
    background: url(../image/3qgoituongdi/ranks/bg-rank-2.png) no-repeat 0 0 / 100% 100%;
    text-align: center;
    position: relative;
    padding-top: 0;
}
.vip-detail .vip-image span {
    font-size: 13px;
    font-weight: 800;
    margin-bottom: -3px;
    color: #fff;
}
.vip-detail .vip-image .rank-name {
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.vip-detail .vip-image .rank-name.level-0 {
    color: #ffffff;
    font-size: 14px;
}
.vip-detail .vip-image .rank-name.level-1 {
    color: #884100;
}
.vip-detail .vip-image .rank-name.level-2 {
    color: #70777c;
}
.vip-detail .vip-image .rank-name.level-3 {
    color: #997700;
}
.vip-detail .vip-image .rank-name.level-4 {
    color: #4d1185;
}
.vip-detail .vip-image .rank-name.level-5 {
    /* font-size: 17px; */
    color: #b53002;
}
.vip-detail .vip-image .vip-level {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.rank-medal-small a {
    display: block;
    text-indent: -9999px;
}
.rank-medal-small {
    width: 36px;
    height: 36px;
    margin: 0 -1px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.rank-medal-small.gray-medal {
    filter: grayscale(1);
}
.rank-medal-small.active {
    filter: grayscale(0);
}
.rank-medal-small.NONE {
    display: none;
}
.rank-medal-small.BRONZE {
    background: url(../image/3qgoituongdi/ranks/1-bronze-small.png) no-repeat 0 0 / 100% 100%;
}
.rank-medal-small.SILVER {
    background: url(../image/3qgoituongdi/ranks/2-silver-small.png) no-repeat 0 0 / 100% 100%;
}
.rank-medal-small.GOLD {
    background: url(../image/3qgoituongdi/ranks/3-gold-small.png) no-repeat 0 0 / 100% 100%;
}
.rank-medal-small.PLATINUM {
    background: url(../image/3qgoituongdi/ranks/4-platinum-small.png) no-repeat 0 0 / 100% 100%;
}
.rank-medal-small.DIAMOND {
    background: url(../image/3qgoituongdi/ranks/5-diamond-small.png) no-repeat 0 0 / 100% 100%;
}
.rank-medal.NONE {
    width: 132px;
    height: 140px;
    background: url(../image/3qgoituongdi/ranks/1-bronze.png) no-repeat;
    background-size: 100%;
    filter: blur(4px);
}
.rank-medal.BRONZE {
    width: 132px;
    height: 140px;
    background: url(../image/3qgoituongdi/ranks/1-bronze.png) no-repeat;
    background-size: 100%;
}
.rank-medal.SILVER {
    width: 132px;
    height: 140px;
    background: url(../image/3qgoituongdi/ranks/2-silver.png) no-repeat;
    background-size: 100%;
}
.rank-medal.GOLD {
    width: 132px;
    height: 140px;
    background: url(../image/3qgoituongdi/ranks/3-gold.png) no-repeat;
    background-size: 100%;
}
.rank-medal.PLATINUM {
    width: 132px;
    height: 140px;
    background: url(../image/3qgoituongdi/ranks/4-platinum.png) no-repeat;
    background-size: 100%;
}
.rank-medal.DIAMOND {
    width: 132px;
    height: 140px;
    background: url(../image/3qgoituongdi/ranks/5-diamond.png) no-repeat;
    background-size: 100%;
}
/* Animation cho rank change */
@keyframes rankFadeInScale {
    from {
        opacity: 0.5;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.rank-medal {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.rank-medal.animate-in {
    animation: rankFadeInScale 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.rank-description {
    transition: opacity 0.3s ease;
}
@keyframes viewRankGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 179, 71, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 179, 71, 0.3);
    }
    100% {
        box-shadow: 0 0 0 12px rgba(255, 179, 71, 0);
    }
}
.rank-medal-small.active {
    box-shadow: 0 0 12px rgba(255, 179, 71, 0.6), inset 0 0 8px rgba(255, 179, 71, 0.3);
    animation: viewRankGlow 1s ease-out;
}
.vip-detail .vip-description .vip-process-exp {
    font-size: 18px;
}
.vip-detail .vip-description p {
    margin: 0;
    margin-bottom: 4px;
}
.vip-detail .vip-description .process {
    width: 272px;
    border-radius: 4px;
    height: 8px;
    background: #ffa530;
    overflow: hidden;
}
.vip-detail .vip-description .process .current {
    width: 40%;
    height: 100%;
    background: #273d87;
    position: relative;
    border: 1px solid #726169;
    transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.vip-detail .vip-description .process .current.progress-updating {
    animation: progressPulse 0.6s ease-out;
}
@keyframes progressPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(248, 113, 95, 0.7);
    }
    50% {
        box-shadow: 0 0 8px 4px rgba(248, 113, 95, 0.3);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(248, 113, 95, 0);
    }
}
.vip-detail .vip-description .process .current::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    background: #273d87;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid #fffeea;
}
.vip-detail .vip-description .description-top {
    color: #273d87;
}
.vip-detail .vip-description .js-next-vip-name.bold {
    color: #273d87;
    font-weight: 600;
    text-transform: uppercase;
}
.vip-detail .vip-description .next-level {
    margin-top: 5px;
}
.vip-detail .vip-description .btn-reload {
    width: 18px;
    aspect-ratio: 40 / 33;
    background: url(../image/reload.png) no-repeat 0 0 / 100% 100%;
    border: none;
    outline: none;
    right: -10px;
    top: 10px;
    transform: translate(100%, -50%);
}
.vip-detail .vip-description .exp-wrap {
    max-width: 273px;
}
.vip-detail .vip-point-info {
    font-weight: bold;
    gap: 10px;
    margin-bottom: 10px;
}
.vip-detail .vip-point-info li {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 110px;
}
.vip-detail .vip-point-info li label {
    text-align: center;
    white-space: nowrap;
    position: relative;
    font-weight: 700;
    font-size: 17px;
}
.vip-detail .vip-point-info li:not(:last-child)::after {
    content: "";
    position: absolute;
    height: 13px;
    width: 1px;
    top: 5px;
    right: -5px;
    transform: translateX(50%);
    background: #000;
}
.vip-detail .vip-point-info li:nth-child(1)::after {
    right: 2px;
}
.vip-detail .vip-point-info li:nth-child(2)::after {
    right: -15px;
}
.vip-detail .vip-point-info li>span {
    color: #ffa530;
    white-space: nowrap;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
}
.wrapper-mission {
    margin-top: 15px;
    background: #fff;
    box-shadow: 0 0px 7px rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    color: #3b3b3b;
    padding: 10px 15px;
}
.wrapper-mission .mission-item .description {
    margin-right: 50px;
}
.wrapper-mission .mission-item .description span {
    color: #e24500;
    font-weight: bold;
    font-weight: 800;
}
.wrapper-mission .mission-item .btn-notice {
    color: #fff;
    background-color: #3fa4f9;
    padding: 5px 13px;
    text-decoration: none;
    border-radius: 5px;
}
.vip-description .btn-view-history {
    color: #08a3e4;
}
.vip-description .btn-view-history .icon-noti-circle {
    display: block;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    margin-right: 6px;
}
.vip-description .btn-view-history .icon-noti-circle.blue {
    background-color: #08a3e4;
}
.vip-description .btn-view-history .icon-noti-circle.orange {
    background-color: #f8715f;
}
.wrap-gifts {
    margin: 0 auto;
    justify-content: flex-start;
    padding: 0 20px;
}
.vip-gifts {
    margin-top: 20px;
}
.vip-gifts h3.title {
    width: 238px;
    height: 40px;
    background: url(../image/3qgoituongdi/bg-title-3.png) no-repeat;
    margin-bottom: 10px;
    text-indent: -9999px;
}
.vip-gifts h3.title {
    width: 238px;
    height: 40px;
    background: url(../image/3qgoituongdi/bg-title-3.png) no-repeat;
    margin-bottom: 10px;
    text-indent: -9999px;
}
.vip-gifts.vip-gift-exchange h3.title {
    width: 238px;
    height: 40px;
    background: url(../image/3qgoituongdi/bg-title-6.png) no-repeat;
    margin-bottom: 10px;
    text-indent: -9999px;
}
.vip-gifts.vip-gift-exchange-month h3.title {
    width: 238px;
    height: 40px;
    background: url(../image/3qgoituongdi/bg-title-7.png) no-repeat;
    margin-bottom: 10px;
    text-indent: -9999px;
}
.vip-gifts.vip-gift-birthday h3.title {
    width: 238px;
    height: 40px;
    background: url(../image/3qgoituongdi/bg-title-8.png) no-repeat;
    margin-bottom: 10px;
    text-indent: -9999px;
}
.vip-gifts.vip-gift-mission h3.title {
    width: 238px;
    height: 40px;
    background: url(../image/3qgoituongdi/bg-title-5.png) no-repeat;
    margin-bottom: 10px;
    text-indent: -9999px;
}
.vip-gifts .gift-item {
    width: 540px;
    height: 121px;
    background: url(../image/bg-gift.png) no-repeat 0 0 / 100% 100%;
    padding: 18px;
    margin: 0 0 0 -5px;
    gap: 10px;
    flex: 0 0 calc((100% - 16px) / 2);
}
.vip-gifts .gift-item.off {
    filter: grayscale(.8);
    cursor: not-allowed;
}
.vip-gifts .gift-item .wrap-thump {
    width: 115px;
    height: 115px;
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
    margin-top: -12px;
    cursor: pointer;
}
.vip-gifts .gift-item .wrap-thump img:hover {
    filter: brightness(1.1);
}
.vip-gifts .gift-item .info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.vip-gifts .gift-item .gift-name,
.popup .info-gift .gift-name {
    font-size: 16px;
    color: #980202;
    font-weight: 800;
    margin-bottom: 5px;
    text-transform: uppercase;
    cursor: pointer;
}
.vip-gifts .gift-item .gift-name:hover,
.popup .info-gift .gift-name:hover {
    color: #0082d5;
}
.vip-gifts .gift-item .description {
    width: 290px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 18px;
    margin-bottom: 5px;
}
.vip-gifts .gift-item .date-expire {
    margin: 0;
    font-size: 14px;
}
.vip-gifts .gift-item .open-bag,
.vip-gifts .gift-item .get-gift-birthday,
.vip-gifts .gift-item .get-gift {
    width: 106px;
    height: 34px;
    background: url(../image/btn-get-gift.png);
    border: none;
    outline: none;
    bottom: 16px;
    right: 19px;
}
.vip-gifts .gift-item .open-bag {
    background: url(../image/btn-open-bag.png) no-repeat;
}
.vip-gifts .gift-item .btn-verfiy-sms {
    background: url(../image/btn-verify-sms.png) no-repeat;
}
.vip-gifts .gift-item .disabled {
    filter: grayscale(1.1);
}
.vip-gifts .gift-item .get-gift:hover {
    background-position: bottom;
}
.vip-privilege {
    margin-top: 22px;
}
.vip-privilege .vip-privilege-wrapper {
    padding-left: 20px;
}
.vip-privilege h3.title {
    min-width: 258px;
    height: 40px;
    background: url(../image/3qgoituongdi/bg-title-2.png) no-repeat;
    white-space: nowrap;
    margin: 0;
    line-height: 40px;
    font-size: 16px;
    user-select: none;
    color: #980202;
    font-weight: 600;
    text-shadow: -1px -1px 0 #e69b1a, 1px -1px 0 #e69b1a, -1px 1px 0 #e69b1a, 1px 1px 0 #e69b1a;
    margin-bottom: 20px;
    padding-left: 42px;
    text-indent: -9999px;
}
.vip-privilege table {
    color: #fff;
    border-collapse: collapse;
    margin: 0 auto;
    width: 100%;
}
.vip-privilege table thead th,
.vip-privilege table tbody td {
    padding: 8px 12px;
    border: 1px solid #000;
}
.vip-privilege table tbody td {
    color: #000;
    background: #e8e8e8;
}
.vip-privilege table thead th:nth-child(1) {
    background: #273d87;
    width: 338px;
    max-width: 338px;
}
.vip-privilege table thead th:nth-child(2) {
    background: #0082d5;
    width: 745px;
    max-width: 745px;
}
.popup {
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 100px;
    z-index: 3;
}
.popup .content {
    width: 815px;
    height: 376px;
    background: url(../image/popup-gift.png);
}
.popup .content .info-gift {
    height: 90px;
    padding: 8px 14px;
    gap: 12px;
}
.popup .content .popup-body {
    height: 214px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 14px;
}
.popup .content .popup-footer {
    height: 67px;
    padding: 0 30px;
}
.popup.popup-gift .vip-level {
    height: 100%;
    width: auto;
}
.popup .content .info {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.popup .info-gift .gift-name {
    font-size: 22px;
}
.popup .content .info-gift p {
    margin-bottom: 0;
}
.popup .content .info-gift .description {
    line-height: 14px;
}
.popup .content .popup-body .title {
    font-size: 24px;
    font-weight: 600;
}
.popup .content .popup-body .code {
    width: 315px;
    height: 61px;
    background: url(../image/bg-code.png) no-repeat 0 0 / 100% 200%;
    position: relative;
    margin-top: 8px;
}
.popup .content .popup-body .code p,
.popup .content .popup-body .code button {
    position: absolute;
}
.popup .content .popup-body .code p {
    color: #fff;
    text-align: left;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
}
.popup .content .popup-body .code button {
    right: 0;
    background: transparent;
    width: 60px;
    height: 100%;
    border: none;
    outline: none;
}
.popup .content .popup-body .code:hover {
    background-position: bottom;
}
.popup .content .popup-footer .close,
.popup .content .popup-footer .get-gift {
    min-width: 120px;
    color: #fff;
    font-size: 18px;
    line-height: 30px;
    border: none;
    outline: none;
    border-radius: 3px;
    text-align: center;
    text-decoration: unset;
}
.popup .content .popup-footer .close {
    background: #949494;
    display: block;
    width: fit-content;
}
.popup .content .popup-footer .close:hover {
    background: #c5c5c5;
}
.popup .content .popup-footer .get-gift {
    background: #68b7f8;
}
.popup .content .popup-footer .get-gift:hover {
    background: #8ec8f7;
}
.toast-message {
    position: fixed;
    top: 110px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
}
.toast-message.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.reward-history {
    padding-top: 10px;
}
.reward-history .wrap-gifts {
    padding: 0 41px;
    gap: 18px;
    margin-right: 20px;
    width: 100%;
}
@keyframes bagItemBounce {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.02);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}
@keyframes bagItemPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(249, 158, 59, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(249, 158, 59, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(249, 158, 59, 0);
    }
}
.reward-history.bag .bag-item {
    width: 269px;
    height: 285px;
    background: url(../image/3qgoituongdi/bg-gift-bag.png) no-repeat;
    background-size: 100%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    border-radius: 8px;
    padding-top: 43px
}
.reward-history.bag .bag-item:hover {
    background-position: bottom;
    transform: translateY(-6px) scale(1.05);
    animation: bagItemBounce 0.6s ease-in-out;
}
.reward-history.bag .bag-item.active {
    background-position: bottom;
    animation: bagItemPulse 0.8s ease-out;
    box-shadow: 0 8px 24px rgba(249, 158, 59, 0.3);
}
.reward-history.bag .gift-info {
    width: 392px;
    height: 562px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    position: relative;
}
.reward-history.bag .gift-info::before {
    content: "";
    position: absolute;
    left: 0;
    top: 55px;
    width: 100%;
    height: 1px;
    background: rgba(120, 120, 120, 0.7);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.vip-title {
    width: 100%;
    height: 32px;
    text-indent: -9999px;
}
.vip-title.level-1 {
    width: 100%;
    background: url(../image/3qgoituongdi/bag/name/2/1.png) no-repeat;
}
.vip-title.level-2 {
    width: 100%;
    background: url(../image/3qgoituongdi/bag/name/2/2.png) no-repeat;
}
.vip-title.level-3 {
    width: 100%;
    background: url(../image/3qgoituongdi/bag/name/2/3.png) no-repeat;
}
.vip-title.level-4 {
    width: 100%;
    background: url(../image/3qgoituongdi/bag/name/2/4.png) no-repeat;
}
.vip-title.level-5 {
    width: 100%;
    background: url(../image/3qgoituongdi/bag/name/2/5.png) no-repeat;
}
.reward-history.bag .bag-item .wrap-image {
    display: flex;
    width: 154px;
    height: 135px;
}
.reward-history.bag .bag-item .wrap-image.level-1 {
    background: url(../image/3qgoituongdi/bag/1.png) no-repeat;
    background-size: 100%;
}
.reward-history.bag .bag-item .wrap-image.level-2 {
    background: url(../image/3qgoituongdi/bag/2.png) no-repeat;
    background-size: 100%;
}
.reward-history.bag .bag-item .wrap-image.level-3 {
    background: url(../image/3qgoituongdi/bag/3.png) no-repeat;
    background-size: 100%;
}
.reward-history.bag .bag-item .wrap-image.level-4 {
    background: url(../image/3qgoituongdi/bag/4.png) no-repeat;
    background-size: 100%;
}
.reward-history.bag .bag-item .wrap-image.level-5 {
    background: url(../image/3qgoituongdi/bag/5.png) no-repeat;
    background-size: 100%;
}
.reward-history.bag .bag-item .rank-level-name.level-1 {
    background: url(../image/3qgoituongdi/bag/name/1.png) no-repeat;
    width: 201px;
    height: 30px;
    background-size: 100%;
}
.reward-history.bag .bag-item .rank-level-name.level-2 {
    background: url(../image/3qgoituongdi/bag/name/2.png) no-repeat;
    width: 197px;
    height: 28px;
    background-size: 100%;
}
.reward-history.bag .bag-item .rank-level-name.level-3 {
    background: url(../image/3qgoituongdi/bag/name/3.png) no-repeat;
    width: 198px;
    height: 28px;
    background-size: 100%;
}
.reward-history.bag .bag-item .rank-level-name.level-4 {
    background: url(../image/3qgoituongdi/bag/name/4.png) no-repeat;
    width: 235px;
    height: 28px;
    background-size: 100%;
}
.reward-history.bag .bag-item .rank-level-name.level-5 {
    background: url(../image/3qgoituongdi/bag/name/5.png) no-repeat;
    width: 247px;
    height: 28px;
    background-size: 100%;
}
.reward-history.bag .bag-item .description {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 20px;
    width: 200px;
    height: 39px;
    font-weight: 700;
    text-align: center;
    font-size: 15px;
}
.reward-history.bag .gift-info .gift-body {
    padding: 12px;
}
.reward-history.bag .gift-info .gift-body label {
    color: #d7a85e;
    font-weight: bold;
}
.reward-history.bag .gift-info .gift-body p {
    margin: 12px 0;
}
.paging .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
}
.paging .pagination .page-item {
    display: block;
    width: 27px;
    height: 27px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    line-height: 17px;
}
.paging .pagination .page-item .page-link {
    background-color: #ff6600;
    width: 100%;
    height: 100%;
    color: #fff;
    padding-left: 9px;
    border: initial;
    padding-top: 6px;
}
.pagination-prev a,
.pagination-next a {
    text-indent: -9999px;
}
.pagination-prev a::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-right: 8px solid #ffffff;
    margin-left: 0;
    /* CÃ¢n chá»‰nh nháº¹ vÃ o giá»¯a nÃºt */
    position: absolute;
    top: 7px;
    margin: 0;
    padding: 0;
    left: 9px;
}
/* MÅ©i tÃªn pháº£i (Next) */
.pagination-next a::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 8px solid #ffffff;
    margin-left: 0;
    /* CÃ¢n chá»‰nh nháº¹ vÃ o giá»¯a nÃºt */
    position: absolute;
    top: 7px;
    margin: 0;
    padding: 0;
    left: 9px;
}
/* Hiá»‡u á»©ng má» khi nÃºt bá»‹ disabled (khÃ´ng click Ä‘Æ°á»£c) */
.pagination-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}
.paging .pagination .page-item .page-link:hover {
    background-color: #566d97;
}
.paging .pagination .page-item.active .page-link {
    display: block;
    background-color: #566d97;
}
.paging .pagination .page-link.next,
.paging .pagination .page-link.prev {
    position: relative;
}
.paging .pagination .page-link.next::before,
.paging .pagination .page-link.prev::before {
    content: "";
    position: absolute;
    height: 60%;
    aspect-ratio: 39 / 71;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url(../image/icon-arrow-left.png) no-repeat 0 0 / 100% 100%;
}
.paging .pagination .page-link.next::before {
    transform: translate(-50%, -50%) scaleX(-1);
}
.page-item:first-child .page-link {
    border-top-left-radius: unset;
    border-bottom-left-radius: unset;
}
.history-point-page {
    padding: 10px 15px;
    border-radius: 0 0 5px 5px;
    position: relative;
}
.history-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    position: relative;
    list-style: none;
    padding-left: 0;
}
.history-tabs .nav-item {
    margin-right: 0;
}
.history-tabs .nav-link {
    display: block;
    padding: 10px 16px;
    background: #c4c4c4;
    color: #52513c;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px 8px 0 0;
    border: none;
    position: relative;
    cursor: pointer;
    transition: background-color 0.25s ease;
}
.history-tabs .nav-link:hover {
    background: #e5e5e5;
}
.history-tabs .nav-link.active {
    background: #e5e5e5;
    color: #52513c;
}
/* Div-Based Table Layout */
.history-table {
    width: 100%;
    margin-bottom: 20px;
    overflow-x: auto;
}
.history-table .table-header {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: #333;
    gap: 0;
    min-width: fit-content;
    border-bottom: 1px solid #000;
}
.history-table .table-body {
    display: flex;
    flex-direction: column;
}
.history-table .table-row {
    display: flex;
    flex-wrap: nowrap;
    border-bottom: 1px solid #ddd;
    gap: 0;
    min-width: fit-content;
    width: 100%;
    padding-left: 10px;
}
.history-table .table-col {
    padding: 12px;
    text-align: left;
    flex: 1 1 0;
    min-width: 0;
    word-break: break-word;
}
/* Column Width Management */
.history-table .col-detail {
    flex: 1 1 auto;
    min-width: 280px;
}
.history-table .col-exp-gain {
    flex: 0 0 140px;
    min-width: 140px;
    text-align: right;
}
.history-table .col-exp-begin {
    flex: 0 0 140px;
    min-width: 285px;
    text-align: right;
}
.history-table .col-value {
    flex: 0 0 140px;
    min-width: 140px;
    text-align: right;
}
.history-table .col-time {
    flex: 0 0 180px;
    min-width: 180px;
    text-align: right;
}
/* Description Text */
.history-table .description-text {
    font-size: 14px;
    color: #3e3e3e;
    font-weight: 700;
}
/* Value Styling */
.history-table .value {
    font-weight: 700;
    font-size: 13px;
}
.history-table .value.exp-positive {
    color: #28a745;
}
.history-table .value.exp-negative {
    color: #dc3545;
}
/* Point Value Styling */
.history-table .point-value {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    color: #666;
}
.history-table .point-value .label {
    font-weight: 600;
    color: #666;
    min-width: 50px;
}
.history-table .point-value .value {
    font-weight: 700;
}
.history-table-wrap .form-search {
    padding: 10px 0 0 10px;
}
.history-table-wrap .form-search .filter-select-wrap {
    position: relative;
}
.history-table-wrap .form-search select {
    width: 100%;
    color: #52513c;
    font-weight: 600;
    background: #fff;
    padding-right: 28px;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 40px;
    padding: 8px 28px 8px 12px;
}
.history-table-wrap .form-search .filter-select-wrap .icon-arrow-right {
    position: absolute;
    width: 7px;
    height: 15px;
    background: #fff url("../image/icon-arrow-right.png") no-repeat 0 0 / 100% 100%;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: transform 0.25s ease-in-out;
    will-change: transform;
}
.history-table-wrap .form-search .filter-select-wrap.opened .icon-arrow-right {
    transform: translateY(-50%) rotate(90deg);
}
.history-table-wrap {
    background-color: #e5e5e5;
}
/* Responsive Table - Mobile View */
@media screen and (max-width: 768px) {
    .history-table .table-header {
        display: none;
    }
    .history-table .table-row {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 0;
    }
    .history-table .table-body {
        padding: 0 9px;
    }
    .history-point-page {
        padding: 10px 0px;
    }
    .history-table-wrap.history-point-table,
    .history-table-wrap.history-gift-table {
        padding-top: 10px;
    }
    .history-table .table-col {
        display: block;
        padding: 8px 10px;
        border-bottom: 1px solid #eee;
        flex: none;
        min-width: unset;
        text-align: left;
        display: flex;
        gap: 5px;
        align-items: center;
        align-items: center;
    }
    .history-table .table-col:last-child {
        border-bottom: none;
        font-size: 13px;
    }
    .history-table .table-col[data-label]::before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        color: #666;
        margin-bottom: -1px;
        font-size: 12px;
    }
}
/*==================== NEWS PAGES ====================*/
/* â”€â”€ Banner Section â”€â”€ */
.news-banner-section {
    margin-bottom: 24px;
}
.news-banner-img {
    max-height: 400px;
    object-fit: cover;
    border-radius: 4px;
}
#newsBannerCarousel .carousel-inner,
#newsBannerCarousel .carousel-inner * {
    height: 100%;
}
#newsBannerCarousel .carousel-inner .carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1;
    pointer-events: none;
}
#newsBannerCarousel .news-banner-indicators {
    margin-bottom: 0;
    height: 26px;
}
#newsBannerCarousel .news-banner-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 2px;
    background-color: #fff;
    opacity: 1;
}
#newsBannerCarousel .news-banner-indicators button.active {
    border-radius: 15%/50%;
    width: 40px;
    background-color: red;
}
#newsBannerCarousel .carousel-control-next,
#newsBannerCarousel .carousel-control-prev {
    display: none;
}
/* â”€â”€ VIP Showcase Section â”€â”€ */
.news-vip-section {
    background: url(../image/3qgoituongdi/bg-slide.png) no-repeat 2px -59px;
    background-size: 84%;
    border-radius: 6px;
    padding: 0;
    margin-bottom: 8px;
    text-align: center;
}
.news-vip-title {
    font-size: 18px;
    font-weight: 800;
    color: #6c6c6c;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.news-vip-body {
    margin-left: 102px;
}
.news-vip-medals {
    min-width: 120px;
}
.privilege-name {
    color: #6c6c6c;
    font-weight: 800;
}
.privilege-desc {
    color: #6c6c6c;
}
.news-vip-privileges {
    margin: 0;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 250px;
    scrollbar-width: thin;
    /* LÃ m thanh cuá»™n má»ng Ä‘i */
    scrollbar-color: transparent transparent;
    /* MÃ u con lÄƒn + MÃ u ná»n thanh cuá»™n */
    transition: scrollbar-color 0.3s ease;
}
/* Khi hover vÃ o box trÃªn Firefox thÃ¬ hiá»‡n cá»¥c cuá»™n */
.news-vip-privileges:hover {
    scrollbar-color: #6c6c6c transparent;
}
/* --- Cáº¤U HÃŒNH CHO CHROME, SAFARI, EDGE --- */
.news-vip-privileges::-webkit-scrollbar {
    width: 4px;
    /* Giá»¯ cá»‘ Ä‘á»‹nh 4px Ä‘á»ƒ táº¡o khoáº£ng khÃ´ng, trÃ¡nh bá»‹ giáº­t chá»¯ */
}
/* Thanh ná»n luÃ´n luÃ´n trong suá»‘t */
.news-vip-privileges::-webkit-scrollbar-track {
    background: transparent;
}
/* Máº·c Ä‘á»‹nh cá»¥c cuá»™n trong suá»‘t (vÃ´ hÃ¬nh) */
.news-vip-privileges::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 10px;
    /* Táº¡o hiá»‡u á»©ng Ä‘á»•i mÃ u mÆ°á»£t mÃ , khÃ´ng bá»‹ hiá»‡n ra Ä‘á»™t ngá»™t */
    transition: background 0.3s ease;
}
/* Khi hover chuá»™t vÃ o .news-vip-privileges -> Hiá»‡n cá»¥c cuá»™n lÃªn */
.news-vip-privileges:hover::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25);
    /* Hiá»‡n mÃ u xÃ¡m nháº¹ tinh táº¿ */
}
/* Khi hover trá»±c tiáº¿p vÃ o chÃ­nh cá»¥c cuá»™n -> Cá»¥c cuá»™n Ä‘áº­m hÆ¡n Ä‘á»ƒ dá»… nhÃ¬n */
.news-vip-privileges::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5) !important;
}
.news-rank-item {
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}
.news-rank-item:hover,
.news-rank-item.active {
    /* background-color: rgba(39, 61, 135, 0.12); */
}
.news-rank-label {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
    text-transform: uppercase;
    font-weight: 800;
}
/* 884100
70777c
997700
4d1185
b53002 */
.news-rank-label-bronze {
    color: #884100;
}
.news-rank-label-silver {
    color: #70777c;
}
.news-rank-label-gold {
    color: #997700;
}
.news-rank-label-platinum {
    color: #4d1185;
}
.news-rank-label-diamond {
    color: #b53002;
}
.BRONZE {
    color: #884100 !important;
}
.SILVER {
    color: #70777c !important;
}
.GOLD {
    color: #997700 !important;
}
.PLATINUM {
    color: #4d1185 !important;
}
.DIAMOND {
    color: #b53002 !important;
}
.news-vip-center {
    position: relative;
    width: 100%;
    max-width: 250px;
    margin: 50px 46px 0 46px;
}
.news-vip-center .rank-carousel-control.rank-carousel-prev {
    width: 30px;
    height: 28px;
    background: url(../image/3qgoituongdi/arrow-left.png) no-repeat 0 0 / 100% 100%;
    display: none;
}
.news-vip-center .rank-carousel-control.rank-carousel-next {
    width: 30px;
    height: 28px;
    background: url(../image/3qgoituongdi/arrow-right.png) no-repeat 0 0 / 100% 100%;
    display: none;
}
/* Rank image display for center section */
.news-rank-display-img {
    width: 130px;
    height: 130px;
    margin-bottom: 16px;
    object-fit: contain;
    transition: all 0.5s ease-in-out;
}
.news-vip-desc {
    max-width: 280px;
    text-align: left;
    display: flex;
    flex-direction: column;
}
.news-vip-desc h3 {
    font-size: 22px;
    font-weight: 600;
    color: #8c8c8c;
    text-transform: uppercase;
    margin-bottom: 4px;
    text-align: center;
    color: #6c6c6c !important;
}
.news-vip-desc p {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 8px;
}
/* â”€â”€ VIP Rank Carousel â”€â”€ */
.news-vip-swiper {
    width: 100%;
}
.news-vip-swiper .swiper-slide {
    width: auto;
}
.rank-carousel-wrapper {
    width: 100%;
    max-width: 260px;
    overflow: hidden;
    margin: 0 auto;
    display: none;
}
.news-vip-swiper {
    width: 100%;
}
.news-vip-swiper .swiper-slide {
    display: flex;
    justify-content: center;
}
.rank-carousel-track {
    display: flex;
    gap: 6px;
    transition: transform 0.5s ease-in-out;
}
.rank-carousel-item {
    width: auto;
    max-width: 80px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
}
.rank-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    font-size: 24px;
    color: #273d87;
    transition: color 0.3s;
    z-index: 10;
    line-height: 1;
}
.rank-carousel-item .rank-medal.BRONZE {
    width: 75px;
    height: 90px;
    background: url(../image/3qgoituongdi/ranks/1-bronze.png) no-repeat;
    background-size: 100%;
}
.rank-carousel-item .rank-medal.SILVER {
    width: 75px;
    height: 90px;
    background: url(../image/3qgoituongdi/ranks/2-silver.png) no-repeat;
    background-size: 100%;
}
.rank-carousel-item .rank-medal.GOLD {
    width: 75px;
    height: 90px;
    background: url(../image/3qgoituongdi/ranks/3-gold.png) no-repeat;
    background-size: 100%;
}
.rank-carousel-item .rank-medal.PLATINUM {
    width: 75px;
    height: 90px;
    background: url(../image/3qgoituongdi/ranks/4-platinum.png) no-repeat;
    background-size: 100%;
}
.rank-carousel-item .rank-medal.DIAMOND {
    width: 75px;
    height: 90px;
    background: url(../image/3qgoituongdi/ranks/5-diamond.png) no-repeat;
    background-size: 100%;
}
.rank-carousel-prev {
    left: -40px;
    top: 185px;
}
.rank-carousel-next {
    right: -40px;
    top: 185px;
}
.rank-carousel-control:hover {
    color: #1a2555;
}
/* â”€â”€ Small Rank Medal for Left Sidebar â”€â”€ */
.rank-medal-sm {
    width: 72px !important;
    height: 72px !important;
    margin: 0 -1px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    background-size: 100% !important;
}
.rank-medal-sm.NONE {
    background: url(../image/3qgoituongdi/ranks/1-bronze.png) no-repeat;
    filter: blur(2px);
}
.rank-medal-sm.BRONZE {
    background: url(../image/3qgoituongdi/ranks/1-bronze.png) no-repeat;
}
.rank-medal-sm.SILVER {
    background: url(../image/3qgoituongdi/ranks/2-silver.png) no-repeat;
}
.rank-medal-sm.GOLD {
    background: url(../image/3qgoituongdi/ranks/3-gold.png) no-repeat;
}
.rank-medal-sm.PLATINUM {
    background: url(../image/3qgoituongdi/ranks/4-platinum.png) no-repeat;
}
.rank-medal-sm.DIAMOND {
    background: url(../image/3qgoituongdi/ranks/5-diamond.png) no-repeat;
}
/* â”€â”€ News Section Common â”€â”€ */
.news-tabs-section,
.news-list-page {
    padding: 10px 0 20px;
    text-align: center;
}
.news-section-wrapper {
    background: #f5f5f5;
    border-radius: 8px;
    border: solid 3px #9c9c9c;
}
.news-section-wrapper .news-tab-nav-item {
    border: unset;
}
.news-section-title {
    font-size: 18px;
    font-weight: 800;
    color: #6c6c6c;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #273d87;
    display: inline-block;
}
/* â”€â”€ Search Form â”€â”€ */
.news-search-form {
    /* max-width: 704px; */
    margin-right: 5px;
}
.news-search-input-wrap {
    position: relative;
}
.news-search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    pointer-events: none;
    opacity: 0.5;
}
.news-search-input {
    padding-left: 34px;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 40px;
    font-size: 14px;
    color: #505050;
    background: #cfcfcf;
}
.news-search-input:focus {
    border-color: #273d87;
    box-shadow: none;
    outline: none;
}
.news-search-btn {
    background: #273d87;
    color: #fff;
    border-radius: 4px;
    padding: 0 18px;
    height: 40px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    border: none;
}
.news-search-btn:hover {
    background: #1e2f6b;
    color: #fff;
}
/* â”€â”€ Category Tabs â”€â”€ */
.news-tab-nav {
    list-style: none;
    border-bottom: 1px solid #f5f5f5;
    gap: 0;
    flex-wrap: wrap;
}
.news-tab-btn {
    background: #f5f5f5;
    color: #9c9c9c;
    border: none;
    border-radius: 2px 2px 0 0;
    padding: 9px 11px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-right: 2px;
}
.news-tab-btn:hover {
    background: #d0d0d0;
}
.news-tab-btn.active {
    background: #f5f5f5;
    color: #9c9c9c;
    position: relative;
    /* Báº¯t buá»™c pháº£i cÃ³ Ä‘á»ƒ Ä‘á»‹nh vá»‹ border giáº£ */
}
.news-tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    /* CÄƒn giá»¯a border */
    width: 50%;
    /* Báº¡n cÃ³ thá»ƒ chá»‰nh sá»­a Ä‘á»™ dÃ i ngáº¯n á»Ÿ Ä‘Ã¢y (VD: 50%, 40px...) */
    border-bottom: 2px solid #9c9c9c;
    /* MÃ u sáº¯c vÃ  Ä‘á»™ dÃ y cá»§a border */
}
.news-tab-panel {
    display: none;
    background: #f5f5f5;
    border-radius: 0 0 4px 4px;
    padding: 6px 0;
}
.news-tab-panel.active {
    display: block;
}
/* â”€â”€ Article List (shared) â”€â”€ */
.news-article-list {
    list-style: none;
}
.news-article-item {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: background-color 0.15s ease;
}
.news-article-item:hover {
    background: rgba(39, 61, 135, 0.05);
}
.news-article-link {
    text-decoration: none;
    color: #505050;
    flex: 1;
    min-width: 0;
    gap: 8px;
}
.news-article-link:hover .news-article-title {
    color: #273d87;
    text-decoration: underline;
}
.news-article-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d0d0d0;
    flex-shrink: 0;
    border: 2px solid #6d6d6d;
}
.news-article-title {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news-article-date {
    font-size: 13px;
    color: #888;
    white-space: nowrap;
    flex-shrink: 0;
    /* margin-left: 8px; */
}
.news-empty-msg {
    color: #888;
    font-size: 14px;
    padding: 12px 0;
}
/* â”€â”€ View More Button â”€â”€ */
.news-tab-footer {
    padding: 6px 12px;
}
.news-view-more-btn {
    background: #5f6370;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease;
    height: 39px;
}
.news-view-more-btn:hover {
    background: #1e2f6b;
    color: #fff;
}
.news-detail-layout,
.news-list-layout {
    align-items: flex-start;
}
.news-detail-main,
.news-list-main {
    flex: 1 1 0;
    min-width: 0;
}
.news-sidebar {
    flex: 0 0 260px;
    width: 260px;
}
.news-sidebar-block {
    background: #f5f3ea;
    border-radius: 6px;
    padding: 14px;
    margin-bottom: 16px;
}
.news-sidebar-heading {
    font-size: 14px;
    font-weight: 800;
    color: #273d87;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.news-sidebar-cats {
    list-style: none;
}
.news-sidebar-cats li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.news-sidebar-cats li:last-child {
    border-bottom: none;
}
.news-sidebar-cat-link {
    display: block;
    padding: 7px 4px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}
.news-sidebar-cat-link:hover,
.news-sidebar-cat-link.active {
    color: #273d87;
}
/* â”€â”€ Detail Page â”€â”€ */
.news-detail-thumbnail img {
    border-radius: 6px;
    max-height: 420px;
    object-fit: cover;
    width: 100%;
}
.news-detail-meta {
    font-size: 13px;
    color: #888;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}
.news-detail-cat-badge {
    background: #273d87;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    text-decoration: none;
    text-transform: uppercase;
}
.news-detail-cat-badge:hover {
    background: #1e2f6b;
    color: #fff;
}
/* .news-detail-content {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
} */
.news-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 8px 0;
}
/* .news-detail-content p {
    margin-bottom: 12px;
}
.news-detail-content h2,
.news-detail-content h3 {
    font-weight: 700;
    color: #1a1a1a;
    margin: 16px 0 8px;
} */
.news-related-title {
    font-size: 16px;
    font-weight: 800;
    color: #273d87;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 2px solid #273d87;
    display: inline-block;
}
/* â”€â”€ Card List (category / search) â”€â”€ */
.news-list-heading {
    font-size: 20px;
    font-weight: 800;
    color: #273d87;
    margin-bottom: 16px;
    padding-bottom: 6px;
    border-bottom: 2px solid #273d87;
}
.news-card-list {
    list-style: none;
}
.news-card-item {
    padding: 14px 0;
    border-bottom: 1px solid #e0dfcd;
}
.news-card-item:last-child {
    border-bottom: none;
}
.news-card-link {
    text-decoration: none;
    color: #333;
    display: flex;
    text-align: left;
}
.news-card-link:hover .news-card-title {
    color: #273d87;
    text-decoration: underline;
}
.news-card-thumb {
    width: 155px;
    height: 116px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background: url(../image/3qgoituongdi/icon-mission.png) no-repeat;
}
.news-card-thumb-placeholder {
    background: #ddd url() no-repeat center / 40%;
    background-color: #e0dfcd;
}
.news-card-body {
    flex: 1;
    min-width: 0;
}
.news-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-summary {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-search-keyword {
    color: #273d87;
    font-weight: 800;
}
.news-result-count {
    font-size: 14px;
    color: #888;
    font-weight: 400;
}
/* â”€â”€ Pagination â”€â”€ */
.news-pagination .paging {
    list-style: none;
}
/*==================== RESPONSIVE ====================*/
@media screen and (max-width: 1220px) {
    .wrapper-cover {
        padding: 20px 33px 200px 33px;
    }
    .wrapper-content {
        max-width: 1140px;
        min-height: 1045px;
        padding-top: 8px;
    }
    .main-header .logo {
        background-size: 100%;
        width: 83px;
        height: 51px;
    }
    .main-header .wrapper-center-nav {
        font-size: 16px;
        gap: 16px;
    }
    .main-header .user-info .btn-user {
        width: 170px;
    }
    .wrap-gifts {
        gap: 3px;
        padding: 0;
    }
    .vip-gifts .gift-item {
        width: stretch;
        height: 123px;
        margin: 0 auto;
        padding: 0 9px;
    }
    .vip-gifts .gift-item .get-gift {
        width: 95px;
        height: 30px;
        background-size: 100%;
    }
    .vip-gifts .gift-item .wrap-thump {
        width: auto;
        height: 100%;
        /* display: block; */
        padding-top: 39px;
        margin-right: 7px;
    }
    .vip-gifts .gift-item .wrap-thump img {
        width: 67px;
        max-width: unset;
    }
    .vip-gifts .gift-item .gift-name,
    .popup .info-gift .gift-name {
        font-size: 14px;
    }
    .vip-gifts .gift-item .description {
        font-size: 13px;
    }
    .bag .bag-item .wrap-image {
        width: 105px;
        height: 99px;
    }
    .sub-header .menu-item {
        font-size: inherit;
    }
    .reward-history.bag .wrap-gifts {
        padding: 0;
        gap: 6px;
        margin: 0 auto;
        max-width: 597px;
        justify-content: flex-start;
    }
    .reward-history.bag .bag-item .rank-level-name.level-1 {
        width: 100%;
        height: 28px;
        background-size: 100%;
    }
    .reward-history.bag .bag-item .rank-level-name.level-2 {
        width: 197px;
        height: 28px;
    }
    .reward-history.bag .bag-item .rank-level-name.level-3 {
        width: 152px;
        height: 40px;
    }
    .reward-history.bag .bag-item .rank-level-name.level-4 {
        width: 185px;
        height: 46px;
    }
    .reward-history.bag .bag-item .description {
        font-size: 14px;
        line-height: inherit;
        height: unset;
        text-align: center;
        min-height: 28px;
    }
    .reward-history.bag .gift-info .gift-body label {
        margin-bottom: 8px;
    }
    footer {
        height: 200px;
    }
    footer .footer-logo {
        width: 100px;
        height: 99px !important;
        margin-right: 8px;
    }
    footer .company-name {
        font-size: 22px;
    }
    footer .company-text-small {
        font-size: 14px;
    }
    .news-vip-medals {
        display: none !important;
    }
    .news-vip-body {
        flex-direction: column;
        margin-left: unset;
        align-items: center;
    }
    .news-vip-desc {
        max-width: unset;
    }
    .rank-carousel-wrapper {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 118px;
    }
    .news-vip-center .rank-carousel-control.rank-carousel-prev {
        display: flex;
        top: 185px;
    }
    .news-vip-center .rank-carousel-control.rank-carousel-next {
        display: flex;
        top: 185px;
    }
    .news-rank-display-img {
        margin-bottom: 0;
    }
    .news-vip-center {
        margin: 1px 46px 0 46px;
    }
}
@media (max-width: 1220px) {
    .sub-header {
        flex-wrap: wrap;
        height: auto;
        min-height: 33px;
        row-gap: 2px;
    }
    .sub-header li {
        height: 33px;
    }
    .sub-header li:not(:first-child)::before {
        display: none;
    }
}
@media screen and (max-width: 768px) {
    header .user-info .btn-user>span,
    header .user-info ul.menu li.id .username {
        max-width: 160px;
    }
}
@media screen and (max-width: 576px) {
    .main-header .logo {
        background-size: 100%;
        width: 86px;
        height: 54px;
        margin-right: 11px;
    }
    .hamburger-menu {
        display: none;
        flex-direction: column;
        justify-content: space-around;
        width: 39px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        margin: 0;
        z-index: 1000;
    }
    .hamburger-menu span {
        display: block;
        width: 85%;
        height: 2px;
        background-color: #fff;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(3px, -3px);
    }
    .main-header .wrapper-center-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #000;
        flex-direction: column !important;
        justify-content: flex-start;
        gap: 0 !important;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        padding-top: 30px;
        margin-top: 0 !important;
        font-size: 16px;
        text-align: left;
    }
    .main-header .wrapper-center-nav.active {
        transform: translateX(0);
    }
    .main-header .wrapper-center-nav li {
        width: 100%;
        border-bottom: 1px solid #333;
    }
    .main-header .wrapper-center-nav li a {
        display: block;
        padding: 15px 30px !important;
        color: #fff !important;
        text-decoration: none;
    }
    .main-header .wrapper-center-nav li a:hover,
    .main-header .wrapper-center-nav li a.active {
        background-color: #2a2a2a;
        color: #f0f0f0 !important;
    }
    .main-header .wrapper-center-nav li a::before {
        display: none !important;
    }
    .main-header .btn-login {
        width: 76px;
        height: 30px;
        font-size: 13px;
    }
    .main-header .user-group {
        margin-left: auto;
    }
    .main-header .user-info .btn-user {
        width: 116px;
        height: 28px;
        font-size: 13px;
    }
    .main-header .user-info .btn-user::after {
        right: 6px;
        width: 15px;
        height: 8px;
    }
    .main-header .user-info ul.menu li.id {
        padding: 0 16px;
        margin: 0px 0 4px 0;
    }
    .main-header .user-info ul.menu li.id .username {
        font-size: 14px;
    }
    /* Mobile User Info Header */
    .main-header .user-info ul.menu .user-info-header {
        padding: 10px 12px;
        gap: 12px !important;
    }
    .main-header .user-info ul.menu .user-info-text .username {
        font-size: 14px;
    }
    .main-header .user-info ul.menu {
        right: -17px !important;
        width: 280px !important;
        border-radius: 5px;
    }
    .main-header .user-info .btn-user {
        width: 43px;
        height: 43px;
        font-size: 26px;
        border-radius: 50%;
        padding: 0;
    }
    .main-header .user-info .avatar-text {
        display: block;
        text-align: center;
        line-height: 46px;
    }
    .main-header .user-info .btn-user .display-name {
        display: none !important;
    }
    .main-header .user-info {
        padding-right: 22px;
    }
    .main-header .user-info .btn-user .icon-user-white {
        display: none !important;
    }
    .main-header .user-info .btn-user::after {
        right: -16px;
        content: "";
        position: absolute;
        top: 56%;
        transform: translateY(-50%) rotate(0deg);
        transform-origin: center calc(50% - 2px);
        width: 0;
        height: 0;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-top: 8px solid #808080;
        transition: transform 0.25s ease;
    }
    .main-header .user-info .btn-user.show::after {
        transform: translateY(-50%) rotate(180deg);
        border-top: 8px solid #fc7676;
    }
    .icon-user {
        width: 29px;
        height: 29px;
    }
    .icon-payment {
        width: 21px;
        height: 15px;
    }
    .icon-user-white {
        width: 16px;
        height: 19px;
    }
    .icon-home {
        width: 19px;
        height: 19px;
    }
    .icon-gift {
        width: 19px;
        height: 21px;
    }
    .icon-news {
        width: 19px;
        height: 19px;
    }
    .sub-header .menu-item {
        padding: 0 6px;
    }
    .sub-header {
        padding: 0;
        font-size: 12px;
        flex-wrap: wrap;
        height: auto;
        min-height: 33px;
        row-gap: 4px;
    }
    .sub-header li {
        height: 33px;
    }
    .sub-header li:not(:first-child)::before {
        display: none;
    }
    .sub-header .icon-card-user {
        width: 19px;
        height: 13px;
    }
    .sub-header .icon-bag {
        width: 14px;
        height: 18px;
    }
    .sub-header .icon-history {
        width: 16px;
        height: 15px;
    }
    .break-990 {
        display: none;
    }
    .break-990+li {
        border-left: none;
        margin-left: 0;
        padding-left: 0;
    }
    .wrapper-cover {
        padding: 0 9px 69px 9px;
    }
    .vip-detail {
        flex-direction: column;
    }
    .vip-detail .mission-item {
        display: flex;
        align-items: center;
    }
    .vip-detail .wrapper-mission .mission-item .description {
        margin-right: 0;
        margin-bottom: 4px;
    }
    .vip-detail .wrapper-mission .mission-item .btn-notice {
        padding: 0 8px;
        width: 109px;
        height: 29px;
        text-align: center;
        display: flex;
        align-items: center;
        font-size: 14px;
    }
    .vip-detail .vip-description {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .reward-history.bag {
        padding-top: 20px;
    }
    .reward-history.bag .wrap-gifts {
        padding: 0;
        gap: 9px;
        margin-right: 0;
        justify-content: flex-start;
        margin: 0 auto;
        max-width: 290px;
    }
    .reward-history.bag .bag-item {
        width: 135px;
        height: 143px;
        padding-top: 19px;
    }
    .reward-history.bag .bag-item .wrap-image {
        width: 80px;
        height: 70px;
        margin-bottom: 10px;
    }
    .reward-history.bag .bag-item .rank-level-name.level-1 {
        width: 112px;
        height: 18px;
    }
    .reward-history.bag .bag-item .rank-level-name.level-2 {
        width: 126px;
        height: 32px;
    }
    .reward-history.bag .bag-item .rank-level-name.level-3 {
        width: 126px;
        height: 32px;
    }
    .reward-history.bag .bag-item .rank-level-name.level-4 {
        width: 126px;
        height: 32px;
    }
    .reward-history.bag .bag-item .rank-level-name.level-5 {
        width: 126px;
        height: 32px;
    }
    .reward-history.bag .bag-item .description {
        display: none;
    }
    .history-tabs .nav-link {
        padding: 7px 5px;
        font-size: 13px;
    }
    .history-table {
        margin: 20px 0;
    }
    footer {
        height: 350px;
    }
    footer .wrapper-footer {
        flex-direction: column !important;
        gap: 20px;
    }
    footer .footer-logo {
        height: 60px !important;
        width: 59px;
    }
    footer .company-name {
        font-size: 18px;
    }
    footer .company-text-small {
        font-size: 14px;
    }
    .company-info {
        text-align: center;
    }
    .footer-menu {
        margin-left: 0;
    }
    .vip-privilege .vip-privilege-wrapper {
        padding-left: 0;
    }
    .vip-detail .vip-point-info li label {
        font-size: 14px;
    }
    .vip-detail .vip-point-info li>span {
        font-size: 14px;
    }
}
@media screen and (max-width: 360px) {
    /*small device */
    .vip-detail .vip-point-info {
        flex-direction: column;
        align-items: flex-start;
    }
    .vip-detail .vip-point-info li::after {
        display: none;
    }
}
/* â”€â”€ Responsive â”€â”€ */
@media screen and (max-width: 768px) {
    .news-banner-img {
        height: 128px !important;
    }
    .news-vip-section {
        padding: 14px 10px;
    }
    .news-vip-body {
        flex-direction: column !important;
        align-items: center;
        gap: 0 !important;
        justify-content: center;
    }
    .news-vip-medals {
        display: none;
    }
    .news-vip-center {
        width: 100%;
        max-width: 390px;
        margin: 0;
        min-height: 260px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .news-vip-swiper {
        width: 100%;
    }
    .news-vip-swiper .swiper-wrapper {
        align-items: center;
    }
    .news-vip-swiper .swiper-slide {
        width: 86px !important;
        max-width: 86px;
        flex: 0 0 auto;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .rank-carousel-item {
        width: 86px;
        max-width: 86px;
        margin: 0 auto;
    }
    .news-vip-center .rank-carousel-prev,
    .news-vip-center .rank-carousel-next {
        position: absolute !important;
        top: 195px !important;
        bottom: 14px !important;
        transform: none !important;
        display: inline-flex !important;
        width: 30px;
        height: 28px;
    }
    .news-vip-center .rank-carousel-prev {
        left: 8px;
    }
    .news-vip-center .rank-carousel-next {
        right: 8px;
    }
    .news-rank-display-img {
        width: 140px;
        height: 140px;
        margin-bottom: 12px;
    }
    .news-vip-desc {
        max-width: 100%;
        text-align: center;
        width: 100%;
    }
    .news-vip-desc h3,
    .news-vip-desc p,
    .news-vip-exp,
    .news-vip-privileges {
        margin-left: auto;
        margin-right: auto;
        padding: 0 16px;
    }
    .news-detail-layout,
    .news-list-layout {
        flex-direction: column;
    }
    .news-sidebar {
        flex: none;
        width: 100%;
    }
    .news-detail-title {
        font-size: 18px;
    }
    .news-search-form {
        max-width: 100%;
    }
}
@media screen and (max-width: 576px) {
    .news-rank-display-img {
        width: 120px;
        height: 120px;
        margin-bottom: 10px;
    }
    .news-tab-btn {
        padding: 7px 10px;
        font-size: 13px;
    }
    .news-card-thumb {
        width: 80px;
        height: 54px;
        background-size: 100%;
    }
    .news-article-title {
        font-size: 13px;
    }
    .news-detail-title {
        font-size: 16px;
    }
    .news-list-heading {
        font-size: 17px;
    }
    .news-breadcrumb li.active {
        max-width: 140px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .news-vip-center .rank-carousel-prev,
    .news-vip-center .rank-carousel-next {
        top: 170px !important;
    }
}
/* ==================== MISSIONS ==================== */
.mission-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.mission-header {
    margin-bottom: 30px;
}
.mission-header h1 {
    font-size: 28px;
    margin: 0 0 10px 0;
}
.mission-header .subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}
.mission-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.mission-list .mission-item {
    display: flex;
    gap: 20px;
    padding: 6px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 0px 7px rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    align-items: center;
}
.mission-image {
    flex-shrink: 0;
    width: 155px;
    height: 116px;
    border-radius: 8px;
    overflow: hidden;
    background: url(../image/3qgoituongdi/icon-mission-2.png) no-repeat;
}
.mission-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.mission-info {
    flex: 1;
}
.mission-name {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 8px 0;
}
.mission-description {
    font-size: 13px;
    color: #666;
    margin: 0;
}
.mission-progress {
    background: url(../image/3qgoituongdi/icon-mission-exp.png) no-repeat;
    width: 76px;
    height: 100px;
    position: relative;
    background-size: 100%;
}
.progress-text {
    font-size: 13px;
}
.status-pending,
.status-completed {
    color: #3fa4f9;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}
.reward-badge {
    gap: 3px;
    font-size: 13px;
    color: #ffffff;
    position: absolute;
    bottom: 0;
    left: 6px;
    display: flex;
}
.reward-icon {
    font-weight: bold;
}
.reward-value {
    font-weight: bold;
}
.mission-action {
    flex-shrink: 0;
}
.icon-done-mission {
    width: 15px;
    height: 15px;
    display: inline-block;
    position: relative;
    margin-right: 5px;
    margin-bottom: 2px;
    flex-wrap: wrap;
    background-color: #226bac;
    border-radius: 50%;
    padding: 7px;
    content: "✓";
}
.btn-action,
.btn-completed {
    border-radius: 6px;
    width: 125px;
    height: 30px;
    color: #fff;
    background-color: #3fa4f9;
    cursor: pointer;
}
.btn-completed {
    filter: grayscale(.5);
}
.btn-action:hover {
    background-position: 0 -30px;
    background-color: #61c1fd;
}
.btn-action.is-loading {
    opacity: 0.6;
    pointer-events: none;
}
.btn-view-mission {
    background: transparent;
    color: #40a4f9;
    border: 1px solid #40a4f9;
}
.btn-view-mission:hover {
    background: #001a2b;
}
.mission-empty {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 14px;
}
@media (max-width: 768px) {
    .mission-list .mission-item {
        align-items: flex-start;
    }
    .mission-progress {
        align-items: flex-start;
        width: 63px;
        height: 84px;
    }
    .mission-image {
        width: 64px;
        height: 78px;
        background: url(../image/3qgoituongdi/icon-mission-mb.png) no-repeat;
    }
    .mission-content {
        gap: 10px;
    }
    .mission-action {
        /* width: 100%; */
        text-align: center;
    }
    .btn-action,
    .btn-completed {
        text-align: center;
    }
    .mission-container {
        width: 600px;
        margin: 0 auto;
        padding: 0;
    }
}
@media (max-width: 480px) {
    .mission-container {
        width: 320px;
    }
    .mission-list .mission-item {
        flex-wrap: wrap;
    }
}
.mCSB_scrollTools .mCSB_draggerRail {
    height: unset !important;
}
.menu-fixed {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    gap: 14px;
    z-index: 999;
    list-style: none;
    padding: 0;
    margin: 0;
    background: transparent;
    box-shadow: none;
}
.menu-fixed li {
    display: block;
    position: relative;
    transition: transform 0.2s ease;
    cursor: pointer;
}
.menu-fixed li:hover {
    transform: scale(1.08);
}
.menu-fixed li.download {
    width: 82px;
    height: 97px;
}
.menu-fixed li.download {
    display: block;
    background-image: url(../image/right-menu/download.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100%;
}
.menu-fixed li.download a:hover {
    background-position: 0 100%;
}
.menu-fixed li.facebook {
    width: 82px;
    height: 99px;
}
.menu-fixed li.facebook a {
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../image/right-menu/fanpage.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100%;
}
.menu-fixed li.facebook a:hover {
    background-position: 0 100%;
}
.menu-fixed li.zalo {
    width: 97px;
    height: 98px;
}
.menu-fixed li.zalo a {
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../image/right-menu/zalo.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100%;
}
.menu-fixed li.zalo a:hover {
    background-position: 0 100%;
}
.menu-fixed li.zalo-vip {
    width: 81px;
    height: 122px;
}
.menu-fixed li.zalo-vip a {
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../image/right-menu/zalo-vip.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100%;
}
.menu-fixed li.zalo-vip a:hover {
    background-position: 0 100%;
}
.menu-fixed li.discord {
    width: 82px;
    height: 101px;
}
.menu-fixed li.discord a {
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../image/right-menu/discord.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100%;
}
.menu-fixed li.discord a:hover {
    background-position: 0 100%;
}
.menu-fixed li.help {
    width: 78px;
    height: 103px;
}
.menu-fixed li.help a {
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../image/right-menu/hotro.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100%;
}
.menu-fixed li.help a:hover {
    background-position: 0 100%;
}
@media (max-width: 1390px) {
    .menu-fixed {
        position: static;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 17px;
        width: 100%;
        margin: 11px 0;
        padding: 0;
        transform: none;
    }
    .menu-fixed li {
        transform-origin: center bottom;
    }
}
@media (max-width: 576px) {
    .menu-fixed {
        gap: 8px;
    }
    .menu-fixed li.download {
        width: 54px;
        height: 64px;
    }
    .menu-fixed li.facebook {
        width: 52px;
        height: 62px;
    }
    .menu-fixed li.zalo {
        width: 63px;
        height: 63px;
    }
    .menu-fixed li.zalo-vip {
        width: 52px;
        height: 79px;
    }
    .menu-fixed li.discord {
        width: 52px;
        height: 65px;
    }
    .menu-fixed li.help {
        width: 51px;
        height: 66px;
    }
}
/* TEMPLATE-CONTENT */
.news-breadcrumb li.active {
    text-transform: uppercase;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 350px;
}
.news-breadcrumb ol li a,
.news-breadcrumb ol {
    font-weight: 600;
    font-size: 20px;
    color: #2c2c2c;
    list-style: none;
    flex-wrap: wrap;
    align-items: center;
}
.news-breadcrumb ol:before {
    content: "\A";
    width: 33px;
    height: 40px;
    background: url('../image/templates/icon-home.png') no-repeat;
    display: inline-block;
    margin-right: 7px;
}
.news-detail-date {
    color: #7a6c55;
    font-size: 16px;
    font-weight: normal;
}
.news-detail-title {
    font-weight: bold;
    color: #c02000;
    line-height: 45px;
    margin-bottom: -7px;
    text-align: center;
    font-size: 36px;
    padding: 20px 0;
    border-bottom: none;
    text-transform: uppercase;
}
.template-content h4 {
    color: #7a6c55;
    line-height: 16px;
    margin-bottom: 23px;
    margin-top: -20px;
    text-align: center;
    font-size: 16px;
    border-bottom: 1px solid #bebcb2;
    padding: 20px 0;
    font-weight: 400;
}
.template-content h3 {
    text-align: center;
    font-weight: 600;
    color: #a33c13;
    font-size: 22px;
    line-height: 24px;
}
.template-content strong {
    margin-top: 0px;
    font-weight: 600;
    /* color: #535353;  */
    font-size: 18px;
}
.template-content strong.strong-red {
    font-weight: 400;
    color: #006ed4;
    font-size: 18px;
    margin-top: 30px;
}
.template-content strong.strong-green {
    font-weight: 400;
    color: #3aa70a;
    font-size: 18px;
    margin-top: -7px;
}
.template-content a {
    display: block;
    font-weight: 400;
    color: #e80000;
    font-size: 18px;
}
.template-content img {
    display: block;
    max-width: 100%;
    border: 1px solid #000000;
    margin: 0 auto 20px auto;
}
.template-content img.tc-img-left {
    display: block;
    float: left;
    margin-right: 15px;
    margin-top: 15px;
    width: 200px;
    border: 1px solid #000000;
}
.template-content img.tc-img-right {
    display: block;
    float: right;
    margin-left: 15px;
    margin-top: 15px;
    width: 200px;
    border: 1px solid #000000;
}
.template-content ul {
    font-size: 20px;
    color: #000000;
    margin: 0 0 15px 15px;
    padding-left: 20px;
}
.template-content > ul {
    font-size: 20px;
    color: #000;
    margin: 0 0 15px 0;
    padding-left: 24px;

    list-style-image: url('../image/templates/icon-list.png');
    list-style-position: outside;
}

.template-content > ul > li {
    margin: 0 0 6px 0;
    padding-left: 2px;
}

/* Cấp 2 */
.template-content > ul > li > ul {
    margin: 15px 0 15px 35px;
    padding-left: 20px;

    font-size: 20px;
    color: #000;

    list-style-image: none;
    list-style-type: square;
}

/* Cấp 3 */
.template-content > ul > li > ul > li > ul {
    margin-left: 25px;
    list-style-image: none;
    list-style-type: disc;
}

/* Cấp 4 */
.template-content > ul > li > ul > li > ul > li > ul {
    margin-left: 25px;
    list-style-image: none;
    list-style-type: circle;
}

.template-content ul li {
    margin-bottom: 6px;
}
.template-content p {
    margin-top: 10px;
    color: #000000;
    font-weight: 400;
    font-size: 18px;
}
.template-content ol {
    font-weight: 500;
    font-size: 20px;
    color: #000000;
    margin: 0 0 10px 33px;
}
.template-content table {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin: 10px 0 20px 0;
}
.template-content table th,
.template-content table td {
    border: 1px solid #000000;
    padding: 12px 15px;
    text-align: left;
    vertical-align: top;
}
.template-content table th {
    background-color: #f0932b;
    color: #000000;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
}
.template-content table td {
    font-size: 18px;
    font-weight: normal;
    color: #000000;
}
.template-content table td:nth-child(1) {
    width: 21.8%;
    margin-top: 20px;
}
.template-content table td:nth-child(2) {
    width: 45.9%;
    text-align: center;
    padding: 22px 22px;
}
.template-content table td:nth-child(2) {
    width: 45.9%;
    text-align: center;
    vertical-align: middle;
    padding: 22px 22px;
}
.template-content table td:nth-child(2) p img {
    width: 100%;
    height: auto;
    min-height: 150px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border: 1px solid #000000;
}
.template-content table td:nth-child(3) {
    width: 32.3%;
    vertical-align: middle;
}
.template-content table tbody tr td {
    padding: 4px;
    border-top: none;
    border-left: 1px solid #000000;
}
.template-content h1,
.template-content h2,
.template-content h3,
.template-content h4 {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #dc7100;
    margin: 25px 0 10px 0;
}
.template-content h1:first-child,
.template-content h2:first-child,
.template-content h3:first-child,
.template-content h4:first-child {
    margin-top: 0;
}
.template-content h1::before,
.template-content h2::before,
.template-content h3::before,
.template-content h4::before {
    content: "";
    display: inline-block;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 5px;
}
.template-content h1 {
    font-size: 24px;
}
.template-content h1::before {
    width: 37px;
    height: 37px;
    background-image: url('../image/templates/icon-h1.png');
}
.template-content h2 {
    font-size: 22px;
}
.template-content h2::before {
    width: 40px;
    height: 38px;
    background-image: url('../image/templates/icon-h2.png');
}
.template-content h3 {
    font-size: 20px;
}
.template-content h3::before {
    width: 39px;
    height: 38px;
    background-image: url('../image/templates/icon-h3.png');
}
.template-content h4 {
    font-size: 18px;
    border-bottom: none;
    margin-top: -8px;
}
.template-content h4::before {
    width: 36px;
    height: 40px;
    background-image: url('../image/templates/icon-h4.png');
}
.template-content .note-box {
    margin: 30px 0 20px -30px;
}
.template-content .note-box .note-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    background-color: #ffd03f;
    border: 1px solid #000000;
    border-bottom: none;
    color: #000000;
    font-size: 18px;
    font-weight: 500;
    padding: 0 16px;
    position: relative;
    top: 0px;
    z-index: 1;
    box-sizing: border-box;
}
.template-content .note-box .note-content {
    background-color: #e7c186;
    border: 1px solid #000000;
    padding: 20px;
}
.template-content .note-box .note-content p {
    font-size: 18px;
    font-weight: normal;
    color: #000000;
    text-align: center;
}
@media screen and (max-width: 600px) {
    .template-content img{
        width: auto !important;
        height: auto !important;
        max-width: 100%;
    }
}
.news-related>h3 {
    display: flex;
    align-items: center;
    height: 50px;
    margin: 0;
    font-weight: 500;
    font-size: 20px;
    color: #ffd03f;
    background-color: #bd551d;
    border: 1px solid #000000;
    padding-top: 3px;
}
.news-related>h3::before {
    content: "";
    display: inline-block;
    width: 34px;
    height: 39px;
    background: url('../image/templates/icon-loading.png') no-repeat;
    background-size: contain;
    margin-right: 8px;
    margin-top: 2px;
    margin-left: 7px;
}
.news-related>h3 .btn-search-news {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 48px;
    margin-left: auto;
    background-color: #dc8454;
    background-image: url('../image/templates/icon-search.png');
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    border-left: 1px solid #000000;
    flex-shrink: 0;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.2s;
}
.news-related>h3 .btn-search-news:focus {
    outline: 2px solid #ffd03f;
    outline-offset: -4px;
}
.news-related>h3 .btn-search-news i {
    color: #ffffff;
    font-size: 18px;
}
.news-related ul {
    margin-top: 0px;
    font-size: 18px;
    font-weight: 400;
    color: #000000;
}
.news-related ul li {
    display: flex;
    align-items: center;
    padding: 10px 0px;
    border-bottom: 1px solid #bbbbba;
    font-size: 18px;
    font-weight: normal;
    color: #000000;
    cursor: pointer;
    transition: background-color 0.2s;
    padding-left: 15px;
    padding-right: 15px;
}
.news-related ul li:hover {
    background-color: #fff293;
}
/* .news-related ul li::before {
    content: "•  ";
    color: #bd551d;
    margin-right: 10px;
    flex-shrink: 0;
} */
/* .news-related ul li span {
    margin-left: auto;
    padding-left: 20px;
    flex-shrink: 0;
} */