.desktop {
    display: block;
}

.choices {
    margin-bottom: 0px !important;
}

.btn-block {
    width: 100% !important;
}

.side-menu__item>i {
    font-size: 18px;
    margin-right: 5px;
}

.side-menu__item.active.open {
    background-color: #985ffd !important;
}

.side-menu__item.active.open span {
    color: white !important;
}

.has-sub>.side-menu__item>i {
    margin-right: 0px !important;
}

.my-toast-container {
    position: fixed !important;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.my-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 300px;
    max-width: 250px;
    padding: 12px 16px;
    border-radius: 3px;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateX(100%);
    animation: my-slideIn 0.4s forwards, my-fadeOut 0.5s forwards 3.5s;
    position: relative;
    overflow: hidden;
}

.my-toast .my-icon {
    font-size: 18px;
}

.my-toast.success {
    background: #4caf50;
}

.my-toast.error {
    background: #fa4c40;
}

.my-toast.info {
    background: #2196f3;
}

.my-toast.warning {
    background: #ff9800;
}

.my-toast::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: rgba(255, 255, 255, 0.6);
    animation: my-progress 3.5s linear forwards;
}

@keyframes my-slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes my-fadeOut {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

@keyframes my-progress {
    from {
        width: 100%;
    }

    to {
        width: 0;
    }
}

.cursor-p {
    cursor: pointer;
}

.viethoachudau {
    text-transform: capitalize !important;
}

.w-30 {
    width: 30% !important;
}

.form-group {
    margin-bottom: 10px;
}

.avatar-sm {
    height: 2.2rem;
    width: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-title {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 0.3rem;
}

.banner-track {
    display: flex;
    transition: transform 0.5s ease;
}

.banner-item {
    flex: 0 0 100%;
}

.banner-item img {
    width: 100%;
    display: block;
}

.banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.banner-dots .dot {
    width: 12px;
    height: 3px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 0px;
    cursor: pointer;
}

.banner-dots .dot.active {
    background: rgb(var(--primary-rgb));
}

.tick-rotate {
    display: inline-block;
    animation: tickRotate 0.5s ease-in-out infinite;
}

@keyframes tickRotate {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(20deg);
    }

    100% {
        transform: rotate(-10deg);
    }
}

.times-zoom {
    display: inline-block;
    animation: tickZoom 0.4s ease-in-out infinite;
}

@keyframes tickZoom {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.money-spin-back {
    display: inline-block;
    animation: tickSpinBack 1.5s ease-in-out infinite;
}

@keyframes tickSpinBack {
    0% {
        transform: rotate(0deg);
    }

    60% {
        transform: rotate(400deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.card.custom-card.dashboard-main-card.pricing-card.pricing-danger:before {
    background-image: linear-gradient(to right top, transparent, transparent, rgba(var(--danger-rgb), 0.1), rgba(var(--danger-rgb), 0.1));
}

.card.custom-card.dashboard-main-card.pricing-card.pricing-info:before {
    background-image: linear-gradient(to right top, transparent, transparent, rgba(var(--info-rgb), 0.1), rgba(var(--info-rgb), 0.1));
}

.border-r-system {
    border-radius: 0.375rem;
}

.border-r-0 {
    border-radius: 0 !important;
}

.image-game {
    display: inline-block;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 130px !important;
}

.image-game>img {
    transition: transform 0.4s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.image-rent {
    display: inline-block;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 130px !important;
}

.image-rent>img {
    transition: transform 0.4s ease;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.image-game:hover>img {
    transform: scale(1.1);
}

.item-game {
    position: relative;
}

.item-game>.ribbon-sale {
    position: absolute;
    top: 3px;
    left: 3px;
    font-size: 11px;
    padding: 3px 8px;
    background-color: #fa4c40;
    color: white;
    border-radius: 0.3rem;
    z-index: 1;
}

.info-game>h6 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: capitalize;
}


.info-game>.descrption {
    display: flex;
    align-items: center !important;
    justify-content: space-between;
    margin: 10px 0px;
    color: rgb(71, 71, 71);
}

.info-game>.descrption>span {
    font-size: 13px;
}

.item-game {
    cursor: pointer;
}

.title-game {
    text-transform: uppercase !important;
}

.text-1 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.collapsed .note-product {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.collapsed .name-product {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-game {
    border: 2px dotted rgb(var(--primary-rgb));
    padding: 15px 10px;
    border-radius: 0.3rem;
    margin: 10px 0px;
}

.cursor-p {
    cursor: pointer;
}

.wheels .spin-btn {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

.wheels .spin-btn>img {
    width: 90px;
}

.marquee-home {
    position: relative;
    background: #fff;
    border-radius: 0.3rem;
    padding: 10px 5px;
    font-size: 14px;
    margin-bottom: 20px;
    box-shadow: 0 0 1px rgb(87, 87, 87);
    overflow: hidden;
    color: black !important;
}

.marquee-home::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(90deg, red, orange, yellow, green, cyan, blue, violet);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}


.marquee-home img {
    border-radius: 50%;
    height: 20px;
    width: 20px;
}

.marquee-home>span {
    margin: 0px 10px;
}

.nav.nav-pills {
    display: flex !important;
    flex-wrap: nowrap !important;
}

.nav.nav-pills>.nav-item {
    width: 100%;
}

.nav.nav-pills>.nav-item>.nav-link {
    color: #011a42;
    background-color: rgb(250, 248, 253);
    border-color: #e2e8ee;
    text-align: center;
}

.nav.nav-pills>.nav-item>.nav-link.active {
    background: rgb(var(--primary-rgb));
    color: white;
}

.category-buttons {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    box-sizing: border-box;
    padding: 0px;
}

.category-buttons>li {
    flex: 1 1 auto;
}

.category-buttons .button-manhdev {
    background: rgb(var(--primary-rgb));
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 0.3rem;
    padding: 10px 20px !important;
    font-size: 14px;
    display: flex;
    text-align: -webkit-match-parent;
    unicode-bidi: isolate;
    width: 100%;
    align-items: center;
    text-transform: uppercase;
    border: 1px solid rgb(var(--primary-rgb));
}

.button-manhdev.collapsed {
    border: 1px solid rgb(var(--primary-rgb)) !important;
    color: rgb(var(--primary-rgb)) !important;
    background: none !important;
}

.category-buttons .button-manhdev img {
    width: 22px;
    height: 22px;
}

.btn-primary:hover {
    color: white !important;
}


.image-source {
    position: relative;
}

.image-source>img {
    height: 170px;
    width: 100%;
}

.image-source>span {
    position: absolute;
    left: 5px;
    bottom: 5px;
}

.custom_loader_spinner {
    width: 40px;
    height: 40px;
    position: relative;
}

@keyframes custom_spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.img-product-view {
    position: relative;
    overflow: hidden;
    display: inline-block;
    border: 1px solid #b3b3b3;
    height: 400px;
}

.img-product-view>span {
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: #ea5252;
    color: white;
    padding: 3px 5px;
    border-radius: 3px;
    z-index: 999;
}

.img-product-view>img {
    transition: transform 0.3s ease;
}

.img-product-view>img:hover {
    transform: scale(1.2);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.main-image .prev,
.main-image .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 99;
}

.main-image .prev {
    left: 10px;
}

.main-image .next {
    right: 10px;
}

.thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 5px;
    -webkit-overflow-scrolling: touch;
}

.thumbnails img {
    max-height: 80px;
    height: auto;
    width: auto;
    flex-shrink: 0;
    cursor: pointer;
    border-radius: 0px;
}

.thumbnails img:hover,
.thumbnails img.active {
    border: 2px solid rgb(var(--primary-rgb));
}

.thumbnails-source-ManhDev {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 5px !important;
    height: 400px !important;
    border: 1px solid #b3b3b3 !important;
    text-align: center !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    display: block !important;
}

.thumbnails-source-ManhDev::-webkit-scrollbar {
    display: none;
}

.thumbnails-source-ManhDev img {
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    border-radius: 0px !important;
    display: block !important;
    margin: 5px 0px !important;
}

.thumbnails-source-ManhDev img:hover,
.thumbnails-source-ManhDev img.active {
    border: 2px solid rgb(var(--primary-rgb));
}

.menu-dropdown-ManhDev>.active {
    background-color: #3f51b53a;
}

.line-title {
    display: block;
    width: 60px;
    height: 3px;
    background: rgb(var(--primary-rgb));
    margin-bottom: 10px;
}

.line-title.center {
    margin: 0 auto;
}

.border-dotted {
    border: 1px dotted !important;
}

.mobile {
    display: none;
}

.desc-container {
    position: relative;
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.desc-container.expanded {
    max-height: 1000px;
}

.fade-overlay {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, white, transparent);
    transition: opacity 0.3s;
}

.desc-container.expanded .fade-overlay {
    opacity: 0;
    pointer-events: none;
}

.show-more-btn {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}


















.game-form>div>div {
    text-align: center;
    margin: 5px !important;
    width: 100%;
}

.game-form>div>div:first-child {
    width: 30%;
}

.game-form>div>div:last-child {
    width: 30%;
}

.game-form>div img {
    width: 100%;
    border-radius: 5px;
}

.game-form [data-value].active img {
    box-shadow: 1px 2px 10px rgb(var(--primary-rgb));
    border: 2px solid rgb(var(--primary-rgb));
    padding: 3px;
    transform: scale(1.1);
    transition: 0.1s;
}

@media (min-width: 900px) {
    [data-theme-mode=light] .slide-menu.child1.double-menu-active {
        background: white !important;
    }

    .slide.has-sub {
        justify-content: center !important;
    }

    .slide.has-sub.open>a {
        background: rgba(var(--primary-rgb), 0.1) !important;
        color: var(--primary-rgb) !important;
    }
}

@media (max-width: 760px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

    .image-source>img {
        height: 90px;
    }

    .img-product-view {
        height: 200px;
    }

    .slide-menu .side-menu__item::before {
        display: none;
    }

    .has-sub>.side-menu__item>i {
        margin-right: 5px !important;
    }

    .image-game {
        height: 90px !important;
    }

    .wheels .spin-btn>img {
        width: 50px;
    }
}

@keyframes shakeZoom {
    0% {
        transform: scale(1) rotate(0deg);
    }

    20% {
        transform: scale(1.05) rotate(8deg);
    }

    40% {
        transform: scale(1.05) rotate(-8deg);
    }

    60% {
        transform: scale(1.05) rotate(8deg);
    }

    80% {
        transform: scale(1.05) rotate(-8deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

.animate-machine {
    animation: shakeZoom 1s ease-in-out;
    z-index: 999;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.product-price-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    padding: 20px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    max-width: 300px;
    margin: 16px auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

.grenade-form {
    position: relative;
    display: none;
}

.grenade-form>#image-spin {
    position: absolute;
    left: 0px;
    bottom: 0px;
}

.grenade-form-1 {
    position: relative;
}

.grenade-form-1>#image-item-done {
    position: absolute;
    top: 50px;
    left: 20px;
    width: 90% !important;
    transform: scale(0);
    opacity: 0;
    animation: popUp 0.6s ease-out forwards, pulse 1.5s ease-in-out 0.6s infinite;
}

@keyframes popUp {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    60% {
        transform: scale(1.15);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.hover-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease-in-out;
}

.option-label {
    position: relative;
    padding: 15px;
    transition: all 0.2s ease;
}

.option-label .checked-hosting {
    position: absolute;

    background: #00c896;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    box-shadow: 0px 0px 1px #00c896;
    border: 4px solid white;
    top: -8px;
    right: -8px;
    width: 30px;
    height: 30px;
    border-radius: 100%;
}

.option-label .checked-hosting::after {
    content: "✔";
    font-size: 14px;
    color: white;
    font-weight: bold;
}

.btn-check:checked+.option-label .checked-hosting {
    opacity: 1;
    transform: scale(1);
}

.arrow-wiggle {
    display: inline-block;
    animation: arrowMove 0.7s infinite ease-in-out;
}

@keyframes arrowMove {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-3px);
    }

    100% {
        transform: translateX(0);
    }
}

.btn-check:checked + .btn-active-none, .btn-outline-primary.active, .btn-outline-primary.dropdown-toggle.show, .btn-outline-primary:active, .btn-check + .btn.btn-outline-primary:hover, .btn-active-none {
    color: rgb(var(--primary-rgb)) !important;
    background: none !important;
    border-color: rgb(var(--primary-rgb)) !important;
}

.equal-height-row {
  display: flex;
  flex-wrap: wrap;
}

.equal-height-row > [class*='col-'] {
  display: flex;
}

.option-label {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

input[type="range"] {
  accent-color: rgb(var(--primary-rgb));
}

input[type="range"]::-webkit-slider-thumb {
  background: rgb(var(--primary-rgb));
}

input[type="range"]::-moz-range-thumb {
  background: rgb(var(--primary-rgb));
}