#nz-div-4 h3.tde :after {
    content: "";
    width: 0;
    height: 0;
    border-top: 40px solid transparent;
    border-left: 20px solid #000000;
    border-bottom: 0 solid transparent;
    border-right: 0 solid transparent;
    position: absolute;
    top: 0;
    right: -20px;
}

#nz-div-4 h3.tde :before {
    content: "";
    width: 0;
    height: 0;
    border-width: 40px 20px 0 0;
    border-style: solid;
    border-color: transparent;
    border-right-color: #000000;
    position: absolute;
    top: 0;
    left: -20px;
}

#nz-div-4 h3.tde span {
    background: #000000;
    padding: 10px 20px 8px;
    color: #fff;
    position: relative;
    display: inline-block;
    margin: 0;
}

#nz-div-4 h3.tde {
    text-align: center;
    margin: 15px 0;
    border-bottom: 2px solid #000000;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
}

.recharge {
    margin-top: 10px;
}

.recharge-type {
    margin-bottom: 10px;
}

.recharge-type__body {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.recharge-type__item {
    flex-basis: 110px;
    height: 70px;
    border: 2px solid #ccc;
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
}

.recharge-type__img {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 0 20px;
}

.recharge-type__item.active {
    border-color: #d43831;
}

.recharge-type__arrow {
    display: none;
}

.recharge-type__item.active .recharge-type__arrow {
    display: block;
}

.recharge-type__arrow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 8px;
    margin: 0 auto;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAUCAYAAAD2rd/BAAAAAXNSR0IArs4c6QAAAUJJREFUSA21lUsKwkAMQDNFvINH0J3tqgXBS/QI1gPpNbyDIOiquKquulLoHUQ6ToRsStP5NBUknUwneWgeAzDBp0rjPX4nKA1KuugzW6dtC2esG0WwXV7vN8keosCPTbLQX11qrRcIqZRq1Ewlq0vZSEFHUoWqPJ8b2BPBYl18xhzuSfURA1av+mgA0y4Y5nCvmw9diwCjYC3oHQeBe1ISjp5hkkwDDP7tptFHQsJRwF3JuF+Y8hISBo9En2QExkUJCYOB4V0f+iTjYCn/P2PO0to3BgFXWVyYxoVvM3ofz2INWvtE7xl2lcwGESqhF7CvZFbogJvQeSRCJLMBm9HwvgmdgUMlc4BOsbbtPdp3Ah4rGTXjoo+E1hmWkoyDpbyrhIPA0pIRHBddbkJ2JKaQjAOlvIuELPBUkhEcFw30oIQ/qOTgCaIXW9MAAAAASUVORK5CYII=);
    background-size: 100% 100%;
}

.recharge-form__heading {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.recharge-form__logo {
    width: 24px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAAAd9JREFUWAntmD1OAzEQhWdCAj0V4ucMUFIgLQFEcpOcAFpCCzeAC3CCiEhE0TaIlisAUqig3wWMjbRSGNtrx/auspLTbGZsv/n0PLE2Boifah1Alfxk8rj1BfkVMDxkwDZVc0LlEOGyd5wMbfUk4On0aTv7zp456LqtiO+8RaBbtFj2k13XCSvqMwYX40k6pCyqWALmixPVxKpzttBSS9w/pGwejm/XaLW1Nuh299/m867fqT7VMbWH5DAVCAlLtVWxyWkjcChnVXC6XBm0EVgnWnVeB720wMIQAU2NWWpgCivi+oERvE6b2oFbuDIAD+i2yvYqc6dHByOuv6OrYTqna3dYB2qbj8C2TrnOc+5hU68VQP2TRHpfKcZcnrElXFxbZE3jHHbu4dC9aety4xyOwLZb6zrPuYdtz2EdmOtvILaEztFQ+cY57NzDrj3o63TjHI7AvltuWh8dNjnkO250eJym2n+4vsXpenGZTnM0NgJDjjd1QIsa/Ob/lgLSWD6HEd6BwUYxkd/G9yGHF/7uUKQqebJcyP67muYxzmgxyWFkWC0ZJSiJ+eW2xCIBQ4edAeJniU4tQwj4AW12TotJwL0kecU220XEO9WWUIHwMc7+anfYnmAJrx8Vyx34BZnRguvO00FYAAAAAElFTkSuQmCC);
    background-size: 100% 100%;
    height: 24px;
    margin-right: 12px;
}

.recharge-form__title {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    margin: 0 10px 0 0;
}

.recharge-form__content {
    display: flex;
    background: white;
    border-radius: 3px;
    margin: 10px 0;
}

.recharge-form__left {
    flex-basis: 460px;
    padding: 10px 30px 30px 30px;
}

.recharge-form__right {
    flex: 1;
}

.recharge-form__right {
    padding: 10px 48px 30px 48px;
}

.recharge-form__line {
    flex-basis: 1px;
    background: #eee;
}

.recharge-amount__table {
    margin-bottom: 10px;
}

.recharge-amount__heading {
    color: #d43831;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding: 7px 0;
    border-bottom: 1px solid #ececec;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

.recharge-amount__number {
    width: 150px;
    padding: 0 3% 0 10%;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    box-sizing: border-box;
    position: relative;
}

.recharge-amount__point {
    min-width: 0;
    overflow: hidden;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 0 5% 0 4.3%;
    box-sizing: border-box;
}

.recharge-amount__item {
    display: flex;
    cursor: pointer;
    padding: 7px 0;
    border-bottom: 1px solid #ececec;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    position: relative;
    border-top: 0;
}

.recharge-amount__item.active {
    outline: 1px solid #d43831;
}

.recharge-amount__radio {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.recharge-amount__radio {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid #d43831;
    outline: none;
    transition: all 0.2s ease-in-out;
}

.recharge-amount__radio:checked {
    background-color: #d43831;
    border-color: #d43831;
    box-shadow: inset 0 0 0 3px white;
}

.recharge-amount__price {
    width: 150px;
    padding: 0 3% 0 10%;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    box-sizing: border-box;
    position: relative;
}

.recharge-amount__pointReceive {
    min-width: 0;
    overflow: hidden;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 0 5% 0 8.3%;
    box-sizing: border-box;
    padding: 0 0 0 5%;
}

.recharge-form__submit--title {
    border-bottom: 1px solid #ececec;
    padding: 12px 0;
    font-weight: 700;
    margin-bottom: 10px;
}

.recharge-form__submit--title:before {
    content: "\2022";
    position: absolute;
    -webkit-transform: translateX(-12px);
    -ms-transform: translateX(-12px);
    transform: translateX(-12px);
}

.recharge-form__label {
    margin-bottom: 5px;
}

.recharge-form__input {
    width: 100%;
    color: #202325;
    background: #000;
    background: transparent;
    padding: 8px 10px;
    border: 1px solid #c6c6c6;
    border-radius: 2px;
    text-align: left;
    display: block;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
    height: 34px;
    -webkit-transition: border-color 0.3s, background-color 0.3s;
    transition: border-color 0.3s, background-color 0.3s;
}

select.recharge-form__input {
    padding: 0 10px;
}

.recharge-form__input:focus {
    outline: none;
}

#container_username.hidden {
    display: none;
}

.recharge-form__button {
    display: block;
    background: #d43831;
    color: #fff;
    border: none;
    width: 100%;
    padding: 10px 0;
    border-radius: 3px;
    cursor: pointer;
    -webkit-transition: opacity 0.3s, background-color 0.3s;
    transition: opacity 0.3s, background-color 0.3s;
    margin: 30px 0 0;
}

.recharge-form__group {
    margin: 0 0 10px;
}
.wstoast.wstoast-wrapper {
    position: fixed;
    top: 10px;
    left: 0;
    z-index: 9999;
    width: 100%;
    pointer-events: none;
    color: rgba(0, 0, 0, 0.55);
    font-size: 13px;
    font-variant: tabular-nums;
    font-feature-settings: "tnum";
}
.wstoast .wstoast-item {
    padding: 8px;
    text-align: center;
    animation-duration: 0.3s;
}
.wstoast .wstoast-item .wstoast-content {
    text-align: left;
    position: relative;
    display: inline-block;
    pointer-events: all;
    max-width: 80%;
    min-width: 80px;
}
.wstoast .wstoast-item .wstoast-content [class^="wstoast-content-"] {
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wstoast
    .wstoast-item
    .wstoast-content
    [class^="wstoast-content-"]
    .wstoast-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}
.wstoast
    .wstoast-item
    .wstoast-content
    [class^="wstoast-content-"]
    .wstoast-icon:first-child {
    margin-right: 8px;
}
.wstoast
    .wstoast-item
    .wstoast-content
    [class^="wstoast-content-"]
    .wstoast-icon-close {
    cursor: pointer;
    color: rgba(0, 0, 0, 0.45);
    transition: color 0.3s;
    margin-left: 6px;
    vertical-align: middle;
}
.wstoast
    .wstoast-item
    .wstoast-content
    [class^="wstoast-content-"]
    .wstoast-icon-close:hover
    > svg
    path {
    stroke: #555;
}
.wstoast
    .wstoast-item
    .wstoast-content
    [class^="wstoast-content-"]
    .wstoast-count {
    display: inline-block;
    position: absolute;
    left: -8px;
    top: -8px;
    color: #fff;
    font-size: 12px;
    text-align: center;
    height: 16px;
    line-height: 16px;
    border-radius: 3px;
    min-width: 16px;
    animation-duration: 0.3s;
}

.wstoast .wstoast-item .wstoast-content-info {
    color: #bd1aa7;
    padding: 10px 12px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(189, 26, 167, 0.5);
    animation: shake 0.5s ease-in-out;
}

.wstoast .wstoast-item .wstoast-content-info .wstoast-count {
    background-color: #bd1aa7;
}

.wstoast .wstoast-item .wstoast-content-warning {
    color: #e6a23c;
    padding: 10px 12px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 12px rgba(255, 165, 0, 0.5);
    animation: shake 0.5s ease-in-out;
}

.wstoast .wstoast-item .wstoast-content-warning .wstoast-count {
    background-color: #e6a23c;
}

.wstoast .wstoast-item .wstoast-content-error {
    color: #f56c6c;
    padding: 10px 12px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 12px rgba(255, 0, 0, 0.5);
    animation: shake 0.5s ease-in-out;
}

.wstoast .wstoast-item .wstoast-content-error .wstoast-count {
    background-color: #f56c6c;
}

.wstoast .wstoast-item .wstoast-content-success {
    color: #67c23a;
    padding: 10px 12px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 12px rgba(0, 128, 0, 0.5);
    animation: scaleIn 0.3s ease;
}
.wstoast .wstoast-item .wstoast-content-success .wstoast-count {
    background-color: #67c23a;
}
.wstoast .wstoast-item .wstoast-content-loading {
    color: #409eff;
    padding: 10px 12px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 12px rgba(64, 158, 255, 0.5);
}
.wstoast .wstoast-item .wstoast-content-loading .wstoast-count {
    background-color: #409eff;
}
.wstoast .animate-turn {
    animation: MessageTurn 1s linear infinite;
}
@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes shake {
    0% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(-5px);
    }
    40% {
        transform: translateX(5px);
    }
    60% {
        transform: translateX(-5px);
    }
    80% {
        transform: translateX(5px);
    }
    100% {
        transform: translateX(0);
    }
}
@keyframes MessageTurn {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(90deg);
    }

    50% {
        transform: rotate(180deg);
    }

    75% {
        transform: rotate(270deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes MessageMoveOut {
    0% {
        max-height: 150px;
        padding: 8px;
        opacity: 1;
    }

    to {
        max-height: 0;
        padding: 0;
        opacity: 0;
    }
}

@keyframes MessageMoveIn {
    0% {
        transform: translateY(-100%);
        transform-origin: 0 0;
        opacity: 0;
    }

    to {
        transform: translateY(0);
        transform-origin: 0 0;
        opacity: 1;
    }
}

@keyframes MessageShake {
    0%,
    100% {
        transform: translateX(0px);
        opacity: 1;
    }

    25%,
    75% {
        transform: translateX(-4px);
        opacity: 0.75;
    }

    50% {
        transform: translateX(4px);
        opacity: 0.25;
    }
}
:root {
    --ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
}
@keyframes shine {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: -100%;
    }
}

.w-icon {
    position: relative;
    display: inline-block;
    overflow: hidden;
    /* Ensure the shine effect stays within the image boundaries */
}

.w-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shine 7s infinite;
}

#loading {
    text-align: center;
    font-size: 20px;
    color: gray;
}
a.top-icon {
    font-weight: 600;
    text-align: center;
}

a.top-icon {
    text-align: center;
}

a.top-icon {
    position: absolute;
    color: #fff;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .ranking-item {
        width: 100% !important;
        background: var(--main-bg-color);
    }
}

a.top-icon {
    display: block;
    width: 206px;
    height: 68px;
    line-height: 25px;
    top: -10px;
    font-size: 17px;
}

.m-game {
    width: 500px;
    height: 500px;
    margin: 100px auto;
    position: relative;
}

.m-game__wrapper {
    display: block;
    width: 100%;
    position: relative;
    z-index: 1;
    padding-bottom: 100%;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 7s cubic-bezier(0.25, 0.1, 0, 1);
}

.m-game__bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.m-game__start {
    display: block;
    width: 20%;
    height: 20%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    cursor: pointer;
    transition: 0.3s;
}

.m-game__start:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.m-game__start img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: 50% 50%;
}

.m-game__text {
    width: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%);
    text-align: center;
    color: #fff;
    font-size: 20px;
    transform-origin: 0 50%;
    padding-left: 3%;
}

.m-game__text:nth-child(1) {
    transform: translateY(-50%) rotate(-30deg);
}

.m-game__text:nth-child(2) {
    transform: translateY(-50%) rotate(-90deg);
}

.m-game__text:nth-child(3) {
    transform: translateY(-50%) rotate(-150deg);
}

.m-game__text:nth-child(4) {
    transform: translateY(-50%) rotate(-210deg);
}

.m-game__text:nth-child(5) {
    transform: translateY(-50%) rotate(-270deg);
}

.m-game__text:nth-child(6) {
    transform: translateY(-50%) rotate(-330deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .m-game {
        width: 300px;
        height: 300px;
    }

    .m-game__start {
        width: 20%;
        height: 30%;
    }

    .m-game__text {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .m-game {
        width: 300px;
        height: 300px;
    }

    .m-game__start {
        width: 20%;
        height: 40%;
    }

    .m-game__text {
        font-size: 11px;
    }
}
.chat-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
}
.chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.hu.hu-dismissible {
    padding: 0.625rem 2.25rem 0.625rem 0.85rem;
}
.hu-danger.custom-hu-icon {
    border-inline-start: 0.313rem solid rgb(48, 60, 102) !important;
    background-color: #fff; /* var(--custom-white) */
    border: 1px solid #f3f3f3; /* var(--default-border) */
    font-size: 0.813rem;
}
.hu.hu-dismissible {
    padding: 0.625rem 2.25rem 0.625rem 0.85rem;
}
.hu-dismissible {
    padding-right: 3rem;
}
.hu {
    border: 1px solid rgba(48, 60, 102, 0.5) !important; /* Thêm viền đỏ */
    --bs-hu-bg: transparent;
    --bs-hu-padding-x: 1rem;
    --bs-hu-padding-y: 1rem;
    --bs-hu-margin-bottom: 1rem;
    --bs-hu-color: inherit;
    --bs-hu-border-color: transparent;
    --bs-hu-border: var(--bs-border-width) solid var(--bs-hu-border-color);
    --bs-hu-border-radius: var(--bs-border-radius);
    --bs-hu-link-color: inherit;
    position: relative;
    padding: var(--bs-hu-padding-y) var(--bs-hu-padding-x);
    margin-bottom: var(--bs-hu-margin-bottom);
    color: var(--bs-hu-color);
    background-color: var(--bs-hu-bg);
    border: var(--bs-hu-border);
    border-radius: var(--bs-hu-border-radius);
}
@media (prefers-reduced-motion: reduce) {
    .fade {
        transition: none;
    }
}
.fade {
    transition: opacity 0.15s linear;
}
.svg-danger {
    fill: rgb(48, 60, 102);
}
.ribbon-box {
    position: relative;
}

.ribbon-box .ribbon {
    padding: 5px 12px;
    -webkit-box-shadow: 2px 5px 10px rgba(33, 37, 41, 0.15);
    box-shadow: 2px 5px 10px rgba(33, 37, 41, 0.15);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    position: absolute;
    left: -1px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ribbon-box .ribbon.round-shape {
    border-radius: 0 30px 30px 0;
}

.ribbon-box .ribbon.ribbon-shape {
    display: inline-block;
}

.ribbon-box .ribbon.ribbon-shape::before {
    content: "";
    position: absolute;
    right: -17px;
    top: 0;
    border: 14px solid transparent;
}

.ribbon-box .ribbon.ribbon-shape::after {
    content: "";
    position: absolute;
    right: -17px;
    bottom: 0;
    border: 14px solid transparent;
}

.ribbon-box.ribbon-circle .ribbon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    left: 20px;
    top: 20px;
}

.ribbon-box.ribbon-fill {
    overflow: hidden;
}

.ribbon-box.ribbon-fill .ribbon {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    width: 93px;
    height: 52px;
    left: -36px;
    top: -16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.ribbon-box.ribbon-fill.ribbon-sm .ribbon {
    padding: 2px 12px;
    width: 78px;
    height: 42px;
    font-size: 12px;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.ribbon-box.right .ribbon {
    position: absolute;
    left: auto;
    right: 0;
}

.ribbon-box.right .ribbon.round-shape {
    border-radius: 30px 0 0 30px;
}

.ribbon-box.right .ribbon.ribbon-shape {
    text-align: right;
}

.ribbon-box.right .ribbon.ribbon-shape::after,
.ribbon-box.right .ribbon.ribbon-shape::before {
    right: auto;
    left: -17px;
    border-left-color: transparent;
}

.ribbon-box.right.ribbon-circle .ribbon {
    left: auto;
    right: 20px;
}

.ribbon-box.right .icon-ribbon {
    right: 24px;
    left: auto;
}

.ribbon-box.right.ribbon-fill .ribbon {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    right: -38px;
    left: auto;
}

.ribbon-box.right.ribbon-box .ribbon-two {
    left: auto;
    right: -5px;
}

.ribbon-box.right.ribbon-box .ribbon-two span {
    left: auto;
    right: -21px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.ribbon-box .ribbon-content {
    clear: both;
}

.ribbon-box .ribbon-secondary {
    background: #010307;
}

.ribbon-box .ribbon-secondary:before {
    border-color: #010307 transparent transparent;
}

.ribbon-box .ribbon-secondary.ribbon-shape::before {
    border-left-color: #010307;
    border-top-color: #010307;
}

.ribbon-box .ribbon-secondary.ribbon-shape::after {
    border-left-color: #010307;
    border-bottom-color: #010307;
}

.ribbon-box.right .ribbon-secondary {
    background: #010307;
}

.ribbon-box.right .ribbon-secondary.ribbon-shape::before {
    border-right-color: #010307;
    border-top-color: #010307;
}

.ribbon-box.right .ribbon-secondary.ribbon-shape::after {
    border-right-color: #010307;
    border-bottom-color: #010307;
}

.ribbon-box .icon-ribbon {
    -webkit-box-shadow: none;
    box-shadow: none;
    left: 24px;
    top: -12px;
    font-size: 40px;
    padding: 0;
}

:root {
    --theme-deafult: #7366ff;
    --theme-secondary: #f73164;
    --light-background: rgba(242, 243, 247, 0.7);
    --body-font-color: #2f2f3b;
    --chart-border: #ecf3fa;
    --recent-chart-bg: #fcfcfd;
    --light-bg: #eef1f6;
    --white: #fff;
    --light2: #f5f6f9;
    --sidebar-border: rgba(0, 0, 0, 0.1);
    --chart-text-color: rgba(82, 82, 108, 0.8);
    --recent-dashed-border: rgba(82, 82, 108, 0.3);
    --chart-dashed-border: rgba(82, 82, 108, 0.2);
    --chart-progress-light: rgba(82, 82, 108, 0.1);
    --recent-box-bg: #f2f4f7;
    --recent-border: rgba(97, 101, 122, 0.25);
    --course-light-btn: #f2f3f7;
    --course-bg: #f7f7f7;
    --balance-profie-bg: #e0dfef;
    --view-grid-bg: #ecf3fa80;
    --view-border-marker: #cfcdfc;
    --light-slate: #f5f6f9;
    --text-gray: rgba(82, 82, 108, 0.8);
    --product-shadow: 0px 1px 0px rgba(82, 82, 108, 0.15);
    --light-shade-primary: rgba(245, 244, 255);
    --dark-primary: rgba(115, 102, 255);
    --fc-button-bg-color: var(--theme-deafult);
    --fc-button-active-bg-color: var(--theme-deafult);
    --fc-button-active-border-color: var(--theme-deafult);
    --fc-button-border-color: var(--theme-deafult);
    --fc-button-hover-bg-color: var(--theme-deafult);
    --fc-button-hover-border-color: var(--theme-deafult);
    --normal: #eceaf3;
    --normal-shadow: #d9d8e3;
    --normal-mouth: #9795a4;
    --normal-eye: #595861;
    --active: #f8da69;
    --active-shadow: #f4b555;
    --active-mouth: #f05136;
    --active-eye: #313036;
    --active-tear: #76b5e7;
    --active-shadow-angry: #e94f1d;
}
.social-profile {
    text-align: center;
    background-image: url(/assets/images/widget/profile-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.social-profile .card-body {
    padding-left: 20px;
    padding-right: 20px;
}
@media (max-width: 1399px) {
    .social-profile .card-body {
        padding: 23px 15px;
    }
}
.social-details {
    margin-top: 15px;
}
.social-details h5 b {
    color: var(--body-font-color);
}
.social-details .social-follow {
    column-count: 3;
    column-gap: 30px;
    margin-top: 25px;
}
@media (max-width: 1399px) {
    .social-details .social-follow {
        column-gap: 23px;
    }
}
.social-details .social-follow li {
    position: relative;
}
.social-details .social-follow li + li::before {
    position: absolute;
    content: "";
    width: 1px;
    height: 14px;
    background-color: var(--recent-dashed-border);
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
}
[dir="rtl"] .social-details .social-follow li + li::before {
    left: unset;
    right: -15px;
}
.social-details .card-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}
.social-img-wrap {
    background: linear-gradient(
        253deg,
        var(--theme-deafult) 11.51%,
        rgba(115, 102, 255, 0) 82.07%
    );
    display: inline-block;
    border-radius: 100%;
    padding: 2px;
    margin: -30px 15px 10px;
    z-index: 5;
    position: relative;
}
.social-img-wrap .edit-icon {
    position: absolute;
    right: 0;
    bottom: 0;
}
.social-img-wrap .edit-icon img {
    width: 20px;
    height: 20px;
    border-radius: 100%;
    border: 2px solid var(--white);
    background: var(--white);
}
.social-img {
    padding: 5px;
    background: var(--white);
    border-radius: 100%;
}
.social-img img {
    width: 68px;
    height: 68px;
    border-radius: 100%;
    object-fit: cover;
}
.light-card {
    background-color: var(--light-background);
}

.light-background {
    background-color: var(--light-bg);
}
.widget-hover:hover {
    transform: translateY(-5px);
    transition: 0.5s;
}
.balance-card {
    display: flex;
    padding: 15px;
    border-radius: 5px;
    gap: 15px;
    transition: 0.5s;
}
@media (max-width: 1199px) {
    .balance-card {
        gap: 8px;
    }
}
.balance-card .svg-box {
    width: 43px;
    height: 43px;
    background: #fff;
    box-shadow: 0px 71.2527px 51.5055px rgba(229, 229, 245, 0.189815),
        0px 42.3445px 28.0125px rgba(229, 229, 245, 0.151852),
        0px 21.9866px 14.2913px rgba(229, 229, 245, 0.125),
        0px 8.95749px 7.16599px rgba(229, 229, 245, 0.0981481),
        0px 2.03579px 3.46085px rgba(229, 229, 245, 0.0601852);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 1199px) {
    .balance-card .svg-box {
        width: 35px;
        height: 35px;
    }
}
.balance-card .svg-box svg {
    height: 20px;
    fill: rgba(82, 82, 108, 0.85);
}
@media (max-width: 1199px) {
    .balance-card .svg-box svg {
        height: 17px;
    }
}
.f-light {
    color: rgba(82, 82, 108, 0.8);
}
.hr-custom {
    border: none;
    border-top: 1px dashed #b0c4de;
    color: #fff;
    background-color: #fff;
    height: 1px;
    width: 100%;
    margin: 20px 0;
}
.password {
    filter: blur(5px);
    transition: filter 0.3s;
}

.password:hover {
    filter: blur(0px);
}

.input-left .paste-wrap {
    position: absolute;
    right: 5px;
    border: 1px solid #bec8d0;
    border-radius: 7px;
}

.input-left .paste-wrap .paste {
    background: #fbfdff;
    border-radius: 6px;
}

.btn.btn-paste {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 10px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #252638;
    border: none;
    gap: 4px;
}

.btn.btn-paste.active span {
    color: #000;
}

.input-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    position: relative;
}
.mobile-menu {
    display: none;
    position: fixed;
    bottom: 18px;
    left: 0px;
    right: 0px;
    width: 300px;
    background: #dceaf4;
    border-radius: 40px;
    margin: 0 auto;
    z-index: 999;
    padding: 0;
    display: none; /* Mặc định ẩn */
}


.mobile-menu a,
.mobile-menu button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 80px;
    padding: 8px 0;
    border-radius: 8px;
    position: relative;
}


.mobile-menu a i,
.mobile-menu button i {
    font-size: 18px;
    margin-bottom: 5px;
    color: #337ab7; /* Bootstrap text-muted */
}

.mobile-menu a span,
.mobile-menu button span {
    font-size: 10px;
    line-height: 12px;
    text-transform: uppercase;
    color: #6c757d;
}

.mobile-menu a sup,
.mobile-menu button sup {
    position: absolute;
    top: -5px;
    left: 75%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    line-height: 20px;
    border-radius: 50%;
    text-align: center;
    color: #fff;
    background: #007bff; /* Màu Bootstrap primary */
    border: 2px solid #f8f9fa;
}


@media (max-width: 991px) {
    .mobile-menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}
.pdk {
    display: block;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
}
@media (max-width: 768px) {
    .pdk {
        max-width: 150px;
    }
}
@media (max-width: 576px) {
    .pdk {
        max-width: 150px;
    }
}
a.down {
    display: inline-block;
    width: 100%;
    height: 30px;
    line-height: 30px;
    border-radius: 15px;
    background: linear-gradient(to right, #f33256, #f967a4);
    color: #fff;
    text-align: center;
    cursor: pointer;
    text-shadow: none;
    border: none;
    outline: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}
.posts-item {
    position: relative;
}
.posts-item.card::before {
    content: "";
    display: block;
    background: #fc625d;
    top: 7px;
    left: 15px;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    box-shadow: 16px 0 #fdbc40, 32px 0 #35cd4b;
    z-index: 1;
    position: absolute;
}
.loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.loading-indicator.show {
    opacity: 1;
    visibility: visible;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e41212;
    border-top-color: #fff1e7;
    border-radius: 50%;
    animation: spin 0.5s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.card-custom {
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Shimmer effect */
.shimmer {
    background: #e0e0e0;
    position: relative;
    overflow: hidden;
}

.shimmer::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}
.placeholder {
    height: 20px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.placeholder-img {
    height: 150px;
    border-radius: 8px;
}

.avatar-placeholder {
    height: 40px;
    width: 40px;
    border-radius: 50%;
}

.button-placeholder {
    height: 30px;
    width: 100px;
    border-radius: 5px;
}
.card {
    overflow: hidden;
    max-width: 100%;
}
.card-img-top {
    max-width: 100%;
    height: auto;
}
.desktop-view {
    display: flex !important;
}

.mobile-view {
    display: none !important;
}

@media (max-width: 768px) {
    .desktop-view {
        display: none !important;
    }

    .mobile-view {
        display: block !important;
    }
}
.hk-loader-main {
    margin-top: 40px;
}
.hk-loader-text {
    animation: fadeInAnimation ease 1s infinite;
}
.c-yellow {
    --this-color: #ff6f06;
    --this-bg: rgba(255, 111, 6, 0.1);
}
.loading.zts {
    --this-color: #ff1856;
}
.loading {
    content: "";
    width: 3em;
    height: 3em;
    display: inline-block;
    border: 0.3em solid transparent;
    border-radius: 50%;
    border-top-color: var(--this-color);
    border-bottom-color: var(--this-color);
    -webkit-animation: huan-rotate 1s cubic-bezier(0.7, 0.1, 0.31, 0.9) infinite;
    animation: huan-rotate 1s cubic-bezier(0.7, 0.1, 0.31, 0.9) infinite;
}

@keyframes huan-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.layui-m-layer {
    position: relative;
    z-index: 19891014;
}
.gigs-grid {
    background: #fff;
    box-shadow: 0 4.4px 12px -1px rgb(222 222 222 / 82%);
    border: 1px solid #f8f8f8;
    border-radius: 10px;
    margin-bottom: 24px;
}
.layui-m-layer * {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.layui-m-layermain,
.layui-m-layershade {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.layui-m-layershade {
    background-color: rgba(0, 0, 0, 0.7);
    pointer-events: auto;
}

.layui-m-layermain {
    display: table;
    font-family: Helvetica, arial, sans-serif;
    pointer-events: none;
}

.layui-m-layermain .layui-m-layersection {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.layui-m-layerchild {
    position: relative;
    display: inline-block;
    text-align: left;
    background-color: #fff;
    font-size: 14px;
    border-radius: 5px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: 0.2s;
    animation-duration: 0.2s;
}

@-webkit-keyframes layui-m-anim-scale {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes layui-m-anim-scale {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

.layui-m-anim-scale {
    animation-name: layui-m-anim-scale;
    -webkit-animation-name: layui-m-anim-scale;
}

@-webkit-keyframes layui-m-anim-down {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-800px); /* Đưa thông báo từ trên */
        transform: translateY(-800px); /* Đưa thông báo từ trên */
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes layui-m-anim-down {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-800px); /* Đưa thông báo từ trên */
        transform: translateY(-800px); /* Đưa thông báo từ trên */
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

.layui-m-anim-down {
    animation-name: layui-m-anim-down;
    -webkit-animation-name: layui-m-anim-down;
}

.layui-m-layer0 .layui-m-layerchild {
    width: 90%;
    max-width: 640px;
}

.layui-m-layer1 .layui-m-layerchild {
    border: none;
    border-radius: 0;
}

.layui-m-layer2 .layui-m-layerchild {
    width: auto;
    max-width: 260px;
    min-width: 40px;
    border: none;
    background: 0 0;
    box-shadow: none;
    color: #fff;
}

.layui-m-layerchild h3 {
    padding: 0 10px;
    height: 60px;
    line-height: 60px;
    font-size: 16px;
    font-weight: 400;
    border-radius: 5px 5px 0 0;
    text-align: center;
}

.layui-m-layerbtn span,
.layui-m-layerchild h3 {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.layui-m-layercont {
    padding: 50px 30px;
    line-height: 22px;
    text-align: center;
}

.layui-m-layer1 .layui-m-layercont {
    padding: 0;
    text-align: left;
}

.layui-m-layer2 .layui-m-layercont {
    text-align: center;
    padding: 0;
    line-height: 0;
}

.layui-m-layer2 .layui-m-layercont i {
    width: 25px;
    height: 25px;
    margin-left: 8px;
    display: inline-block;
    background-color: #fff;
    border-radius: 100%;
    -webkit-animation: layui-m-anim-loading 1.4s infinite ease-in-out;
    animation: layui-m-anim-loading 1.4s infinite ease-in-out;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.layui-m-layerbtn,
.layui-m-layerbtn span {
    position: relative;
    text-align: center;
    border-radius: 0 0 5px 5px;
}

.layui-m-layer2 .layui-m-layercont p {
    margin-top: 20px;
}

@-webkit-keyframes layui-m-anim-loading {
    0%,
    100%,
    80% {
        transform: scale(0);
        -webkit-transform: scale(0);
    }
    40% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }
}

@keyframes layui-m-anim-loading {
    0%,
    100%,
    80% {
        transform: scale(0);
        -webkit-transform: scale(0);
    }
    40% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }
}

.layui-m-layer2 .layui-m-layercont i:first-child {
    margin-left: 0;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.layui-m-layer2 .layui-m-layercont i.layui-m-layerload {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

.layui-m-layer2 .layui-m-layercont > div {
    line-height: 22px;
    padding-top: 7px;
    margin-bottom: 20px;
    font-size: 14px;
}

.layui-m-layerbtn {
    display: box;
    display: -moz-box;
    display: -webkit-box;
    width: 100%;
    height: 50px;
    line-height: 50px;
    font-size: 0;
    border-top: 1px solid #d0d0d0;
    background-color: #f2f2f2;
}

.layui-m-layerbtn span {
    display: block;
    -moz-box-flex: 1;
    box-flex: 1;
    -webkit-box-flex: 1;
    font-size: 14px;
    cursor: pointer;
}

.layui-m-layerbtn span[yes] {
    color: #40affe;
}

.layui-m-layerbtn span[no] {
    border-right: 1px solid #d0d0d0;
    border-radius: 0 0 0 5px;
}

.layui-m-layerbtn span:active {
    background-color: #f6f6f6;
}

.layui-m-layerend {
    position: absolute;
    right: 7px;
    top: 10px;
    width: 30px;
    height: 30px;
    border: 0;
    font-weight: 400;
    background: 0 0;
    cursor: pointer;
    -webkit-appearance: none;
    font-size: 30px;
}

.layui-m-layerend::after,
.layui-m-layerend::before {
    position: absolute;
    left: 5px;
    top: 15px;
    content: "";
    width: 18px;
    height: 1px;
    background-color: #999;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    border-radius: 3px;
}

.layui-m-layerend::after {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

body .layui-m-layer .layui-m-layer-footer {
    position: fixed;
    width: 95%;
    max-width: 100%;
    margin: 0 auto;
    left: 0;
    right: 0;
    bottom: 10px;
    background: 0 0;
}

.layui-m-layer-footer .layui-m-layercont {
    padding: 20px;
    border-radius: 5px 5px 0 0;
    background-color: rgba(255, 255, 255, 0.8);
}

.layui-m-layer-footer .layui-m-layerbtn {
    display: block;
    height: auto;
    background: 0 0;
    border-top: none;
}

.layui-m-layer-footer .layui-m-layerbtn span {
    background-color: rgba(255, 255, 255, 0.8);
}

.layui-m-layer-footer .layui-m-layerbtn span[no] {
    color: #fd482c;
    border-top: 1px solid #c2c2c2;
    border-radius: 0 0 5px 5px;
}

.layui-m-layer-footer .layui-m-layerbtn span[yes] {
    margin-top: 10px;
    border-radius: 5px;
}

body .layui-m-layer .layui-m-layer-msg {
    width: auto;
    max-width: 90%;
    margin: 0 auto;
    bottom: 250px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
}

.layui-m-layer-msg .layui-m-layercont {
    padding: 10px 20px;
}


.comment-form {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.comment-form textarea {
    width: 100%;
    border: none;
    border-radius: 8px;
    color: #e43f3f;
    padding: 10px;
    resize: none;
    font-size: 14px;
}

.comment-form button {
    background-color: #d44753;
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    margin-left: 10px;
    font-size: 14px;
}

.comment-form button:hover {
    background-color: #1877f2;
}

.tabs {
    display: flex;
    margin-bottom: 20px;
}

.tab {
    margin-right: 20px;
    cursor: pointer;
    padding: 5px 10px;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #2d88ff;
    border-bottom: 2px solid #2d88ff;
}

.comment {
    margin-bottom: 20px;
}

.comment .user {
    font-weight: bold;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.comment .user span {
    font-size: 12px;
    color: #b0b3b8;
    margin-left: 10px;
}

.comment .content {
    margin-left: 40px;
    padding: 10px;
    border-radius: 8px;
    position: relative;
}

.comment .content .reply {
    margin-top: 5px;
    color: #2d88ff;
    cursor: pointer;
    font-size: 13px;
}

.reply-comment {
    margin-left: 40px;
}

.avatar-comment {
    background-color: #2d88ff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 10px;
}
.sys-item-99 {
    background-image: url(../assets/images/p-bg.png);
    margin-top: 10px;
    height: 40px;
    line-height: 40px;
    font-size: 12px;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    font-weight: 500;
}
.sys-item-88 {
    background-image: url(../assets/images/y-bg.png);
    margin-top: 10px;
    height: 40px;
    line-height: 40px;
    font-size: 13px;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    font-weight: 500;
}
.em09 {
    font-size: 0.9em;
}
.mt6 {
    margin-top: 6px;
}
.box {
    position: relative;
    padding: 10px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 20px;
}
.box:before {
    content: "";
    position: absolute;
    width: 150%;
    height: 50%;
    background: linear-gradient(315deg, #00ccff, #d400d4);
    animation: animate 6s linear infinite;
}
@keyframes animate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.box:after {
    content: "";
    position: absolute;
    inset: 6px;
    background: #fafafa;
    border-radius: 15px;
    z-index: 2;
}
.td-content-copyright {
    position: relative;
    font-weight: normal;
    color: #2997f7;
    z-index: 4;
    margin: 15px;
}

body {
    background-image: url('assets/img/background.png');
    background-position-x: center;
    background-position-y: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}