button.btp-switch {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
}

.data-time-info {
    display: flex;
    align-items: center;
    align-content: center;
    gap: 10px;
}

.text-xs {
    margin: 5px 0 25px 0;
    /* margin: auto;
    padding-top: 10px; */
    /* margin: 0; */
}


ul.space-y-5.text-slate-500.text-sm.font-medium,
ul.space-y-6.text-slate-500.text-sm.font-medium {
    margin-top: 25px;
}

p#btn-submit-balance-hint {
    padding-top: 10px;
}

.chonnhanhcacngay {
    margin: 10px 0;
}

.leading-none {
    line-height: 1.2;
}

@media (max-width: 768px) {
    .leading-none {
        font-size: 45px;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-fade-up {
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-400 {
    animation-delay: 400ms;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(6, 182, 212, 0.8);
    }
}

.animate-pulse-glow {
    animation: pulse-glow 3s infinite;
}

@keyframes loginColorFlow {
    0% {
        color: #22d3ee;
    }

    25% {
        color: #60a5fa;
    }

    50% {
        color: #a78bfa;
    }

    75% {
        color: #34d399;
    }

    100% {
        color: #22d3ee;
    }
}

.header-login-loading {
    animation: loginColorFlow 1.6s linear infinite;
}

.header-login-loading i {
    animation: spin 0.9s linear infinite, loginColorFlow 1.6s linear infinite;
}

.glass-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(51, 65, 85, 0.5);
}

.text-glow {
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

/* Trang chủ — hero: aurora blob + lưới + vignette (chủ đề cloud, transform-only) */
@keyframes home-hero-drift-cyan {

    0%,
    100% {
        transform: translate(-50%, -50%) translate(0, 0) scale(1);
    }

    40% {
        transform: translate(-50%, -50%) translate(36px, -28px) scale(1.06);
    }

    70% {
        transform: translate(-50%, -50%) translate(-22px, 20px) scale(0.96);
    }
}

@keyframes home-hero-drift-emerald {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-30px, 24px) scale(1.12);
    }
}

@keyframes home-hero-drift-violet {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    45% {
        transform: translate(24px, -32px) scale(1.08);
    }
}

#view-home .home-hero {
    isolation: isolate;
}

#view-home .home-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

#view-home .home-hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.38;
    will-change: transform;
}

#view-home .home-hero-bg-orb--cyan {
    width: min(920px, 140vw);
    height: min(920px, 140vw);
    top: 42%;
    left: 50%;
    background: radial-gradient(circle at 35% 40%, rgba(34, 211, 238, 0.55), rgba(6, 182, 212, 0.12) 55%, transparent 70%);
    animation: home-hero-drift-cyan 22s ease-in-out infinite;
}

#view-home .home-hero-bg-orb--emerald {
    width: min(420px, 70vw);
    height: min(420px, 70vw);
    top: 8%;
    right: -8%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.4), transparent 68%);
    animation: home-hero-drift-emerald 28s ease-in-out infinite;
    animation-delay: -4s;
    opacity: 0.28;
}

#view-home .home-hero-bg-orb--violet {
    width: min(480px, 75vw);
    height: min(480px, 75vw);
    bottom: -5%;
    left: -10%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.38), transparent 65%);
    animation: home-hero-drift-violet 26s ease-in-out infinite;
    animation-delay: -9s;
    opacity: 0.26;
}

#view-home .home-hero-bg-grid {
    position: absolute;
    inset: -15%;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 72% 65% at 50% 44%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 72% 65% at 50% 44%, #000 0%, transparent 70%);
    opacity: 0.85;
}

#view-home .home-hero-bg-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 88% 75% at 50% 40%, transparent 0%, rgba(2, 6, 23, 0.55) 72%, rgba(2, 6, 23, 0.92) 100%);
}

@keyframes home-hero-cursor-blink {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

#view-home .home-hero-typewriter-cursor {
    display: inline-block;
    width: 0.075em;
    min-height: 0.72em;
    margin-left: 0.1em;
    align-self: flex-end;
    margin-bottom: 0.14em;
    background: linear-gradient(180deg, #22d3ee, #34d399);
    border-radius: 2px;
    box-shadow: 0 0 14px rgba(34, 211, 238, 0.4);
    animation: home-hero-cursor-blink 1s step-end infinite;
}

/* ========== VPS top bar (standalone, khớp phong cách slate-950 + cyan) ========== */
.vps-main-offset {
    padding-top: 72px;
}

.vps-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: 72px;
    background: rgba(7, 11, 20, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
}

.vps-header__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.vps-header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    min-width: 0;
    padding: 4px 6px 4px 0;
    margin: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    color: #fff;
    border-radius: 10px;
    flex: 0 0 auto;
    min-width: 0;
    z-index: 110;
    position: relative;
}

.vps-header__logo:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.35);
}

.vps-header__logo--dimmed {
    opacity: 0;
    pointer-events: none;
}

.vps-header__logo-ring {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    /* background: linear-gradient(135deg, #06b6d4, #2563eb); */
    padding: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: box-shadow 0.25s ease;
}

.vps-header__logo:hover .vps-header__logo-ring {
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.45);
}

.vps-header__logo-bubble {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #070b14;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vps-header__logo-svg {
    width: 16px;
    height: 16px;
    color: #22d3ee;
    transition: transform 0.45s ease;
}

.vps-header__logo:hover .vps-header__logo-svg {
    transform: rotate(90deg);
}

.vps-header__logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #f8fafc;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.vps-header__logo:hover .vps-header__logo-text {
    color: #22d3ee;
}

.vps-header__nav {
    flex: 1;
    display: none;
    justify-content: center;
    align-items: center;
    min-width: 0;
}


@media (min-width: 1024px) {
    .vps-header__nav {
        display: flex;
    }
}

.vps-header__dock {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.03);
    /* border: 1px solid rgba(255, 255, 255, 0.06); */
    border-radius: 999px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    max-width: min(100%, 56rem);
}

.vps-header__tab {
    position: relative;
    padding: 8px 14px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.vps-header__tab:hover {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.06);
}

.vps-header__tab.active {
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.1);
}

.vps-header__tab::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #22d3ee;
    box-shadow: 0 0 8px #22d3ee;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.vps-header__tab:hover::after,
.vps-header__tab.active::after {
    transform: translateX(-50%) scale(1);
}

.vps-header__auth {
    display: none;
    flex-shrink: 0;
    justify-content: flex-end;
    align-items: center;
    min-width: 0;
    width: auto;
    max-width: min(380px, 42vw);
}

.vps-header-auth-cluster {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex-shrink: 1;
}

.vps-header__deposit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
    height: 38px;
    padding: 0 13px;
    border: none;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 800;
    font-family: inherit;
    letter-spacing: 0.03em;
    color: #020617;
    background: linear-gradient(135deg, #22d3ee, #06b6d4);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.28);
}

.vps-header__deposit:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 4px 22px rgba(34, 211, 238, 0.38);
}

.vps-header__deposit:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 1), 0 0 0 4px rgba(34, 211, 238, 0.55);
}

.vps-header__deposit-icon {
    flex-shrink: 0;
    opacity: 0.95;
}

.vps-mnav-auth-cluster {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.vps-header__deposit--mnav {
    align-self: stretch;
    min-height: 60px;
    height: auto;
    padding: 0 14px;
    border-radius: 14px;
    font-size: 0.875rem;
}

.vps-header__deposit--mnav .vps-header__deposit-icon {
    width: 18px;
    height: 18px;
}

@media (min-width: 1024px) {
    .vps-header__auth {
        display: flex;
    }
}

.vps-header__toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 -6px 0 0;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.2s ease, background 0.2s ease;
    z-index: 110;
}

@media (min-width: 1024px) {
    .vps-header__toggle {
        display: none;
    }
}

.vps-header__toggle:hover {
    color: #22d3ee;
    background: rgba(255, 255, 255, 0.05);
}

.vps-header__toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.35);
}

.vps-header__toggle-svg {
    position: absolute;
    inset: 0;
    margin: auto;
    display: block;
}

.vps-header__toggle-svg--hidden {
    display: none !important;
}

.vps-header__login {
    position: relative;
    padding: 8px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: #f8fafc;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.vps-header__login::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.12), transparent);
    transition: left 0.45s ease;
}

.vps-header__login:hover {
    border-color: rgba(34, 211, 238, 0.45);
    color: #22d3ee;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.12);
}

.vps-header__login:hover::before {
    left: 100%;
}

.vps-header__login-chevron {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.vps-header__login:hover .vps-header__login-chevron {
    transform: translateX(3px);
}

.vps-header__login--loading {
    opacity: 0.85;
    cursor: wait;
    pointer-events: none;
}

.vps-header-user {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    padding: 5px 14px 5px 5px;
    border-radius: 14px;
    /* border: 1px solid rgba(51, 65, 85, 0.5); */
    background: rgba(15, 23, 42, 0.92);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

/* Ánh nến / thở sáng theo hạng — lớp phủ phía sau nội dung */
.vps-header-user[class*="vps-header-tier--"]::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
    animation: vps-header-user-tier-candle 3.05s ease-in-out infinite;
}

.vps-header-user.vps-header-tier--lv0::before {
    background:
        radial-gradient(ellipse 105% 130% at 12% 48%, rgba(148, 163, 184, 0.55) 0%, transparent 52%),
        radial-gradient(ellipse 80% 100% at 92% 50%, rgba(100, 116, 139, 0.12) 0%, transparent 42%);
    animation-duration: 3.35s;
}

.vps-header-user.vps-header-tier--lv1::before {
    background:
        radial-gradient(ellipse 105% 130% at 12% 48%, rgba(226, 232, 240, 0.5) 0%, transparent 52%),
        radial-gradient(ellipse 80% 100% at 92% 50%, rgba(203, 213, 225, 0.14) 0%, transparent 42%);
    animation-duration: 2.95s;
}

.vps-header-user.vps-header-tier--lv2::before {
    background:
        radial-gradient(ellipse 110% 135% at 11% 46%, rgba(253, 224, 71, 0.52) 0%, transparent 50%),
        radial-gradient(ellipse 75% 95% at 90% 52%, rgba(250, 204, 21, 0.18) 0%, transparent 44%);
    animation-duration: 2.75s;
}

.vps-header-user.vps-header-tier--lv3::before {
    background:
        radial-gradient(ellipse 110% 135% at 11% 48%, rgba(103, 232, 249, 0.48) 0%, transparent 50%),
        radial-gradient(ellipse 75% 95% at 90% 50%, rgba(34, 211, 238, 0.16) 0%, transparent 44%);
    animation-duration: 3.15s;
}

.vps-header-user.vps-header-tier--lv4::before {
    background:
        radial-gradient(ellipse 115% 140% at 10% 47%, rgba(147, 197, 253, 0.52) 0%, transparent 50%),
        radial-gradient(ellipse 78% 100% at 88% 51%, rgba(96, 165, 250, 0.2) 0%, transparent 44%);
    animation-duration: 2.85s;
}

.vps-header-user.vps-header-tier--lv5::before {
    background:
        radial-gradient(ellipse 115% 140% at 10% 48%, rgba(216, 180, 254, 0.55) 0%, transparent 50%),
        radial-gradient(ellipse 78% 100% at 88% 50%, rgba(192, 132, 252, 0.22) 0%, transparent 44%);
    animation-duration: 3.25s;
}

@keyframes vps-header-user-tier-candle {
    0%,
    100% {
        opacity: 0.36;
    }

    11% {
        opacity: 0.55;
    }

    24% {
        opacity: 0.32;
    }

    38% {
        opacity: 0.64;
    }

    51% {
        opacity: 0.4;
    }

    64% {
        opacity: 0.6;
    }

    79% {
        opacity: 0.34;
    }

    91% {
        opacity: 0.56;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vps-header-user[class*="vps-header-tier--"]::before,
    .vps-mnav-user__content[class*="vps-header-tier--"]::before {
        animation: none;
        opacity: 0.48;
    }
}

.vps-header-user:not(.vps-header-user--ready) {
    justify-content: center;
    min-width: 5.5rem;
    padding-left: 14px;
    padding-right: 14px;
}

.vps-header-user:hover {
    border-color: rgba(34, 211, 238, 0.35);
    background: rgba(30, 41, 59, 0.75);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.06);
}

.vps-header-user.vps-header-tier--lv0:hover {
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.12), 0 0 18px rgba(148, 163, 184, 0.08);
}

.vps-header-user.vps-header-tier--lv1:hover {
    box-shadow: 0 0 0 1px rgba(212, 212, 216, 0.14), 0 0 18px rgba(212, 212, 216, 0.09);
}

.vps-header-user.vps-header-tier--lv2:hover {
    box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.16), 0 0 22px rgba(250, 204, 21, 0.12);
}

.vps-header-user.vps-header-tier--lv3:hover {
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.14), 0 0 22px rgba(34, 211, 238, 0.1);
}

.vps-header-user.vps-header-tier--lv4:hover {
    box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.16), 0 0 24px rgba(96, 165, 250, 0.12);
}

.vps-header-user.vps-header-tier--lv5:hover {
    box-shadow: 0 0 0 1px rgba(192, 132, 252, 0.18), 0 0 26px rgba(192, 132, 252, 0.14);
}

.vps-header-user__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, #22d3ee, #3b82f6);
    color: #020617;
    font-weight: 800;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vps-header-user__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Viền / glow avatar header theo hạng thành viên (khớp palette getMemberTierVisual — m02) */
.vps-header-user__avatar,
.vps-mnav-user__avatar {
    transition: box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1), background 0.45s ease;
}

.vps-header-user__avatar.vps-header-tier--lv0,
.vps-mnav-user__avatar.vps-header-tier--lv0 {
    box-shadow:
        0 0 0 2px rgba(148, 163, 184, 0.82),
        0 0 12px rgba(148, 163, 184, 0.28);
}

.vps-header-user__avatar.vps-header-tier--lv1,
.vps-mnav-user__avatar.vps-header-tier--lv1 {
    box-shadow:
        0 0 0 2px rgba(212, 212, 216, 0.88),
        0 0 14px rgba(212, 212, 216, 0.32);
}

.vps-header-user__avatar.vps-header-tier--lv2,
.vps-mnav-user__avatar.vps-header-tier--lv2 {
    box-shadow:
        0 0 0 2px rgba(250, 204, 21, 0.92),
        0 0 16px rgba(250, 204, 21, 0.42),
        0 0 28px rgba(250, 204, 21, 0.18);
}

.vps-header-user__avatar.vps-header-tier--lv3,
.vps-mnav-user__avatar.vps-header-tier--lv3 {
    box-shadow:
        0 0 0 2px rgba(34, 211, 238, 0.88),
        0 0 16px rgba(34, 211, 238, 0.38),
        0 0 30px rgba(34, 211, 238, 0.16);
}

.vps-header-user__avatar.vps-header-tier--lv4,
.vps-mnav-user__avatar.vps-header-tier--lv4 {
    box-shadow:
        0 0 0 2px rgba(96, 165, 250, 0.92),
        0 0 18px rgba(96, 165, 250, 0.42),
        0 0 34px rgba(96, 165, 250, 0.22);
}

.vps-header-user__avatar.vps-header-tier--lv5,
.vps-mnav-user__avatar.vps-header-tier--lv5 {
    box-shadow:
        0 0 0 2px rgba(192, 132, 252, 0.95),
        0 0 20px rgba(192, 132, 252, 0.48),
        0 0 40px rgba(192, 132, 252, 0.26);
}

.vps-header-user__meta {
    min-width: 0;
    padding-right: 2px;
    text-align: left;
    line-height: 1.25;
}

.vps-header-user__name {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.vps-header-user__email {
    margin: 0;
    font-size: 10px;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 11rem;
    cursor: default;
}

.vps-header-user__balance {
    margin: 0.15rem 0 0;
    font-size: 0.75rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #22d3ee;
}

.vps-header-user__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.vps-header-user__loading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    min-height: 38px;
    padding: 2px 4px;
}

.vps-header-user__content {
    position: relative;
    z-index: 1;
    display: none;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.vps-header-user--ready .vps-header-user__loading {
    display: none !important;
}

.vps-header-user--ready .vps-header-user__content {
    display: flex;
    animation: vps-header-user-reveal 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes vps-header-user-reveal {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

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

.vps-header-user__spinner-ring {
    width: 1.375rem;
    height: 1.375rem;
    border: 2.5px solid rgba(34, 211, 238, 0.18);
    border-top-color: #22d3ee;
    border-radius: 50%;
    animation: vps-header-user-spin 0.75s linear infinite;
    flex-shrink: 0;
    box-shadow: 0 0 14px rgba(34, 211, 238, 0.2);
}

@keyframes vps-header-user-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========== Mobile full-screen nav ========== */
.vps-mnav {
    position: fixed;
    inset: 0;
    z-index: 105;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: rgba(7, 11, 20, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.vps-mnav.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.vps-mnav__glow {
    position: absolute;
    width: 40vmin;
    height: 40vmin;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.vps-mnav__glow--tr {
    top: -10%;
    right: -10%;
    background: rgba(6, 182, 212, 0.14);
}

.vps-mnav__glow--bl {
    bottom: -10%;
    left: -10%;
    background: rgba(59, 130, 246, 0.12);
}

.vps-mnav__body {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1.75rem 2rem;
}

@media (min-width: 640px) {
    .vps-mnav__body {
        padding: 0 3rem 2.5rem;
    }
}

.vps-mnav__links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.vps-mnav__footer {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vps-mnav__row {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.vps-mnav.active .vps-mnav__row {
    opacity: 1;
    transform: translateY(0);
}

.vps-mnav__link {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    border-radius: 0;
    font-family: inherit;
    font-weight: 900;
    font-size: clamp(2rem, 9vw, 3.75rem);
    letter-spacing: -0.05em;
    line-height: 1.05;
    text-align: left;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s ease;
}

.vps-mnav__link:hover {
    color: #22d3ee;
}

.vps-mnav__link--active {
    color: #f8fafc;
}

.vps-mnav__login {
    position: relative;
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(34, 211, 238, 0.3);
    background: rgba(255, 255, 255, 0.04);
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.vps-mnav__login:hover {
    border-color: #22d3ee;
}

.vps-mnav__login-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(34, 211, 238, 0.1), rgba(59, 130, 246, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.vps-mnav__login:hover .vps-mnav__login-bg {
    opacity: 1;
}

.vps-mnav__login-label {
    position: relative;
    z-index: 1;
    font-size: 1.25rem;
    font-weight: 700;
    color: #22d3ee;
    transition: color 0.2s ease;
}

.vps-mnav__login:hover .vps-mnav__login-label {
    color: #67e8f9;
}

.vps-mnav__login--loading {
    opacity: 0.85;
    cursor: wait;
    pointer-events: none;
}

.vps-mnav-user {
    display: flex;
    align-items: center;
    gap: 10px;
    /* padding: 6px; */
    border-radius: 16px;
    border: 1px solid rgba(51, 65, 85, 0.5);
    background: rgba(15, 23, 42, 0.55);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.vps-mnav-user:not(.vps-mnav-user--ready) {
    justify-content: center;
    min-width: 6.5rem;
}

.vps-mnav-user:hover {
    border-color: rgba(34, 211, 238, 0.35);
    background: rgba(30, 41, 59, 0.75);
}

.vps-mnav-user__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, #22d3ee, #3b82f6);
    color: #020617;
    font-weight: 800;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vps-mnav-user__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vps-mnav-user__meta {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.vps-mnav-user__name {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vps-mnav-user__email {
    margin: 0;
    font-size: 0.875rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 11rem;
    cursor: default;
}

.vps-mnav-user__balance {
    margin: 0.15rem 0 0;
    font-size: 0.9375rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #22d3ee;
}

.vps-mnav-user__loading {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 48px;
    padding: 4px 8px;
}

.vps-mnav-user__content {
    display: none;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

/* Ánh nến nền mobile nav user (cùng palette / keyframes với .vps-header-user) */
.vps-mnav-user__content[class*="vps-header-tier--"] {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.vps-mnav-user__content[class*="vps-header-tier--"]::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
    animation: vps-header-user-tier-candle 3.05s ease-in-out infinite;
}

.vps-mnav-user__content.vps-header-tier--lv0::before {
    background:
        radial-gradient(ellipse 105% 130% at 12% 48%, rgba(148, 163, 184, 0.55) 0%, transparent 52%),
        radial-gradient(ellipse 80% 100% at 92% 50%, rgba(100, 116, 139, 0.12) 0%, transparent 42%);
    animation-duration: 3.35s;
}

.vps-mnav-user__content.vps-header-tier--lv1::before {
    background:
        radial-gradient(ellipse 105% 130% at 12% 48%, rgba(226, 232, 240, 0.5) 0%, transparent 52%),
        radial-gradient(ellipse 80% 100% at 92% 50%, rgba(203, 213, 225, 0.14) 0%, transparent 42%);
    animation-duration: 2.95s;
}

.vps-mnav-user__content.vps-header-tier--lv2::before {
    background:
        radial-gradient(ellipse 110% 135% at 11% 46%, rgba(253, 224, 71, 0.52) 0%, transparent 50%),
        radial-gradient(ellipse 75% 95% at 90% 52%, rgba(250, 204, 21, 0.18) 0%, transparent 44%);
    animation-duration: 2.75s;
}

.vps-mnav-user__content.vps-header-tier--lv3::before {
    background:
        radial-gradient(ellipse 110% 135% at 11% 48%, rgba(103, 232, 249, 0.48) 0%, transparent 50%),
        radial-gradient(ellipse 75% 95% at 90% 50%, rgba(34, 211, 238, 0.16) 0%, transparent 44%);
    animation-duration: 3.15s;
}

.vps-mnav-user__content.vps-header-tier--lv4::before {
    background:
        radial-gradient(ellipse 115% 140% at 10% 47%, rgba(147, 197, 253, 0.52) 0%, transparent 50%),
        radial-gradient(ellipse 78% 100% at 88% 51%, rgba(96, 165, 250, 0.2) 0%, transparent 44%);
    animation-duration: 2.85s;
}

.vps-mnav-user__content.vps-header-tier--lv5::before {
    background:
        radial-gradient(ellipse 115% 140% at 10% 48%, rgba(216, 180, 254, 0.55) 0%, transparent 50%),
        radial-gradient(ellipse 78% 100% at 88% 50%, rgba(192, 132, 252, 0.22) 0%, transparent 44%);
    animation-duration: 3.25s;
}

.vps-mnav-user__content[class*="vps-header-tier--"] .vps-mnav-user__avatar,
.vps-mnav-user__content[class*="vps-header-tier--"] .vps-mnav-user__meta {
    position: relative;
    z-index: 1;
}

.vps-mnav-user--ready .vps-mnav-user__loading {
    display: none !important;
}

.vps-mnav-user--ready .vps-mnav-user__content {
    padding: 6px;
    display: flex;
    animation: vps-header-user-reveal 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.vps-mnav-user__spinner-ring {
    width: 1.5rem;
    height: 1.5rem;
    border: 3px solid rgba(34, 211, 238, 0.18);
    border-top-color: #22d3ee;
    border-radius: 50%;
    animation: vps-header-user-spin 0.75s linear infinite;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(34, 211, 238, 0.22);
}

/* Mobile menu: Nạp + user card full width, ít hở hai bên (viewport < 600px) */
@media (max-width: 599px) {
    .vps-mnav__body {
        padding-left: 0.625rem;
        padding-right: 0.625rem;
    }

    .vps-mnav-auth-cluster {
        justify-content: flex-start;
        align-items: stretch;
        gap: 8px;
        width: 100%;
    }

    .vps-header__deposit--mnav {
        flex-shrink: 0;
    }

    .vps-mnav-user {
        flex: 1;
        min-width: 0;
    }

    .vps-mnav-user__email {
        max-width: none;
    }
}

.tabs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tabs-row .tab-btn {
    border: 1px solid #1e293b;
    background: #0f172a;
    color: #94a3b8;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    transition: all .2s ease;
}

.tabs-row .tab-btn:hover {
    transform: translateY(-1px);
}

.service-view {
    min-height: 0;
}

.service-chip {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.service-chip--cyan {
    background: rgba(6, 182, 212, .14);
    color: #22d3ee;
}

.service-chip--purple {
    background: rgba(168, 85, 247, .14);
    color: #c084fc;
}

.service-chip--blue {
    background: rgba(59, 130, 246, .14);
    color: #60a5fa;
}

.service-chip--emerald {
    background: rgba(16, 185, 129, .14);
    color: #34d399;
}

.service-chip--amber {
    background: rgba(245, 158, 11, .14);
    color: #fbbf24;
}

.service-tabs {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 28px;
    padding-top: 10px;
    overflow-x: auto;
    /* border-bottom: 1px solid #1e293b; */
    padding-bottom: 14px;
}

@media (min-width: 768px) {
    .service-tabs {
        justify-content: center;
    }
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 24px;
    max-width: 72rem;
    margin: 0 auto 40px;
}

@media (min-width: 768px) {
    .service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px;
    }
}

.tabs-row.tabs-cyan .tab-btn.active {
    background: #06b6d4;
    color: #fff;
    border-color: #06b6d4;
    box-shadow: 0 0 15px rgba(6, 182, 212, .35);
}

.tabs-row.tabs-purple .tab-btn.active {
    background: #a855f7;
    color: #fff;
    border-color: #a855f7;
    box-shadow: 0 0 15px rgba(168, 85, 247, .35);
}

.tabs-row.tabs-blue .tab-btn.active {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, .35);
}

.tabs-row.tabs-emerald .tab-btn.active {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, .35);
}

.plan-card {
    position: relative;
    border: 1px solid #1e293b;
    background: #0f172a;
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-3px);
    border-color: #334155;
    box-shadow: 0 14px 30px rgba(2, 6, 23, .5);
}

#vps-grid,
#hosting-grid,
#email-grid,
#proxy-grid {
    transition: opacity .25s ease, transform .25s ease;
}

.grid-fade {
    opacity: 0;
    transform: translateY(8px);
}

.plan-price {
    color: #fff;
    font-size: 25px;
    font-weight: 800;
}

.plan-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    /* margin-bottom: 12px; */
}

.plan-badge-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.plan-card--vps .plan-badge {
    background: rgba(6, 182, 212, .15);
    color: #22d3ee;
}

.plan-card--hosting .plan-badge {
    background: rgba(168, 85, 247, .16);
    color: #c084fc;
}

.plan-card--email .plan-badge {
    background: rgba(59, 130, 246, .16);
    color: #60a5fa;
}

.plan-card--proxy .plan-badge {
    background: rgba(16, 185, 129, .16);
    color: #34d399;
}

.plan-specs {
    margin: 0 0 14px 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
}

.plan-specs li {
    color: #cbd5e1;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.plan-pricing-mini {
    display: grid;
    gap: 6px;
    margin-bottom: 18px;
}

.plan-dc {
    color: #94a3b8;
    font-size: 13px;
    margin-bottom: 8px;
}

.plan-note-inline {
    color: #fda4af;
    font-size: 12px;
    margin-bottom: 8px;
}

.plan-note-inline--day-support {
    color: #67e8f9;
    font-weight: 600;
}

.plan-wallet-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(251, 191, 36, .35);
    background: rgba(251, 191, 36, .12);
    color: #fcd34d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.plan-wallet-tag--inline {
    margin-left: auto;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .03em;
    background: rgba(251, 191, 36, .18);
    border-color: rgba(251, 191, 36, .42);
}

.plan-badge-dc {
    font-size: 12px;
    font-weight: 700;
    color: #bfdbfe;
    padding: 5px 12px;
    border: 1px solid #274266;
    background: #0a1a35;
    border-radius: 999px;
    letter-spacing: .02em;
}

.plan-dc-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #bfdbfe;
    line-height: 1;
    min-height: 32px;
    padding: 7px 12px;
    border: 1px solid #274266;
    background: #0a1a35;
    border-radius: 999px;
    letter-spacing: .02em;
    transition: all .2s ease;
}

.plan-dc-option.active {
    color: #fff;
    border-color: #0ea5e9;
    background: rgba(14, 165, 233, .25);
    box-shadow: 0 0 0 2px rgba(14, 165, 233, .15) inset;
}

.pricing-chip {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    column-gap: 10px;
    padding: 2px 0;
    /* border: 1px solid #1c2f4d; */
    border-radius: 9px;
    /* background: rgba(8, 20, 40, .55); */
    color: #b9c7dc;
    font-size: 11px;
}

.pricing-chip strong {
    color: #dbe6f7;
    font-size: 13px;
    font-weight: 700;
}

.pricing-discount {
    margin-left: 8px;
    font-style: normal;
    font-weight: 700;
    font-size: 11px;
    color: #6ecc32;
    background: #111939;
    border-radius: 999px;
    padding: 2px 8px;
}

.pricing-chip-label {
    text-align: left;
}

.pricing-chip-price {
    text-align: right;
}

.pricing-chip.no-discount .pricing-chip-price {
    grid-column: 3;
}

.pricing-chip.no-discount .pricing-discount--empty {
    display: none;
}

.pricing-chip.has-discount .pricing-chip-price {
    grid-column: 3;
}

.plan-popular {
    position: absolute;
    top: 12px;
    right: 16px;
    left: auto;
    transform: none;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    z-index: 3;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(6, 182, 212, .28);
}

.plan-divider {
    margin-bottom: 16px;
    padding-bottom: 16px;
}

.plan-price {
    font-size: 25px;
    line-height: 1.05;
}

.plan-specs {
    margin-bottom: 22px;
}

.plan-specs li {
    font-size: 15px;
    line-height: 1.35;
    padding: 2px 0;
    color: #c6d3e6;
}

.plan-btn {
    min-height: 56px;
    font-size: 16px;
}

@media (max-width: 1024px) {
    .plan-price {
        font-size: 25px;
    }

    .plan-specs li {
        font-size: 15px;
    }
}

.plan-stock {
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #020617;
    border: 1px solid #334155;
    color: #94a3b8;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 8px;
}

.plan-divider {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #1e293b;
}

.plan-card--vps.is-popular {
    border-color: #06b6d4;
    box-shadow: 0 12px 30px rgba(6, 182, 212, .2);
}

.plan-card--hosting.is-popular {
    border-color: #a855f7;
    box-shadow: 0 12px 30px rgba(168, 85, 247, .2);
}

.plan-card--email.is-popular {
    border-color: #3b82f6;
    box-shadow: 0 12px 30px rgba(59, 130, 246, .2);
}

.plan-card--proxy.is-popular {
    border-color: #10b981;
    box-shadow: 0 12px 30px rgba(16, 185, 129, .2);
}

.plan-btn {
    margin-top: auto;
    width: 100%;
    border-radius: 12px;
    padding: 14px 16px;
    font-weight: 700;
    color: #fff;
    border: 1px solid transparent;
    transition: all .2s ease;
}

.plan-btn--vps {
    background: #06b6d4;
}

.plan-btn--vps:hover {
    background: #22d3ee;
}

.plan-btn--hosting {
    background: #a855f7;
}

.plan-btn--hosting:hover {
    background: #c084fc;
}

.plan-btn--email {
    background: #3b82f6;
}

.plan-btn--email:hover {
    background: #60a5fa;
}

.plan-btn--proxy {
    background: #10b981;
}

.plan-btn--proxy:hover {
    background: #34d399;
}

.plan-btn.plan-btn--loading,
.plan-btn:disabled:not(.plan-btn--out-of-stock) {
    cursor: wait;
    opacity: 0.92;
    pointer-events: none;
}

/* Proxy (và thẻ khác nếu dùng): kho = 0 — không đặt mua */
.plan-btn.plan-btn--out-of-stock:disabled {
    cursor: not-allowed;
    opacity: 0.48;
    filter: grayscale(0.45);
    pointer-events: none;
    background: #1e293b !important;
    border-color: #334155;
    color: #94a3b8;
    box-shadow: none;
}

.plan-btn.plan-btn--out-of-stock:disabled:hover {
    background: #1e293b !important;
    filter: grayscale(0.45);
}

.spec-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

/* Modern service cards (VPS/Hosting/Email) */
.plan-card {
    background: linear-gradient(160deg, #0b1730 0%, #0a1225 100%);
    border: 1px solid rgba(71, 85, 105, 0.42);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 16px 34px rgba(2, 6, 23, 0.46);
}

.plan-card .plan-badge-row {
    margin-bottom: 14px;
    gap: 8px;
}

.plan-card .plan-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 6px 12px;
}

.plan-card .plan-badge-dc,
.plan-card .plan-dc-option {
    min-height: 30px;
    padding: 6px 11px;
    font-size: 11px;
    font-weight: 700;
}

.plan-card .js-main-price {
    font-size: 35px;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.plan-card .plan-divider {
    margin-bottom: 8px;
    padding-bottom: 0;
    border-bottom: none;
}

.plan-card .plan-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    min-height: 32px;
}

.plan-card .plan-wallet-slot {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
}

.plan-card .plan-wallet-tag {
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.plan-card .plan-day-note {
    color: #38bdf8;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.plan-card .plan-pricing-mini {
    gap: 7px;
    margin-bottom: 14px;
}

.plan-card .pricing-chip {
    grid-template-columns: 1fr auto auto;
    align-items: baseline;
    font-size: 15px;
    color: #9db1cb;
}

.plan-card .pricing-chip-price {
    font-size: 30px;
    font-weight: 800;
    color: #d7e6fb;
}

.plan-card .pricing-discount {
    background: rgba(16, 185, 129, 0.14);
    color: #4ade80;
    font-size: 14px;
    font-weight: 800;
    padding: 1px 8px;
}

.plan-card .plan-best-deal {
    margin-bottom: 14px;
    border: 1px solid rgba(59, 130, 246, 0.65);
    border-radius: 12px;
    padding: 10px 12px;
    background: linear-gradient(130deg, rgba(30, 64, 175, 0.12), rgba(2, 132, 199, 0.08));
}

.plan-card .plan-best-deal-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-card .plan-best-deal .best-label {
    color: #e2e8f0;
    font-size: 15px;
    font-weight: 800;
}

.plan-card .plan-best-deal .best-chip {
    padding: 2px 6px;
    border-radius: 7px;
    background: rgba(59, 130, 246, 0.22);
    color: #93c5fd;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.plan-card .plan-best-deal .best-price {
    margin-left: auto;
    color: #f8fafc;
    font-size: 18px;
    font-weight: 900;
}

.plan-card .plan-best-deal-sub {
    margin-top: 3px;
    color: #8ac1ff;
    font-size: 13px;
    font-weight: 600;
}

.plan-card .plan-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 16px;
}

.plan-card .plan-specs li {
    border: 1px solid rgba(51, 65, 85, 0.7);
    background: rgba(15, 23, 42, 0.45);
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 13px;
    margin: 0;
}

.plan-card .plan-btn {
    border-radius: 13px;
    min-height: 50px;
    font-size: 18px;
    font-weight: 800;
}

.plan-card .plan-btn--vps,
.plan-card .plan-btn--email {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.plan-card .plan-btn--hosting {
    background: linear-gradient(90deg, #8b5cf6, #a855f7);
}

@media (max-width: 900px) {
    .plan-card .js-main-price {
        font-size: 40px;
    }

    .plan-card .pricing-chip-price {
        font-size: 22px;
    }

    .plan-card .plan-specs {
        grid-template-columns: 1fr;
    }
}

.custom-scrollbar::-webkit-scrollbar {
    height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 999px;
}

.order-cycle-btn {
    border: 1px solid #334155;
    background: #0f172a;
    color: #cbd5e1;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 600;
    text-align: left;
}

.order-cycle-btn.active {
    border-color: #06b6d4;
    background: rgba(6, 182, 212, .18);
    color: #fff;
}

/* Checkout visual parity with vps.html */
#view-checkout .bg-slate-900 {
    border-color: #1e293b;
    background: #0f172a;
}

#view-checkout .billing-btn,
#view-checkout .os-btn,
#view-checkout .loc-btn {
    /* min-height: 78px; */
    border-radius: 12px;
}

#view-checkout .order-billing-mode-wrap {
    display: inline-flex;
    gap: 10px;
    padding: 6px;
    border: 1px solid #1e293b;
    border-radius: 12px;
    background: #0b1220;
}

#view-checkout .order-billing-mode-btn {
    border: 1px solid #334155;
    border-radius: 10px;
    color: #94a3b8;
    background: #0f172a;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    transition: all .2s ease;
}

#view-checkout .order-billing-mode-btn.active {
    color: #e2f7ff;
    border-color: #22d3ee;
    background: rgba(34, 211, 238, .14);
}

#view-checkout .order-day-preset {
    border: 1px solid #334155;
    border-radius: 10px;
    color: #cbd5e1;
    background: #0f172a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 8px 10px;
    transition: all .2s ease;
}

#view-checkout .order-day-preset:hover {
    border-color: #22d3ee;
    color: #f8fafc;
}

#view-checkout .order-day-stepper-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #334155;
    border-radius: 10px;
    color: #e2e8f0;
    background: #0f172a;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    transition: all .2s ease;
}

#view-checkout .order-day-stepper-btn:hover {
    border-color: #22d3ee;
    color: #ffffff;
}

#view-checkout .loc-btn {
    /* min-height: 72px; */
    padding: 20px 14px;
}

#view-checkout .loc-btn .font-bold {
    font-size: 17px;
    line-height: 1.2;
}

#view-checkout .billing-btn .font-bold {
    font-size: 13px;
}

#view-checkout .billing-btn .text-base {
    font-size: 18px;
    line-height: 1.15;
    letter-spacing: .01em;
}

#view-checkout .billing-btn .text-sm {
    font-size: 13px;
    font-weight: 600;
}

#view-checkout h3.text-xl {
    font-size: 1.85rem;
    line-height: 1.2;
}

#view-checkout .text-sm.font-medium,
#view-checkout label.block.text-sm {
    font-size: 1rem;
}

#view-checkout input[type="text"],
#view-checkout input[type="email"],
#view-checkout input[type="number"] {
    min-height: 56px;
    border-radius: 10px;
}

#view-checkout .order-qty-btn {
    min-width: 44px;
    min-height: 44px;
    font-weight: 700;
}

#view-checkout .pay-btn {
    border-radius: 12px;
}

#view-checkout #summary-total {
    text-shadow: 0 0 18px rgba(34, 211, 238, .2);
}

.vps-ctrl-btn {
    border: 1px solid rgba(51, 65, 85, 0.95);
    background: rgba(2, 6, 23, 0.95);
    color: #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.62rem 0.7rem;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    transition: all 0.2s ease;
}

.vps-ctrl-btn:hover {
    border-color: rgba(34, 211, 238, 0.65);
    color: #ffffff;
}

.vps-ctrl-btn-primary {
    background: linear-gradient(90deg, #06b6d4 0%, #0ea5e9 100%);
    color: #fff;
    border-color: rgba(34, 211, 238, 0.9);
}

.vps-power-dot {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid transparent;
}

.vps-power-dot.online {
    color: #34d399;
    border-color: rgba(16, 185, 129, .45);
    background: rgba(16, 185, 129, .12);
}

.vps-power-dot.offline {
    color: #f87171;
    border-color: rgba(239, 68, 68, .45);
    background: rgba(239, 68, 68, .12);
}

.vps-power-dot.suspended {
    color: #facc15;
    border-color: rgba(250, 204, 21, .45);
    background: rgba(202, 138, 4, .16);
}

.vps-power-dot.unknown {
    color: #94a3b8;
    border-color: rgba(100, 116, 139, .45);
    background: rgba(15, 23, 42, .65);
}

.vps-modal {
    position: fixed;
    inset: 0;
    z-index: 12050;
}

.vps-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, .72);
    backdrop-filter: blur(3px);
}

.vps-modal__panel {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 700px;
    margin: 2% auto;
    background: #020817;
    border: 1px solid #1e293b;
    border-radius: 14px;
    color: #e2e8f0;
}

.vps-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid #1e293b;
}

.vps-modal__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.vps-modal__close {
    border: 0;
    background: transparent;
    color: #cbd5e1;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.vps-modal__body {
    padding: 14px;
}

.vps-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 14px 14px;
    border-top: 1px solid #1e293b;
}

.vps-modal-btn {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid #334155;
    background: #0f172a;
    color: #e2e8f0;
    font-weight: 700;
}

.vps-modal-btn--muted {
    background: #334155;
    border-color: #334155;
}

.vps-modal-btn--primary {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    border: 0;
    color: #fff;
}

.vps-modal-btn--ghost {
    background: #0b1220;
}

@media (max-width: 900px) {
    .vps-modal {
        overflow-y: auto;
        padding: 14px 0;
    }

    .vps-modal__panel {
        margin: 0 auto;
        width: min(620px, calc(100vw - 16px));
        max-height: calc(100dvh - 28px);
        display: flex;
        flex-direction: column;
    }

    .vps-modal__body {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nutvnc {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .vps-modal__footer {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .vps-ctrl-btn {
        padding: 1.5rem 0.7rem;
    }
}

.vps-reinstall-ui .section-title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #e2e8f0;
    margin: 0 0 10px;
}

#vps-modal-reinstall #vps-modal-os-list {
    gap: 12px;
    margin-bottom: 18px;
}

#vps-modal-reinstall .vps-os-option {
    border: 1px solid #30363d;
    background: #1c2128;
    color: #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    text-align: left;
    font-size: 13px;
    transition: all .25s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    overflow: hidden;
}

#vps-modal-reinstall .vps-os-option::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(47, 129, 247, .08) 0%, rgba(47, 129, 247, 0) 100%);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

#vps-modal-reinstall .vps-os-option:hover {
    border-color: #57606a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
    background: #22272e;
}

#vps-modal-reinstall .vps-os-option.active {
    border-color: #2f81f7;
    background: #1f2937;
    box-shadow: 0 0 0 1px #2f81f7, 0 4px 16px rgba(47, 129, 247, .16);
}

#vps-modal-reinstall .vps-os-option.active::before {
    opacity: 1;
}

.vps-renew-month__title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
}

.vps-renew-month__price {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: #facc15;
    font-weight: 700;
}

.vps-renew-month__discount {
    display: block;
    margin-top: 1px;
    font-size: 10px;
    color: #34d399;
    font-weight: 600;
}

.vps-os-option.active .vps-renew-month__price,
.vps-os-option.active .vps-renew-month__discount {
    color: #ffffff;
    opacity: 0.95;
}

#vps-renew-modal .vps-renew-panel {
    width: min(42rem, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    min-width: 0;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

#vps-renew-modal .vps-renew-header {
    padding: 1rem 1.5rem;
    background-color: rgba(15, 23, 42, 0.5);
}

#vps-renew-modal .vps-renew-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

#vps-renew-modal .vps-renew-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background-color: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #bfdbfe;
    padding: 0.75rem;
    border-radius: 0.5rem;
}

#vps-renew-modal .vps-renew-alert__ico {
    color: #60a5fa;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

#vps-renew-modal .vps-renew-alert__text {
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

#vps-renew-modal .vps-renew-options-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

#vps-renew-modal .vps-renew-options-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 768px) {
    #vps-renew-modal .vps-renew-options-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

#vps-renew-modal .vps-renew-option {
    position: relative;
    border-radius: 0.75rem;
    border: 1px solid #334155;
    background-color: rgba(30, 41, 59, 0.5);
    text-align: center;
    padding: 1rem;
    transition: all .2s ease;
}

#vps-renew-modal .vps-renew-option:hover {
    border-color: #64748b;
    background-color: #1e293b;
}

#vps-renew-modal .vps-renew-option.active {
    background-color: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    box-shadow: 0 0 0 1px #10b981 inset;
}

#vps-renew-modal .vps-renew-option__check {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    color: #10b981;
    width: 1rem;
    height: 1rem;
    opacity: 0;
}

#vps-renew-modal .vps-renew-option.active .vps-renew-option__check {
    opacity: 1;
}

#vps-renew-modal .vps-renew-month__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
}

#vps-renew-modal .vps-renew-option.active .vps-renew-month__title {
    color: #34d399;
}

#vps-renew-modal .vps-renew-month__price {
    font-weight: 500;
    color: #fbbf24;
    margin-top: 0.25rem;
    display: block;
}

#vps-renew-modal .vps-renew-option.active .vps-renew-month__price {
    color: #6ee7b7;
}

#vps-renew-modal .vps-renew-month__discount {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.2rem;
    display: block;
}

#vps-renew-modal .vps-renew-option.active .vps-renew-month__discount {
    color: rgba(16, 185, 129, 0.85);
}

#vps-renew-modal .vps-renew-footer {
    background-color: rgba(30, 41, 59, 0.5);
    border-top: 1px solid #1e293b;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: stretch;
    justify-content: flex-start;
    min-width: 0;
    box-sizing: border-box;
}

#vps-renew-modal .vps-renew-summary {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
    max-width: 100%;
}

#vps-renew-modal .vps-renew-date-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
    font-size: 0.875rem;
}

#vps-renew-modal .vps-renew-date-row__ico {
    color: #94a3b8;
}

#vps-renew-modal .vps-renew-date-row__value {
    color: #ffffff;
    font-weight: 600;
}

#vps-renew-modal .vps-renew-addon-hint {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #a5f3fc;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.35);
    border-radius: 0.5rem;
    padding: 0.625rem 0.75rem;
}

#vps-renew-modal .vps-renew-addon-hint strong {
    color: #ecfeff;
}

#vps-renew-modal .vps-renew-breakdown {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(51, 65, 85, 0.9);
    border-radius: 0.5rem;
    padding: 0.75rem 0.875rem;
    max-width: 100%;
}

#vps-renew-modal .vps-renew-breakdown__title {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

#vps-renew-modal .vps-renew-breakdown__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

#vps-renew-modal .vps-renew-breakdown__row:last-child {
    border-bottom: none;
}

#vps-renew-modal .vps-renew-breakdown__row--subtotal,
#vps-renew-modal .vps-renew-breakdown__row--vat,
#vps-renew-modal .vps-renew-breakdown__row--totalhint {
    margin-top: 0.25rem;
    padding-top: 0.375rem;
    border-top: 1px solid rgba(71, 85, 105, 0.6);
    border-bottom: none;
    font-weight: 500;
    color: #e2e8f0;
}

#vps-renew-modal .vps-renew-breakdown__label {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

#vps-renew-modal .vps-renew-breakdown__amt {
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    color: #f1f5f9;
}

#vps-renew-modal .vps-renew-breakdown__row--addon .vps-renew-breakdown__label {
    color: #a5b4fc;
}

#vps-renew-modal .vps-renew-amount-wrap {
    display: flex;
    flex-direction: column;
}

#vps-renew-modal .vps-renew-amount-wrap__label {
    font-size: 0.875rem;
    color: #94a3b8;
}

#vps-renew-modal .vps-renew-amount-wrap__value {
    font-size: 1.875rem;
    font-weight: 700;
    color: #34d399;
    letter-spacing: -0.02em;
}

#vps-renew-modal .vps-renew-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

#vps-renew-modal .vps-renew-actions .vps-modal-btn {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    min-height: 40px;
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    box-sizing: border-box;
}

@media (min-width: 480px) {
    #vps-renew-modal .vps-renew-actions .vps-modal-btn {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

#vps-modal-reinstall .vps-os-option__row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    position: relative;
    z-index: 1;
}

#vps-modal-reinstall .vps-os-option__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(139, 148, 158, .12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .2s ease;
}

#vps-modal-reinstall .vps-os-option__icon i {
    color: #94a3b8;
}

#vps-modal-reinstall .vps-os-option:hover .vps-os-option__icon {
    background: rgba(139, 148, 158, .2);
}

#vps-modal-reinstall .vps-os-option.active .vps-os-option__icon {
    background: rgba(47, 129, 247, .18);
}

#vps-modal-reinstall .vps-os-option.active .vps-os-option__icon i {
    color: #60a5fa;
}

#vps-modal-reinstall .vps-os-option__text {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

#vps-modal-reinstall .vps-os-option__family {
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
    line-height: 1.25;
}

#vps-modal-reinstall .vps-os-option__version {
    margin-top: 1px;
    font-size: 12px;
    color: #94a3b8;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#vps-modal-reinstall .vps-os-option__check {
    width: 18px;
    height: 18px;
    color: #2f81f7;
    opacity: 0;
    transform: scale(.5);
    transition: all .25s ease;
    flex-shrink: 0;
}

#vps-modal-reinstall .vps-os-option.active .vps-os-option__check {
    opacity: 1;
    transform: scale(1);
}

.vps-reinstall-ui .input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.vps-reinstall-ui .input-wrapper {
    flex: 1;
}

.vps-reinstall-ui #vps-modal-reinstall-pass {
    width: 100%;
    background: #21262d;
    border: 1px solid #30363d;
    border-radius: 8px;
    color: #e6edf3;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.vps-reinstall-ui #vps-modal-reinstall-pass:focus {
    outline: none;
    border-color: #2f81f7;
    box-shadow: 0 0 0 2px rgba(47, 129, 247, .2);
}

.vps-reinstall-ui .btn-random {
    padding: 0 18px;
}

.vps-reinstall-ui .reinstall-hint {
    font-size: 12px;
    color: #8b949e;
    margin-bottom: 8px;
}

.vps-reinstall-ui .validation-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    font-size: 13px;
    color: #8b949e;
}

.vps-reinstall-ui .validation-list li {
    margin-bottom: 6px;
}

.vps-reinstall-ui .warning-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid #30363d;
}

.vps-reinstall-ui .checkbox-container {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.vps-reinstall-ui .checkbox-container input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.vps-reinstall-ui .checkmark {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: #21262d;
    border: 1px solid #30363d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    margin-top: 1px;
}

.vps-reinstall-ui .checkmark svg {
    width: 12px;
    height: 12px;
    fill: #ffffff;
    opacity: 0;
    transform: scale(.6);
    transition: all .2s ease;
}

.vps-reinstall-ui .checkbox-container input:checked + .checkmark {
    background: #2f81f7;
    border-color: #2f81f7;
}

.vps-reinstall-ui .checkbox-container input:checked + .checkmark svg {
    opacity: 1;
    transform: scale(1);
}

.vps-reinstall-ui .warning-text {
    font-size: 13px;
    line-height: 1.45;
    color: #e3b341;
}

.bank-transfer-modal .btx-panel {
    width: 90%;
    max-width: 794px;
    background: linear-gradient(145deg, #151b2b, #0b0f19);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.bank-transfer-modal .btx-header {
    padding: 24px 32px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bank-transfer-modal .btx-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.bank-transfer-modal .btx-close {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bank-transfer-modal .btx-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
}

.bank-transfer-modal .btx-body {
    padding: 10px;
}

.bank-transfer-modal .btx-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 32px 24px;
}

.btp-tabs {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0 18px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.btp-tabs__label {
    color: #94a3b8;
    font-size: 13px;
}

.btp-segmented {
    display: inline-flex;
    position: relative;
    gap: 0;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 4px;
}

.btp-segmented-bg {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    bottom: 4px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
}

button.btp-switch {
    position: relative;
    z-index: 2;
    color: #94a3b8;
    background: transparent;
    min-width: 100px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

button.btp-switch.active {
    color: #fff;
    background: transparent;
    border-color: transparent;
}

.btp-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 22px;
}

.btp-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 20px;
}

.btp-card__title {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 14px;
}

.btp-qr-shell {
    background: #fff;
    border-radius: 20px;
    padding: 0;
    /* border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); */
    position: relative;
    overflow: hidden;
}

.btp-qr-header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #1e3a8a;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 10px;
}

.btp-qr-header-logo-icon {
    color: #0ea5e9;
}

.btp-qr-scanline {
    display: none;
}

.btp-qr {
    width: 100%;
    max-width: 300px;
    border-radius: 12px;
    border: 1px solid #dbe4f1;
    background: #fff;
    display: block;
    margin: 0 auto;
}

.btp-qr-footer {
    margin-top: 10px;
    text-align: center;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
}

.btp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    padding: 14px 0;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.35);
}

.btp-row:last-of-type {
    border-bottom: 0;
}

.btp-label {
    color: #94a3b8;
    font-size: 14px;
}

.btp-value {
    color: #f8fafc;
    text-align: right;
    word-break: break-word;
    font-weight: 600;
    font-size: 15px;
}

.btp-value--amount {
    font-size: 24px;
    font-weight: 800;
}

.btp-value--mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    color: #34d399;
}

.btp-warning {
    margin-top: 16px;
    border-left: 4px solid #f59e0b;
    background: linear-gradient(to right, rgba(245, 158, 11, 0.14), transparent);
    color: #fcd34d;
    border-radius: 0 10px 10px 0;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.5;
}

.btp-value-group {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.btp-copy-value {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: color .2s ease, transform .2s ease;
}

.btp-copy-value:hover {
    color: #6ee7b7;
}

.btp-copy-value.copied {
    color: #34d399;
    transform: scale(1.02);
}

.btp-copy-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 13050;
    background: rgba(15, 23, 42, 0.95);
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.btp-copy-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.btx-footer {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(260px, 2fr);
    align-items: stretch;
    gap: 12px;
    width: 100%;
}

.btx-footer__btn {
    width: 100%;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.25;
    padding: 0 16px;
    border-radius: 12px;
}

.btp-status {
    margin-top: 12px;
    display: flex;
    justify-content: center;
}

.btp-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* min-height: 40px; */
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.btp-live-note {
    text-align: center;
}

@keyframes bankTransferScan {
    0% {
        top: 40px;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: calc(100% - 26px);
        opacity: 0;
    }
}

.backup-option-card {
    /* border: 1px solid #1e293b; */
    background: #0f172a;
    border-radius: 12px;
    padding: 12px 14px;
    min-height: 64px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    color: #cbd5e1;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.backup-option-card:hover {
    border-color: #334155;
}

.backup-option-card.active {
    /* border-color: #22d3ee; */
    background: rgba(6, 182, 212, 0.12);
    /* box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.18) inset; */
}

.backup-option-card__title {
    font-size: 14px;
    font-weight: 700;
    color: #f8fafc;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.backup-option-card__desc {
    font-size: 12px;
    color: #94a3b8;
}

.backup-option-card.active .backup-option-card__desc {
    color: #cffafe;
}

@media (max-width: 900px) {
    .bank-transfer-modal .btx-header {
        padding: 16px 18px 12px;
    }

    .bank-transfer-modal .btx-body {
        padding: 0 18px 16px;
    }

    .bank-transfer-modal .btx-footer {
        padding: 14px 18px 18px;
    }

    .btp-grid {
        grid-template-columns: 1fr;
    }

    .btx-footer {
        grid-template-columns: 1fr;
    }

    .btp-tabs {
        flex-direction: column;
        align-items: flex-start;
    }

    .btp-card__title {
        font-size: 24px;
    }

    .btp-row {
        font-size: 18px;
    }

    .btp-value {
        font-size: 16px;
    }

    .btp-value--amount {
        font-size: 30px;
    }

    .btp-warning {
        font-size: 14px;
    }
}

.profile-service-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.profile-service-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-service-search-input {
    min-width: 220px;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 10px;
    color: #cbd5e1;
    font-size: 14px;
    padding: 9px 12px;
}

.profile-service-search-input:focus {
    outline: none;
    border-color: #0891b2;
    box-shadow: 0 0 0 2px rgba(8, 145, 178, .2);
}

.profile-service-search-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #1e293b;
    background: #0f172a;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

.profile-service-search-btn:hover {
    color: #e2e8f0;
    border-color: #334155;
}

.profile-balance-breakdown {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
}

.profile-balance-breakdown__label {
    color: #64748b;
}

.billing-stat {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 14px;
    padding: 14px;
    text-align: left;
    transition: all .2s ease;
}

.billing-stat:hover {
    border-color: #334155;
}

.billing-stat--active {
    border-color: rgba(34, 211, 238, .6);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, .22) inset;
    background: rgba(6, 182, 212, .08);
}

.billing-stat__label {
    color: #94a3b8;
    font-size: 12px;
}

.billing-stat__value {
    color: #e2e8f0;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 4px;
}

.billing-stat__sub {
    color: #64748b;
    font-size: 12px;
}

.billing-card {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 14px;
    padding: 14px;
}

.billing-card--ok {
    border-color: rgba(16, 185, 129, .32);
}

.billing-card--pending,
.billing-card--overdue {
    border-color: rgba(251, 191, 36, .35);
}

.billing-list-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 12px;
}

@media (min-width: 900px) {
    .billing-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.billing-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.billing-card__id {
    color: #fff;
    font-weight: 800;
}

.billing-card__created-at {
    color: #80808069;
    font-weight: 500;
    font-size: 0.82em;
}

.billing-card__desc {
    color: #94a3b8;
    font-size: 13px;
    margin: 15px 0 0 0;
    line-height: 1.35;
    max-width: 520px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.billing-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    color: #94a3b8;
    font-size: 12px;
}

.billing-card__meta strong {
    color: #e2e8f0;
    font-size: 17px;
}

.billing-card__paid-time {
    margin-top: 6px;
    font-size: 12px;
}

.billing-card__content-preview {
    margin-top: 8px;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.billing-card__more-hint {
    margin-top: 4px;
    color: #94a3b8;
    font-size: 11px;
}

.billing-card__details {
    margin-top: 8px;
    border-top: 1px dashed rgba(148, 163, 184, .25);
    padding-top: 8px;
}

.billing-card__details-title {
    color: #93c5fd;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
}

.billing-card__details summary {
    color: #93c5fd;
    font-size: 12px;
    cursor: pointer;
    user-select: none;
    list-style: none;
}

.billing-card__details summary::-webkit-details-marker {
    display: none;
}

.billing-card__details-list {
    margin: 8px 0 0 0;
    padding-left: 16px;
    color: #cbd5e1;
    font-size: 12px;
    line-height: 1.45;
}

.billing-card__details-list li {
    margin-bottom: 4px;
}

.billing-status {
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    padding: 3px 10px;
    border: 1px solid transparent;
}

.billing-status--ok {
    color: #34d399;
    border-color: rgba(16, 185, 129, .4);
    background: rgba(16, 185, 129, .12);
}

.billing-status--pending {
    color: #fbbf24;
    border-color: rgba(251, 191, 36, .4);
    background: rgba(251, 191, 36, .12);
}

.billing-status--overdue {
    color: #fb7185;
    border-color: rgba(244, 63, 94, .4);
    background: rgba(244, 63, 94, .12);
}

.billing-status--cancel {
    color: #94a3b8;
    border-color: rgba(100, 116, 139, .4);
    background: rgba(100, 116, 139, .12);
}

.billing-card__actions {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

@media (max-width: 640px) {
    .billing-card {
        padding: 12px;
    }

    .billing-card__meta {
        align-items: flex-start;
        gap: 10px;
        flex-direction: column;
    }

    .billing-card__actions {
        justify-content: stretch;
    }

    .billing-card__actions .billing-cancel-btn,
    .billing-card__actions .billing-pay-btn {
        flex: 1 1 0;
    }
}

.billing-pay-btn {
    border: 1px solid rgba(6, 182, 212, .45);
    background: rgba(6, 182, 212, .16);
    color: #67e8f9;
    border-radius: 10px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
}

.billing-pay-btn:disabled {
    opacity: .7;
}

.billing-cancel-btn {
    border: 1px solid rgba(244, 63, 94, .45);
    background: rgba(244, 63, 94, .12);
    color: #fda4af;
    border-radius: 10px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
}

.billing-cancel-btn:disabled {
    opacity: .7;
}

/* Profile — lịch sử thanh toán (giao dịch ví) */
.payment-filters-panel {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.75) 100%);
    border: 1px solid rgba(30, 41, 59, 0.95);
    border-radius: 14px;
    padding: 12px 14px 14px;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

.payment-filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.payment-filter-row__label {
    flex: 0 0 auto;
    width: 5.5rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    line-height: 1.2;
}

@media (min-width: 480px) {
    .payment-filter-row__label {
        width: 6.25rem;
    }
}

@media (max-width: 420px) {
    .payment-filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .payment-filter-row__label {
        width: 100%;
        margin-bottom: 2px;
    }
}

.payment-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
    align-content: flex-start;
}

.payment-filter-chip {
    appearance: none;
    border: 1px solid rgba(51, 65, 85, 0.85);
    background: rgba(2, 6, 23, 0.45);
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
    white-space: nowrap;
}

.payment-filter-chip:hover {
    border-color: rgba(34, 211, 238, 0.35);
    color: #f1f5f9;
    background: rgba(15, 23, 42, 0.65);
}

.payment-filter-chip--active {
    border-color: rgba(34, 211, 238, 0.55);
    background: rgba(6, 182, 212, 0.12);
    color: #5eead4;
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.1);
}

.payment-filters-divider {
    height: 1px;
    margin: 12px 0;
    background: linear-gradient(90deg, transparent, rgba(51, 65, 85, 0.65), transparent);
}

.payment-tx-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 640px) {
    .payment-tx-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (min-width: 1024px) {
    .payment-tx-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.payment-tx-card {
    position: relative;
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.88) 100%);
    border: 1px solid rgba(30, 41, 59, 0.95);
    border-radius: 14px;
    padding: 0;
    min-height: 100%;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.payment-tx-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 14px 0 0 14px;
    opacity: 0.9;
}

.payment-tx-card--credit::before {
    background: linear-gradient(180deg, #34d399, #059669);
}

.payment-tx-card--debit::before {
    background: linear-gradient(180deg, #fbbf24, #d97706);
}

.payment-tx-card--payment::before {
    background: linear-gradient(180deg, #38bdf8, #0284c7);
}

.payment-tx-card--withdraw::before {
    background: linear-gradient(180deg, #fb7185, #e11d48);
}

.payment-tx-card--muted::before {
    background: linear-gradient(180deg, #64748b, #475569);
}

.payment-tx-card:hover {
    border-color: rgba(71, 85, 105, 0.7);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    transform: translateY(-1px);
}

.payment-tx-card__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 8px 12px;
    align-items: start;
    padding: 14px 16px 14px 18px;
}

.payment-tx-card__desc {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #f1f5f9;
    line-height: 1.5;
    display: -webkit-box;
    line-clamp: 5;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* sanpham.html-inspired cards (isolated namespace) */
.plan-card.spcard {
    background-color: #151e2e;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(51, 65, 85, 0.4);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.plan-card.spcard.spcard--cyan:hover {
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 20px 25px -5px rgba(8, 145, 178, 0.2);
}

.plan-card.spcard.spcard--purple:hover {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 20px 25px -5px rgba(126, 34, 206, 0.2);
}

.plan-card.spcard.spcard--blue:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 25px -5px rgba(30, 58, 138, 0.2);
}

.spcard-top {
    margin-bottom: 1rem;
}

.spcard-tags {
    display: flex;
    gap: 0.625rem;
    margin-bottom: 1.1rem;
    min-height: 1.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.spcard-tag {
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    line-height: 1;
}

.spcard-tag--service {
    text-transform: uppercase;
}

.spcard--cyan .spcard-tag--service {
    background-color: #102a36;
    color: #22d3ee;
}

.spcard--purple .spcard-tag--service {
    background-color: rgba(88, 28, 135, 0.4);
    color: #c084fc;
}

.spcard--blue .spcard-tag--service {
    background-color: rgba(30, 58, 138, 0.4);
    color: #60a5fa;
}

.spcard-tag--dc,
.spcard .plan-dc-option {
    background-color: #1e293b;
    color: #cbd5e1;
    border: 1px solid rgba(71, 85, 105, 0.5);
}

.spcard-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 0 0 0.4rem 0;
}

.spcard-title-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .375rem;
    flex-wrap: wrap;
}

.spcard-spec-badge {
    background: linear-gradient(to right, #1e293b, #0f172a);
    border: 1px solid #fafafa;
    color: #e2e8f0;
    margin-top: -5px;
    padding: .25rem .625rem;
    border-radius: .375rem;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .025em;
    box-shadow: inset 0 2px 4px 0 rgba(51, 65, 85, 0.2);
}

.spcard-price-group {
    display: flex;
    align-items: baseline;
    gap: .25rem;
    margin-bottom: 1rem;
}

.spcard-price-group.hidden {
    display: none !important;
}

.spcard-price {
    font-size: 46px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
    color: #fff;
}

.spcard-price-unit {
    color: #94a3b8;
    font-size: 17px;
    font-weight: 500;
    margin-left: 0.25rem;
}

.spcard-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.625rem;
    min-height: 32px;
    margin-bottom: 1rem;
}

.spcard .plan-wallet-tag {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    background-color: #292212;
    color: #eab308;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .025em;
    border: none;
}

.spcard-badge-daily {
    display: inline-flex;
    align-items: center;
    background-color: #102a36;
    color: #22d3ee;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 12px;
    font-weight: 500;
}

.spcard-pricing-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
}

.spcard-pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.spcard-pricing-period {
    color: #94a3b8;
}

.spcard-pricing-discount {
    color: #34d399;
    font-weight: 500;
    margin-left: .25rem;
}

.spcard-pricing-cost {
    font-weight: 600;
    color: #e2e8f0;
    font-size: 13px;
}

.spcard-best-box {
    margin-top: auto;
    margin-bottom: 1.25rem;
    border-radius: .75rem;
    padding: 1px;
}

.spcard-best-box.spcard--cyan {
    background: linear-gradient(to right, #3b82f6, #22d3ee, #3b82f6);
}

.spcard-best-box.spcard--purple {
    background: linear-gradient(to right, #a855f7, #e879f9, #a855f7);
}

.spcard-best-box.spcard--blue {
    background: linear-gradient(to right, #2563eb, #818cf8, #2563eb);
}

.spcard-best-box-inner {
    border-radius: .75rem;
    padding: .875rem;
    background-color: #101726;
}

.spcard-best-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .25rem;
}

.spcard-best-box-title {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.spcard-best-box-label {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.spcard-best-badge {
    color: #fff;
    padding: .125rem .5rem;
    border-radius: .25rem;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .1em;
    background: linear-gradient(to right, #2563eb, #60a5fa);
}

.spcard-best-price {
    font-size: 17px;
    font-weight: 900;
    color: #fff;
}

.spcard-best-desc {
    font-size: 12px;
    font-weight: 500;
    color: rgba(147, 197, 253, 0.8);
}

.spcard-specs-container {
    background-color: rgba(30, 41, 59, 0.2);
    border: 1px solid rgba(51, 65, 85, 0.3);
    border-radius: .75rem;
    padding: .875rem;
    margin-bottom: 1.25rem;
    margin-top: auto;
}

.spcard-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: .75rem;
    column-gap: .5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.spcard-spec-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 13px;
    color: #cbd5e1;
    min-width: 0;
}

.spcard-spec-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spcard-spec-icon.spcard--cyan {
    color: rgba(6, 182, 212, 0.7);
}

.spcard-spec-icon.spcard--purple {
    color: rgba(192, 132, 252, 0.8);
}

.spcard-spec-icon.spcard--blue {
    color: rgba(96, 165, 250, 0.8);
}

.plan-card.spcard .plan-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: .75rem;
    border-radius: .75rem;
    border: none;
    margin-top: auto;
}

.plan-card.spcard .plan-btn--vps,
.plan-card.spcard .plan-btn--email {
    background-color: #3b82f6;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.plan-card.spcard .plan-btn--hosting {
    background-color: #a855f7;
    box-shadow: 0 4px 14px 0 rgba(168, 85, 247, 0.39);
}

@media (max-width: 900px) {
    .spcard-specs-grid {
        grid-template-columns: 1fr;
    }
}

.payment-tx-card__amount {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.03em;
    white-space: nowrap;
    line-height: 1.3;
    text-align: right;
    justify-self: end;
}

.payment-tx-card__amount--plus {
    color: #34d399;
    text-shadow: 0 0 24px rgba(52, 211, 153, 0.2);
}

.payment-tx-card__amount--minus {
    color: #f8fafc;
}

.payment-tx-card__time {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    letter-spacing: 0.02em;
    align-self: end;
}

.payment-tx-card__badge {
    justify-self: end;
    align-self: end;
    line-height: 0;
}

.payment-tx-pagination {
    margin-top: 1.5rem;
}

.payment-tx-type {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 999px;
    /* padding: 4px 10px; */
    border: 1px solid transparent;
    background: transparent;
}

.payment-tx-type--credit {
    color: #6ee7b7;
    /* border-color: rgba(52, 211, 153, 0.45);
    background: rgba(16, 185, 129, 0.08); */
}

.payment-tx-type--withdraw {
    color: #fda4af;
    border-color: rgba(251, 113, 133, 0.5);
    background: rgba(244, 63, 94, 0.08);
}

.payment-tx-type--payment {
    color: #7dd3fc;
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(14, 165, 233, 0.08);
}

.payment-tx-type--debit {
    color: #fcd34d;
    border-color: rgba(251, 191, 36, 0.5);
    background: rgba(245, 158, 11, 0.06);
}

.payment-tx-type--muted {
    color: #94a3b8;
    border-color: rgba(100, 116, 139, 0.45);
    background: rgba(51, 65, 85, 0.2);
}

.settings-item {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 12px;
}

.settings-item__label {
    color: #94a3b8;
    font-size: 12px;
    margin-bottom: 4px;
}

.settings-item__value {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
}

.settings-update-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(34, 211, 238, .45);
    background: rgba(6, 182, 212, .12);
    color: #67e8f9;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    transition: all .2s ease;
}

.settings-update-btn:hover {
    border-color: rgba(34, 211, 238, .7);
    background: rgba(6, 182, 212, .2);
    color: #a5f3fc;
}

.settings-member-level {
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(8, 47, 73, 0.25), rgba(15, 23, 42, 0.65));
}

.settings-member-level__head {
    margin-bottom: 12px;
}

.settings-member-level__title {
    margin: 0;
    color: #e2e8f0;
    font-size: 15px;
    font-weight: 700;
}

.settings-member-level__grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 10px;
}

@media (min-width: 768px) {
    .settings-member-level__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.settings-member-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 9999px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 700;
}

.settings-member-badge--default {
    color: #a5f3fc;
    border-color: rgba(34, 211, 238, 0.45);
    background: rgba(6, 182, 212, 0.14);
}

.settings-member-badge--custom {
    color: #fcd34d;
    border-color: rgba(251, 191, 36, 0.45);
    background: rgba(245, 158, 11, 0.13);
}

.settings-member-badge--excluded {
    color: #fda4af;
    border-color: rgba(244, 63, 94, 0.45);
    background: rgba(190, 24, 93, 0.16);
}

.ttv-member-rule-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 9999px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 700;
}

.ttv-member-rule-badge--default {
    color: #a5f3fc;
    border-color: rgba(34, 211, 238, 0.45);
    background: rgba(6, 182, 212, 0.14);
}

.ttv-member-rule-badge--custom {
    color: #fcd34d;
    border-color: rgba(251, 191, 36, 0.45);
    background: rgba(245, 158, 11, 0.13);
}

.ttv-member-rule-badge--excluded {
    color: #fda4af;
    border-color: rgba(244, 63, 94, 0.45);
    background: rgba(190, 24, 93, 0.16);
}

.ttv-member-root {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ttv-member-card {
    border: 1px solid rgba(30, 41, 59, 0.95);
    border-radius: 16px;
    background: #0b1325;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.45);
    overflow: hidden;
}

.ttv-member-header {
    padding: 22px 28px;
    border-bottom: 1px solid rgba(30, 41, 59, 0.75);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ttv-member-header h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.2;
    color: #f8fafc;
    font-weight: 700;
}

.ttv-member-body {
    padding: 22px 28px 28px;
}

.ttv-member-sim-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    border: 1px dashed rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    background: rgba(2, 6, 23, 0.25);
    padding: 10px 14px;
    margin-bottom: 14px;
    color: #94a3b8;
    font-size: 14px;
}

.ttv-member-sim-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ttv-member-sim-btn {
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.65);
    color: #cbd5e1;
    border-radius: 999px;
    padding: 3px 12px;
    font-size: 13px;
    font-weight: 700;
}

.ttv-member-sim-btn.is-active {
    border-color: rgba(96, 165, 250, 0.75);
    background: rgba(59, 130, 246, 0.24);
    color: #dbeafe;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) inset;
}

.ttv-member-vip-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

.ttv-member-vip-glow {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, var(--tier-color, rgba(99,102,241,0.5)) 0%, transparent 60%);
    opacity: 0.15;
    filter: blur(40px);
    pointer-events: none;
    transition: background 0.5s ease;
}

.ttv-member-vip-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.ttv-member-vip-left {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.25rem;
}

.ttv-member-vip-icon {
    width: 6.5rem;
    height: 6.5rem;
    border-radius: 1.75rem;
    border: 1px solid var(--tier-glow, rgba(99,102,241,0.45));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #0d121c;
    box-shadow: 0 0 35px var(--tier-glow, rgba(99,102,241,0.2)), inset 0 0 20px var(--tier-glow, rgba(99,102,241,0.1));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ttv-member-vip-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 40%);
    pointer-events: none;
}

.ttv-member-vip-name {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.ttv-member-vip-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.ttv-member-vip-badge {
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    background: #0f172a;
    border-radius: 9999px;
    padding: 0.4rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.ttv-member-vip-badge--bonus {
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.3);
    background: rgba(52, 211, 153, 0.08);
    font-weight: 700;
    box-shadow: 0 0 15px rgba(52, 211, 153, 0.1);
}

.ttv-member-vip-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.ttv-member-vip-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 0.75rem;
    background: rgba(255,255,255,0.03);
    padding: 0.95rem 1.35rem;
    color: #94a3b8;
    font-size: 0.95rem;
    min-height: 64px;
}

.ttv-member-vip-stat strong {
    color: #e2e8f0;
    font-size: 20px;
    line-height: 1.2;
}

.ttv-member-vip-stat__value {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ttv-member-rule-note {
    font-size: 12px;
    color: #94a3b8;
}

.ttv-member-progress-box {
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 0.75rem;
    padding: 1.25rem;
}

.ttv-member-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 9px;
}

.ttv-member-progress-track {
    width: 100%;
    height: 0.6rem;
    border-radius: 999px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.ttv-member-progress-fill {
    height: 100%;
    border-radius: 999px;
    position: relative;
    box-shadow: 0 0 10px var(--tier-color, #6366f1);
}

.ttv-member-progress-fill::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 10px;
    background: #fff;
    border-radius: 999px;
    opacity: 0.8;
    box-shadow: 0 0 10px #fff;
}

.ttv-member-progress-note {
    margin-top: 9px;
    color: #94a3b8;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ttv-member-next-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 700;
    color: #34d399;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.34);
}

.ttv-member-max-tier {
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #d8b4fe;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 10px;
    padding: 10px;
    font-size: 13px;
}

.ttv-member-info-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 12px;
}

.ttv-member-info-box {
    border: 1px solid rgba(51, 65, 85, 0.78);
    border-radius: 12px;
    background: #15203a;
    padding: 14px 16px;
}

.ttv-member-info-box.is-extra {
    background: #0f1b33;
}

.ttv-member-info-label {
    color: #94a3b8;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.ttv-member-info-label svg {
    width: 16px;
    height: 16px;
}

.ttv-member-info-value {
    color: #f8fafc;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    word-break: break-word;
}

.ttv-member-info-value span {
    color: #94a3b8;
    font-weight: 600;
}

.ttv-member-info-value.is-long {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.ttv-member-info-value.is-extra {
    font-size: 16px;
}

.ttv-member-extra-title {
    margin-top: 14px;
    margin-bottom: 8px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
}

.ttv-member-extra-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 10px;
}

.ttv-member-toggle-wrap {
    display: flex;
    justify-content: center;
}

.ttv-member-toggle-btn {
    border: 1px solid rgba(96, 165, 250, 0.55);
    background: rgba(30, 58, 138, 0.08);
    color: #dbeafe;
    border-radius: 9999px;
    padding: 8px 16px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .2s ease;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12), 0 0 18px rgba(59, 130, 246, 0.2);
}

.ttv-member-toggle-btn:hover {
    color: #eff6ff;
    border-color: rgba(147, 197, 253, 0.8);
    background: rgba(37, 99, 235, 0.16);
}

.ttv-member-toggle-btn i {
    transition: transform .2s ease;
}

.ttv-member-toggle-btn.is-open i {
    transform: rotate(90deg);
}

.ttv-member-tiers-panel {
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 12px;
    padding: 14px;
    background: rgba(2, 6, 23, 0.2);
}

.ttv-member-tier-title {
    margin: 0 0 12px;
    color: #f8fafc;
    font-size: 17px;
    font-weight: 700;
}

.ttv-member-tier-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 10px;
}

.ttv-member-tier-card {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.7);
    padding: 10px 12px;
    position: relative;
}

.ttv-member-tier-card.is-current {
    border-color: rgba(59, 130, 246, 0.6);
    background: rgba(59, 130, 246, 0.12);
}

.ttv-member-tier-current-badge {
    position: absolute;
    top: 0;
    right: 0;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 11px;
    background: #4f46e5;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
}

.ttv-member-tier-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.ttv-member-tier-head-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ttv-member-tier-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ttv-member-tier-name {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.ttv-member-tier-level {
    color: #94a3b8;
    font-size: 12px;
    margin-top: 2px;
}

.ttv-member-tier-bonus {
    color: #34d399;
    font-weight: 800;
    font-size: 13px;
}

.ttv-member-tier-foot {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding-top: 8px;
    display: grid;
    gap: 6px;
}

.ttv-member-tier-foot div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ttv-member-tier-foot span {
    color: #94a3b8;
    font-size: 12px;
}

.ttv-member-tier-foot strong {
    color: #e2e8f0;
    font-size: 12px;
}

@media (min-width: 900px) {
    .ttv-member-vip-layout {
        flex-direction: row;
        align-items: stretch;
    }
    .ttv-member-vip-left {
        flex: 0 0 auto;
        min-width: 280px;
        border-bottom: 0;
        border-right: 1px solid rgba(255,255,255,0.05);
        padding-bottom: 0;
        padding-right: 2.5rem;
    }
    .ttv-member-info-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .ttv-member-extra-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .ttv-member-tier-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .ttv-member-header {
        padding: 18px;
    }
    .ttv-member-header h2 {
        font-size: 28px;
    }
    .ttv-member-body {
        padding: 18px;
    }
    .ttv-member-info-value {
        font-size: 20px;
    }
}

/* thongtinthanhvien.html parity (settings panel) */
#settings-panel .ttv-member-root {
    --bg-card: #111827;
    --bg-surface: #182132;
    --border-color: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --radius-lg: 1rem;
    --radius-md: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#settings-panel .ttv-member-root .card {
    /* background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); */
    overflow: hidden;
}

#settings-panel .ttv-member-root .header {
    /* padding: 1.5rem 2rem; */
    /* border-bottom: 1px solid var(--border-color); */
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
}

#settings-panel .ttv-member-root .header h1 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}

#settings-panel .ttv-member-root .btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a5b4fc;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

#settings-panel .ttv-member-root .btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #c7d2fe;
}

#settings-panel .ttv-member-root .membership-section {
    padding: 1rem 0;
}

#settings-panel .ttv-member-root .vip-card {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-radius: var(--radius-lg);
    /* padding: 2rem; */
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

#settings-panel .ttv-member-root .vip-glow {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, var(--tier-glow, rgba(99,102,241,0.5)) 0%, transparent 60%);
    opacity: 0.15;
    filter: blur(40px);
    pointer-events: none;
    transition: background 0.5s ease;
}

#settings-panel .ttv-member-root .vip-layout {
    display: flex;
    flex-direction: column;
    /* gap: 2rem; */
    position: relative;
    z-index: 10;
}

#settings-panel .ttv-member-root .vip-left {
    /* border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 2rem; */
}

/* Ánh nến nền cột trái VIP (tab Hồ sơ / settings) — class vps-header-tier--lv* từ renderSettingsPanel */
#settings-panel .ttv-member-root .vip-left[class*="vps-header-tier--"] {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    padding: 2rem;
}

#settings-panel .ttv-member-root .vip-left[class*="vps-header-tier--"]::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    opacity: 0.44;
    animation: ttv-vip-left-tier-candle 3.05s ease-in-out infinite;
}

#settings-panel .ttv-member-root .vip-left.vps-header-tier--lv0::before {
    background:
        radial-gradient(ellipse 95% 72% at 50% 30%, rgba(148, 163, 184, 0.44) 0%, transparent 56%),
        radial-gradient(ellipse 75% 55% at 50% 92%, rgba(100, 116, 139, 0.12) 0%, transparent 48%);
    animation-duration: 3.35s;
}

#settings-panel .ttv-member-root .vip-left.vps-header-tier--lv1::before {
    background:
        radial-gradient(ellipse 95% 72% at 50% 30%, rgba(226, 232, 240, 0.4) 0%, transparent 56%),
        radial-gradient(ellipse 75% 55% at 50% 92%, rgba(203, 213, 225, 0.13) 0%, transparent 48%);
    animation-duration: 2.95s;
}

#settings-panel .ttv-member-root .vip-left.vps-header-tier--lv2::before {
    background:
        radial-gradient(ellipse 100% 76% at 50% 28%, rgba(253, 224, 71, 0.42) 0%, transparent 54%),
        radial-gradient(ellipse 78% 58% at 50% 90%, rgba(250, 204, 21, 0.16) 0%, transparent 46%);
    animation-duration: 2.75s;
}

#settings-panel .ttv-member-root .vip-left.vps-header-tier--lv3::before {
    background:
        radial-gradient(ellipse 100% 76% at 50% 30%, rgba(103, 232, 249, 0.4) 0%, transparent 54%),
        radial-gradient(ellipse 78% 58% at 50% 90%, rgba(34, 211, 238, 0.14) 0%, transparent 46%);
    animation-duration: 3.15s;
}

#settings-panel .ttv-member-root .vip-left.vps-header-tier--lv4::before {
    background:
        radial-gradient(ellipse 102% 78% at 50% 29%, rgba(147, 197, 253, 0.42) 0%, transparent 54%),
        radial-gradient(ellipse 80% 58% at 50% 90%, rgba(96, 165, 250, 0.17) 0%, transparent 46%);
    animation-duration: 2.85s;
}

#settings-panel .ttv-member-root .vip-left.vps-header-tier--lv5::before {
    background:
        radial-gradient(ellipse 102% 78% at 50% 30%, rgba(216, 180, 254, 0.44) 0%, transparent 54%),
        radial-gradient(ellipse 80% 58% at 50% 90%, rgba(192, 132, 252, 0.19) 0%, transparent 46%);
    animation-duration: 3.25s;
}

@keyframes ttv-vip-left-tier-candle {
    0%,
    100% {
        opacity: 0.32;
    }

    11% {
        opacity: 0.5;
    }

    24% {
        opacity: 0.28;
    }

    38% {
        opacity: 0.58;
    }

    51% {
        opacity: 0.36;
    }

    64% {
        opacity: 0.54;
    }

    79% {
        opacity: 0.3;
    }

    91% {
        opacity: 0.5;
    }
}

@media (prefers-reduced-motion: reduce) {
    #settings-panel .ttv-member-root .vip-left[class*="vps-header-tier--"]::before {
        animation: none;
        opacity: 0.42;
    }
}

#settings-panel .ttv-member-root .vip-left[class*="vps-header-tier--"] .ttv-dom-left-inner {
    position: relative;
    z-index: 1;
}

#settings-panel .ttv-member-root .ttv-dom-left-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
}

#settings-panel .ttv-member-root .octo-badge {
    position: relative;
    width: 7rem;
    height: 7rem;
    filter: drop-shadow(0 0 15px var(--tier-glow, rgba(255,255,255,0.2)));
}

#settings-panel .ttv-member-root .octo-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--tier-color) 0%, rgba(255,255,255,0.2) 100%);
    clip-path: polygon(29% 0%, 71% 0%, 100% 29%, 100% 71%, 71% 100%, 29% 100%, 0% 71%, 0% 29%);
}

#settings-panel .ttv-member-root .octo-badge::after {
    content: "";
    position: absolute;
    inset: 2.5px;
    background: radial-gradient(circle at 30% 30%, #2a3441 0%, #0d121c 100%);
    clip-path: polygon(29% 0%, 71% 0%, 100% 29%, 100% 71%, 71% 100%, 29% 100%, 0% 71%, 0% 29%);
}

#settings-panel .ttv-member-root .octo-icon {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tier-color);
    filter: drop-shadow(0 0 8px var(--tier-color)) drop-shadow(0 0 15px var(--tier-color));
}

#settings-panel .ttv-member-root .octo-icon svg {
    width: 3.5rem;
    height: 3.5rem;
    stroke-width: 2;
}

#settings-panel .ttv-member-root .octo-badge.sm {
    width: 3.5rem;
    height: 3.5rem;
    filter: drop-shadow(0 0 8px var(--tier-glow, rgba(255,255,255,0.2)));
}

#settings-panel .ttv-member-root .octo-badge.sm::after {
    inset: 1.5px;
}

#settings-panel .ttv-member-root .octo-badge.sm .octo-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke-width: 2.5;
}

#settings-panel .ttv-member-root .ttv-dom-current-tier-wrap {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

#settings-panel .ttv-member-root .ttv-dom-current-tier-name {
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
}

#settings-panel .ttv-member-root .ttv-dom-current-tier-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

#settings-panel .ttv-member-root .badge-active-level {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    color: #cbd5e1;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

#settings-panel .ttv-member-root .badge-active-bonus {
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.3);
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 800;
    color: #34d399;
    box-shadow: 0 0 15px rgba(52, 211, 153, 0.1);
}

#settings-panel .ttv-member-root .vip-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
}

#settings-panel .ttv-member-root .ttv-dom-stat-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#settings-panel .ttv-member-root .stat-card {
    background: rgba(255,255,255,0.03);
    /* border: 1px solid rgba(255,255,255,0.05); */
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
}

#settings-panel .ttv-member-root .ttv-dom-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

#settings-panel .ttv-member-root .ttv-dom-stat-total-row {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem 1.25rem;
}

#settings-panel .ttv-member-root .ttv-dom-stat-value-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    flex: 1 1 auto;
    min-width: 0;
}

#settings-panel .ttv-member-root .ttv-dom-stat-split {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    white-space: nowrap;
}

#settings-panel .ttv-member-root .ttv-dom-stat-split-item strong {
    font-size: 0.8rem;
    font-weight: 700;
    color: #cbd5e1;
    text-transform: none;
    letter-spacing: normal;
}

#settings-panel .ttv-member-root .ttv-dom-stat-split-sep {
    color: #475569;
    font-weight: 500;
    padding: 0 0.1rem;
}

#settings-panel .ttv-member-root .ttv-dom-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

#settings-panel .ttv-member-root .ttv-dom-progress-box {
    background: rgba(0,0,0,0.25);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    /* border: 1px solid rgba(255,255,255,0.03);
    box-shadow: inset 0 4px 6px rgba(0,0,0,0.3); */
}

#settings-panel .ttv-member-root .ttv-dom-progress-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

#settings-panel .ttv-member-root .ttv-dom-progress-title {
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#settings-panel .ttv-member-root .ttv-dom-progress-value-main {
    color: #fff;
}

#settings-panel .ttv-member-root .ttv-dom-progress-value-sub {
    color: #64748b;
    font-weight: 500;
}

#settings-panel .ttv-member-root .p-bar-wrapper {
    background: #080b13;
    border-radius: 999px;
    height: 0.6rem;
    width: 100%;
    border: 1px solid rgba(255,255,255,0.03);
    position: relative;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.8);
}

#settings-panel .ttv-member-root .p-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent 0%, var(--tier-color) 100%);
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 15px var(--tier-glow);
}

#settings-panel .ttv-member-root .p-bar-fill::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 70%, transparent 100%);
    background-size: 300% 100%;
    animation: lightSweep 2s infinite ease-in-out;
    z-index: 1;
}

#settings-panel .ttv-member-root .p-bar-fill::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
    width: 1rem;
    height: 1rem;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px var(--tier-color), 0 0 20px 5px var(--tier-glow);
    z-index: 2;
}

@keyframes lightSweep {
    0% { background-position: 100% 0; }
    100% { background-position: 0% 0; }
}

#settings-panel .ttv-member-root .ttv-dom-progress-foot {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
}

#settings-panel .ttv-member-root .ttv-dom-progress-note {
    margin: 0;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

#settings-panel .ttv-member-root .ttv-dom-progress-need {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

#settings-panel .ttv-member-root .ttv-dom-next-badge {
    background: rgba(52, 211, 153, 0.15);
    border: 1px solid rgba(52,211,153,0.3);
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    color: #34d399;
    font-weight: 700;
}

#settings-panel .ttv-member-root .ttv-dom-max-tier {
    background: rgba(192, 132, 252, 0.1);
    border: 1px solid rgba(192, 132, 252, 0.2);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: inset 0 0 20px rgba(192, 132, 252, 0.05);
}

#settings-panel .ttv-member-root .ttv-dom-max-tier__icon {
    color: #c084fc;
    filter: drop-shadow(0 0 5px #c084fc);
}

#settings-panel .ttv-member-root .ttv-dom-max-tier__title {
    margin: 0;
    color: #e9d5ff;
    font-weight: 700;
    font-size: 1rem;
    text-shadow: 0 0 10px rgba(192, 132, 252, 0.5);
}

#settings-panel .ttv-member-root .ttv-dom-max-tier__desc {
    margin: 2px 0 0;
    color: rgba(216, 180, 254, 0.7);
    font-size: 0.8rem;
}

#settings-panel .ttv-member-root .info-grid {
    padding: 1rem 0;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

#settings-panel .ttv-member-root .info-box {
    background-color: var(--bg-surface);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: border-color 0.2s;
}

#settings-panel .ttv-member-root .info-box:hover {
    border-color: var(--border-hover);
}

#settings-panel .ttv-member-root .ttv-dom-info-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

#settings-panel .ttv-member-root .ttv-dom-info-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#settings-panel .ttv-member-root .ttv-dom-service-value {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

#settings-panel .ttv-member-root .ttv-dom-service-active {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

#settings-panel .ttv-member-root .ttv-dom-service-total {
    color: var(--text-muted);
}

#settings-panel .ttv-member-root .ttv-dom-extra-section {
    padding: 0;
}

#settings-panel .ttv-member-root .ttv-dom-extra-title {
    margin-bottom: 0.75rem;
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 600;
}

#settings-panel .ttv-member-root .ttv-dom-extra-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

#settings-panel .ttv-member-root .ttv-member-toggle-wrap {
    display: flex;
    justify-content: center;
}

#settings-panel .ttv-member-root .toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s;
    font-size: 0.875rem;
}

#settings-panel .ttv-member-root .toggle-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

#settings-panel .ttv-member-root .toggle-icon {
    transition: transform 0.3s ease;
}

#settings-panel .ttv-member-root .toggle-icon.open {
    transform: rotate(90deg);
}

#settings-panel .ttv-member-root .tiers-panel {
    /* background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem; */
    display: none;
    animation: fadeIn 0.3s ease-out;
}

#settings-panel .ttv-member-root .tiers-panel.show {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

#settings-panel .ttv-member-root .tiers-panel h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
}

#settings-panel .ttv-member-root .tiers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

#settings-panel .ttv-member-root .tier-card {
    border-radius: var(--radius-md);
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
}

#settings-panel .ttv-member-root .tier-card:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

#settings-panel .ttv-member-root .tier-card.active {
    border-color: rgba(255,255,255,0.2) !important;
}

#settings-panel .ttv-member-root .current-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #fff;
    color: #000;
    font-size: 0.625rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-bottom-left-radius: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

#settings-panel .ttv-member-root .ttv-dom-tier-head {
    margin-bottom: 1.25rem;
}

#settings-panel .ttv-member-root .ttv-dom-tier-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#settings-panel .ttv-member-root .ttv-dom-tier-name {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1.1;
    text-transform: uppercase;
}

#settings-panel .ttv-member-root .ttv-dom-tier-level {
    margin-top: 0.25rem;
    display: inline-flex;
    background: rgba(255,255,255,0.1);
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 800;
    color: #e2e8f0;
    letter-spacing: 0.5px;
}

#settings-panel .ttv-member-root .ttv-dom-tier-foot {
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1rem;
}

#settings-panel .ttv-member-root .ttv-dom-tier-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

#settings-panel .ttv-member-root .ttv-dom-tier-row + .ttv-dom-tier-row {
    margin-top: 0.5rem;
}

#settings-panel .ttv-member-root .ttv-dom-tier-row span {
    color: #94a3b8;
    font-weight: 500;
}

#settings-panel .ttv-member-root .ttv-dom-tier-row strong {
    color: #fff;
    font-weight: 700;
}

@media (min-width: 640px) {
    #settings-panel .ttv-member-root .tiers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    #settings-panel .ttv-member-root .info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    #settings-panel .ttv-member-root .ttv-dom-extra-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    #settings-panel .ttv-member-root .vip-layout {
        flex-direction: row;
        align-items: stretch;
    }
    #settings-panel .ttv-member-root .vip-left {
        flex: 0 0 auto;
        /* border-right: 1px solid rgba(255,255,255,0.05); */
        padding-right: 2.5rem;
        padding-bottom: 0;
        min-width: 280px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    #settings-panel .ttv-member-root .tiers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.settings-member-design .settings-member-level__head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.settings-member-design {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.settings-member-card {
    border: 1px solid rgba(30, 41, 59, 0.95);
    border-radius: 16px;
    background: #0b1325;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.45);
    overflow: hidden;
}

.settings-member-header {
    padding: 22px 28px;
    border-bottom: 1px solid rgba(30, 41, 59, 0.75);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.settings-member-header h2 {
    margin: 0;
    font-size: 37px;
    line-height: 1.2;
    color: #f8fafc;
    font-weight: 700;
}

.settings-member-body {
    padding: 22px 28px 28px;
}

.settings-level-toggle-btn {
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: transparent;
    color: #94a3b8;
    border-radius: 9999px;
    padding: 6px 12px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .2s ease;
}

.settings-level-toggle-btn:hover {
    color: #e2e8f0;
    border-color: rgba(148, 163, 184, 0.45);
    background: rgba(255, 255, 255, 0.04);
}

.settings-level-toggle-btn i {
    transition: transform .2s ease;
}

.settings-level-toggle-btn.is-open i {
    transform: rotate(90deg);
}

.settings-level-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

.settings-level-toggle-wrap--outside {
    margin-top: 0;
}

.settings-vip-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 14px;
    padding: 16px;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
}

.settings-vip-glow {
    position: absolute;
    right: -20%;
    top: -30%;
    width: 130%;
    height: 150%;
    background: radial-gradient(circle, var(--tier-color, rgba(99,102,241,0.5)) 0%, transparent 60%);
    opacity: .12;
    filter: blur(36px);
}

.settings-vip-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.settings-vip-left {
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    padding-bottom: 12px;
    display: grid;
    justify-items: center;
    gap: 8px;
}

.settings-vip-icon {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    border: 1px solid var(--tier-glow, rgba(99,102,241,0.45));
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 6, 23, 0.5);
    box-shadow: 0 0 24px var(--tier-glow, rgba(99,102,241,0.2));
}

.settings-vip-name {
    font-size: 30px;
    font-weight: 800;
}

.settings-vip-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.settings-vip-badge {
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.75);
    border-radius: 9999px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 700;
}

.settings-vip-badge--bonus {
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.45);
    background: rgba(16, 185, 129, 0.12);
}

.settings-vip-right {
    display: grid;
    gap: 8px;
}

.settings-vip-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    background: rgba(2, 6, 23, 0.3);
    padding: 9px 10px;
    color: #94a3b8;
    font-size: 12px;
}

.settings-vip-stat strong {
    color: #e2e8f0;
    font-size: 14px;
}

.settings-vip-rule-note {
    font-size: 12px;
    color: #94a3b8;
}

.settings-vip-progress-box {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    background: rgba(2, 6, 23, 0.35);
    padding: 10px;
}

.settings-vip-progress-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #94a3b8;
    font-size: 12px;
    margin-bottom: 8px;
}

.settings-vip-progress-track {
    width: 100%;
    height: 8px;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.2);
    overflow: hidden;
}

.settings-vip-progress-fill {
    height: 100%;
    border-radius: 9999px;
}

.settings-vip-progress-note {
    margin-top: 8px;
    color: #94a3b8;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.settings-vip-next-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 700;
    color: #34d399;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.34);
}

.settings-vip-max-tier {
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #d8b4fe;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 10px;
    padding: 10px;
    font-size: 12px;
}

.settings-tiers-panel {
    margin-top: 12px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 12px;
    padding: 10px;
    background: rgba(2, 6, 23, 0.2);
    display: grid;
    gap: 8px;
}

.settings-tier-item {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.7);
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.settings-tier-item.is-current {
    border-color: rgba(59, 130, 246, 0.6);
    background: rgba(59, 130, 246, 0.12);
}

.settings-tier-item__main {
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-tier-item__icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.settings-tier-item__name {
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 700;
}

.settings-tier-item__name small {
    color: #94a3b8;
    font-weight: 600;
}

.settings-tier-item__condition {
    color: #94a3b8;
    font-size: 12px;
}

.settings-tier-item__bonus {
    color: #34d399;
    font-weight: 800;
    font-size: 13px;
}

.settings-member-info-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 12px;
}

.settings-member-info-box {
    border: 1px solid rgba(51, 65, 85, 0.78);
    border-radius: 12px;
    background: #15203a;
    padding: 14px 16px;
}

.settings-member-info-label {
    color: #94a3b8;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.settings-member-info-label svg {
    width: 16px;
    height: 16px;
}

.settings-member-info-value {
    color: #f8fafc;
    font-size: 33px;
    font-weight: 700;
    line-height: 1.2;
}

.settings-member-info-value span {
    color: #94a3b8;
    font-weight: 600;
}

@media (min-width: 900px) {
    .settings-vip-layout {
        grid-template-columns: 260px 1fr;
        gap: 16px;
    }
    .settings-vip-left {
        border-bottom: 0;
        border-right: 1px solid rgba(148, 163, 184, 0.2);
        padding-bottom: 0;
        padding-right: 16px;
    }
    .settings-member-info-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .settings-member-header h2 {
        font-size: 30px;
    }
    .settings-member-body {
        padding: 18px;
    }
    .settings-member-info-value {
        font-size: 27px;
    }
}

.qldv-member-level-mini {
    margin-top: 10px;
    border-top: 1px solid rgba(51, 65, 85, 0.6);
    padding-top: 10px;
    display: grid;
    gap: 8px;
}

.qldv-member-level-mini__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.qldv-member-level-mini__label {
    color: #94a3b8;
    font-size: 12px;
}

.qldv-member-level-chip,
.qldv-member-rule-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    border-radius: 9999px;
    padding: 3px 10px;
    /* border: 1px solid rgba(34, 211, 238, 0.35); */
    background: rgb(140 177 183 / 12%);
    color: #a5f3fc;
    white-space: nowrap;
}

.qldv-member-rule-chip.is-default {
    border-color: rgba(34, 211, 238, 0.35);
    background: rgba(6, 182, 212, 0.12);
    color: #a5f3fc;
}

.qldv-member-rule-chip.is-custom {
    border-color: rgba(251, 191, 36, 0.4);
    background: rgba(245, 158, 11, 0.14);
    color: #fcd34d;
}

.qldv-member-rule-chip.is-excluded {
    border-color: rgba(244, 63, 94, 0.45);
    background: rgba(190, 24, 93, 0.16);
    color: #fda4af;
}

.api-toast-wrap {
    position: fixed;
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    z-index: 200000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(420px, calc(100vw - 24px));
    pointer-events: none;
}

.api-toast-wrap .api-toast {
    pointer-events: auto;
}

.api-toast {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: 12px;
    border: 1px solid #1e293b;
    background: rgba(2, 6, 23, 0.92);
    color: #e2e8f0;
    font-size: 13px;
    line-height: 1.45;
    padding: 11px 14px;
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    animation: toastIn .22s ease;
}

.api-toast--success {
    border-color: rgba(16, 185, 129, .5);
    background: rgba(2, 44, 34, .88);
    color: #bbf7d0;
}

.api-toast--error {
    border-color: rgba(239, 68, 68, .5);
    background: rgba(48, 11, 17, .9);
    color: #fecaca;
}

.api-toast.is-leaving {
    opacity: 0;
    transform: translateY(8px);
    transition: all .2s ease;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

/* VPS điều khiển (profile): toast fixed, nhiều dòng xếp dọc — tách góc với .api-toast-wrap (phải) */
.vps-control-toast-wrap {
    position: fixed;
    left: max(16px, env(safe-area-inset-left, 0px));
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    z-index: 200001;
    display: flex;
    flex-direction: column-reverse;
    gap: 8px;
    align-items: flex-start;
    max-width: min(380px, calc(100vw - 32px));
    pointer-events: none;
}

.vps-control-toast-wrap .vps-control-toast {
    pointer-events: auto;
}

.vps-control-toast {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    border-radius: 12px;
    border: 1px solid #1e293b;
    background: rgba(2, 6, 23, 0.96);
    color: #cbd5e1;
    font-size: 12px;
    line-height: 1.45;
    padding: 10px 12px;
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.5);
    animation: toastIn .22s ease;
}

.vps-control-toast__id {
    flex-shrink: 0;
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 0.04em;
    color: #22d3ee;
    font-variant-numeric: tabular-nums;
}

.vps-control-toast__text {
    flex: 1;
    min-width: 0;
}

.vps-control-toast--info {
    border-color: rgba(100, 116, 139, 0.45);
}

.vps-control-toast--success {
    border-color: rgba(16, 185, 129, .45);
    background: rgba(2, 44, 34, .94);
    color: #bbf7d0;
}

.vps-control-toast--warn {
    border-color: rgba(245, 158, 11, .5);
    background: rgba(55, 38, 6, .94);
    color: #fde68a;
}

.vps-control-toast--error {
    border-color: rgba(239, 68, 68, .45);
    background: rgba(48, 11, 17, .94);
    color: #fecaca;
}

.vps-control-toast--leaving {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease;
}

.nutchondatacenter {
    display: flex;
    justify-content: center;
}

.profile-edit-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-edit-field__label {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
}

.profile-edit-field__input {
    background: #0b1220;
    border: 1px solid #1e293b;
    border-radius: 10px;
    color: #e2e8f0;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
}

.profile-edit-field__input:focus {
    border-color: rgba(34, 211, 238, .65);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, .16);
}

.profile-edit-empty {
    grid-column: 1 / -1;
    border: 1px dashed #334155;
    border-radius: 12px;
    color: #94a3b8;
    padding: 14px;
    font-size: 13px;
}

@keyframes mobileChatWiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(-8deg);
    }

    40% {
        transform: rotate(8deg);
    }

    60% {
        transform: rotate(-5deg);
    }

    80% {
        transform: rotate(5deg);
    }
}

.mobile-contact-fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 10020;
    display: none;
}

.mobile-contact-fab__toggle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .25);
    color: #fff;
    background: radial-gradient(circle at 30% 30%, #7c8cff 0%, #8b5cf6 45%, #5b3aa7 100%);
    box-shadow: 0 6px 20px rgba(102, 126, 234, .45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: mobileChatWiggle 2.4s infinite;
}

.mobile-contact-fab__item {
    position: absolute;
    right: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    border: 2px solid rgba(0, 0, 0, .08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(0) scale(.8);
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
}

.mobile-contact-fab__item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.mobile-contact-fab__item--chat {
    background: radial-gradient(circle at 30% 30%, #7c8cff 0%, #8b5cf6 45%, #5b3aa7 100%);
    border-color: rgba(255, 255, 255, .28);
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .2), 0 8px 18px rgba(76, 29, 149, .45);
}

.mobile-contact-fab.open .mobile-contact-fab__item {
    opacity: 1;
    pointer-events: auto;
}

.mobile-contact-fab.open .mobile-contact-fab__toggle {
    opacity: 0;
    pointer-events: none;
    transform: scale(.85);
}

.mobile-contact-fab.open .mobile-contact-fab__item:nth-child(1) {
    transform: translateX(-72px) scale(1);
}

.mobile-contact-fab.open .mobile-contact-fab__item:nth-child(2) {
    transform: translateX(-136px) scale(1);
}

.mobile-contact-fab.open .mobile-contact-fab__item:nth-child(3) {
    transform: translateX(-200px) scale(1);
}

.mobile-contact-fab.open .mobile-contact-fab__item:nth-child(4) {
    transform: translateX(-264px) scale(1);
}

.coin-payment-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
}

@media (max-width: 768px) {
    .coin-payment-links {
        grid-template-columns: 1fr;
    }
}

.qldv-autorenew-btn {
    margin-top: 8px;
    width: 100%;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .25);
    background: rgba(15, 23, 42, .35);
    color: #d1d5db;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    padding: 6px 10px;
    transition: all .2s ease;
}

.qldv-autorenew-btn--on {
    border-color: rgba(34, 197, 94, .5);
    background: rgba(34, 197, 94, .14);
    color: #bbf7d0;
}

.qldv-autorenew-btn--off:hover {
    border-color: rgba(56, 189, 248, .45);
    color: #e2e8f0;
}

.qldv-autorenew-btn--busy,
.qldv-autorenew-btn:disabled {
    opacity: .75;
    cursor: wait;
}

@media (max-width: 991.98px) {
    .mobile-contact-fab {
        display: block;
    }

    #chatWidget .chat-toggle-btn {
        display: none !important;
    }
}


section#view-proxy,
section#view-hosting,
section#view-email,
section#view-packages {
    margin-top: 20px;
}


@media (max-width: 900px) {
    #view-checkout h3.text-xl {
        font-size: 1.35rem;
    }

    #view-checkout .billing-btn .text-base {
        font-size: 16px;
    }

    #view-checkout .billing-btn .text-sm {
        font-size: 13px;
    }

    #view-checkout .loc-btn .font-bold {
        font-size: 16px;
    }
}

/* --- SEO blocks below pricing (VPS / Hosting / Email / Proxy) --- */
.service-seo-card {
    border-radius: 1.25rem;
    padding: 1.35rem 1.35rem 1.5rem;
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.55) 100%);
    border: 1px solid rgba(51, 65, 85, 0.65);
    box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.85);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.service-seo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.9);
}

.service-seo-card--cyan:hover {
    border-color: rgba(6, 182, 212, 0.45);
    box-shadow: 0 24px 48px -20px rgba(6, 182, 212, 0.12);
}

.service-seo-card--purple:hover {
    border-color: rgba(168, 85, 247, 0.45);
    box-shadow: 0 24px 48px -20px rgba(168, 85, 247, 0.12);
}

.service-seo-card--blue:hover {
    border-color: rgba(59, 130, 246, 0.45);
    box-shadow: 0 24px 48px -20px rgba(59, 130, 246, 0.12);
}

.service-seo-card--emerald:hover {
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 24px 48px -20px rgba(16, 185, 129, 0.12);
}

.service-seo-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.875rem;
    margin-bottom: 0.9rem;
}

.service-seo-card--cyan .service-seo-card__icon {
    background: rgba(6, 182, 212, 0.12);
    color: #22d3ee;
}

.service-seo-card--purple .service-seo-card__icon {
    background: rgba(168, 85, 247, 0.12);
    color: #c084fc;
}

.service-seo-card--blue .service-seo-card__icon {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
}

.service-seo-card--emerald .service-seo-card__icon {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
}

.service-seo-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.service-seo-card__text {
    font-size: 0.875rem;
    line-height: 1.65;
    color: #94a3b8;
    margin: 0;
}

.service-seo-faq {
    border-radius: 1.35rem;
    padding: 1.5rem 1.35rem 1.35rem;
    border: 1px solid rgba(51, 65, 85, 0.55);
    background: rgba(2, 6, 23, 0.45);
}

@media (min-width: 768px) {
    .service-seo-faq {
        padding: 2rem 2rem 1.5rem;
    }
}

.service-seo-faq--cyan {
    box-shadow: inset 0 1px 0 rgba(6, 182, 212, 0.06);
}

.service-seo-faq--purple {
    box-shadow: inset 0 1px 0 rgba(168, 85, 247, 0.06);
}

.service-seo-faq--blue {
    box-shadow: inset 0 1px 0 rgba(59, 130, 246, 0.06);
}

.service-seo-faq--emerald {
    box-shadow: inset 0 1px 0 rgba(16, 185, 129, 0.06);
}

.service-seo-faq__title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.125rem;
    font-weight: 800;
    color: #f1f5f9;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.service-seo-faq--cyan .service-seo-faq__title {
    color: #e2e8f0;
}

.service-seo-faq__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-seo-details {
    border-radius: 0.875rem;
    border: 1px solid rgba(51, 65, 85, 0.55);
    background: rgba(15, 23, 42, 0.65);
    overflow: hidden;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.service-seo-details:hover {
    border-color: rgba(71, 85, 105, 0.75);
}

.service-seo-details[open] {
    border-color: rgba(100, 116, 139, 0.55);
    background: rgba(15, 23, 42, 0.85);
}

.service-seo-faq--cyan .service-seo-details[open] {
    border-left: 3px solid #22d3ee;
}

.service-seo-faq--purple .service-seo-details[open] {
    border-left: 3px solid #c084fc;
}

.service-seo-faq--blue .service-seo-details[open] {
    border-left: 3px solid #60a5fa;
}

.service-seo-faq--emerald .service-seo-details[open] {
    border-left: 3px solid #34d399;
}

.service-seo-details summary {
    list-style: none;
    cursor: pointer;
    padding: 0.95rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    user-select: none;
}

.service-seo-details summary::-webkit-details-marker {
    display: none;
}

.service-seo-details summary::after {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: rotate(45deg);
    flex-shrink: 0;
    margin-top: -0.2rem;
    transition: transform 0.2s ease;
}

.service-seo-details[open] summary::after {
    transform: rotate(-135deg);
    margin-top: 0.15rem;
}

.service-seo-details p {
    margin: 0;
    padding: 0 1.1rem 1.1rem;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #94a3b8;
    border-top: 1px solid rgba(51, 65, 85, 0.4);
    padding-top: 0.85rem;
}

/*
 * Khối SEO phía dưới bảng giá: scope để tránh chồng chéo
 * - .glass-card đã có border trong CSS; không kết hợp thêm border Tailwind trên cùng node
 * - panel/stat dùng class riêng, một nguồn border duy nhất
 */
.service-seo-rich {
    isolation: isolate;
}

.service-seo-rich .service-seo-feature-row p {
    margin: 0;
}

.service-seo-rich .service-seo-card .service-seo-card__text {
    margin: 0;
}

.service-seo-panel {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(51, 65, 85, 0.55);
    border-radius: 1.75rem;
}

.service-seo-stat {
    border-radius: 1rem;
    border: 1px solid rgba(51, 65, 85, 0.55);
    background: rgba(15, 23, 42, 0.45);
    padding: 1.25rem 1rem;
    text-align: center;
}

.service-seo-stat p {
    margin: 0;
}

.service-seo-stat p+p {
    margin-top: 0.35rem;
}

/*
 * Khối SEO dưới bảng giá VPS — class riêng .vps-seo__* (không dùng chung .service-seo-*)
 * Tham chiếu giao diện: noidung-trong-vps.html (chỉ mockup, không nhúng build)
 */
.vps-seo {
    isolation: isolate;
}

.vps-seo__feature p {
    margin: 0;
}

.vps-seo__frame {
    border-radius: 1.75rem;
    border: 1px solid rgba(51, 65, 85, 0.48);
    background: rgba(2, 6, 23, 0.42);
    padding: 1.5rem 1.25rem;
}

@media (min-width: 768px) {
    .vps-seo__frame {
        padding: 2.5rem 2.25rem;
    }
}

.vps-seo__card {
    background-color: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
}

.vps-seo__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background 0.3s ease;
}

.vps-seo__card:hover {
    background-color: rgba(30, 41, 59, 0.8);
    border-color: rgba(34, 211, 238, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px -10px rgba(34, 211, 238, 0.1);
}

.vps-seo__card:hover::before {
    background: linear-gradient(90deg, #22d3ee, #34d399);
}

.vps-seo__card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    margin-bottom: 1.25rem;
    background-color: rgba(34, 211, 238, 0.1);
    color: #22d3ee;
}

.vps-seo__card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.75rem;
}

.vps-seo__card-text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.625;
    color: #94a3b8;
}

.vps-seo__panel {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.8));
    border: 1px solid rgba(51, 65, 85, 0.6);
    border-radius: 1.25rem;
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.vps-seo__stat {
    background-color: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(51, 65, 85, 0.4);
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.vps-seo__stat:hover {
    background-color: rgba(30, 41, 59, 0.6);
    border-color: #475569;
}

.vps-seo__stat p {
    margin: 0;
}

.vps-seo__stat p+p {
    margin-top: 0.25rem;
}

.vps-seo__faq {
    background-color: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 1.25rem;
    padding: 2rem;
}

.vps-seo__faq-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #f8fafc;
    margin: 0 0 1.5rem;
    letter-spacing: -0.02em;
}

.vps-seo__faq-title i,
.vps-seo__faq-title svg {
    color: #22d3ee;
}

.vps-seo__faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.vps-seo__details {
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
    padding: 1.25rem 0;
}

.vps-seo__details:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.vps-seo__details:first-child {
    padding-top: 0;
}

.vps-seo__details[open] {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 0;
}

.vps-seo__details:last-child[open] {
    border-bottom: none;
}

.vps-seo__faq--cyan .vps-seo__details[open] {
    border-left: none;
}

.vps-seo__details summary {
    list-style: none;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #e2e8f0;
    transition: color 0.2s ease;
}

.vps-seo__details summary::-webkit-details-marker {
    display: none;
}

.vps-seo__details summary:hover {
    color: #22d3ee;
}

.vps-seo__details summary::after {
    content: "+";
    color: #64748b;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    flex-shrink: 0;
    width: auto;
    height: auto;
    margin-top: 0;
    border: none;
    border-right: none;
    border-bottom: none;
    transform: none;
    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

.vps-seo__details[open] summary::after {
    transform: rotate(45deg);
    color: #22d3ee;
    margin-top: 0;
}

@keyframes vps-seo-fade-in-down {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.vps-seo__details p {
    margin-top: 1rem;
    margin-bottom: 0;
    padding: 0 2rem 0 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #94a3b8;
    border-top: none;
    padding-top: 0;
    animation: vps-seo-fade-in-down 0.3s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
    .vps-seo__details p {
        animation: none;
    }
}

.vps-seo__list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vps-seo__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0;
    font-size: 0.875rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.vps-seo__dot {
    margin-top: 0.375rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.vps-seo__dot--cyan {
    background-color: #22d3ee;
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.6);
}

.vps-seo__dot--emerald {
    background-color: #34d399;
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.6);
}

/* --- Checkout: direct /checkout without selected plan --- */
.checkout-empty-state {
    padding: 2rem 0 3rem;
}

.checkout-empty-state__inner {
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
    padding: 2.5rem 1.5rem 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(51, 65, 85, 0.65);
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.95) 0%, rgba(2, 6, 23, 0.65) 100%);
    box-shadow: 0 28px 60px -36px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(6, 182, 212, 0.06);
}

.checkout-empty-state__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1.25rem;
    margin-bottom: 1.5rem;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
}

.checkout-empty-state__icon {
    width: 2.25rem;
    height: 2.25rem;
    color: #22d3ee;
    stroke-width: 1.75;
}

.checkout-empty-state__title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #f8fafc;
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .checkout-empty-state__title {
        font-size: 1.875rem;
    }
}

.checkout-empty-state__lead {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #94a3b8;
    margin: 0 auto 0.5rem;
    max-width: 32rem;
}

.checkout-empty-state__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    align-items: center;
}

.checkout-empty-state__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.65rem 1.1rem;
    border-radius: 0.875rem;
    font-size: 0.8125rem;
    font-weight: 700;
    transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.checkout-empty-state__btn:active {
    transform: scale(0.98);
}

.checkout-empty-state__btn--primary {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: #020617;
    border: 1px solid rgba(34, 211, 238, 0.5);
    box-shadow: 0 8px 24px -8px rgba(6, 182, 212, 0.45);
}

.checkout-empty-state__btn--primary:hover {
    filter: brightness(1.06);
}

.checkout-empty-state__btn--secondary {
    background: rgba(15, 23, 42, 0.85);
    color: #e2e8f0;
    border: 1px solid rgba(51, 65, 85, 0.85);
}

.checkout-empty-state__btn--secondary:hover {
    border-color: rgba(100, 116, 139, 0.7);
    background: rgba(30, 41, 59, 0.9);
}

/* Mua tài khoản số (SPA v2) */
.mtk-months-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mtk-radio {
    cursor: pointer;
    display: block;
}

.mtk-radio input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.mtk-radio input:checked+.mtk-radio__body {
    border-color: rgba(34, 211, 238, 0.55);
    background: rgba(34, 211, 238, 0.08);
}

.mtk-radio__body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(51, 65, 85, 0.85);
    background: rgba(15, 23, 42, 0.9);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.mtk-radio__dur {
    font-size: 0.875rem;
    color: #e2e8f0;
}

.mtk-radio__price {
    font-size: 0.875rem;
    font-weight: 700;
    color: #22d3ee;
}

.mtk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mtk-btn--primary {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: #020617;
    border: 1px solid rgba(34, 211, 238, 0.4);
}

.mtk-btn--primary:hover {
    filter: brightness(1.05);
}

.mtk-btn--ghost {
    background: rgba(15, 23, 42, 0.8);
    color: #e2e8f0;
    border: 1px solid rgba(51, 65, 85, 0.9);
}

.mtk-btn--ghost:hover {
    border-color: rgba(34, 211, 238, 0.35);
    color: #22d3ee;
}

/* Muataikhoan — khớp taikhoanso.html (digital-page + product-card + btn-buy) */
#view-muataikhoan .digital-page {
    position: relative;
    padding-top: 2rem;
    padding-bottom: 5rem;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    min-height: 100%;
    overflow: hidden;
}

#view-muataikhoan .digital-page-inner {
    position: relative;
    z-index: 1;
}

#view-muataikhoan .page-bg-blur {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, rgba(59, 130, 246, 0.05) 50%, transparent 100%);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

#view-muataikhoan .page-header {
    text-align: center;
    margin-bottom: 2rem;
}

#view-muataikhoan .page-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    background: linear-gradient(to right, #fff, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 1rem;
}

@media (min-width: 640px) {
    #view-muataikhoan .page-title {
        font-size: 3.5rem;
    }
}

#view-muataikhoan .page-desc {
    color: #94a3b8;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Tabs: Khám phá / Tài khoản của tôi (taikhoanso.html) */
#view-muataikhoan .mtk-page-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
}

#view-muataikhoan .mtk-tab-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    backdrop-filter: blur(10px);
}

#view-muataikhoan .mtk-tab-btn {
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #94a3b8;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

#view-muataikhoan .mtk-tab-btn:hover {
    color: #fff;
}

#view-muataikhoan .mtk-tab-btn--active {
    background: rgba(34, 211, 238, 0.1);
    color: #22d3ee;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.15);
}

#view-muataikhoan .mtk-tab-icon {
    flex-shrink: 0;
}

#view-muataikhoan .mtk-section-content {
    display: none;
    animation: mtkSectionFade 0.4s ease forwards;
}

#view-muataikhoan .mtk-section-content--active {
    display: block;
}

@keyframes mtkSectionFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Dịch vụ đã mua — bảng (taikhoanso.html) */
#view-muataikhoan .mtk-purchased-wrap {
    max-width: 1280px;
    margin: 0 auto;
}

#view-muataikhoan .mtk-ps-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 1.5rem;
    color: #fff;
    letter-spacing: -0.02em;
}

#view-muataikhoan .mtk-ps-header-icon {
    color: #34d399;
    flex-shrink: 0;
}

#view-muataikhoan .mtk-orders-state {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    background: #0c1220;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

#view-muataikhoan .mtk-orders-state-text {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1.25rem;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

#view-muataikhoan .mtk-orders-state .mtk-btn {
    margin: 0 auto;
}

#view-muataikhoan .mtk-ps-table-container {
    background: #0c1220;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

#view-muataikhoan .mtk-ps-table-header,
#view-muataikhoan .mtk-ps-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    align-items: center;
    gap: 16px;
}

#view-muataikhoan .mtk-ps-table-header {
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
    font-weight: 700;
    color: #94a3b8;
}

#view-muataikhoan .mtk-ps-table-rows {
    min-height: 0;
}

#view-muataikhoan .mtk-ps-table-row {
    padding: 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.3s ease;
}

#view-muataikhoan .mtk-ps-table-row:last-child {
    border-bottom: none;
}

#view-muataikhoan .mtk-ps-table-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

#view-muataikhoan .mtk-ps-info-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

#view-muataikhoan .mtk-ps-product-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

#view-muataikhoan .mtk-ps-id {
    color: #64748b;
    font-weight: 800;
    margin-right: 4px;
}

#view-muataikhoan .mtk-ps-pkg {
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.95rem;
}

#view-muataikhoan .mtk-ps-product-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: #34d399;
}

#view-muataikhoan .mtk-ps-product-price--muted {
    color: #94a3b8;
}

#view-muataikhoan .mtk-ps-product-email {
    font-size: 0.95rem;
    color: #64748b;
    word-break: break-all;
}

#view-muataikhoan .mtk-ps-col-text {
    font-size: 0.95rem;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

#view-muataikhoan .mtk-ps-col-muted {
    font-size: 0.95rem;
    color: #94a3b8;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

#view-muataikhoan .mtk-ps-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

#view-muataikhoan .mtk-ps-badge--pending {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

#view-muataikhoan .mtk-ps-badge--active {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

#view-muataikhoan .mtk-ps-badge--expired {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

#view-muataikhoan .mtk-ps-badge--cancelled {
    background: rgba(148, 163, 184, 0.12);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

#view-muataikhoan .mtk-ps-btn-renew {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid #10b981;
    color: #34d399;
    background: transparent;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
    cursor: pointer;
    font-family: inherit;
    width: max-content;
}

/* Gia hạn: hover / focus — viền + glow cyan (khớp frontend-gizadata / mock) */
#view-muataikhoan .mtk-ps-btn-renew:not(.mtk-ps-btn-renew--muted):hover,
#view-muataikhoan .mtk-ps-btn-renew:not(.mtk-ps-btn-renew--muted):focus-visible {
    background: rgba(6, 182, 212, 0.12);
    border-color: rgba(34, 211, 238, 0.65);
    color: #67e8f9;
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.35), 0 0 22px rgba(34, 211, 238, 0.35);
    transform: translateY(-1px);
    outline: none;
}

#view-muataikhoan .mtk-ps-btn-renew--muted {
    border-color: #475569;
    color: #cbd5e1;
}

#view-muataikhoan .mtk-ps-btn-renew--muted:hover {
    background: rgba(148, 163, 184, 0.08);
    box-shadow: none;
}

@media (max-width: 900px) {
    #view-muataikhoan .mtk-ps-table-header {
        display: none;
    }

    #view-muataikhoan .mtk-ps-table-row {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px;
    }

    #view-muataikhoan .mtk-ps-table-row>div:not(.mtk-ps-info-col) {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 12px;
        border-top: 1px dashed rgba(255, 255, 255, 0.05);
    }

    #view-muataikhoan .mtk-ps-info-col {
        margin-bottom: 8px;
    }

    #view-muataikhoan .mtk-ps-table-row>div:not(.mtk-ps-info-col)::before {
        content: attr(data-label);
        font-size: 0.85rem;
        color: #64748b;
        font-weight: 600;
    }

    #view-muataikhoan .mtk-ps-btn-renew {
        width: 100%;
        margin-top: 8px;
    }
}

#view-muataikhoan .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

@media (min-width: 1024px) {
    #view-muataikhoan .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

#view-muataikhoan .product-card {
    background: #0c1220;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#view-muataikhoan .product-card--cover {
    padding: 0;
}

#view-muataikhoan .product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(34, 211, 238, 0.05);
}

#view-muataikhoan .product-card-cover-wrap {
    position: relative;
    width: 100%;
}

#view-muataikhoan .product-card-cover {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: cover;
    display: block;
}

#view-muataikhoan .card-badge--on-cover {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
}

#view-muataikhoan .product-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

#view-muataikhoan .card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

#view-muataikhoan .card-badge {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#view-muataikhoan .card-badge--bestseller {
    background: linear-gradient(90deg, #ff9f43, #ff6b2b);
    box-shadow: 0 4px 18px rgba(255, 107, 43, 0.55);
}

#view-muataikhoan .card-badge--featured {
    background: linear-gradient(135deg, #f43f5e, #db2777);
    box-shadow: 0 4px 18px rgba(244, 63, 94, 0.45);
}

#view-muataikhoan .product-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease;
}

#view-muataikhoan .product-card:hover .product-icon-wrap {
    transform: scale(1.05) rotate(5deg);
}

#view-muataikhoan .icon-svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke-width: 1.5;
    stroke: currentColor;
}

#view-muataikhoan .icon-color-chatgpt {
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.35);
}

#view-muataikhoan .icon-color-netflix {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.35);
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.35);
}

#view-muataikhoan .icon-color-spotify {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.35);
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.35);
}

#view-muataikhoan .icon-color-canva {
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 0 14px rgba(139, 92, 246, 0.35);
}

#view-muataikhoan .icon-color-youtube {
    color: #ff0000;
    background: rgba(255, 0, 0, 0.08);
    border-color: rgba(255, 0, 0, 0.35);
    box-shadow: 0 0 14px rgba(255, 0, 0, 0.35);
}

#view-muataikhoan .icon-color-google {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.35);
}

#view-muataikhoan .icon-color-default {
    color: #94a3b8;
    background: rgba(148, 163, 184, 0.08);
    border-color: rgba(148, 163, 184, 0.35);
    box-shadow: 0 0 12px rgba(148, 163, 184, 0.2);
}

#view-muataikhoan .product-info {
    flex-grow: 1;
}

#view-muataikhoan .product-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

#view-muataikhoan .product-desc {
    font-size: 1rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0 0 24px;
    white-space: pre-line;
    overflow-wrap: break-word;
    /* min-height: 76px; */
}

#view-muataikhoan .product-desc--empty {
    min-height: 0;
    margin-bottom: 0;
}

/* Mô tả rich: đoạn + dòng bắt đầu "-" → checklist icon tích xanh */
#view-muataikhoan .product-desc.mtk-desc-rich {
    white-space: normal;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#view-muataikhoan .product-desc.mtk-desc-rich .mtk-desc-para {
    margin: 0;
    white-space: pre-line;
}

#view-muataikhoan .product-desc.mtk-desc-rich .mtk-desc-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#view-muataikhoan .product-desc.mtk-desc-rich .mtk-desc-checkitem {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

#view-muataikhoan .product-desc.mtk-desc-rich .mtk-desc-check {
    flex-shrink: 0;
    line-height: 0;
    margin-top: 2px;
}

#view-muataikhoan .product-desc.mtk-desc-rich .mtk-desc-check svg {
    display: block;
    color: #34d399;
}

#view-muataikhoan .product-desc.mtk-desc-rich .mtk-desc-check-text {
    flex: 1;
    min-width: 0;
}

#view-muataikhoan .product-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

#view-muataikhoan .product-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
}

#view-muataikhoan .product-price-box {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Giá trên thẻ — khớp taikhoanso.html (.price-number / .price-currency / .price-period) */
#view-muataikhoan .price-label {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 6px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

#view-muataikhoan .price-value {
    display: flex;
    align-items: baseline;
    color: #22d3ee;
    line-height: 1;
}

#view-muataikhoan .price-number {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

#view-muataikhoan .price-currency {
    font-size: 1.1rem;
    font-weight: 700;
    position: relative;
    top: -0.6em;
    margin-left: 2px;
}

#view-muataikhoan .price-period {
    font-size: 0.95rem;
    font-weight: 500;
    color: #64748b;
    margin-left: 6px;
}

#view-muataikhoan .btn-buy {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: #06b6d4;
    color: #000;
    font-size: 1.1rem;
    font-weight: 800;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
}

#view-muataikhoan .btn-buy:hover {
    background: #22d3ee;
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.6);
    transform: translateY(-2px);
}

#view-muataikhoan .btn-buy svg {
    transition: transform 0.3s ease;
}

#view-muataikhoan .btn-buy:hover svg {
    transform: translateX(4px);
}

/* Popup đặt mua — bố cục taikhoanso.html (modal-overlay 2 cột) */
#mtk-buy-modal.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(4, 7, 13, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mtk-buy-modal.modal-overlay:not(.hidden) {
    display: flex !important;
    opacity: 1;
    visibility: visible;
}

#mtk-buy-modal .modal-container {
    background: #0b1120;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    min-height: 500px;
}

#mtk-buy-modal.modal-overlay:not(.hidden) .modal-container {
    transform: translateY(0) scale(1);
    opacity: 1;
}

#mtk-buy-modal .modal-close-absolute {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    z-index: 20;
    cursor: pointer;
}

#mtk-buy-modal .modal-close-absolute:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

#mtk-buy-modal .modal-left-pane {
    width: 45%;
    position: relative;
    background: #070b14;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 32px;
    overflow: hidden;
}

/* Ảnh bìa gốc (banner đỏ, v.v.) — không dùng opacity thấp + overlay blend (làm mờ như nền đen) */
#mtk-buy-modal .modal-cover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 1;
}

#mtk-buy-modal .modal-left-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Nhạt phía trên để màu ảnh hiện rõ; đậm dần xuống đáy chỗ chữ */
    background: linear-gradient(to bottom,
            rgba(7, 11, 20, 0.08) 0%,
            rgba(7, 11, 20, 0.35) 45%,
            rgba(11, 17, 32, 0.88) 85%,
            #0b1120 100%);
    z-index: 1;
    pointer-events: none;
}

#mtk-buy-modal .modal-product-content {
    position: relative;
    z-index: 5;
}

#mtk-buy-modal .modal-product-name-large {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

#mtk-buy-modal .mtk-buy-subtitle {
    color: #e2e8f0;
    font-size: 1.05rem;
    margin-bottom: 8px;
    line-height: 1.5;
    white-space: pre-line;
    overflow-wrap: break-word;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

#mtk-buy-modal .mtk-buy-subtitle.mtk-desc-rich {
    white-space: normal;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#mtk-buy-modal .mtk-buy-subtitle.mtk-desc-rich .mtk-desc-para {
    margin: 0;
    white-space: pre-line;
}

#mtk-buy-modal .mtk-buy-subtitle.mtk-desc-rich .mtk-desc-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#mtk-buy-modal .mtk-buy-subtitle.mtk-desc-rich .mtk-desc-checkitem {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

#mtk-buy-modal .mtk-buy-subtitle.mtk-desc-rich .mtk-desc-check {
    flex-shrink: 0;
    line-height: 0;
    margin-top: 2px;
}

#mtk-buy-modal .mtk-buy-subtitle.mtk-desc-rich .mtk-desc-check svg {
    display: block;
    color: #34d399;
}

#mtk-buy-modal .mtk-buy-subtitle.mtk-desc-rich .mtk-desc-check-text {
    flex: 1;
    min-width: 0;
}

#mtk-buy-modal .modal-product-features {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#mtk-buy-modal #mtk-buy-features:empty {
    display: none;
}

#mtk-buy-modal .modal-product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #cbd5e1;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

#mtk-buy-modal .modal-product-features li svg {
    color: #34d399;
    flex-shrink: 0;
}

#mtk-buy-modal .modal-right-pane {
    width: 55%;
    display: flex;
    flex-direction: column;
    background: #0b1120;
    position: relative;
}

#mtk-buy-modal .modal-header {
    padding: 32px 32px 16px 32px;
}

#mtk-buy-modal .modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    margin: 0;
}

#mtk-buy-modal .modal-body {
    padding: 0 32px 24px 32px;
    overflow-y: auto;
    flex-grow: 1;
}

#mtk-buy-modal .modal-body::-webkit-scrollbar {
    width: 6px;
}

#mtk-buy-modal .modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

#mtk-buy-modal .form-group {
    margin-bottom: 24px;
}

#mtk-buy-modal .form-group--flush {
    margin-bottom: 0;
}

#mtk-buy-modal .form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #cbd5e1;
    margin-bottom: 10px;
}

#mtk-buy-modal .form-label span {
    color: #ef4444;
}

#mtk-buy-modal .package-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

#mtk-buy-modal .package-radio {
    display: none;
}

#mtk-buy-modal .package-label {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: #040810;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

#mtk-buy-modal .package-label .p-name {
    font-size: 0.875rem;
    color: #94a3b8;
    transition: color 0.3s;
}

#mtk-buy-modal .package-label .p-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    transition: color 0.3s;
}

#mtk-buy-modal .package-radio:checked+.package-label {
    background: rgba(34, 211, 238, 0.05);
    box-shadow: inset 0 0 0 2px #06b6d4, 0 4px 20px rgba(34, 211, 238, 0.15);
    border-color: transparent;
}

#mtk-buy-modal .package-radio:checked+.package-label .p-name {
    color: #e2e8f0;
}

#mtk-buy-modal .package-radio:checked+.package-label .p-price {
    color: #22d3ee;
}

#mtk-buy-modal .mtk-buy-price-summary {
    font-size: 0.9rem;
    color: #22d3ee;
    margin-top: 0;
    font-weight: 600;
}

#mtk-buy-modal .form-input {
    width: 100%;
    padding: 14px 16px;
    background: #040810;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

#mtk-buy-modal .form-input::placeholder {
    color: #475569;
}

#mtk-buy-modal .form-input:focus {
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

#mtk-buy-modal textarea.form-input {
    resize: vertical;
    min-height: 90px;
}

#mtk-buy-modal .modal-footer {
    padding: 20px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #070b14;
    flex-wrap: wrap;
    gap: 12px;
}

#mtk-buy-modal .btn-modal-cancel {
    padding: 12px 24px;
    color: #94a3b8;
    font-weight: 600;
    border-radius: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    font-size: 0.95rem;
}

#mtk-buy-modal .btn-modal-cancel:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

#mtk-buy-modal .modal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

#mtk-buy-modal .mtk-wallet-pay-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
}

#mtk-buy-modal .mtk-wallet-hint {
    margin: 6px 0 0;
    font-size: 0.75rem;
    line-height: 1.35;
    color: rgba(251, 191, 36, 0.95);
    min-height: 2rem;
}

#mtk-buy-modal .mtk-wallet-hint.mtk-wallet-hint--muted {
    color: rgba(148, 163, 184, 0.95);
}

#mtk-buy-modal .btn-modal-transfer {
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
}

#mtk-buy-modal .btn-modal-transfer:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

#mtk-buy-modal .btn-modal-wallet {
    padding: 12px 32px;
    background: linear-gradient(to right, #10b981, #34d399);
    color: #022c22;
    font-weight: 800;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
}

#mtk-buy-modal .btn-modal-wallet:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    #mtk-buy-modal .modal-container {
        flex-direction: column;
        max-height: 95vh;
        border-radius: 24px 24px 0 0;
        min-height: 0;
    }

    #mtk-buy-modal .modal-left-pane {
        width: 100%;
        min-height: 200px;
        padding: 24px;
    }

    #mtk-buy-modal .modal-right-pane {
        width: 100%;
        overflow-y: auto;
    }

    #mtk-buy-modal .package-options {
        grid-template-columns: 1fr;
    }

    #mtk-buy-modal .modal-footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    #mtk-buy-modal .btn-modal-cancel {
        width: 100%;
        background: rgba(255, 255, 255, 0.05);
    }

    #mtk-buy-modal .modal-actions {
        width: 100%;
        flex-direction: column;
    }

    #mtk-buy-modal .btn-modal-transfer,
    #mtk-buy-modal .btn-modal-wallet {
        width: 100%;
    }

    #mtk-buy-modal .mtk-wallet-pay-stack {
        width: 100%;
    }
}

/* Catalog loading — cùng kiểu spinner cyan như #view-phanmem */
@keyframes vpsv2-catalog-spin {
    to {
        transform: rotate(360deg);
    }
}

.service-loading-wrap {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 4rem 1rem;
}

.service-loading-wrap.is-visible {
    display: flex;
}

.service-spinner {
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid rgba(34, 211, 238, 0.2);
    border-top-color: #22d3ee;
    border-radius: 50%;
    animation: vpsv2-catalog-spin 0.8s linear infinite;
    flex-shrink: 0;
}

/* Trang chủ — mock system_monitor: hiệu ứng nhẹ (dashboard “sống”) */
@keyframes home-sys-monitor-cpu {

    0%,
    100% {
        width: 21%;
    }

    50% {
        width: 34%;
    }
}

@keyframes home-sys-monitor-scan {
    0% {
        transform: translateY(-120%);
        opacity: 0;
    }

    10% {
        opacity: 0.12;
    }

    90% {
        opacity: 0.12;
    }

    100% {
        transform: translateY(520%);
        opacity: 0;
    }
}

@keyframes home-sys-monitor-metric {

    0%,
    100% {
        opacity: 1;
        filter: brightness(1);
    }

    50% {
        opacity: 0.88;
        filter: brightness(1.12);
    }
}

@keyframes home-sys-monitor-border {

    0%,
    100% {
        border-color: rgba(6, 182, 212, 0.18);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    }

    50% {
        border-color: rgba(6, 182, 212, 0.35);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 32px rgba(6, 182, 212, 0.08);
    }
}

@keyframes home-sys-monitor-cursor {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

#view-home .home-sys-monitor {
    position: relative;
    overflow: hidden;
    animation: home-sys-monitor-border 5s ease-in-out infinite;
}

#view-home .home-sys-monitor::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 40%;
    pointer-events: none;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(255, 255, 255, 0.04) 45%,
            transparent 90%);
    animation: home-sys-monitor-scan 7s linear infinite;
}

#view-home .home-sys-monitor-cpu-bar {
    width: 24%;
    min-width: 0;
    border-radius: 9999px;
    animation: home-sys-monitor-cpu 4.2s ease-in-out infinite;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.45);
}

#view-home .home-sys-monitor-metric {
    animation: home-sys-monitor-metric 3.5s ease-in-out infinite;
}

#view-home .home-sys-monitor-metric--delay {
    animation-delay: 0.6s;
}

#view-home .home-sys-monitor-led {
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.65);
    animation: home-sys-monitor-metric 2s ease-in-out infinite;
}

#view-home .home-sys-monitor-log::after {
    content: "";
    display: inline-block;
    width: 0.45rem;
    margin-left: 0.15rem;
    height: 0.85em;
    vertical-align: -0.1em;
    background: rgba(148, 163, 184, 0.55);
    animation: home-sys-monitor-cursor 1.1s step-end infinite;
}

@media (prefers-reduced-motion: reduce) {

    #view-home .home-hero-bg-orb--cyan,
    #view-home .home-hero-bg-orb--emerald,
    #view-home .home-hero-bg-orb--violet {
        animation: none !important;
    }

    #view-home .home-hero-bg-orb--cyan {
        transform: translate(-50%, -50%);
    }

    #view-home .home-hero-bg-orb--emerald,
    #view-home .home-hero-bg-orb--violet {
        transform: none;
    }

    #view-home .home-hero-typewriter-cursor {
        animation: none !important;
        opacity: 0.75;
    }

    #view-home .home-sys-monitor,
    #view-home .home-sys-monitor::after,
    #view-home .home-sys-monitor-cpu-bar,
    #view-home .home-sys-monitor-metric,
    #view-home .home-sys-monitor-metric--delay,
    #view-home .home-sys-monitor-led,
    #view-home .home-sys-monitor-log::after {
        animation: none !important;
    }

    #view-home .home-sys-monitor-cpu-bar {
        width: 24%;
        box-shadow: none;
    }

    #view-home .home-hero-btn-secondary:hover {
        transform: none;
    }

    #view-home .home-hero-btn-secondary:hover::before {
        left: -100% !important;
        opacity: 0 !important;
        transition: none !important;
    }
}

/* Trang chủ — CTA phụ “Đăng ký dùng ngay”: glow + shimmer đồng bộ nút cyan */
#view-home .home-hero-btn-secondary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
    transition:
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease,
        background 0.35s ease,
        color 0.35s ease;
}

#view-home .home-hero-btn-secondary::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -100%;
    width: 55%;
    background: linear-gradient(100deg,
            transparent 0%,
            rgba(34, 211, 238, 0.18) 45%,
            rgba(52, 211, 153, 0.1) 55%,
            transparent 100%);
    transform: skewX(-18deg);
    opacity: 0;
    transition: opacity 0.35s ease, left 0s linear 0.5s;
    pointer-events: none;
}

#view-home .home-hero-btn-secondary:hover {
    border-color: rgba(34, 211, 238, 0.55);
    background: rgba(30, 41, 59, 0.75);
    box-shadow:
        0 0 32px rgba(34, 211, 238, 0.14),
        0 0 0 1px rgba(34, 211, 238, 0.12) inset;
    transform: translateY(-4px);
    color: #f8fafc;
}

#view-home .home-hero-btn-secondary:hover::before {
    opacity: 1;
    left: 120%;
    transition: left 0.75s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

#view-home .home-hero-btn-secondary:active {
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.1);
}

#view-home .home-hero-btn-secondary:focus-visible {
    outline: 2px solid rgba(34, 211, 238, 0.75);
    outline-offset: 3px;
}



@media (max-width: 500px) {

    .qldv-card-icon-box.qldv-icon-cyan,
    .qldv-card-icon-box.qldv-icon-purple {
        display: none !important;
    }

    .qldv-expire-info {
        display: flex;
        gap: 10px;
        align-items: center;
        align-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        font-size: 12px;
    }

    .qldv-expire-label {
        margin: 0 !important;
    }
}


section#view-checkout {
    padding-top: 30px;
}

/* Footer: «Ưu đãi» — chữ vàng gold, chuyển động nhẹ */
.footer-promo-gold-link {
    text-decoration: none;
}

.footer-promo-gold-text {
    background: linear-gradient(105deg,
            #a16207 0%,
            #ca8a04 16%,
            #fde68a 38%,
            #eab308 52%,
            #facc15 64%,
            #ca8a04 82%,
            #a16207 100%);
    background-size: 240% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: footer-promo-gold-flow 6s ease-in-out infinite;
}

@keyframes footer-promo-gold-flow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.footer-promo-gold-link:hover .footer-promo-gold-text {
    animation-duration: 3.5s;
}

.footer-promo-gold-ico {
    color: #ca8a04;
    transition:
        color 0.35s ease,
        transform 0.35s ease,
        filter 0.35s ease;
    animation: footer-promo-gold-ico 4s ease-in-out infinite;
}

@keyframes footer-promo-gold-ico {

    0%,
    100% {
        color: #b45309;
        filter: brightness(1);
        transform: scale(1);
    }

    50% {
        color: #facc15;
        filter: brightness(1.12);
        transform: scale(1.05);
    }
}

.footer-promo-gold-link:hover .footer-promo-gold-ico {
    color: #fde047;
    filter: brightness(1.08);
}



/* thanh cuon */

::-webkit-scrollbar {
    width: 6px;
    /* nhỏ */
}

::-webkit-scrollbar-track {
    background: transparent;
    /* nền trong suốt */
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    /* thanh mờ */
    border-radius: 10px;
    transition: all 0.2s ease;
}

/* Hover cho dễ nhìn hơn */
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}


@media (max-width: 600px) {
    .billing-card__head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        flex-direction: column;
    }
}

/* Checkout modal: ô đồng ý điều khoản — sóng gradient nhẹ khi chưa tích (CSS thuần, không phụ thuộc Tailwind build) */
#checkout-terms-wrap .checkout-terms-wave-layer {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    background: linear-gradient(
        105deg,
        rgba(15, 23, 42, 0) 0%,
        rgba(15, 23, 42, 0) 38%,
        rgba(253, 224, 71, 0.11) 50%,
        rgba(15, 23, 42, 0) 62%,
        rgba(15, 23, 42, 0) 100%
    );
    background-size: 260% 100%;
    background-position: 50% 50%;
}

#checkout-terms-wrap.checkout-terms--pending .checkout-terms-wave-layer {
    opacity: 1;
    animation: checkout-terms-wave-shift 7.5s linear infinite;
}

@keyframes checkout-terms-wave-shift {
    0% {
        background-position: 160% 50%;
    }

    100% {
        background-position: -160% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    #checkout-terms-wrap.checkout-terms--pending .checkout-terms-wave-layer {
        animation: none;
        opacity: 0.35;
    }
}

/* Checkout: số tiền tổng thanh toán — hiệu ứng phát sáng nhấp nháy như ngọn nến */
#summary-total {
    animation: summary-total-candle 3.8s ease-in-out infinite;
    will-change: text-shadow;
}

@keyframes summary-total-candle {
    0%   { text-shadow: 0 0 6px rgba(34, 211, 238, 0.55),  0 0 14px rgba(34, 211, 238, 0.30); }
    12%  { text-shadow: 0 0 10px rgba(34, 211, 238, 0.80), 0 0 26px rgba(34, 211, 238, 0.45), 0 0 48px rgba(34, 211, 238, 0.18); }
    22%  { text-shadow: 0 0 5px  rgba(34, 211, 238, 0.45),  0 0 12px rgba(34, 211, 238, 0.22); }
    35%  { text-shadow: 0 0 12px rgba(34, 211, 238, 0.90), 0 0 30px rgba(34, 211, 238, 0.52), 0 0 55px rgba(34, 211, 238, 0.22); }
    48%  { text-shadow: 0 0 7px  rgba(34, 211, 238, 0.60),  0 0 18px rgba(34, 211, 238, 0.32); }
    58%  { text-shadow: 0 0 4px  rgba(34, 211, 238, 0.38),  0 0 10px rgba(34, 211, 238, 0.18); }
    67%  { text-shadow: 0 0 11px rgba(34, 211, 238, 0.85), 0 0 28px rgba(34, 211, 238, 0.48), 0 0 50px rgba(34, 211, 238, 0.20); }
    78%  { text-shadow: 0 0 6px  rgba(34, 211, 238, 0.52),  0 0 15px rgba(34, 211, 238, 0.28); }
    88%  { text-shadow: 0 0 9px  rgba(34, 211, 238, 0.72), 0 0 22px rgba(34, 211, 238, 0.38); }
    100% { text-shadow: 0 0 6px  rgba(34, 211, 238, 0.55),  0 0 14px rgba(34, 211, 238, 0.30); }
}

@media (prefers-reduced-motion: reduce) {
    #summary-total {
        animation: none;
        text-shadow: 0 0 10px rgba(34, 211, 238, 0.50), 0 0 24px rgba(34, 211, 238, 0.25);
    }
}