/* ═══════════════════════════════════════════════
   IMPROVEMENTS — Nav, Inputs, Buttons, Search
   Overrides minified style.css
═══════════════════════════════════════════════ */

/* ────────────────────────────────────────────
   1. SIDEBAR NAV ITEMS — Black hover effect
──────────────────────────────────────────── */
@media (hover: hover) {
  .sb-item:hover {
    background: rgba(0,0,0,.55) !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,.15) !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 2px 12px rgba(0,0,0,.35) !important;
    transform: translateX(3px);
  }
  .sb-item:hover .sb-item-icon {
    background: rgba(255,255,255,.1) !important;
    color: #fff !important;
  }
}
.sb-item {
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s, transform .18s !important;
  -webkit-tap-highlight-color: transparent;
}
/* Active state — green accent */
.sb-item.sb-active {
  background: rgba(0,230,118,.1) !important;
  color: #00e676 !important;
  border-color: rgba(0,230,118,.22) !important;
}
/* Topup item — purple accent when active */
.sb-item-topup.sb-active {
  background: rgba(108,92,231,.12) !important;
  border-color: rgba(108,92,231,.3) !important;
  color: #a29bfe !important;
}

/* Ranking nav item — gold accent */
.sb-item-ranking .sb-item-icon,
.sb-icon-ranking {
  background: rgba(255,215,0,.1) !important;
  border-color: rgba(255,215,0,.25) !important;
  color: #ffd700 !important;
}
.sb-item-ranking:hover .sb-item-icon,
.sb-item-ranking.sb-active .sb-item-icon {
  background: rgba(255,215,0,.2) !important;
  border-color: rgba(255,215,0,.4) !important;
  box-shadow: 0 0 14px rgba(255,215,0,.25) !important;
}
.sb-item-ranking.sb-active {
  background: rgba(255,215,0,.07) !important;
  border-color: rgba(255,215,0,.2) !important;
  color: #ffd700 !important;
}
/* Package card position:relative for absolute discount badge */
.pd-pkg-card { position: relative; overflow: hidden; }

/* ────────────────────────────────────────────
   2. ALL INPUTS — Fix mobile touch-hover, clean focus
──────────────────────────────────────────── */
input, textarea, select {
  -webkit-tap-highlight-color: transparent;
}
/* Remove hover border on touch devices — only show on true hover */
@media (hover: none) {
  .topup-input:hover,
  .tc-input:hover,
  .auth-input:hover,
  .pm-qty-input:hover {
    border-color: rgba(255,255,255,.08) !important;
    box-shadow: none !important;
  }
  /* Remove hover styles on all interactive cards/buttons on touch */
  .topup-pkg:hover,
  .tc-telco:hover,
  .tc-amount-btn:hover,
  .sp-card:hover,
  .pm-pkg-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}
/* Focus — clean 2px border only, no background change for search */
.topbar-search-wrap:focus-within {
  border: 2px solid rgba(0,230,118,.55) !important;
  background: rgba(255,255,255,.05) !important;
  box-shadow: none !important;
  padding: 0 13px !important;  /* compensate for extra border px */
}
.topbar-search-wrap {
  border-width: 1px;
  transition: border-color .18s, border-width .18s !important;
}

/* ────────────────────────────────────────────
   3. BUY BUTTONS — sp-buy-btn & pm-buy-btn improvements
──────────────────────────────────────────── */
.sp-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #6c5ce7, #a29bfe);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: .04em;
  box-shadow: 0 4px 16px rgba(108,92,231,.35);
  transition: transform .18s, box-shadow .18s, opacity .18s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) {
  .sp-buy-btn:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 24px rgba(108,92,231,.55);
  }
}
.sp-buy-btn:active:not(:disabled) {
  transform: translateY(0) scale(.97);
}
.sp-buy-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  box-shadow: none;
}

/* Purchase modal buy button */
.pm-buy-btn {
  background: linear-gradient(135deg, #6c5ce7, #a29bfe) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 14px !important;
  font-weight: 900 !important;
  box-shadow: 0 6px 22px rgba(108,92,231,.4) !important;
  transition: transform .18s, box-shadow .18s, opacity .2s !important;
}
@media (hover: hover) {
  .pm-buy-btn:hover:not(:disabled) {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 32px rgba(108,92,231,.6) !important;
  }
}
.pm-buy-btn.loading {
  opacity: .65 !important;
}

/* ────────────────────────────────────────────
   4. TOPBAR BRAND — always hidden (text removed from header)
──────────────────────────────────────────── */
.topbar-brand { display: none !important; }

/* ────────────────────────────────────────────
   4b. TOPBAR USER AVATAR — logo with 5px border
──────────────────────────────────────────── */
.topbar-user-icon-only {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  gap: 0 !important;
  flex-shrink: 0;
}
.topbar-avatar-logo {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  overflow: visible !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #0e0f1a !important;
  border: 3px solid rgba(162,155,254,.7) !important;
  box-shadow:
    0 0 0 2px rgba(108,92,231,.35),
    0 0 14px rgba(108,92,231,.45),
    inset 0 0 0 1px rgba(255,255,255,.06) !important;
  flex-shrink: 0;
  transition: box-shadow .2s, border-color .2s !important;
}
@media (hover: hover) {
  .topbar-user-icon-only:hover .topbar-avatar-logo {
    border-color: #a29bfe !important;
    box-shadow:
      0 0 0 3px rgba(108,92,231,.5),
      0 0 22px rgba(108,92,231,.6),
      inset 0 0 0 1px rgba(255,255,255,.1) !important;
  }
}
.topbar-avatar-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block !important;
}
/* Dropdown avatar */
.tud-avatar-logo {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  border: 3px solid rgba(162,155,254,.6) !important;
  box-shadow: 0 0 12px rgba(108,92,231,.4) !important;
  flex-shrink: 0;
  background: #0e0f1a;
}
.tud-avatar-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
/* Balance mini in dropdown header */
.tud-balance-mini {
  font-size: .76rem;
  color: rgba(162,155,254,.8);
  margin-top: 2px;
}
.tud-balance-mini strong { color: #a29bfe; }

/* Search bar stretch full between hamburger and account */
.topbar { gap: 10px; }
.topbar-search { flex: 1 !important; }

/* ────────────────────────────────────────────
   5. TOPUP PROMO BANNER — Homepage hero section
   Icon override — green checkmark glowing
──────────────────────────────────────────── */
.topup-promo-icon {
  background: linear-gradient(135deg, #00c865, #00e676) !important;
  box-shadow: 0 4px 18px rgba(0,230,118,.5) !important;
}
.topup-promo-icon i { color: #fff !important; font-size: 1.25rem !important; }

.topup-promo-section {
  margin: 0 0 24px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(108,92,231,.12) 0%, rgba(0,230,118,.06) 100%);
  border: 1px solid rgba(255,255,255,.07);
  padding: 22px 24px 20px;
}
.topup-promo-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.topup-promo-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #6c5ce7, #a29bfe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(108,92,231,.4);
}
.topup-promo-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: #f0f2f8;
  margin: 0 0 3px;
  line-height: 1.2;
}
.topup-promo-sub {
  font-size: .76rem;
  color: rgba(240,242,248,.45);
  margin: 0;
  line-height: 1.4;
}
.topup-promo-sub .highlight {
  color: #a29bfe;
  font-weight: 700;
}
.topup-promo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}
.topup-promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.topup-promo-tag.green {
  background: rgba(0,230,118,.1);
  border: 1px solid rgba(0,230,118,.2);
  color: #00e676;
}
.topup-promo-tag.purple {
  background: rgba(108,92,231,.12);
  border: 1px solid rgba(108,92,231,.25);
  color: #a29bfe;
}
.topup-promo-tag.yellow {
  background: rgba(255,179,0,.1);
  border: 1px solid rgba(255,179,0,.2);
  color: #ffb300;
}
.topup-promo-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.topup-promo-banner-btn {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  border: 2px solid transparent;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  background: rgba(0,0,0,.25);
  aspect-ratio: 480 / 204;
}
.topup-promo-banner-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: transform .3s;
}
@media (hover: hover) {
  .topup-promo-banner-btn:hover {
    border-color: rgba(162,155,254,.6);
    box-shadow: 0 6px 24px rgba(108,92,231,.35);
    transform: translateY(-2px);
  }
  .topup-promo-banner-btn:hover img {
    transform: scale(1.03);
  }
}
.topup-promo-banner-btn:active {
  transform: scale(.97);
}
.topup-promo-banner-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 100%);
  padding: 10px 12px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .03em;
  pointer-events: none;
}
.topup-promo-banner-label i {
  font-size: .7rem;
  opacity: .85;
}
@media (max-width: 500px) {
  .topup-promo-section { padding: 16px 14px 14px; }
  .topup-promo-banners { grid-template-columns: 1fr 1fr; gap: 8px; }
  .topup-promo-banner-label { font-size: .68rem; padding: 8px 8px 6px; }
}
@media (max-width: 360px) {
  .topup-promo-banners { grid-template-columns: 1fr; }
}

/* ────────────────────────────────────────────
   6. AUTH INPUTS — label hint (register optional hint)
──────────────────────────────────────────── */
.auth-label-hint {
  font-size: .68rem;
  color: rgba(162,155,254,.6);
  font-weight: 600;
}

/* ────────────────────────────────────────────
   7. TOPUP CARD — improved card input UI
──────────────────────────────────────────── */
.tc-input-group label.tc-label-main {
  font-size: .78rem;
  font-weight: 800;
  color: rgba(240,242,248,.6);
  letter-spacing: .04em;
  margin-bottom: 2px;
  display: block;
}
/* Remove green bonus badge from topup packages */
.topup-pkg-bonus { display: none !important; }

/* Card topup submit btn — more refined */
.tc-submit-btn {
  margin-top: 8px;
  padding: 14px 0;
  letter-spacing: .05em;
  text-transform: uppercase;
}
/* Telco grid cards — better active highlight */
.tc-telco.selected {
  background: rgba(108,92,231,.14) !important;
  border-color: rgba(162,155,254,.6) !important;
  box-shadow: 0 0 0 3px rgba(108,92,231,.18) !important;
}
.tc-telco.selected .tc-telco-name {
  color: #a29bfe !important;
}
/* Card amount buttons — better selected */
.tc-amount-btn.selected {
  background: linear-gradient(135deg, rgba(108,92,231,.2), rgba(162,155,254,.12)) !important;
  border-color: rgba(162,155,254,.6) !important;
  color: #a29bfe !important;
  font-weight: 900 !important;
}
@media (hover: hover) {
  .tc-amount-btn:hover:not(.selected) {
    background: rgba(255,255,255,.07) !important;
    border-color: rgba(255,255,255,.2) !important;
    color: #f0f2f8 !important;
  }
}
/* Card inputs — purple focus */
.tc-input:focus {
  border-color: rgba(162,155,254,.6) !important;
  box-shadow: 0 0 0 3px rgba(108,92,231,.12) !important;
}

/* ────────────────────────────────────────────
   8. BANK AMOUNT PACKAGES — no hover on mobile
──────────────────────────────────────────── */
@media (hover: hover) {
  .topup-pkg:hover {
    border-color: rgba(0,230,118,.35);
    background: rgba(0,230,118,.06);
  }
}

/* ════════════════════════════════════════
   9. ALL BUTTONS — Black glossy hover (overrides section 1)
════════════════════════════════════════ */
:root {
  --btn-black-bg: linear-gradient(160deg,#1c1e2e 0%,#0d0e18 55%,#13151f 100%);
  --btn-black-border: rgba(255,255,255,.22);
  --btn-black-sh: 0 0 0 1px rgba(255,255,255,.1),0 6px 22px rgba(0,0,0,.75),0 1px 0 rgba(255,255,255,.14) inset;
  --btn-black-sh2: 0 0 0 1px rgba(255,255,255,.16),0 10px 32px rgba(0,0,0,.9),0 1px 0 rgba(255,255,255,.2) inset,0 -1px 0 rgba(0,0,0,.55) inset;
}

/* Sidebar nav items — upgrade black glossy */
@media (hover: hover) {
  .sb-item:hover {
    background: var(--btn-black-bg) !important;
    color: #fff !important;
    border-color: var(--btn-black-border) !important;
    box-shadow: var(--btn-black-sh) !important;
    transform: translateX(4px) !important;
  }
  .sb-item:hover .sb-item-icon {
    background: rgba(255,255,255,.12) !important;
    color: #fff !important;
  }
}
.sb-item:active { transform: translateX(1px) !important; }

/* Sidebar auth buttons */
.sb-btn {
  transition: background .18s,border-color .18s,box-shadow .18s,transform .18s,color .18s !important;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}
/* Login button base */
.sb-btn-login {
  background: linear-gradient(160deg,#131828 0%,#0c1020 100%) !important;
  border-color: rgba(102,153,255,.35) !important;
  color: #7eaaff !important;
  box-shadow: 0 0 0 1px rgba(30,100,255,.1),0 2px 10px rgba(0,0,0,.45),0 1px 0 rgba(255,255,255,.07) inset !important;
}
/* Register button base — black with bright border */
.sb-btn-register {
  background: var(--btn-black-bg) !important;
  border-color: rgba(255,255,255,.2) !important;
  color: rgba(240,242,248,.9) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06),0 2px 12px rgba(0,0,0,.55),0 1px 0 rgba(255,255,255,.1) inset !important;
}
@media (hover: hover) {
  .sb-btn:hover {
    background: var(--btn-black-bg) !important;
    border-color: var(--btn-black-border) !important;
    box-shadow: var(--btn-black-sh2) !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
  }
  /* Shimmer sweep on hover */
  .sb-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,transparent 30%,rgba(255,255,255,.12) 50%,transparent 70%);
    transform: translateX(-100%);
    transition: transform .45s ease;
    pointer-events: none;
    border-radius: inherit;
  }
  .sb-btn:hover::before { transform: translateX(100%); }
}
.sb-btn:active {
  transform: translateY(1px) !important;
  box-shadow: 0 1px 6px rgba(0,0,0,.6) !important;
}

/* Topbar login button */
.topbar-login-btn {
  transition: background .18s,border-color .18s,box-shadow .18s,transform .18s !important;
}
@media (hover: hover) {
  .topbar-login-btn:hover {
    background: var(--btn-black-bg) !important;
    border-color: var(--btn-black-border) !important;
    box-shadow: var(--btn-black-sh2) !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
  }
}

/* ════════════════════════════════════════
   10. BRAND FIRE VFX — AujunpeakVN blue flame
════════════════════════════════════════ */
.sb-brand-fire .fire-wrap {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}

/* Metallic dark text */
.sb-brand-fire .brand-part1 {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -.5px;
  background: linear-gradient(180deg,#e8ecff 0%,#b0b8d8 30%,#d8dcf0 55%,#7880a8 80%,#f0f2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,1)) drop-shadow(0 0 10px rgba(0,0,0,.7));
}
.sb-brand-fire .brand-part2 {
  font-size: .88rem;
  font-weight: 900;
  background: linear-gradient(180deg,#c8ccec 0%,#8890b8 50%,#d4d8f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.9));
}

/* Flame particles container */
.fire-particles {
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 28px;
  pointer-events: none;
  overflow: visible;
}

/* Each flame dot */
.fp {
  position: absolute;
  bottom: 2px;
  border-radius: 50% 50% 30% 30%;
  opacity: 0;
  background: var(--fc,#00bfff);
  filter: blur(1.5px);
  box-shadow: 0 0 7px 3px var(--fc,#00bfff);
  animation: fpRise var(--d,1.4s) ease-in var(--dl,0s) infinite;
}
.fp1 { left:4%;  width:5px; height:14px; --fc:#00e5ff; --d:1.3s; --dl:0s;    --tx:1px;  }
.fp2 { left:16%; width:4px; height:11px; --fc:#0077ff; --d:1.1s; --dl:.18s;  --tx:-2px; }
.fp3 { left:28%; width:6px; height:17px; --fc:#00cfff; --d:1.5s; --dl:.06s;  --tx:2px;  }
.fp4 { left:42%; width:4px; height:12px; --fc:#1a88ff; --d:1.2s; --dl:.33s;  --tx:-1px; }
.fp5 { left:57%; width:5px; height:15px; --fc:#00e5ff; --d:1.4s; --dl:.14s;  --tx:1px;  }
.fp6 { left:71%; width:4px; height:10px; --fc:#55bbff; --d:1.0s; --dl:.44s;  --tx:2px;  }
.fp7 { left:86%; width:5px; height:13px; --fc:#00aaff; --d:1.3s; --dl:.26s;  --tx:-2px; }

@keyframes fpRise {
  0%   { opacity:0;    transform:translateY(0px)   translateX(0)            scaleY(1);   }
  15%  { opacity:.95;  transform:translateY(-4px)  translateX(var(--tx))    scaleY(1.1); }
  55%  { opacity:.5;   transform:translateY(-15px) translateX(calc(var(--tx)*-1)) scaleY(.75);}
  100% { opacity:0;    transform:translateY(-26px) translateX(var(--tx))    scaleY(.35); }
}

/* Glow base under text */
.sb-brand-fire .fire-wrap::after {
  content:'';
  position:absolute;
  bottom:-3px;
  left:0;
  right:0;
  height:9px;
  background:radial-gradient(ellipse at 50% 100%,rgba(0,180,255,.4) 0%,transparent 68%);
  border-radius:50%;
  animation:fwGlow 2.2s ease-in-out infinite alternate;
  pointer-events:none;
}
@keyframes fwGlow {
  from { opacity:.45; transform:scaleX(.75); }
  to   { opacity:1;   transform:scaleX(1.15); }
}

/* ════════════════════════════════════════
   11. SHOP BRAND VFX — all effect classes
   .sb-brand-fx-{fire|gradient|glow|neon|rainbow|shimmer|typing|crystal|plain}
════════════════════════════════════════ */

/* ── Shared reset for non-fire VFX ── */
.sb-brand-inner-text,
.sb-typing-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}
.sbp1, .sbp2 { display: inline; }

/* ── gradient ── */
.sb-brand-fx-gradient .sb-brand-inner-text {
  background: linear-gradient(135deg, #a29bfe, #6c5ce7, #fd79a8, #a29bfe);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: sbGradFlow 4s linear infinite;
}
@keyframes sbGradFlow { to { background-position: 200% center; } }

/* ── glow ── */
.sb-brand-fx-glow .sb-brand-inner-text {
  color: #a29bfe;
  animation: sbGlow 2.5s ease-in-out infinite;
}
@keyframes sbGlow {
  0%,100% { text-shadow: 0 0 8px rgba(162,155,254,.7), 0 0 22px rgba(108,92,231,.5); }
  50%      { text-shadow: 0 0 20px rgba(162,155,254,1), 0 0 44px rgba(108,92,231,.7), 0 0 70px rgba(162,155,254,.3); }
}

/* ── neon ── */
.sb-brand-fx-neon .sb-brand-inner-text {
  color: #00ffc8;
  text-shadow: 0 0 6px #00ffc8, 0 0 12px #00ffc8, 0 0 26px #00ffc8;
  animation: sbNeonFlick 3.2s ease-in-out infinite;
}
@keyframes sbNeonFlick {
  0%,18%,20%,22%,24%,53%,56%,100% {
    text-shadow: 0 0 6px #00ffc8, 0 0 12px #00ffc8, 0 0 26px #00ffc8;
  }
  19%,23%,55% { text-shadow: none; opacity: .65; }
}

/* ── rainbow ── */
.sb-brand-fx-rainbow .sb-brand-inner-text {
  animation: sbRainbow 3.5s linear infinite;
}
@keyframes sbRainbow {
  0%   { color: #ff6b6b; }
  17%  { color: #ffd700; }
  33%  { color: #00e676; }
  50%  { color: #00b4d8; }
  67%  { color: #a29bfe; }
  83%  { color: #fd79a8; }
  100% { color: #ff6b6b; }
}

/* ── shimmer ── */
.sb-brand-fx-shimmer .sb-brand-inner-text {
  color: #e0e0f8;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.75) 50%, rgba(255,255,255,0) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: sbShimmer 2.8s ease-in-out infinite;
}
@keyframes sbShimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ── typing ── */
.sb-brand-fx-typing .sb-typing-wrap {
  color: #a29bfe;
  border-right: 2px solid rgba(162,155,254,.7);
  padding-right: 3px;
  animation: sbCaret .75s step-end infinite;
}
@keyframes sbCaret { 0%,100%{border-color:rgba(162,155,254,.7)} 50%{border-color:transparent} }

/* ── crystal ── */
.sb-brand-fx-crystal .sb-brand-inner-text {
  background: linear-gradient(180deg,
    #ffffff 0%, #d4d8ff 20%, #a8aef0 38%,
    #ffffff 52%, #8890d0 68%, #c4c8f0 82%, #ffffff 100%);
  background-size: 100% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 6px rgba(162,155,254,.5)) drop-shadow(0 2px 4px rgba(0,0,0,.9));
  animation: sbCrystal 3s ease-in-out infinite alternate;
}
@keyframes sbCrystal {
  0%   { background-position: 0% 0%;   filter: drop-shadow(0 0 6px rgba(162,155,254,.5)) drop-shadow(0 2px 4px rgba(0,0,0,.9)); }
  100% { background-position: 0% 100%; filter: drop-shadow(0 0 14px rgba(200,210,255,.7)) drop-shadow(0 2px 4px rgba(0,0,0,.9)); }
}

/* ── plain ── */
.sb-brand-fx-plain .sb-brand-inner-text { color: #f0f2f8; }

/* ── particle-less fire still needs fire-wrap for sizing ── */
/* (fire VFX classes defined above in section 10, no change needed) */

/* ════════════════════════════════════════
   MASTER MOBILE HOVER FIX
   Bao phủ TẤT CẢ hover trên toàn site
   @media (hover: none) = thiết bị cảm ứng
   @media (hover: hover) = thiết bị có chuột
════════════════════════════════════════ */

/* ── Reset mọi hover dính trên touch ── */
@media (hover: none) {
  /* === INPUTS / TEXTFIELDS === */
  input:hover,
  textarea:hover,
  select:hover,
  .topup-input:hover,
  .tc-input:hover,
  .auth-input:hover,
  .pm-qty-input:hover,
  .form-input:hover,
  .topbar-search-wrap:hover {
    border-color: inherit !important;
    box-shadow: none !important;
    background: inherit !important;
    outline: none !important;
  }

  /* === SEARCH BAR === */
  .topbar-search-wrap:hover {
    border-color: rgba(255,255,255,.09) !important;
    background: rgba(255,255,255,.05) !important;
    box-shadow: none !important;
  }

  /* === TOPUP TABS & PACKAGES === */
  .topup-tab:hover,
  .topup-tab:hover span,
  .topup-tab:hover i {
    border-color: rgba(255,255,255,.08) !important;
    background: rgba(255,255,255,.03) !important;
    color: rgba(240,242,248,.5) !important;
  }
  .topup-pkg:hover {
    border-color: rgba(255,255,255,.08) !important;
    background: rgba(255,255,255,.04) !important;
  }
  .topup-confirm-btn:hover {
    transform: none !important;
    box-shadow: 0 6px 24px rgba(0,230,118,.25) !important;
    background-position: left center !important;
  }

  /* === THẺ CÀO === */
  .tc-telco:hover {
    border-color: rgba(255,255,255,.08) !important;
    background: rgba(255,255,255,.03) !important;
  }
  .tc-amount-btn:hover {
    border-color: rgba(255,255,255,.08) !important;
    color: rgba(240,242,248,.7) !important;
    background: rgba(255,255,255,.03) !important;
  }
  .tc-submit-btn:hover {
    transform: none !important;
    box-shadow: 0 6px 24px rgba(108,92,231,.3) !important;
  }

  /* === SIDEBAR BUTTONS === */
  .sb-btn:hover {
    background: inherit !important;
    border-color: inherit !important;
    box-shadow: inherit !important;
    color: inherit !important;
    transform: none !important;
  }
  .sb-btn-login:hover {
    background: linear-gradient(160deg,#131828 0%,#0c1020 100%) !important;
    border-color: rgba(102,153,255,.35) !important;
    color: #7eaaff !important;
  }
  .sb-btn-register:hover {
    background: var(--btn-black-bg, linear-gradient(160deg,#1c1e2e 0%,#0d0e18 55%,#13151f 100%)) !important;
    border-color: rgba(255,255,255,.2) !important;
    color: rgba(240,242,248,.9) !important;
    transform: none !important;
  }
  .sb-btn::before { display: none !important; }

  /* === SIDEBAR NAV === */
  .sb-item:hover {
    background: transparent !important;
    color: var(--text-secondary, rgba(240,242,248,.55)) !important;
    border-color: transparent !important;
    box-shadow: none !important;
    transform: none !important;
  }

  /* === STORE CARDS === */
  .sp-card:hover,
  .pm-pkg-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  .sp-buy-btn:hover {
    transform: none !important;
    box-shadow: 0 4px 16px rgba(108,92,231,.35) !important;
  }
  .pm-buy-btn:hover {
    transform: none !important;
    box-shadow: 0 6px 22px rgba(108,92,231,.4) !important;
  }

  /* === TOPBAR LOGIN === */
  .topbar-login-btn:hover {
    background: rgba(30,100,255,.12) !important;
    border-color: rgba(30,100,255,.25) !important;
    color: #6699ff !important;
    transform: none !important;
    box-shadow: none !important;
  }

  /* === AVATAR === */
  .topbar-user-icon-only:hover .topbar-avatar-logo {
    border-color: rgba(162,155,254,.7) !important;
    box-shadow:
      0 0 0 2px rgba(108,92,231,.35),
      0 0 14px rgba(108,92,231,.45),
      inset 0 0 0 1px rgba(255,255,255,.06) !important;
  }

  /* === HISTORY / PROMO BANNERS === */
  .topup-promo-banner-btn:hover {
    border-color: transparent !important;
    box-shadow: none !important;
    transform: none !important;
  }
  .topup-promo-banner-btn:hover img {
    transform: none !important;
  }
}

/* ── Chỉ cho hover thật (chuột) ── */
@media (hover: hover) and (pointer: fine) {
  /* Inputs — chỉ highlight khi chuột di vào */
  .topup-input:hover {
    border-color: rgba(0,230,118,.25) !important;
  }
  .tc-input:hover {
    border-color: rgba(120,100,255,.3) !important;
  }
  .auth-input:hover {
    border-color: rgba(108,92,231,.35) !important;
  }

  /* Topup tabs */
  .topup-tab:hover {
    border-color: rgba(0,230,118,.25) !important;
    color: rgba(240,242,248,.8) !important;
    background: rgba(255,255,255,.05) !important;
  }
  .topup-pkg:hover {
    border-color: rgba(0,230,118,.35) !important;
    background: rgba(0,230,118,.06) !important;
  }
  .topup-confirm-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 32px rgba(0,230,118,.36) !important;
  }

  /* Thẻ cào */
  .tc-telco:hover {
    border-color: rgba(255,255,255,.2) !important;
    background: rgba(255,255,255,.06) !important;
  }
  .tc-amount-btn:hover:not(.selected) {
    border-color: rgba(120,100,255,.4) !important;
    color: #f0f2f8 !important;
  }
  .tc-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 32px rgba(108,92,231,.45) !important;
  }
}

/* ════════════════════════════════════════
   SIDEBAR ACTIVE STATE — bỏ xanh, dùng đen bóng
════════════════════════════════════════ */
.sb-item.sb-active {
  background: var(--btn-black-bg, linear-gradient(160deg,#1c1e2e 0%,#0d0e18 55%,#13151f 100%)) !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,.2) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 4px 18px rgba(0,0,0,.7), 0 1px 0 rgba(255,255,255,.12) inset !important;
}
.sb-item.sb-active .sb-item-icon {
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
}
/* Topup active — cũng bỏ tím, dùng đen bóng */
.sb-item-topup.sb-active {
  background: var(--btn-black-bg, linear-gradient(160deg,#1c1e2e 0%,#0d0e18 55%,#13151f 100%)) !important;
  border-color: rgba(255,255,255,.2) !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 4px 18px rgba(0,0,0,.7), 0 1px 0 rgba(255,255,255,.12) inset !important;
}

/* ════════════════════════════════════════
   FIX AUTO-ZOOM IOS SAFARI
   iOS Safari tự zoom khi font-size < 16px
   => Ép tất cả input về đúng 16px trên mobile
   => Dùng transform scale để giữ visual size nhỏ
════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Ép font-size = 16px để Safari không zoom */
  input,
  textarea,
  select,
  .auth-input,
  .topup-input,
  .tc-input,
  .pm-qty-input,
  .form-input,
  [type="text"],
  [type="password"],
  [type="email"],
  [type="tel"],
  [type="number"],
  [type="search"],
  [type="url"] {
    font-size: 16px !important;
  }
}

/* ════════════════════════════════════════
   SERVICE DESCRIPTION CARD  (hd-desc-card)
════════════════════════════════════════ */
.hd-desc-card {
  position: relative;
  margin: 10px 0 0;
  padding: 16px 18px 18px;
  border-radius: 18px;
  background: rgba(18,21,31,.85);
  border: 1px solid rgba(108,92,231,.2);
  overflow: hidden;
}
/* subtle top shine line */
.hd-desc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1.5px;
  background: linear-gradient(90deg,transparent,rgba(162,155,254,.45),transparent);
  pointer-events: none;
}
/* sweep shimmer */
.hd-desc-shine {
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg,transparent 30%,rgba(255,255,255,.04) 50%,transparent 70%);
  animation: descShine 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes descShine {
  0%,50% { left: -80%; }
  100%    { left: 140%; }
}

/* Header row */
.hd-desc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
/* header icon hidden — only items below have icons */
.hd-desc-header-icon { display: none; }
.hd-desc-header-title {
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(240,242,248,.45);
}

/* List */
.hd-desc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hd-desc-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .82rem;
  color: rgba(240,242,248,.72);
  line-height: 1.5;
}
.hd-desc-list li strong {
  color: #f0f2f8;
  font-weight: 700;
}

/* ── Animated teal-blue check icon ───────────────────── */
.hd-desc-icon {
  flex-shrink: 0;
  position: relative;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem;
  margin-top: 0;
  /* Ocean-blue gradient fill */
  background: linear-gradient(135deg, #0077cc 0%, #00b4d8 55%, #00e5ff 100%);
  color: #fff;
  border: none;
  box-shadow: 0 0 0 0 rgba(0,180,216,.0);
  animation: hdCheckPulse 3s ease-in-out infinite;
  z-index: 0;
}
/* Pulsing aura ring */
.hd-desc-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(0,212,255,.5);
  animation: hdCheckRing 3s ease-in-out infinite;
  pointer-events: none;
}
/* Outer glow halo */
.hd-desc-icon::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0,180,216,.35) 0%, transparent 70%);
  animation: hdCheckHalo 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hdCheckPulse {
  0%,100% { box-shadow: 0 0 6px rgba(0,180,216,.4),  0 2px 8px rgba(0,77,153,.35); }
  50%      { box-shadow: 0 0 18px rgba(0,212,255,.75), 0 4px 18px rgba(0,120,220,.55); }
}
@keyframes hdCheckRing {
  0%,100% { opacity: .35; transform: scale(.95); }
  50%      { opacity: .9;  transform: scale(1.12); }
}
@keyframes hdCheckHalo {
  0%,100% { opacity: .3; transform: scale(.9); }
  50%      { opacity: .7; transform: scale(1.15); }
}
/* keep legacy colour variants working if used elsewhere */
.hd-desc-icon--blue   { background: linear-gradient(135deg,#0077cc,#00b4d8); color:#fff; }
.hd-desc-icon--purple { background: linear-gradient(135deg,#6c5ce7,#a29bfe); color:#fff; }
.hd-desc-icon--green  { background: linear-gradient(135deg,#00875a,#00e676); color:#fff; }
.hd-desc-icon--yellow { background: linear-gradient(135deg,#d48800,#ffb300); color:#fff; }
/* All items share the same animated blue-teal look regardless of colour class */
.hd-desc-list .hd-desc-icon {
  background: linear-gradient(135deg,#0077cc 0%,#00b4d8 55%,#00e5ff 100%) !important;
  color: #fff !important;
}

.hd-desc-link {
  color: #a29bfe;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(162,155,254,.3);
  transition: color .15s, border-color .15s;
}
@media (hover:hover) {
  .hd-desc-link:hover { color: #fff; border-color: rgba(162,155,254,.7); }
}

/* ════════════════════════════════════════════════════════════
   STORE CARDS + PURCHASE MODAL — Compact Premium Redesign
════════════════════════════════════════════════════════════ */

/* ── PRODUCT CARDS ─────────────────────────────────────── */
.sp-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
  gap: 14px;
}
@media (max-width:540px) { .sp-grid { grid-template-columns: 1fr; gap:10px; } }

.sp-card {
  background: linear-gradient(155deg,#0d0f1a 0%,#111726 100%);
  border-color: rgba(255,255,255,.08);
  border-radius: 18px;
}
.sp-card:hover {
  border-color: rgba(108,92,231,.45);
  box-shadow: 0 8px 32px rgba(108,92,231,.18), 0 2px 8px rgba(0,0,0,.4);
  transform: translateY(-4px);
}
/* Smaller banner on mobile */
.sp-card-banner { height: 150px; }
@media (max-width:540px) { .sp-card-banner { height: 130px; } }

.sp-card-body { padding:12px 14px 14px; gap:8px; }
.sp-card-name { font-size:.92rem; }

/* Compact feature list — max 3 items */
.sp-feature-list { gap:4px; }
.sp-feature-list li { font-size:.76rem; gap:6px; }
.sp-feature-list li::before { font-size:.72rem; }

/* Stats row compact */
.sp-card-stats {
  padding:7px 10px;
  border-radius:9px;
}
.sp-stat { font-size:.7rem; }
.sp-stat-val { font-size:.78rem; }

/* BUY button — gradient glow */
.sp-buy-btn {
  padding: 9px 16px;
  border-radius: 10px;
  font-size: .8rem;
  background: linear-gradient(135deg,#6c5ce7,#a29bfe);
  box-shadow: 0 0 0 rgba(108,92,231,0);
  transition: all .22s;
}
@media (hover:hover) {
  .sp-buy-btn:hover:not(:disabled) {
    background: linear-gradient(135deg,#7d6ef5,#b8adff);
    box-shadow: 0 4px 18px rgba(108,92,231,.5);
    transform: scale(1.06);
  }
}
/* Pulsing glow when in stock */
.sp-buy-btn:not(:disabled) {
  animation: buyGlow 3s ease-in-out infinite;
}
@keyframes buyGlow {
  0%,100% { box-shadow: 0 0 0 rgba(108,92,231,0); }
  50%      { box-shadow: 0 0 14px rgba(108,92,231,.4); }
}

/* ── STOCK BADGE ─────────────────────────────────────── */
.sp-stock-badge {
  top:8px; right:8px;
  padding:3px 8px;
  font-size:.66rem;
}

/* ── PURCHASE MODAL — mobile bottom sheet ─────────────── */
@media (max-width:680px) {
  .pm-modal {
    align-items: flex-end;
    padding: 0;
  }
  .pm-modal-inner {
    border-radius: 22px 22px 0 0;
    width: 100%;
    max-width: 100%;
    max-height: 92vh;
    transform: translateY(100%);
    opacity: 1;
  }
  .pm-modal.active .pm-modal-inner {
    transform: translateY(0);
  }
  /* drag handle */
  .pm-modal-inner::before {
    content: '';
    display: block;
    width: 40px; height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,.2);
    margin: 10px auto 0;
    flex-shrink: 0;
  }
}

/* Compact modal layout */
.pm-modal-inner {
  max-height: 90vh;
  border-radius: 22px;
}

/* Left panel: smaller image, compact features */
.pm-left-img { aspect-ratio: 2/1; }
.pm-left-content { padding: 14px 16px; }
.pm-left-title { font-size: .68rem; margin-bottom: 8px; }
.pm-feature-list li { font-size: .78rem; gap: 7px; }

/* Right panel: tighter spacing */
.pm-right { padding: 18px 20px 18px; gap: 12px; }
@media (max-width:760px) { .pm-right { padding: 14px 16px; gap: 10px; } }

/* Product name compact */
.pm-prod-name { font-size: 1.1rem; margin-bottom: 4px; }
.pm-big-price { font-size: 1.6rem; }
.pm-stock-line { font-size: .74rem; margin-top: 1px; gap: 8px; }

.pm-instock-badge,
.pm-outstock-badge {
  padding: 3px 9px;
  font-size: .68rem;
  margin-bottom: 2px;
}

/* Section labels tighter */
.pm-section-label { font-size: .68rem; margin-bottom: 6px; letter-spacing: .08em; }

/* ── Package selector — compact pill chips ────────────── */
.pm-pkg-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pm-pkg-card {
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.03);
  cursor: pointer;
  transition: all .18s;
  position: relative;
  overflow: hidden;
}
.pm-pkg-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,rgba(108,92,231,.12),rgba(162,155,254,.06));
  opacity: 0;
  transition: opacity .18s;
  pointer-events: none;
}
.pm-pkg-card:hover { border-color: rgba(108,92,231,.4); transform: none; }
.pm-pkg-card:hover::after { opacity: 1; }
.pm-pkg-card.active {
  border-color: #6c5ce7;
  background: rgba(108,92,231,.1);
  box-shadow: 0 0 0 1px rgba(108,92,231,.3), 0 4px 16px rgba(108,92,231,.2);
}
.pm-pkg-card.active::after { opacity: 1; }
.pm-pkg-card.no-stock { opacity: .38; cursor: not-allowed; }

.pm-pkg-info { flex: 1; min-width: 0; }
.pm-pkg-name { font-size: .84rem; font-weight: 800; }
.pm-pkg-avail { font-size: .68rem; margin-top: 2px; }

.pm-pkg-price { font-size: .92rem; font-weight: 900; }
.pm-pkg-card.active .pm-pkg-price { color: #a29bfe; }

/* Selected checkmark */
.pm-pkg-card.active .pm-pkg-info::after {
  content: '✓';
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .75rem;
  color: #a29bfe;
  font-weight: 900;
}

/* ── Quantity row ─────────────────────────────────────── */
.pm-qty-wrap { gap: 8px; }
.pm-qty-ctrl { border-radius: 10px; }
.pm-qty-btn { width: 34px; height: 34px; font-size: .8rem; }
.pm-qty-input { width: 38px; height: 34px; font-size: .88rem; }
.pm-qty-avail { font-size: .72rem; }

/* ── Invoice compact ──────────────────────────────────── */
.pm-invoice {
  padding: 10px 13px;
  gap: 6px;
  border-radius: 12px;
}
.pm-inv-row { font-size: .79rem; }
.pm-inv-total { font-size: .85rem; }
.pm-inv-total span:last-child { font-size: .95rem; }

/* ── Buy button — premium gradient glow ──────────────── */
.pm-buy-btn {
  padding: 13px 20px;
  border-radius: 13px;
  font-size: .88rem;
  background: linear-gradient(135deg,#6c5ce7,#a29bfe);
  position: relative;
  overflow: hidden;
}
.pm-buy-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent);
  animation: btnShimmer 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btnShimmer {
  0%,40% { left: -80%; }
  100%    { left: 130%; }
}
@media (hover:hover) {
  .pm-buy-btn:hover:not(:disabled) {
    background: linear-gradient(135deg,#7d6ef5,#b8adff);
    box-shadow: 0 6px 28px rgba(108,92,231,.55);
    transform: translateY(-1px);
  }
}
.pm-buy-btn:active:not(:disabled) { transform: scale(.98); }

.pm-no-balance-btn {
  padding: 12px 20px;
  border-radius: 13px;
  font-size: .84rem;
}

/* Footer notes compact */
.pm-footer-notes { gap: 4px; padding-top: 6px; }
.pm-footer-note { font-size: .7rem; gap: 6px; }

/* ── Close button ─────────────────────────────────────── */
.pm-close-btn {
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  font-size: .82rem;
}

/* ════════════════════════════════════════════════════════
   ICON AESTHETIC v2 — Dark glass with bright border
   Replaces tất cả green icon containers sang đen+viền sáng
════════════════════════════════════════════════════════ */

/* ── Section header icons (store, orders, topup, etc.) ── */
.sp-section-icon {
  background: rgba(255,255,255,.055) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  color: rgba(240,242,248,.82) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 2px 12px rgba(0,0,0,.3) !important;
}

/* ── Page header icon (đơn hàng, lịch sử, nạp tiền…) ── */
.ord2-page-icon,
.od2-head-icon {
  background: rgba(255,255,255,.055) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  color: rgba(240,242,248,.82) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 2px 12px rgba(0,0,0,.3) !important;
}

/* ── Stat card icons (homepage — Số dư / Đơn hàng / Thành viên) ── */
.hd-stat-icon {
  width: 46px !important;
  height: 46px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.055) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 2px 10px rgba(0,0,0,.28) !important;
  color: rgba(240,242,248,.75) !important;
  font-size: 1.1rem !important;
  flex-shrink: 0 !important;
}

/* Balance — purple tint */
.hd-stat-balance .hd-stat-icon {
  background: rgba(108,92,231,.12) !important;
  border-color: rgba(162,155,254,.24) !important;
  color: #a29bfe !important;
}

/* Orders — sky blue tint */
.hd-stat-orders .hd-stat-icon {
  background: rgba(56,189,248,.1) !important;
  border-color: rgba(125,211,252,.22) !important;
  color: #7dd3fc !important;
}

/* Rank — gold tint */
.hd-stat-rank .hd-stat-icon {
  background: rgba(251,191,36,.1) !important;
  border-color: rgba(251,191,36,.24) !important;
  color: #fbbf24 !important;
}

/* ── Tab buttons — active state (lịch sử, đơn hàng, nạp tiền tabs) ── */
.tab-btn.active {
  color: rgba(240,242,248,.92) !important;
  border-bottom-color: rgba(255,255,255,.45) !important;
  background: rgba(255,255,255,.05) !important;
}
.tab-btn.active i { color: rgba(240,242,248,.7) !important; }

/* ── Empty state icon & button (đơn hàng trống, lịch sử trống…) ── */
.ord2-empty-ico {
  color: rgba(255,255,255,.18) !important;
  text-shadow: 0 0 32px rgba(255,255,255,.1) !important;
}

.ord2-empty-btn {
  border-color: rgba(255,255,255,.14) !important;
  background: rgba(255,255,255,.05) !important;
  color: rgba(240,242,248,.7) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07) !important;
}
.ord2-empty-btn:hover {
  background: rgba(255,255,255,.1) !important;
  border-color: rgba(255,255,255,.24) !important;
  color: #f0f2f8 !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.3) !important;
}
.ord2-empty-btn i { color: inherit !important; }

/* ── Eye / copy buttons trong đơn hàng ── */
.ord2-eye-btn {
  border-color: rgba(255,255,255,.1) !important;
  background: rgba(255,255,255,.04) !important;
  color: rgba(240,242,248,.5) !important;
}
.ord2-eye-btn:hover {
  border-color: rgba(255,255,255,.2) !important;
  background: rgba(255,255,255,.08) !important;
  color: rgba(240,242,248,.9) !important;
}

/* ── Homepage about-section list icons ── */
.hd-desc-icon {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09) !important;
  color: rgba(240,242,248,.7) !important;
}
/* Xóa class màu cũ, đồng nhất toàn bộ sang glass */
.hd-desc-icon--blue,
.hd-desc-icon--purple,
.hd-desc-icon--green,
.hd-desc-icon--yellow {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  color: rgba(240,242,248,.75) !important;
}

/* ── Sidebar active item — giữ purple, bỏ green ── */
.sb-item.sb-active {
  background: rgba(162,155,254,.09) !important;
  color: #c4bcff !important;
  border-color: rgba(162,155,254,.22) !important;
}
