/* User UX enhancements — complements template/style.css */

.link-accent {
    color: var(--accent, #15F5BA);
    text-decoration: none;
}
.link-accent:hover {
    color: #fff;
    text-decoration: underline;
}

.ux-card {
    background: var(--card-gradient, linear-gradient(135deg, rgba(12, 45, 87, 0.95), rgba(6, 26, 51, 0.95)));
    border-radius: var(--card-radius, 18px);
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--card-shadow, 0 10px 20px rgba(0, 0, 0, 0.2));
}

.ux-card-balance .ux-card-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

.ux-card-balance .ux-card-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.user-home-dashboard .row {
    align-items: stretch;
}

.user-home-dashboard .ux-card-balance {
    display: flex;
    flex-direction: column;
}

.user-home-dashboard .ux-card-balance,
.user-home-dashboard .ux-card-account {
    min-height: 100%;
}

.user-home-dashboard .ux-card-balance-actions {
    margin-top: auto;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.user-home-dashboard .ux-balance-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
}

.user-home-dashboard .ux-balance-actions .ux-dash-btn {
    width: 100%;
    margin: 0;
}

.user-home-dashboard .ux-dash-btn {
    font-size: 0.8125rem;
    padding: 0.45rem 0.75rem;
    line-height: 1.25;
    min-height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    gap: 0.35rem;
    white-space: nowrap;
}

.user-home-dashboard .ux-dash-btn i {
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-size: 0.85em;
}

.user-home-dashboard .ux-dash-btn.btn-cyber-alt {
    padding: 0.45rem 0.75rem;
    box-shadow: 0 6px 14px rgba(var(--secondary-rgb, 252, 103, 54), 0.22);
}

.user-home-dashboard .ux-dashboard-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    padding-bottom: 0.85rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.user-home-dashboard .ux-dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

@media (max-width: 575.98px) {
    .user-home-dashboard .ux-balance-actions {
        grid-template-columns: 1fr;
    }
    .user-home-dashboard .ux-dashboard-head {
        flex-direction: column;
        align-items: stretch;
    }
    .user-home-dashboard .ux-dashboard-actions {
        justify-content: stretch;
    }
    .user-home-dashboard .ux-dashboard-actions .ux-dash-btn {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 0;
    }
}

.user-home-dashboard .ux-recent-orders-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.5rem;
}

.ux-recent-orders {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-height: none;
    overflow: visible;
}

.ux-recent-order-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.15);
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.ux-recent-order-text {
    min-width: 0;
    flex: 1;
}

.ux-recent-order-service {
    display: block;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ux-recent-order-id {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
}

.ux-recent-order-badge {
    flex-shrink: 0;
    text-align: right;
}

.ux-recent-order-badge .badge {
    min-width: 5.5rem;
    display: inline-block;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.ux-recent-order-link:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(var(--accent-rgb, 21, 245, 186), 0.08);
}

.ux-recent-order-link:hover .ux-recent-order-service {
    color: var(--accent, #15F5BA);
}

.ux-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

.ux-step-card {
    background: rgba(var(--primary-rgb, 12, 45, 87), 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--card-radius-sm, 14px);
    padding: 1.25rem;
    position: relative;
}

.ux-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--secondary-gradient, #FC6736);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

/* Kartu game beranda: thumbnail persegi 1:1 */
.ux-games-section .game-card--thumb,
.ux-price-page .game-card--thumb,
.ux-price-page .ux-price-game-pick .game-card--thumb {
    position: relative;
    overflow: hidden;
    border-radius: var(--card-radius);
    background: transparent;
    margin-bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    width: 100%;
    aspect-ratio: 1 / 1;
}

.ux-games-section .game-card--thumb .game-img,
.ux-price-page .game-card--thumb .game-img,
.ux-price-page .ux-price-game-pick .game-card--thumb .game-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
}

.ux-games-section .ux-game-card-link {
    display: block;
}

.ux-games-section .game-card.game-card--thumb {
    background: transparent !important;
}

.ux-games-section .game-card--thumb:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.ux-home-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 12px;
    background: rgba(var(--primary-rgb, 12, 45, 87), 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.ux-home-strip-sep {
    color: rgba(255, 255, 255, 0.35);
    user-select: none;
}

.ux-games-search-wrap {
    min-width: 180px;
}

.ux-nav-search {
    min-width: 160px;
    max-width: 220px;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.ux-nav-search::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.ux-help-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1040;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #25d366;
    color: #fff;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}
.ux-help-float:hover {
    color: #fff;
    transform: translateY(-2px);
}
.ux-help-float i {
    font-size: 1.25rem;
}

.ux-progress-steps {
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0 0 0.75rem;
    position: relative;
}
.ux-progress-steps::before {
    content: "";
    position: absolute;
    top: 0.65rem;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 0;
}
.ux-progress-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}
.ux-progress-dot {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    margin: 0 auto 0.35rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.35);
}
.ux-progress-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.ux-progress-done .ux-progress-dot {
    background: #22c55e;
    border-color: #22c55e;
}
.ux-progress-active .ux-progress-dot {
    background: var(--accent, #15F5BA);
    border-color: var(--accent, #15F5BA);
    box-shadow: 0 0 0 4px rgba(21, 245, 186, 0.25);
}
.ux-progress-active .ux-progress-label {
    color: #fff;
    font-weight: 600;
}
.ux-progress-cancelled .ux-progress-dot {
    background: #ef4444;
    border-color: #ef4444;
}

.ux-track-tabs .nav-link {
    color: rgba(255, 255, 255, 0.75);
}
.ux-track-tabs .nav-link.active {
    background: var(--secondary, #FC6736);
    color: #fff;
}

.ux-invoice-tip {
    border-radius: var(--card-radius-sm, 12px);
}

@media (max-width: 991px) {
    .ux-help-float-text {
        display: none;
    }
    .ux-help-float {
        padding: 0.75rem;
        border-radius: 50%;
    }
}

/* ——— Layout konsisten (desktop & mobile) ——— */

/* Sticky footer: halaman pendek (cek region, kalkulator, dll.) footer mentok bawah */
html {
    min-height: 100%;
    background-color: var(--dark, #061A33);
}

body.ux-site-body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body.ux-site-body > .main-header {
    flex-shrink: 0;
}

body.ux-site-body > .page-container.ux-site-container {
    flex: 1 1 auto;
}

body.ux-site-body > .footer {
    flex-shrink: 0;
    width: 100%;
}

/* Beranda: konten & header selaras halaman lain (navbar dari main.php sama) */
.page-home .ux-home-page {
    margin-top: 0;
}

.page-home .ux-site-container {
    padding-bottom: 2rem;
}

.page-home .mainBannerSwiper {
    margin-top: 0;
    margin-bottom: 1rem;
}

.page-home .mainBannerSwiper .swiper-slide,
.page-home .mainBannerSwiper .swiper-slide-active {
    transform: none !important;
}

.mainBannerSwiper .swiper-slide img {
    height: auto !important;
    object-fit: contain !important;
}

@media (max-width: 768px) {
    .page-home #promo.mb-5 {
        margin-bottom: 1.5rem !important;
    }
}


/* Lebar konten publik: selaras header, tidak melebar full layar ultrawide */
.ux-site-container.container-xxl {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: max(1rem, calc(var(--bs-gutter-x, 1.5rem) * 0.5));
    padding-right: max(1rem, calc(var(--bs-gutter-x, 1.5rem) * 0.5));
}

.page-container.ux-site-container {
    padding-top: 0.75rem;
    width: 100%;
    box-sizing: border-box;
}

/* ——— Header navigasi (bar atas, bukan kartu judul halaman) ——— */
.main-header {
    background-image: var(--dark-gradient);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1030;
}

.site-header-desktop {
    background: transparent;
}

.site-header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem 1rem;
    padding: 0.65rem 0;
    min-height: 3.25rem;
}

.site-header-logo {
    grid-column: 1;
    justify-self: start;
    display: block;
    line-height: 0;
}

.site-header-logo img {
    display: block;
    height: auto;
    max-height: 40px;
    width: auto;
}

.site-nav {
    grid-column: 2;
    justify-self: center;
    min-width: 0;
    overflow: visible;
}

.site-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    overflow: visible;
}

.site-nav-item {
    flex-shrink: 0;
    position: relative;
}

.site-nav-group {
    display: inline-flex;
    align-items: center;
    border-radius: 0.65rem;
}

.site-nav-group .site-nav-link {
    padding-right: 0.2rem;
}

.site-nav-submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 2rem;
    padding: 0 0.25rem;
    border: 0;
    border-radius: 0.4rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.65rem;
}

.site-nav-submenu-toggle:hover,
.site-nav-submenu-toggle:focus,
.site-nav-submenu-toggle.show {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.site-menu-chevron {
    display: block;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease;
}

.site-nav-submenu-toggle[aria-expanded="true"] .site-menu-chevron,
.site-mobile-submenu-toggle[aria-expanded="true"] .site-menu-chevron {
    transform: rotate(225deg) translateY(-2px);
}

.site-nav-item.dropdown .dropdown-menu {
    position: absolute !important;
    inset: auto !important;
    top: 100% !important;
    left: 0 !important;
    transform: none !important;
    float: none;
}

.site-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.55rem;
    border-radius: 0.65rem;
    color: rgba(255, 255, 255, 0.85) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.85);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    border: 1px solid transparent;
    background: transparent;
}

.site-nav-link:hover,
.site-nav-link:focus,
.site-nav-item.show > .site-nav-link {
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.06);
}

.site-nav-link.is-active {
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    background: rgba(var(--secondary-rgb, 252, 103, 54), 0.2);
    border-color: rgba(var(--secondary-rgb, 252, 103, 54), 0.45);
    box-shadow: none;
    font-weight: 600;
}

.site-nav-link.is-active .site-nav-icon {
    opacity: 1;
}

.site-nav-icon {
    width: 1rem;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.9;
    flex-shrink: 0;
}

.site-nav-item.dropdown .dropdown-menu,
.site-nav-dropdown,
.site-header-dropdown {
    margin-top: 0.35rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background-color: #061a33;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
    min-width: 11.5rem;
    padding: 0.4rem;
    z-index: 1060;
}

.main-header .dropdown-menu .dropdown-item {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.55rem 0.85rem;
    border-radius: 0.55rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.main-header .dropdown-menu .dropdown-item i {
    width: 1.1rem;
    text-align: center;
    opacity: 0.85;
}

.main-header .dropdown-menu .dropdown-item:hover,
.main-header .dropdown-menu .dropdown-item:focus,
.main-header .dropdown-menu .dropdown-item.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.main-header .dropdown-menu .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.12);
    margin: 0.35rem 0;
}

.site-nav-item.dropdown .dropdown-item {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.875rem;
    padding: 0.55rem 0.85rem;
}

.site-nav-item.dropdown .dropdown-item:hover,
.site-nav-item.dropdown .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.site-nav-link.dropdown-toggle::after {
    margin-left: 0.15em;
    vertical-align: 0.15em;
}

.site-header-account {
    grid-column: 3;
    justify-self: end;
    flex-shrink: 0;
    align-self: center;
}

.site-header-account-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    color: #fff !important;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    white-space: nowrap;
    max-width: 12rem;
}

.site-header-account-btn.dropdown-toggle::after {
    border-top-color: rgba(255, 255, 255, 0.85);
    margin-left: 0.35em;
}

.site-header-account-btn span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-header-account-btn:hover,
.site-header-account-btn:focus,
.site-header-account-btn.show,
.site-header-account .show > .site-header-account-btn {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.site-header-dropdown.dropdown-menu {
    min-width: 12.5rem;
    right: 0;
    left: auto !important;
}

.site-header-mobile {
    background: transparent;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
}

.site-mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0;
    min-height: 3.15rem;
}

.site-mobile-logo {
    display: block;
    line-height: 0;
    flex-shrink: 0;
}

.site-mobile-logo img {
    display: block;
    max-height: 36px;
    width: auto;
}

.site-mobile-menu-btn {
    flex-shrink: 0;
    width: 2.65rem;
    height: 2.65rem;
    margin: 0;
    padding: 0;
    border-radius: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: none;
}

.site-mobile-menu-btn:focus {
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb, 21, 245, 186), 0.25);
}

.site-mobile-menu-btn[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
}

.site-mobile-menu-collapse {
    flex-basis: 100%;
    width: 100%;
}

.site-mobile-menu-panel {
    background: rgba(6, 22, 44, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    padding: 0.35rem 0 0.85rem;
}

.site-mobile-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-mobile-nav-item {
    margin: 0;
}

.site-mobile-nav-row {
    display: flex;
    align-items: center;
}

.site-mobile-nav-row .site-mobile-nav-link {
    flex: 1;
    min-width: 0;
    width: auto;
}

.site-mobile-submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 0.65rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
}

.site-mobile-submenu-toggle:hover,
.site-mobile-submenu-toggle:focus,
.site-mobile-submenu-toggle[aria-expanded="true"] {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.site-mobile-nav-divider {
    height: 1px;
    margin: 0.35rem 0;
    background: rgba(255, 255, 255, 0.08);
    padding: 0 !important;
    border: 0;
}

.site-mobile-nav-link,
.site-mobile-nav-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.8rem 0.65rem;
    border: 0;
    border-radius: 0.75rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    text-align: left;
    letter-spacing: 0;
    transition: background 0.15s ease, color 0.15s ease;
}

.site-mobile-nav-link:hover,
.site-mobile-nav-link:focus,
.site-mobile-nav-toggle:hover,
.site-mobile-nav-toggle:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

.site-mobile-nav-link--accent {
    margin-top: 0.25rem;
    background: rgba(var(--secondary-rgb, 252, 103, 54), 0.15);
    border: 1px solid rgba(var(--secondary-rgb, 252, 103, 54), 0.35);
    justify-content: center;
}

.site-mobile-nav-link--accent:hover,
.site-mobile-nav-link--accent:focus {
    background: rgba(var(--secondary-rgb, 252, 103, 54), 0.25);
}

.site-mobile-nav-icon {
    width: 2.1rem;
    height: 2.1rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
}

.site-mobile-nav-toggle {
    justify-content: space-between;
}

.site-mobile-chevron {
    font-size: 0.8rem;
    opacity: 0.75;
    transition: transform 0.2s ease;
}

.site-mobile-nav-toggle[aria-expanded="true"] .site-mobile-chevron {
    transform: rotate(180deg);
}

.site-mobile-submenu {
    margin: 0.15rem 0 0.35rem 2.85rem;
    padding: 0.35rem 0.65rem;
    border-radius: 0.65rem;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-mobile-sub-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.5rem;
    border-radius: 0.45rem;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 0.875rem;
}

.site-mobile-sub-link.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.site-mobile-sub-link:hover,
.site-mobile-sub-link:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

@media (min-width: 1400px) {
    .site-mobile-menu-panel,
    .site-mobile-menu-collapse {
        display: none !important;
    }
}

@media (min-width: 1400px) and (max-width: 1599px) {
    .site-nav-link {
        padding: 0.38rem 0.4rem;
        font-size: 0.76rem;
        gap: 0.2rem;
    }
    .site-nav-icon {
        font-size: 0.75rem;
        width: 0.9rem;
    }
}

.main-header .dropdown-menu {
    position: absolute !important;
}

.ux-page-stack .page-section {
    margin-top: 0;
}

.ux-page-stack .page-section + .page-section {
    margin-top: 1.25rem;
}

.ux-page-stack > .ux-page-hero {
    width: 100%;
    align-self: stretch;
}

.page-home .ux-page-stack > .mainBannerSwiper {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: max(1rem, calc(var(--bs-gutter-x, 1.5rem) * 0.5));
    padding-right: max(1rem, calc(var(--bs-gutter-x, 1.5rem) * 0.5));
    box-sizing: border-box;
    border-radius: var(--card-radius, 18px);
    overflow: hidden;
}

.faq-section--compact {
    padding: 2rem 0 !important;
}

@media (max-width: 768px) {
    .track-order-hero {
        padding: 3rem 0 2.5rem;
    }
    .track-order-subtitle {
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
    }
    .search-container {
        padding: 1.25rem !important;
    }
    .order-search-form .form-control,
    .order-search-form .btn {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
}

.order-search-form .input-group.flex-column > .form-control {
    border-radius: 12px 12px 0 0;
}

.order-search-form .input-group.flex-column > .btn {
    border-radius: 0 0 12px 12px;
}

@media (min-width: 576px) {
    .order-search-form .input-group.flex-sm-row > .form-control {
        border-radius: 12px 0 0 12px;
    }
    .order-search-form .input-group.flex-sm-row > .btn {
        border-radius: 0 12px 12px 0;
    }
}

.ux-track-tabs .nav-link {
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-size: 0.9rem;
}

@media (hover: none) {
    .ux-games-section .game-card--thumb:hover {
        transform: none;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .sub-navbar .ux-site-container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .sub-navbar-menu .nav-link {
        padding: 0.35rem 0.45rem;
        font-size: 0.85rem;
    }
}

.ux-inner-page-panel {
    padding: 1.25rem 1.35rem;
}

.ux-inner-page-panel.text-center .ux-inner-page-title,
.ux-inner-page-panel.text-center .ux-inner-page-sub {
    text-align: center;
}

.ux-inner-page-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.35rem;
}

.ux-inner-page-sub {
    font-size: 0.92rem;
}

/* Hero judul halaman (sama Riwayat Pesanan) */
.ux-page-hero,
.order-history-hero {
    background-image: linear-gradient(135deg, rgba(var(--dark-rgb), 0.95), rgba(var(--primary-rgb), 0.92)),
        var(--hero-bg-image, url('../assets/images/hero_bg.jpg'));
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    padding: 2.25rem 1.25rem;
    border-radius: var(--card-radius, 18px);
    margin-bottom: 0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ux-page-hero::before,
.order-history-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuXzAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgcGF0dGVyblRyYW5zZm9ybT0icm90YXRlKDQ1KSI+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0icmdiYSgyNTUsIDI1NSwgMjU1LCAwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuXzApIi8+PC9zdmc+');
    z-index: 0;
    pointer-events: none;
}

.ux-page-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 0.25rem;
}

.ux-page-hero-content,
.order-history-content {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.ux-page-hero-title,
.order-history-title {
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0;
    width: 100%;
    max-width: 100%;
    background: linear-gradient(to right, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: none;
    letter-spacing: 0.02em;
    text-align: center;
    line-height: 1.25;
}

.ux-page-hero-subtitle,
.order-history-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary, rgba(255, 255, 255, 0.75));
    text-align: center;
    max-width: 100%;
    margin: 0;
    line-height: 1.55;
    text-wrap: pretty;
}

@media (max-width: 768px) {
    .ux-page-hero,
    .order-history-hero {
        padding: 1.75rem 1rem;
    }
    .ux-page-hero-title,
    .order-history-title {
        font-size: 1.3rem;
    }
}

.ux-inner-page-panel .order-search-form .form-control {
    background-color: rgba(var(--primary-rgb, 12, 45, 87), 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Tombol aksi full lebar kartu (deposit, dll.) */
.ux-card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ux-card-actions .btn {
    width: 100%;
    justify-content: center;
}

.ux-card-actions--split {
    flex-direction: row;
    flex-wrap: wrap;
}

.ux-card-actions--split .btn {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 0;
}

@media (max-width: 575.98px) {
    .ux-card-actions--split {
        flex-direction: column;
    }
    .ux-card-actions--split .btn {
        flex: 1 1 100%;
    }
}

.footer.ux-site-footer {
    padding: 10px 0;
    text-align: center;
}

body.ux-site-body {
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.ux-help-float {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0));
}

.ux-progress-steps {
    gap: 0.25rem;
}

@media (max-width: 400px) {
    .ux-progress-label {
        font-size: 0.65rem;
    }
    .ux-progress-steps::before {
        left: 8%;
        right: 8%;
    }
}

/* Halaman publik: padding konten seragam (lihat .page-container.ux-site-container di atas) */

/* ——— Audit halaman dalam: judul & legacy section-title ——— */
.page-container .section-title,
.page-container .section-heading {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    text-align: left;
    margin-bottom: 1.15rem;
    padding-bottom: 0.6rem;
    color: #fff;
    background: none;
    -webkit-text-fill-color: #fff;
}

.page-container .section-title::after,
.page-container .section-heading::after {
    left: 0;
    transform: none;
    width: 2.5rem;
    height: 3px;
    bottom: 0;
}

.page-container .page-section {
    margin-bottom: 1.25rem;
}

.page-container .page-section:last-child {
    margin-bottom: 0;
}

/* Kartu konten standar (bukan hero judul) */
.ux-page-stack .ux-content-card {
    background-image: var(--card-gradient);
    border-radius: var(--card-radius, 18px);
    border: 1px solid var(--surface-border, rgba(255, 255, 255, 0.08));
    box-shadow: var(--surface-shadow, 0 12px 28px rgba(0, 0, 0, 0.2));
    padding: 1.15rem 1.2rem;
}

.ux-page-stack .ux-content-card:hover {
    transform: none;
}

.ux-page-stack .ux-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 1rem;
    padding-bottom: 0;
    color: #fff;
    background: none;
    -webkit-text-fill-color: #fff;
    letter-spacing: 0.02em;
    text-transform: none;
}

.ux-page-stack .ux-section-title::after {
    display: none;
}

.page-container .row.justify-content-center > .col-lg-12 > .card:not(.auth-container),
.page-container .ux-legacy-page-card {
    background-image: var(--card-gradient);
    border: 1px solid var(--surface-border, rgba(255, 255, 255, 0.08));
    border-radius: var(--card-radius, 18px);
    box-shadow: var(--surface-shadow);
    overflow: hidden;
}

.page-container .row.justify-content-center > .col-lg-12 > .card > .card-header.bg-theme-theme,
.page-container .ux-legacy-page-card > .card-header {
    background: rgba(0, 0, 0, 0.2) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-container .row.justify-content-center > .col-lg-12 > .card .card-body,
.page-container .ux-legacy-page-card .card-body {
    color: rgba(255, 255, 255, 0.85);
}

.page-container .order-not-found-section {
    padding: 2rem 0 3rem;
}

.page-container .order-not-found-section .not-found-container {
    max-width: 32rem;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 1.25rem;
    background-image: var(--card-gradient);
    border-radius: var(--card-radius, 18px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Bantuan / kontak (layout baru) */
.ux-support-page .ux-support-panel {
    padding: 1.35rem 1.25rem;
}

.ux-support-page .ux-support-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.15rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.ux-support-page .ux-contact-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 1.15rem 1rem;
    margin-bottom: 0.85rem;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ux-support-page .ux-contact-block:last-child {
    margin-bottom: 0;
}

.ux-support-page .ux-contact-block-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    background: rgba(var(--accent-rgb, 21, 245, 186), 0.15);
    margin-bottom: 0.25rem;
}

.ux-support-page .ux-contact-block-icon--wa {
    background: rgba(37, 211, 102, 0.2);
    color: #25d366;
}

.ux-support-page .ux-contact-block-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.25rem;
}

.ux-support-page .ux-contact-block-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 0.65rem;
    line-height: 1.55;
    max-width: 18rem;
}

.ux-support-page .ux-topic-card {
    padding: 1.15rem 0.85rem;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
}

.ux-support-page .ux-topic-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent, #15F5BA);
    margin: 0 auto 0.65rem;
    font-size: 1.15rem;
}

.ux-support-page .ux-topic-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.35rem;
    width: 100%;
}

.ux-support-page .ux-topic-text {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.85rem;
    flex-grow: 1;
    width: 100%;
}

.ux-support-page .ux-topic-card .btn,
.ux-support-page .ux-contact-block .btn {
    min-width: 8.5rem;
}

/* Legacy support blocks (halaman lama yang masih pakai class lama) */
.page-container .support-container {
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-radius: var(--card-radius, 18px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-container .support-container::before {
    opacity: 0.35;
}

.page-container .contact-block:hover,
.page-container .topic-card:hover {
    transform: none;
}

.ux-price-page .section-title {
    margin-bottom: 1.25rem;
}

.ux-price-page .gc-info-card {
    height: 100%;
}

.deposit-hero .container,
.ux-page-hero .container,
.order-history-hero .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* ——— Isi saldo / deposit (selaras halaman lain) ——— */
.ux-deposit-page .ux-deposit-flow {
    padding: 0;
    overflow: hidden;
}

.ux-deposit-page .ux-deposit-flow:hover {
    transform: none;
}

.ux-deposit-page .ux-deposit-stepper {
    padding: 1.35rem 1.25rem 1.1rem;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.12);
}

.ux-deposit-page .ux-deposit-stepper-track {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    max-width: 28rem;
    margin: 0 auto;
    position: relative;
}

.ux-deposit-page .ux-deposit-stepper-track::before {
    content: '';
    position: absolute;
    top: 1.65rem;
    left: 18%;
    right: 18%;
    height: 2px;
    background: rgba(255, 255, 255, 0.12);
    z-index: 0;
    pointer-events: none;
}

.ux-deposit-page .ux-deposit-stepper .step-item {
    flex: 1 1 0;
    min-width: 0;
    z-index: 1;
}

.ux-deposit-page .ux-deposit-stepper .step-item::after {
    display: none;
}

.ux-deposit-page .ux-deposit-stepper .step-icon {
    width: 3.25rem;
    height: 3.25rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.15rem;
}

.ux-deposit-page .ux-deposit-stepper .step-label {
    font-size: 0.8rem;
    line-height: 1.35;
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.55);
}

.ux-deposit-page .ux-deposit-stepper .step-item.active .step-label,
.ux-deposit-page .ux-deposit-stepper .step-item.completed .step-label {
    color: inherit;
}

.ux-deposit-page .ux-deposit-flow-body {
    padding: 1.35rem 1.25rem 1.5rem;
}

.ux-deposit-page .ux-deposit-step-title {
    text-align: center;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
}

.ux-deposit-page .payment-methods-grid {
    margin-bottom: 0.25rem;
}

.ux-deposit-page .payment-methods-grid > [class*='col-'] {
    display: flex;
}

.ux-deposit-page .payment-method-item {
    display: flex;
    align-items: center;
    width: 100%;
    flex: 1 1 auto;
    min-height: 4.75rem;
    padding: 1rem 1.1rem;
}

.ux-deposit-page .payment-method-item .d-flex {
    flex-direction: row;
    align-items: center !important;
    justify-content: flex-start;
    width: 100%;
    min-height: 100%;
    text-align: left;
    gap: 0.85rem;
}

.ux-deposit-page .payment-logo,
.ux-deposit-page .payment-icon {
    margin-right: 0;
    margin-bottom: 0;
    flex-shrink: 0;
}

.ux-deposit-page .payment-logo {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ux-deposit-page .payment-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ux-deposit-page .payment-icon {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ux-deposit-page .payment-details {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ux-deposit-page .payment-name {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 0.2rem;
}

.ux-deposit-page .payment-type {
    font-size: 0.82rem;
    line-height: 1.35;
}

.ux-deposit-page .payment-method-item:hover {
    transform: translateY(-2px);
}

.ux-deposit-page .deposit-gateway-hint {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-secondary, rgba(255, 255, 255, 0.78));
    background: rgba(var(--primary-rgb, 12, 45, 87), 0.35);
    border: 1px solid var(--border-thin, rgba(255, 255, 255, 0.12));
    border-radius: 10px;
}

.ux-deposit-page .deposit-gateway-hint i {
    color: var(--accent, #21f5ba);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.ux-deposit-page .deposit-gateway-hint strong {
    font-weight: 600;
    color: var(--text-primary, #fff);
}

.ux-deposit-page .deposit-pay-breakdown {
    padding: 1rem 1.15rem;
    border-radius: 12px;
    background: rgba(var(--dark-rgb, 6, 26, 51), 0.45);
    border: 1px solid var(--border-thin, rgba(255, 255, 255, 0.12));
}

.ux-deposit-page .deposit-pay-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
}

.ux-deposit-page .deposit-pay-label {
    font-size: 0.875rem;
    color: var(--text-muted, rgba(255, 255, 255, 0.55));
}

.ux-deposit-page .deposit-pay-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary, #fff);
    text-align: right;
    white-space: nowrap;
}

.ux-deposit-page .deposit-pay-row--total {
    padding-top: 0.5rem;
}

.ux-deposit-page .deposit-pay-value--total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent, #21f5ba);
}

.ux-deposit-page .deposit-pay-divider {
    height: 1px;
    margin: 0.5rem 0;
    background: var(--border-thin, rgba(255, 255, 255, 0.12));
}

.ux-deposit-page .deposit-pay-row--credit .deposit-pay-value--credit {
    font-size: 1.05rem;
    font-weight: 700;
    color: #4ade80;
}

.ux-deposit-page #step1 .ux-card-actions {
    max-width: 22rem;
    margin-inline: auto;
}

/* Modal pembayaran QRIS (setelah konfirm deposit) */
#paymentInstructionModal .modal-dialog {
    width: min(720px, calc(100% - 1.5rem));
    max-width: 720px;
}

#paymentInstructionModal .modal-content {
    max-height: calc(100dvh - 1.5rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(165deg, rgba(14, 36, 66, 0.98), rgba(8, 22, 42, 0.98));
}

#paymentInstructionModal .modal-header,
#paymentInstructionModal .modal-footer {
    flex: 0 0 auto;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(10, 28, 52, 0.95);
}

#paymentInstructionModal .modal-header {
    padding: 1rem 1.25rem;
}

#paymentInstructionModal .modal-title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

#paymentInstructionModal .modal-title i {
    color: var(--accent, #21f5ba);
}

#paymentInstructionModal .modal-body {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1.15rem 1.25rem 1.25rem;
}

#paymentInstructionModal .deposit-pay-modal-footer {
    gap: 0.65rem;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding: 0.85rem 1.25rem;
}

.deposit-pay-modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.deposit-pay-hero {
    text-align: center;
    padding: 1rem 1.1rem 1.15rem;
    border-radius: 14px;
    background: rgba(var(--primary-rgb, 12, 45, 87), 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.deposit-pay-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.deposit-pay-badge--pending {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.35);
}

.deposit-pay-hero-label {
    margin: 0.75rem 0 0.15rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.deposit-pay-hero-total {
    margin: 0;
    font-size: clamp(1.65rem, 4vw, 2rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.deposit-pay-hero-sub {
    margin: 0.35rem 0 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.72);
}

.deposit-pay-hero-sub strong {
    color: #4ade80;
    font-weight: 700;
}

.deposit-pay-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 1rem;
    align-items: start;
}

.deposit-pay-qr-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.deposit-pay-qr-frame {
    background: #fff;
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    line-height: 0;
}

.deposit-pay-qr-frame img {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;
}

.deposit-pay-qr-hint {
    margin: 0.65rem 0 0.5rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
}

.deposit-pay-meta-col {
    padding: 1rem 1.05rem;
    border-radius: 14px;
    background: rgba(var(--dark-rgb, 6, 26, 51), 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.deposit-pay-section-title {
    margin: 0 0 0.75rem;
    padding-bottom: 0.55rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.deposit-pay-meta-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.deposit-pay-meta-list li {
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    gap: 0.65rem;
    align-items: baseline;
    font-size: 0.9rem;
    line-height: 1.45;
}

.deposit-pay-meta-label {
    color: rgba(255, 255, 255, 0.58);
}

.deposit-pay-meta-value {
    color: #fff;
    font-weight: 600;
    text-align: right;
    word-break: break-word;
}

.deposit-pay-meta-value--accent {
    color: var(--accent, #21f5ba);
    font-weight: 700;
}

.deposit-pay-meta-value--success {
    color: #4ade80;
    font-weight: 700;
}

.deposit-pay-step-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.deposit-pay-step-card {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.78);
}

.deposit-pay-step-card p {
    margin: 0;
}

.deposit-pay-step-card strong {
    color: var(--accent, #21f5ba);
    font-weight: 600;
}

.deposit-pay-step-num {
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0c1f38;
    background: var(--accent, #21f5ba);
}

.deposit-pay-footnote {
    margin: 0;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(var(--primary-rgb, 12, 45, 87), 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.deposit-pay-footnote i {
    color: var(--accent, #21f5ba);
    margin-right: 0.35rem;
}

@media (max-width: 640px) {
    #paymentInstructionModal .deposit-pay-modal-footer {
        flex-direction: column-reverse;
    }

    #paymentInstructionModal .deposit-pay-modal-footer .btn {
        width: 100%;
    }

    .deposit-pay-layout {
        grid-template-columns: 1fr;
    }

    .deposit-pay-step-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .ux-deposit-page .ux-deposit-stepper-track::before {
        left: 22%;
        right: 22%;
        top: 1.45rem;
    }

    .ux-deposit-page .ux-deposit-stepper .step-icon {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1rem;
    }

    .ux-deposit-page .ux-deposit-stepper .step-label {
        font-size: 0.72rem;
    }
}

/* legacy class names (riwayat deposit dll.) */
.ux-deposit-page .ux-deposit-steps-card,
.ux-deposit-page .ux-deposit-form-card {
    padding: 0;
    overflow: hidden;
}

.ux-deposit-page .ux-deposit-steps-card .deposit-steps {
    padding: 1.15rem 1rem 0.75rem;
    margin-bottom: 0;
}

.ux-deposit-page .ux-deposit-form-card > .card-body {
    padding: 1.35rem 1.25rem !important;
}

.ux-deposit-page .ux-deposit-form-card:hover {
    transform: none;
}

.ux-page-stack .deposit-hero-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    -webkit-text-fill-color: #fff;
    background: none;
    letter-spacing: 0;
    text-transform: none;
    text-align: center;
}

.ux-page-stack .ux-page-hero + .page-section.deposit-page {
    margin-top: 0.75rem;
}

.ux-deposit-page .deposit-steps {
    margin-bottom: 0;
}
.ux-page-stack .deposit-hero-subtitle,
.ux-page-stack .ux-page-hero-subtitle,
.ux-page-stack .order-history-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
}

.ux-page-stack .ux-legacy-terms-body {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
    font-size: 0.92rem;
}

.ux-page-stack .ux-legacy-terms-body a {
    color: #7ec2ff;
}

.ux-page-stack .ux-tutorial-video {
    max-width: 720px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}

.ux-page-stack .ux-info-table thead th {
    background: rgba(var(--primary-rgb), 0.55);
    border-color: rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
}

.ux-page-stack .invoice-header .invoice-title {
    display: none;
}

.ux-page-stack .invoice-header {
    padding-top: 0.25rem;
}

/* ——— Riwayat pesanan (/orders) ——— */
.page-orders .ux-page-hero + .ux-order-history-section,
.page-orders .ux-page-hero + .page-section {
    margin-top: 0.75rem;
}

.page-orders .ux-order-history-section .order-history-sidebar,
.page-orders .ux-order-history-section .order-history-main {
    height: auto;
}

.page-orders .order-list-container .empty-state {
    padding: 2rem 1rem;
}

.page-orders .order-list-container .empty-state h3 {
    font-size: 1.15rem;
}

.page-orders .modal-body .ux-section-title {
    text-align: left;
}

.page-orders .status-filter-item label {
    font-weight: 500;
}

.page-orders #apply-filters,
.page-orders #reset-filters {
    border-radius: 999px;
}

/* ——— Cek pesanan (/order/check_invoice) ——— */
.page-order-check_invoice .ux-page-hero + .page-section,
.ux-check-invoice-page .ux-page-hero + .page-section {
    margin-top: 0.75rem;
}

.ux-check-invoice-page .ux-check-track-card {
    padding: 1.5rem;
    width: 100%;
}

.ux-check-invoice-page .page-section {
    width: 100%;
}

.ux-check-invoice-page .ux-check-form {
    max-width: none;
}

.ux-check-invoice-page .ux-track-tabs {
    justify-content: center;
}

@media (min-width: 992px) {
    .ux-check-invoice-page .ux-check-input-group.flex-sm-row .ux-order-input {
        flex: 1 1 auto;
        min-width: 0;
    }
}

.ux-check-invoice-page .ux-order-panel-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.15rem;
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 700;
    line-height: 1.3;
}

.ux-check-invoice-page .ux-track-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(var(--primary-rgb), 0.35);
    min-height: 2.7rem;
    padding: 0.55rem 0.9rem;
    font-size: 0.9rem;
}

.ux-check-invoice-page .ux-track-tabs .nav-link.active {
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(var(--secondary-rgb, 252, 103, 54), 0.35);
}

.ux-check-invoice-page .ux-track-tab-link {
    text-decoration: none;
}

.ux-check-invoice-page .ux-check-form .form-label {
    font-size: 0.84rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.ux-check-invoice-page .ux-check-input-group {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.ux-check-invoice-page .ux-check-input-group .ux-order-input {
    border: none !important;
    box-shadow: none !important;
    height: auto;
    min-height: 3.1rem;
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
}

.ux-check-invoice-page .ux-check-input-group .ux-order-input:focus {
    box-shadow: none !important;
}

.ux-check-invoice-page .ux-check-input-group:focus-within {
    border-color: rgba(var(--accent-rgb), 0.55);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

.ux-check-invoice-page .ux-check-form .track-btn {
    height: auto;
    min-height: 3.1rem;
    min-width: 7.5rem;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}

.ux-check-invoice-page .ux-check-form .ux-order-hint {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    line-height: 1.5;
}

.ux-check-invoice-page .ux-check-info-card,
.ux-check-invoice-page .ux-check-faq-card {
    width: 100%;
}

.ux-check-invoice-page .ux-check-info-card .ux-section-title {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.95rem;
}

.ux-check-invoice-page .ux-check-info-card .ux-section-title i {
    color: var(--accent);
}

.ux-check-invoice-page .ux-check-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.ux-check-invoice-page .ux-check-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    line-height: 1.45;
}

.ux-check-invoice-page .ux-check-info-list li i {
    color: var(--accent);
    margin-top: 0.15rem;
}

.ux-check-invoice-page .faq-section .ux-section-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
}

.ux-check-invoice-page .faq-section .ux-section-title i {
    color: var(--accent);
}

.ux-check-invoice-page .ux-check-faq-card {
    padding: 0;
    overflow: hidden;
}

.ux-check-invoice-page .ux-check-faq-card .accordion-item {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
}

.ux-check-invoice-page .ux-check-faq-card .accordion-item:last-child {
    border-bottom: none;
}

.ux-check-invoice-page .ux-check-faq-card .accordion-button {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.85rem 1.1rem;
    background: transparent;
    color: #fff;
    box-shadow: none;
}

.ux-check-invoice-page .ux-check-faq-card .accordion-button:not(.collapsed) {
    background: rgba(var(--accent-rgb), 0.08);
    color: var(--accent);
}

.ux-check-invoice-page .ux-check-faq-card .accordion-body {
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
    padding: 0 1.1rem 1rem;
}

@media (min-width: 576px) {
    .ux-check-invoice-page .ux-check-input-group.flex-sm-row > .ux-order-input {
        border-radius: 0;
    }
    .ux-check-invoice-page .ux-check-input-group.flex-sm-row > .track-btn {
        border-radius: 0;
    }
}

@media (max-width: 575.98px) {
    .ux-check-invoice-page .ux-check-track-card {
        padding: 1.1rem 1rem 1.2rem;
    }

    .ux-check-invoice-page .ux-track-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem !important;
    }

    .ux-check-invoice-page .ux-track-tabs .nav-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .ux-check-invoice-page .ux-track-tabs .nav-link {
        width: 100%;
        justify-content: center;
        font-size: 0.85rem;
        padding-inline: 0.5rem;
    }

    .ux-check-invoice-page .ux-check-input-group .ux-order-input,
    .ux-check-invoice-page .ux-check-form .track-btn {
        min-height: 2.9rem;
    }

    .ux-check-invoice-page .ux-check-input-group .ux-order-input {
        font-size: 0.875rem;
    }

    .ux-check-invoice-page .ux-check-input-group.flex-column > .ux-order-input {
        display: block;
        width: 100% !important;
        flex: 0 0 100%;
        min-width: 0;
    }

    .ux-check-invoice-page .ux-check-form .track-btn {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .ux-check-invoice-page .faq-section .ux-section-title {
        display: block;
        font-size: 1rem;
        line-height: 1.4;
        padding-inline: 0.5rem;
    }

    .ux-check-invoice-page .faq-section .ux-section-title i {
        margin-right: 0.35rem;
    }
}

/* ——— Halaman order (pilih paket) ——— */
.page-order-select,
.page-order-product {
    --ux-order-panel-pad: 1.2rem 1.15rem;
}

.page-order-select .page-section.order-page,
.page-order-product .page-section.order-page {
    margin-top: 0.75rem;
    padding-bottom: 0.5rem;
}

.page-order-select .ux-page-hero + .page-section.order-page,
.page-order-product .ux-page-hero + .page-section.order-page {
    margin-top: 0.75rem;
}

.page-order-select .ux-page-hero-inner,
.page-order-product .ux-page-hero-inner {
    max-width: 56rem;
}

.page-order-select .ux-page-hero-subtitle,
.page-order-product .ux-page-hero-subtitle {
    font-size: 0.88rem;
    line-height: 1.6;
}

.page-order-select .ux-page-hero-subtitle--rich,
.page-order-product .ux-page-hero-subtitle--rich {
    max-width: 100%;
    width: 100%;
    line-height: 1.5;
    font-size: 0.92rem;
    text-align: center;
}

.page-order-select .ux-page-hero-subtitle--rich p,
.page-order-product .ux-page-hero-subtitle--rich p,
.ux-page-hero-subtitle--rich p {
    text-align: center;
    margin-bottom: 0.35rem;
}

.ux-page-hero-subtitle a,
.ux-page-hero-subtitle .ux-hero-link {
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
}

.ux-page-hero-subtitle a:hover,
.ux-page-hero-subtitle .ux-hero-link:hover {
    color: var(--secondary);
}

.ux-page-hero-subtitle a:focus-visible,
.ux-page-hero-subtitle .ux-hero-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.ux-page-hero-subtitle--rich p:last-child {
    margin-bottom: 0;
}

.page-order-select .ux-order-layout,
.page-order-product .ux-order-layout {
    align-items: flex-start;
    margin-top: 0;
}

.page-order-select .top-up-section.ux-order-panel,
.page-order-product .top-up-section.ux-order-panel {
    margin-top: 0;
    margin-bottom: 0;
    padding: var(--ux-order-panel-pad);
}

.page-order-select .top-up-section.ux-order-panel:hover,
.page-order-product .top-up-section.ux-order-panel:hover {
    transform: none;
}

.page-order-select .ux-order-panel-head,
.page-order-product .ux-order-panel-head {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.page-order-select .ux-order-panel-head i,
.page-order-product .ux-order-panel-head i {
    color: var(--accent);
    font-size: 0.95rem;
}

.page-order-select .ux-order-checkout,
.page-order-product .ux-order-checkout {
    min-width: 0;
}

@media (min-width: 992px) {
    .page-order-select .ux-order-checkout .topup-content,
    .page-order-product .ux-order-checkout .topup-content {
        max-width: none;
    }
}

.page-order-select .gems-product-grid,
.page-order-product .gems-product-grid {
    margin-bottom: 0;
}

.page-order-select .gems-product-grid > [class*="col-"],
.page-order-product .gems-product-grid > [class*="col-"] {
    display: flex;
}

.page-order-select .ux-service-card,
.page-order-product .ux-service-card {
    width: 100%;
    height: 100%;
    min-height: 9.25rem;
    background: rgba(var(--primary-rgb), 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.page-order-select .ux-service-card-icon-wrap,
.page-order-product .ux-service-card-icon-wrap {
    position: relative;
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.15rem;
    flex-shrink: 0;
}

.page-order-select .ux-service-card-game-icon,
.page-order-product .ux-service-card-game-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.page-order-select .ux-service-card-type-icon,
.page-order-product .ux-service-card-type-icon {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    color: var(--dark, #061a33);
    background: var(--accent);
    border: 2px solid rgba(var(--primary-rgb), 0.9);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.page-order-select .ux-service-card-flash,
.page-order-product .ux-service-card-flash {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #fff;
    background: #ff4d4d;
    box-shadow: 0 2px 8px rgba(255, 77, 77, 0.45);
}

.page-order-select .ux-service-card-inner,
.page-order-product .ux-service-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    height: 100%;
    padding: 0.85rem 0.65rem 0.75rem;
    gap: 0.3rem;
}

.page-order-select .ux-service-card-name,
.page-order-product .ux-service-card-name {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    width: 100%;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-order-select .ux-service-card-price,
.page-order-product .ux-service-card-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
}

.page-order-select .ux-service-card-price.gems-price.flashsale,
.page-order-product .ux-service-card-price.gems-price.flashsale {
    color: #ff7b7b;
}

.page-order-select .ux-service-card-price-old,
.page-order-product .ux-service-card-price-old {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: line-through;
}

.page-order-select .ux-service-card-badge,
.page-order-product .ux-service-card-badge {
    margin-top: auto;
    width: 100%;
    padding: 0.38rem 0.5rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.22), rgba(var(--accent-rgb), 0.08));
    border: 1px solid rgba(var(--accent-rgb), 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.page-order-select .ux-service-card-badge i,
.page-order-product .ux-service-card-badge i {
    font-size: 0.58rem;
}

.page-order-select .gems-product-card,
.page-order-product .gems-product-card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.page-order-select .gems-product-card:hover,
.page-order-product .gems-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
    border-color: rgba(var(--accent-rgb), 0.35);
}

.page-order-select .gems-product-card.active,
.page-order-product .gems-product-card.active {
    animation: none;
}

.page-order-select .gems-product-grid .gems-text-xs,
.page-order-product .gems-product-grid .gems-text-xs {
    font-size: 0.82rem;
    line-height: 1.25;
}

.page-order-select .gems-price,
.page-order-product .gems-price {
    font-size: 0.9rem;
}

/* ——— Form checkout order ——— */
.page-order-select .ux-order-form-block,
.page-order-product .ux-order-form-block {
    background: rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.05rem 1.1rem;
    margin-bottom: 0.85rem;
}

.page-order-select .ux-order-form-block--compact,
.page-order-product .ux-order-form-block--compact {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.page-order-select .ux-order-form-block-title,
.page-order-product .ux-order-form-block-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
}

.page-order-select .ux-order-form-block-title i,
.page-order-product .ux-order-form-block-title i {
    color: var(--accent);
    opacity: 0.95;
}

.page-order-select .ux-order-hint,
.page-order-product .ux-order-hint {
    margin: 0.65rem 0 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.55);
}

.page-order-select .ux-order-field-label,
.page-order-product .ux-order-field-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.92);
}

.page-order-select .ux-order-label-muted,
.page-order-product .ux-order-label-muted {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
}

.page-order-select .ux-order-notice,
.page-order-product .ux-order-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    font-size: 0.78rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-order-select .ux-order-notice--inline,
.page-order-product .ux-order-notice--inline {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.58);
}

.page-order-select .ux-order-notice--subtle,
.page-order-product .ux-order-notice--subtle {
    margin-top: 0.55rem;
    padding: 0;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.76rem;
}

.page-order-select .ux-order-notice > i,
.page-order-product .ux-order-notice > i {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: var(--accent);
    opacity: 0.9;
}

.page-order-select .ux-order-notice--inline > i,
.page-order-product .ux-order-notice--inline > i {
    margin-top: 0.1rem;
}

.page-order-select .ux-order-form-block--player,
.page-order-product .ux-order-form-block--player {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.page-order-select .ux-order-field-row,
.page-order-product .ux-order-field-row {
    margin-bottom: 0;
}

.page-order-select .ux-order-input,
.page-order-product .ux-order-input {
    min-height: 2.75rem;
    border-radius: 10px;
    background: rgba(var(--primary-rgb), 0.55) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #fff !important;
}

.page-order-select .ux-order-input::placeholder,
.page-order-product .ux-order-input::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.page-order-select .ux-order-input:focus,
.page-order-product .ux-order-input:focus {
    border-color: rgba(var(--accent-rgb), 0.65) !important;
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.18) !important;
}

/* Cek data akun — tombol & feedback */
.page-order-select .ux-player-check,
.page-order-product .ux-player-check {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    width: 100%;
}

.page-order-select .ux-player-check-btn,
.page-order-product .ux-player-check-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 2.75rem;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(var(--accent-rgb), 0.55);
    background: rgba(var(--accent-rgb), 0.12);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.25;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.page-order-select .ux-player-check-btn:hover,
.page-order-product .ux-player-check-btn:hover {
    background: rgba(var(--accent-rgb), 0.22);
    border-color: rgba(var(--accent-rgb), 0.85);
}

.page-order-select .ux-player-check-btn:active,
.page-order-product .ux-player-check-btn:active {
    transform: scale(0.99);
}

.page-order-select .ux-player-check-btn:disabled,
.page-order-product .ux-player-check-btn:disabled,
.page-order-select .ux-player-check-btn.is-loading,
.page-order-product .ux-player-check-btn.is-loading {
    opacity: 0.72;
    cursor: wait;
}

.page-order-select .ux-player-check-btn-icon,
.page-order-product .ux-player-check-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    color: var(--accent);
    font-size: 1rem;
}

.page-order-select .ux-player-check-result,
.page-order-product .ux-player-check-result {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 2.75rem;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    font-size: 0.82rem;
    line-height: 1.45;
    border: 1px solid transparent;
    box-sizing: border-box;
}

.page-order-select .ux-player-check-result-icon,
.page-order-product .ux-player-check-result-icon {
    flex-shrink: 0;
    width: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
}

.page-order-select .ux-player-check-result-text,
.page-order-product .ux-player-check-result-text {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

.page-order-select .ux-player-check-result.is-success .ux-player-check-result-icon,
.page-order-product .ux-player-check-result.is-success .ux-player-check-result-icon {
    color: #6ee7a8;
}

.page-order-select .ux-player-check-result.is-error .ux-player-check-result-icon,
.page-order-product .ux-player-check-result.is-error .ux-player-check-result-icon {
    color: #ff8a96;
}

.page-order-select .ux-player-check-result.is-warning .ux-player-check-result-icon,
.page-order-product .ux-player-check-result.is-warning .ux-player-check-result-icon {
    color: #ffd666;
}

.page-order-select .ux-player-check-result.is-success,
.page-order-product .ux-player-check-result.is-success {
    background: rgba(25, 135, 84, 0.15);
    border-color: rgba(25, 135, 84, 0.35);
    color: #b8f0cf;
}

.page-order-select .ux-player-check-result.is-error,
.page-order-product .ux-player-check-result.is-error {
    background: rgba(220, 53, 69, 0.12);
    border-color: rgba(220, 53, 69, 0.35);
    color: #ffc2c9;
}

.page-order-select .ux-player-check-result.is-warning,
.page-order-product .ux-player-check-result.is-warning {
    background: rgba(255, 193, 7, 0.12);
    border-color: rgba(255, 193, 7, 0.35);
    color: #ffe08a;
}

.page-order-select .ux-player-check-result.is-loading,
.page-order-product .ux-player-check-result.is-loading {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-order-select .ux-player-check-spinner,
.page-order-product .ux-player-check-spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: ux-player-check-spin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes ux-player-check-spin {
    to {
        transform: rotate(360deg);
    }
}

.page-order-select .ux-order-payment-option,
.page-order-product .ux-order-payment-option {
    display: block;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(var(--primary-rgb), 0.4);
    padding: 0;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-order-select .ux-order-payment-option:hover,
.page-order-product .ux-order-payment-option:hover {
    border-color: rgba(var(--accent-rgb), 0.35) !important;
}

.page-order-select .ux-order-payment-option.active,
.page-order-product .ux-order-payment-option.active {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.35);
    background: rgba(var(--accent-rgb), 0.08);
}

.page-order-select .ux-order-payment-option-body,
.page-order-product .ux-order-payment-option-body {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    min-height: 3.25rem;
    padding: 0.75rem 0.85rem;
    cursor: pointer;
    margin: 0;
    box-sizing: border-box;
}

.page-order-select .ux-order-payment-icon,
.page-order-product .ux-order-payment-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(var(--accent-rgb), 0.12);
    color: var(--accent);
    font-size: 1.1rem;
}

.page-order-select .ux-order-payment-thumb,
.page-order-product .ux-order-payment-thumb {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.2rem;
}

.page-order-select .ux-order-payment-text,
.page-order-product .ux-order-payment-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    flex: 1;
    text-align: left;
}

.page-order-select .ux-order-checkout .payment-name,
.page-order-product .ux-order-checkout .payment-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
}

.page-order-select .ux-order-checkout .payment-amount,
.page-order-product .ux-order-checkout .payment-amount {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--secondary);
    margin-top: 0;
}

.page-order-select .ux-order-checkout .balance-available,
.page-order-product .ux-order-checkout .balance-available {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.35;
}

.page-order-select .ux-order-payment-check,
.page-order-product .ux-order-payment-check {
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    margin-left: auto;
    flex-shrink: 0;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-order-select .ux-order-payment-option.active .ux-order-payment-check,
.page-order-product .ux-order-payment-option.active .ux-order-payment-check {
    border-color: var(--accent);
    box-shadow: inset 0 0 0 3px var(--accent);
}

.page-order-select .ux-order-checkout .payment-radio,
.page-order-product .ux-order-checkout .payment-radio {
    position: static;
    transform: none;
}

.page-order-select .ux-order-payment-accordion .accordion-button,
.page-order-product .ux-order-payment-accordion .accordion-button {
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.65rem 0.85rem;
    border-radius: 12px !important;
}

.page-order-select .ux-order-payment-accordion .accordion-item,
.page-order-product .ux-order-payment-accordion .accordion-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(var(--primary-rgb), 0.35);
}

.page-order-select .ux-order-checkout .form-label,
.page-order-product .ux-order-checkout .form-label {
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.84rem;
}

.page-order-select .ux-order-checkout .payment-method,
.page-order-product .ux-order-checkout .payment-method {
    border-radius: 12px !important;
    padding: 0;
    gap: 0;
}

.page-order-select .ux-order-checkout .accordion-item,
.page-order-product .ux-order-checkout .accordion-item {
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.page-order-select .ux-order-checkout-actions,
.page-order-product .ux-order-checkout-actions {
    margin-top: 0.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 992px) {
    .page-order-select .ux-order-checkout,
    .page-order-product .ux-order-checkout {
        position: sticky;
        top: 5.25rem;
    }
}

@media (max-width: 991.98px) {
    .page-order-select .ux-order-checkout,
    .page-order-product .ux-order-checkout {
        margin-top: 0.75rem;
    }
}

.ux-games-section .ux-nav-search {
    max-width: 100%;
}

.home-seo-body h1,
.home-seo-body h2,
.home-seo-body h3 {
    color: #fff;
}

.home-seo-body p,
.home-seo-body li {
    font-size: 0.85rem;
    line-height: 1.8;
    text-align: justify;
    color: rgba(255, 255, 255, 0.65);
}

.ux-games-section #gameGrid {
    --bs-gutter-x: 0.75rem;
}

@media (min-width: 992px) {
    .ux-games-section #gameGrid .game-card-col {
        flex: 0 0 auto;
        width: 25%;
        max-width: 25%;
    }
}

@media (max-width: 768px) {
    .hero-section,
    .deposit-hero,
    .ux-page-hero,
    .order-history-hero,
    .faq-hero {
        padding: 1.75rem 1rem;
    }
}

/* Order confirmation: keep the decision buttons visible while details scroll. */
#orderModal .modal-dialog {
    width: min(680px, calc(100% - 1.5rem));
    max-width: 680px;
    margin: 0.75rem auto;
}

#orderModal .modal-content {
    max-height: calc(100vh - 1.5rem);
    max-height: calc(100dvh - 1.5rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 18px;
}

#orderModal .modal-header,
#orderModal .modal-footer {
    flex: 0 0 auto;
    background: rgba(12, 31, 56, 0.92);
    position: relative;
    z-index: 1;
}

#orderModal .modal-header {
    padding: 1rem 1.25rem;
    padding-right: 4rem;
}

#orderModal .modal-title {
    font-size: 1.15rem;
    line-height: 1.35;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

#orderModal .modal-title i {
    color: var(--accent);
}

#orderModal .modal-close {
    top: 0.65rem;
    right: 0.75rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
}

#orderModal .modal-close:focus-visible,
#orderModal .modal-footer .btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

#orderModal .modal-body {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1.1rem 1.25rem;
}

#orderModal .order-detail {
    padding: 1rem 1.1rem;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

#orderModal .order-detail-heading {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 0.8rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

#orderModal .order-detail-heading i {
    width: 1.1rem;
    color: var(--accent);
    text-align: center;
}

#orderModal .order-detail-item {
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    gap: 0.75rem;
    align-items: start;
    margin-bottom: 0.55rem;
    font-size: 0.91rem;
    line-height: 1.4;
}

#orderModal .order-detail-label {
    color: rgba(255, 255, 255, 0.7);
}

#orderModal .order-detail-value {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #fff;
}

#orderModal .order-detail-discount,
#orderModal .order-detail-saving {
    color: #6ee7b7;
}

#orderModal .order-total {
    align-items: baseline;
    gap: 0.75rem;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
}

#orderModal .order-total-value {
    overflow-wrap: anywhere;
    text-align: right;
}

#orderModal .payment-instruction,
#orderModal .payment-note,
#orderModal .order-confirm-warning {
    margin-top: 0.7rem;
    padding: 0.75rem 0.9rem;
    font-size: 0.85rem;
    line-height: 1.5;
}

#orderModal .payment-instruction-title {
    margin-bottom: 0.2rem;
}

#orderModal .order-confirm-warning {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    border-left: 4px solid #fbbf24;
    border-radius: 8px;
    background: rgba(251, 191, 36, 0.1);
    color: #fde68a;
}

#orderModal .modal-footer {
    display: flex;
    gap: 0.65rem;
    padding: 0.85rem 1.25rem;
}

#orderModal .modal-footer .btn {
    margin: 0;
    min-height: 2.75rem;
    padding: 0.55rem 1rem;
    font-weight: 700;
}

#orderModal .modal-footer #confirmOrder {
    min-width: 10.5rem;
}

/* Invoice hierarchy, copy controls, and payment instructions. */
.ux-invoice-page .ux-page-hero + .page-section {
    margin-top: 0.8rem;
}

.ux-invoice-page .invoice-container {
    width: 100%;
    padding: clamp(1rem, 3vw, 2rem);
    margin-bottom: 2rem;
}

.ux-invoice-page .invoice-header {
    margin-bottom: 1.1rem;
}

.ux-invoice-page .invoice-subtitle {
    margin-bottom: 0.45rem;
    font-size: 0.95rem;
}

.ux-invoice-page .countdown-timer {
    padding: 0.4rem 0.85rem;
    font-size: clamp(1.2rem, 3vw, 1.7rem);
    line-height: 1.25;
    color: #ff936f;
    font-variant-numeric: tabular-nums;
}

.ux-invoice-page .invoice-status {
    min-height: 3.25rem;
    margin-bottom: 1rem;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-transform: none;
}

.ux-invoice-page .ux-invoice-tip {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    color: #063849;
    background: #cff3fb;
    border: 1px solid #8ad8e8;
}

.ux-invoice-page .ux-invoice-tip-icon {
    flex: 0 0 auto;
    color: #08758a;
}

.ux-invoice-page .ux-invoice-tip-content {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.86rem;
    line-height: 1.45;
}

.ux-invoice-page .ux-invoice-tip-content code {
    color: #073b55;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.ux-invoice-page .ux-invoice-tip-content a {
    color: #0755a0;
    text-decoration: underline;
}

.ux-invoice-page .ux-invoice-copy-btn {
    flex: 0 0 auto;
    min-height: 2.5rem;
    color: #fff;
    background: #075b79;
    border: 1px solid #075b79;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.ux-invoice-page .ux-invoice-copy-btn:hover,
.ux-invoice-page .ux-invoice-copy-btn:focus-visible {
    color: #fff;
    background: #06455c;
    border-color: #06455c;
}

.ux-invoice-page .va-copy-btn.copied {
    color: #fff;
    background: #087f62;
    border-color: #087f62;
}

.ux-invoice-page .ux-copy-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    min-width: 2rem;
    height: 2rem;
    min-height: 2rem;
    margin-left: 0.25rem;
    padding: 0;
    border-radius: 8px;
    vertical-align: middle;
}

.ux-invoice-page .ux-copy-icon-btn i {
    padding: 0;
    background: none;
}

.ux-invoice-page .ux-progress-steps {
    max-width: 800px;
    margin: 0.65rem auto 0.75rem;
}

.ux-invoice-page .invoice-section {
    margin-bottom: 1rem;
    padding: clamp(1rem, 2.4vw, 1.5rem);
}

.ux-invoice-page .invoice-status-list {
    margin: 0;
}

.ux-invoice-page .invoice-status-head,
.ux-invoice-page .invoice-status-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
}

.ux-invoice-page .invoice-status-head {
    margin-bottom: 0.45rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.ux-invoice-page .invoice-status-row {
    min-height: 2.25rem;
    padding: 0.25rem 0;
    color: #fff;
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

.ux-invoice-page .invoice-status-row + .invoice-status-row {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ux-invoice-page .section-heading {
    margin-bottom: 1rem;
    padding-bottom: 0.7rem;
    font-size: 1.15rem;
    text-align: left !important;
}

.ux-invoice-page .section-heading::after {
    width: 3rem;
}

.ux-invoice-page .section-heading i {
    margin-right: 0.4rem;
    color: var(--accent);
    font-size: 0.95em;
}

.ux-invoice-page .order-info-item {
    margin-bottom: 0.9rem;
}

.ux-invoice-page .order-info-item .value {
    font-size: 0.98rem;
    overflow-wrap: anywhere;
}

.ux-invoice-page .product-table {
    margin-bottom: 0;
}

.ux-invoice-page .table-row {
    padding: 0.85rem 1rem;
}

.ux-invoice-page .product-price {
    overflow-wrap: anywhere;
}

@media (min-width: 768px) {
    .ux-invoice-page .product-price {
        text-align: right;
    }
}

.ux-invoice-page .payment-method-info {
    gap: 1.5rem;
    align-items: flex-start;
}

.ux-invoice-page .qrcode-container {
    flex-basis: auto;
    width: min(100%, 210px);
    max-width: 100%;
    margin-inline: auto;
}

.ux-invoice-page .qrcode-frame {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 0.55rem;
    padding: 0.65rem;
    border-radius: 12px;
}

.ux-invoice-page .qrcode-frame img {
    display: block;
    width: 10rem;
    height: 10rem;
    object-fit: contain;
}

.ux-invoice-page .qrcode-caption {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.4;
}

.ux-invoice-page .payment-steps {
    min-width: 0;
}

.ux-invoice-page .step-item {
    margin-bottom: 0.9rem;
}

.ux-invoice-page .steps-title {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.4;
}

.ux-invoice-page .step-number {
    width: 1.75rem;
    height: 1.75rem;
    margin-right: 0.75rem;
    font-size: 0.85rem;
}

.ux-invoice-page .step-heading {
    margin-bottom: 0.15rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.ux-invoice-page .step-description {
    font-size: 0.82rem;
    line-height: 1.5;
}

.ux-invoice-page .invoice-footer {
    margin-top: 1rem;
}

.ux-invoice-page .invoice-footer .payment-note,
.ux-invoice-page .invoice-footer .help-section {
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .ux-invoice-page #qris .payment-method-info {
        display: grid;
        grid-template-columns: minmax(170px, 210px) minmax(0, 1fr);
    }
}

@media (max-width: 575.98px) {
    #orderModal .modal-dialog {
        width: calc(100% - 1rem);
        margin: 0.5rem auto;
    }

    #orderModal .modal-content {
        max-height: calc(100vh - 1rem);
        max-height: calc(100dvh - 1rem);
    }

    #orderModal .modal-header,
    #orderModal .modal-body,
    #orderModal .modal-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #orderModal .modal-header {
        padding-right: 3.5rem;
    }

    #orderModal .order-detail {
        padding: 0.85rem;
    }

    #orderModal .order-detail-item {
        grid-template-columns: minmax(0, 40%) minmax(0, 60%);
        gap: 0.4rem;
        font-size: 0.83rem;
    }

    #orderModal .modal-footer .btn {
        flex: 1 1 0;
        min-width: 0 !important;
        padding-inline: 0.45rem;
        font-size: 0.82rem;
    }

    .ux-invoice-page .ux-invoice-tip {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .ux-invoice-page .ux-invoice-tip-content {
        flex-basis: calc(100% - 2.3rem);
    }

    .ux-invoice-page .ux-invoice-copy-btn {
        width: 100%;
    }

    .ux-invoice-page .payment-method-info {
        gap: 0.75rem;
    }

    .ux-invoice-page .qrcode-container {
        flex-basis: auto;
        margin-bottom: 0.5rem;
    }

    .ux-invoice-page #qris .payment-steps {
        margin-top: 0;
    }

    .ux-invoice-page .table-header {
        display: none;
    }

    .ux-invoice-page .table-row .row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 0.55rem;
    }

    .ux-invoice-page .table-row .row > div {
        width: auto;
        margin: 0;
    }

    .ux-invoice-page .table-row .row > div:first-child {
        grid-column: 1 / -1;
    }

    .ux-invoice-page .product-quantity::before,
    .ux-invoice-page .product-price::before {
        display: block;
        margin-bottom: 0.2rem;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.72rem;
        font-weight: 500;
    }

    .ux-invoice-page .product-quantity::before {
        content: "Jumlah";
    }

    .ux-invoice-page .product-quantity,
    .ux-invoice-page .product-price {
        min-width: 0;
        margin-left: 0;
    }

    .ux-invoice-page .product-quantity {
        text-align: left;
    }

    .ux-invoice-page .product-price {
        text-align: right;
    }

    .ux-invoice-page .product-price::before {
        content: "Harga";
    }

    .ux-invoice-page .table-footer .row {
        display: flex;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .ux-invoice-page .table-footer .row > div {
        width: auto;
        text-align: right;
    }
}

@media (max-width: 359.98px) {
    #orderModal .modal-footer {
        flex-direction: column;
    }

    #orderModal .modal-footer .btn {
        width: 100%;
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

