/* ==========================================================
   support.css — Sidebar (layer 1), Contact Us (layer 2), Tickets (layer 3)
   Uses the site's existing dark palette variables from styles.css.
   ========================================================== */
[hidden] { display: none !important; }
#app { scroll-margin-top: 64px; }
body.pb-no-scroll { overflow: hidden; }

/* ---------- Hamburger button (in the sticky navbar) ---------- */
.pb-menu-btn {
  width: 40px; height: 40px; flex-shrink: 0;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: transparent; border: 1px solid var(--dark-border, #2a3a4a); border-radius: 10px;
  cursor: pointer; padding: 0;
}
.pb-menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text, #e2e8f0); }
.pb-menu-btn:focus-visible, .pb-side-item:focus-visible, .pb-sidebar-close:focus-visible {
  outline: 2px solid var(--primary, #007bff); outline-offset: 2px;
}

/* ---------- Sidebar drawer ---------- */
.pb-sidebar-overlay {
  position: fixed; inset: 0; z-index: 1900; background: rgba(0,0,0,.55);
  opacity: 0; transition: opacity .25s ease;
}
.pb-sidebar-overlay.show { opacity: 1; }
.pb-sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 1910;
  width: min(84vw, 320px);
  background: var(--dark-surface, #131a22);
  border-right: 1px solid var(--dark-border, #2a3a4a);
  transform: translateX(-102%); transition: transform .25s ease;
  display: flex; flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
  visibility: hidden;
}
.pb-sidebar.open { transform: translateX(0); visibility: visible; }
.pb-sidebar-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--dark-border, #2a3a4a);
}
.pb-sidebar-title { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--text, #e2e8f0); }
.pb-sidebar-close {
  background: transparent; border: 0; color: var(--muted, #94a3b8);
  font-size: 28px; line-height: 1; width: 40px; height: 40px; cursor: pointer; border-radius: 10px;
}
.pb-sidebar-nav { padding: 10px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.pb-side-item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 13px 12px; border-radius: 12px; border: 0; background: transparent;
  color: var(--text, #e2e8f0); font: inherit; font-size: 15px; font-weight: 600;
  text-align: left; text-decoration: none; cursor: pointer;
}
.pb-side-item svg {
  width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--muted, #94a3b8);
}
.pb-side-item:hover { background: rgba(255,255,255,.05); }
.pb-side-item.active { background: rgba(0,123,255,.16); }
.pb-side-item.active svg { color: var(--primary, #007bff); }
.pb-side-badge {
  margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px;
  background: #f5a623; color: #1a1200; font-size: 12px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Shared page pieces ---------- */
.pb-page { max-width: 640px; margin: 0 auto; padding: 8px 4px 24px; display: flex; flex-direction: column; gap: 14px; }
.pb-card {
  background: var(--dark-surface, #131a22); border: 1px solid var(--dark-border, #2a3a4a);
  border-radius: 16px; padding: 18px;
}
.pb-card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--text, #e2e8f0); }
.pb-card p { margin: 0 0 12px; color: var(--muted, #94a3b8); line-height: 1.6; font-size: .95rem; }
.pb-card p:last-child { margin-bottom: 0; }
.pb-card-center { text-align: center; }
.pb-link { color: #4f9dff; font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.pb-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  padding: 14px 16px; border: 0; border-radius: 12px; font: inherit; font-weight: 700; font-size: 1rem;
  color: #fff; cursor: pointer; text-decoration: none;
}
.pb-btn:disabled { opacity: .6; cursor: not-allowed; }
.pb-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pb-btn-red { background: #e53935; }
.pb-btn-blue { background: var(--primary, #007bff); }
.pb-btn-wa { background: #25d366; color: #052e16; }

/* ---------- Contact Us ---------- */
.pb-contact-hero {
  text-align: center; padding: 26px 18px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(0,123,255,.22), rgba(139,92,246,.22));
  border: 1px solid var(--dark-border, #2a3a4a);
}
.pb-eyebrow { display: inline-block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted, #94a3b8); font-weight: 700; }
.pb-contact-hero h2 { margin: 6px 0 4px; font-size: 1.7rem; color: var(--text, #e2e8f0); }
.pb-contact-tag { margin: 0 0 10px; font-weight: 700; color: #7db6ff; }
.pb-contact-lead { margin: 0; color: var(--muted, #94a3b8); line-height: 1.7; font-size: .95rem; }
.pb-star { color: #f5a623; margin-right: 4px; }
.pb-phone {
  display: inline-block; font-size: 1.25rem; font-weight: 800; letter-spacing: .02em;
  color: var(--text, #e2e8f0); text-decoration: none;
  padding: 10px 14px; border-radius: 12px; background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.4);
}
.pb-commit { text-align: center; }
.pb-commit-line { color: #7db6ff !important; font-weight: 700; }

/* ---------- Tickets ---------- */
.pb-note {
  background: #2f66b3; color: #fff; text-align: center; line-height: 1.6;
  padding: 14px 16px; border-radius: 14px; font-size: .95rem;
}
.pb-quick { display: flex; flex-direction: column; gap: 12px; }
.pb-form { display: flex; flex-direction: column; }
.pb-label { font-size: .85rem; color: var(--muted, #94a3b8); margin: 14px 0 6px; }
.pb-form > .pb-label:first-child { margin-top: 0; }
.pb-hint { opacity: .7; font-size: .78rem; }
.pb-input {
  width: 100%; box-sizing: border-box; padding: 13px 14px; font: inherit; font-size: 1rem;
  color: var(--text, #e2e8f0); background: #1a2331; border: 1px solid var(--dark-border, #2a3a4a);
  border-radius: 12px; outline: none;
}
.pb-input:focus { border-color: var(--primary, #007bff); box-shadow: 0 0 0 3px rgba(0,123,255,.18); }
.pb-textarea { resize: vertical; min-height: 130px; }
select.pb-input { appearance: auto; }
.pb-form .pb-btn { margin-top: 14px; }
.pb-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pb-file-chip {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
  background: #1a2331; border: 1px solid var(--dark-border, #2a3a4a); border-radius: 999px;
  padding: 6px 6px 6px 12px; font-size: .82rem; color: var(--text, #e2e8f0);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pb-file-chip button {
  border: 0; background: rgba(255,255,255,.1); color: inherit; width: 22px; height: 22px;
  border-radius: 50%; cursor: pointer; line-height: 1;
}
.pb-msg { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: .92rem; line-height: 1.5; }
.pb-msg.show { display: block; }
.pb-msg.err { background: rgba(229,57,53,.14); border: 1px solid rgba(229,57,53,.5); color: #ffb4b0; }
.pb-msg.ok { background: rgba(34,197,94,.14); border: 1px solid rgba(34,197,94,.5); color: #a7f3c0; }

.pb-search { display: flex; gap: 8px; }
.pb-search .pb-input { flex: 1; min-width: 0; }
.pb-search .pb-btn { width: auto; padding: 0 20px; }
.pb-tickets { display: flex; flex-direction: column; gap: 10px; }
.pb-empty { text-align: center; color: var(--muted, #94a3b8); padding: 22px 10px; }
.pb-ticket { background: var(--dark-surface, #131a22); border: 1px solid var(--dark-border, #2a3a4a); border-radius: 14px; }
.pb-ticket summary { list-style: none; cursor: pointer; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.pb-ticket summary::-webkit-details-marker { display: none; }
.pb-t-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--text, #e2e8f0); }
.pb-t-meta { font-size: .8rem; color: var(--muted, #94a3b8); }
.pb-status { font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: rgba(148,163,184,.2); color: #cbd5e1; }
.pb-status.st-open { background: rgba(0,123,255,.2); color: #8cc0ff; }
.pb-status.st-in-progress { background: rgba(245,166,35,.2); color: #ffd28a; }
.pb-status.st-resolved { background: rgba(34,197,94,.2); color: #8ff0b0; }
.pb-new { font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: #f5a623; color: #1a1200; }
.pb-t-body { padding: 0 16px 16px; border-top: 1px solid var(--dark-border, #2a3a4a); }
.pb-t-body p { margin: 4px 0 12px; color: var(--text, #e2e8f0); line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.pb-t-label { margin-top: 12px; font-size: .78rem; font-weight: 700; color: var(--muted, #94a3b8); }
.pb-t-time { font-weight: 400; opacity: .8; margin-left: 6px; }
.pb-reply { background: rgba(0,123,255,.12); border-left: 3px solid var(--primary, #007bff); padding: 10px 12px; border-radius: 8px; }
.pb-t-wait { margin-top: 12px; color: var(--muted, #94a3b8); font-size: .88rem; }

@media (min-width: 720px) {
  .pb-quick { flex-direction: row; }
  .pb-quick .pb-card { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .pb-sidebar, .pb-sidebar-overlay { transition: none; }
}

/* ---------- Small phones: keep the navbar on one row with the new hamburger ---------- */
@media (max-width: 480px) {
  .site-nav-inner { gap: 8px; padding: 8px 10px; }
  .site-nav-tab { padding: 6px 8px; font-size: 11px; }
  .site-nav-brand span { display: none; }
}

/* ---------- Ticket smart hint + order status card ---------- */
.pb-hint-box {
  margin-top: 14px; padding: 11px 13px; border-radius: 12px; font-size: .88rem; line-height: 1.55;
  background: rgba(245,166,35,.1); border: 1px solid rgba(245,166,35,.35); color: #ffd9a0;
}
.pb-order-info {
  margin-top: 10px; padding: 11px 13px; border-radius: 12px; font-size: .88rem; line-height: 1.5;
  background: #1a2331; border: 1px solid var(--dark-border, #2a3a4a); color: var(--muted, #94a3b8);
  display: flex; flex-direction: column; gap: 3px;
}
.pb-order-info b { color: var(--text, #e2e8f0); }
.pb-order-info em { font-style: normal; font-weight: 800; color: #8cc0ff; }
.pb-order-info.ok { border-color: rgba(34,197,94,.45); background: rgba(34,197,94,.08); }
.pb-order-info.warn { border-color: rgba(229,57,53,.5); background: rgba(229,57,53,.1); color: #ffb4b0; }

/* ---------- Order Rules ---------- */
.pb-rules { list-style: none; counter-reset: rule; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pb-rules li {
  counter-increment: rule; position: relative; padding: 14px 14px 14px 52px; line-height: 1.6;
  background: var(--dark-surface, #131a22); border: 1px solid var(--dark-border, #2a3a4a); border-radius: 14px;
  color: var(--muted, #94a3b8); font-size: .93rem;
}
.pb-rules li::before {
  content: counter(rule); position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(0,123,255,.2); color: #8cc0ff; font-weight: 800; font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
}
.pb-rules li b { color: var(--text, #e2e8f0); }

/* ---------- Stay Connected popup ---------- */
.pb-modal-overlay {
  position: fixed; inset: 0; z-index: 2100; background: rgba(0,0,0,.6);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; transition: opacity .2s ease;
}
.pb-modal-overlay.show { opacity: 1; }
.pb-modal {
  position: relative; width: 100%; max-width: 380px; text-align: center;
  background: var(--dark-surface, #131a22); border: 1px solid var(--dark-border, #2a3a4a);
  border-radius: 20px; padding: 26px 20px 18px; display: flex; flex-direction: column; gap: 10px;
  transform: translateY(10px); transition: transform .2s ease;
}
.pb-modal-overlay.show .pb-modal { transform: none; }
.pb-modal h3 { margin: 0; font-size: 1.25rem; color: var(--text, #e2e8f0); }
.pb-modal p { margin: 0 0 6px; color: var(--muted, #94a3b8); line-height: 1.65; font-size: .93rem; }
.pb-modal-x { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; border: 0; background: transparent; color: var(--muted, #94a3b8); font-size: 26px; cursor: pointer; }
.pb-modal-later { border: 0; background: transparent; color: var(--muted, #94a3b8); font: inherit; font-size: .88rem; padding: 10px; cursor: pointer; }
.pb-btn-tg { background: #229ed9; }
@media (prefers-reduced-motion: reduce) { .pb-modal-overlay, .pb-modal { transition: none; } }


/* ==========================================================
   COLOR THEME — colorful accents, gradients, icon chips, glow
   (overrides the plain styles above)
   ========================================================== */
:root {
  --pb-blue: #4f8cff; --pb-violet: #8b5cf6; --pb-pink: #ec4899; --pb-orange: #f59e0b;
  --pb-green: #22c55e; --pb-sky: #38bdf8; --pb-red: #ef4444;
}

/* ---------- Sidebar ---------- */
.pb-sidebar {
  background:
    radial-gradient(120% 40% at 0% 0%, rgba(139,92,246,.28), transparent 60%),
    radial-gradient(90% 35% at 100% 100%, rgba(56,189,248,.16), transparent 60%),
    #0f1520;
  box-shadow: 8px 0 40px rgba(0,0,0,.55);
}
.pb-sidebar-head { border-bottom: 1px solid rgba(255,255,255,.08); background: linear-gradient(90deg, rgba(79,140,255,.18), rgba(236,72,153,.12)); }
.pb-sidebar-title { font-size: 1.05rem; letter-spacing: .02em; background: linear-gradient(90deg,#8cc0ff,#f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pb-sidebar-title img { border-radius: 8px; box-shadow: 0 0 0 2px rgba(139,92,246,.6), 0 0 14px rgba(139,92,246,.6); }
.pb-side-item { --c: var(--pb-blue); --rgb: 79,140,255; position: relative; border: 1px solid transparent; }
.pb-side-item[data-go="how"] { --c: #38bdf8; --rgb: 56,189,248; }
.pb-side-item[data-go="new-order"] { --c: #22c55e; --rgb: 34,197,94; }
.pb-side-item[data-go="rules"] { --c: #f59e0b; --rgb: 245,158,11; }
.pb-side-item[data-go="contact"] { --c: #a78bfa; --rgb: 167,139,250; }
.pb-side-item[data-go="tickets"] { --c: #f472b6; --rgb: 244,114,182; }
#pbSideWaChannel { --c: #25d366; --rgb: 37,211,102; }
.pb-side-item svg {
  width: 38px; height: 38px; padding: 8px; border-radius: 12px; flex-shrink: 0;
  color: var(--c); background: rgba(var(--rgb), .16); box-shadow: inset 0 0 0 1px rgba(var(--rgb), .35);
}
.pb-side-item:hover { background: rgba(var(--rgb), .08); border-color: rgba(var(--rgb), .25); }
.pb-side-item.active {
  background: linear-gradient(90deg, rgba(var(--rgb), .26), rgba(var(--rgb), .04));
  border-color: rgba(var(--rgb), .45); box-shadow: 0 0 18px rgba(var(--rgb), .18);
}
.pb-side-item.active svg { color: #fff; background: var(--c); box-shadow: 0 0 14px rgba(var(--rgb), .7); }
.pb-side-item.active::before { content: ""; position: absolute; left: -10px; top: 20%; bottom: 20%; width: 4px; border-radius: 0 4px 4px 0; background: var(--c); }
.pb-side-badge { background: linear-gradient(135deg,#f59e0b,#ef4444); color: #fff; box-shadow: 0 0 10px rgba(239,68,68,.6); animation: pbPulse 1.8s ease-in-out infinite; }
@keyframes pbPulse { 50% { transform: scale(1.12); } }
.pb-menu-btn { border-color: rgba(139,92,246,.6); background: linear-gradient(135deg, rgba(79,140,255,.18), rgba(139,92,246,.18)); box-shadow: 0 0 14px rgba(139,92,246,.25); }
.pb-menu-btn span:nth-child(1) { background: #8cc0ff; } .pb-menu-btn span:nth-child(2) { background: #c4b5fd; } .pb-menu-btn span:nth-child(3) { background: #f0abfc; }

/* ---------- shared: icon chips, cards, buttons ---------- */
.pb-ico {
  display: inline-flex; align-items: center; justify-content: center; font-style: normal;
  width: 38px; height: 38px; border-radius: 12px; font-size: 1.15rem; flex-shrink: 0;
  background: rgba(79,140,255,.18); box-shadow: inset 0 0 0 1px rgba(79,140,255,.4);
}
.pb-ico-green { background: rgba(34,197,94,.18); box-shadow: inset 0 0 0 1px rgba(34,197,94,.45); }
.pb-ico-violet { background: rgba(139,92,246,.2); box-shadow: inset 0 0 0 1px rgba(139,92,246,.5); }
.pb-ico-sky { background: rgba(56,189,248,.18); box-shadow: inset 0 0 0 1px rgba(56,189,248,.45); }
.pb-card { position: relative; overflow: hidden; background: linear-gradient(160deg, #161f2b, #111823); border-color: rgba(255,255,255,.08); }
.pb-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--pb-blue), var(--pb-violet), var(--pb-pink)); }
.pb-card h3 { display: flex; align-items: center; gap: 10px; }
.pb-card-center h3 { justify-content: center; }
.pb-btn { box-shadow: 0 8px 22px rgba(0,0,0,.35); transition: transform .12s ease, filter .12s ease; }
.pb-btn:active { transform: scale(.98); filter: brightness(1.1); }
.pb-btn-red { background: linear-gradient(135deg, #ef4444, #f97316); box-shadow: 0 8px 24px rgba(239,68,68,.35); }
.pb-btn-blue { background: linear-gradient(135deg, #3b82f6, #8b5cf6); box-shadow: 0 8px 24px rgba(99,102,241,.4); }
.pb-btn-wa { background: linear-gradient(135deg, #25d366, #10b981); box-shadow: 0 8px 24px rgba(37,211,102,.4); }
.pb-btn-tg { background: linear-gradient(135deg, #229ed9, #38bdf8); }
#tkAttachBtn { background: linear-gradient(135deg, #8b5cf6, #ec4899); box-shadow: 0 8px 24px rgba(139,92,246,.4); }

/* ---------- Hero (Contact / Rules) ---------- */
.pb-contact-hero {
  position: relative; overflow: hidden; border: 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #5b21b6 50%, #be185d 100%);
  box-shadow: 0 14px 40px rgba(91,33,182,.45);
}
.pb-contact-hero::before, .pb-contact-hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2px); }
.pb-contact-hero::before { width: 180px; height: 180px; right: -50px; top: -60px; background: radial-gradient(circle, rgba(255,255,255,.28), transparent 70%); }
.pb-contact-hero::after { width: 140px; height: 140px; left: -40px; bottom: -60px; background: radial-gradient(circle, rgba(56,189,248,.4), transparent 70%); }
.pb-contact-hero > * { position: relative; z-index: 1; }
.pb-eyebrow { color: #fde68a; background: rgba(0,0,0,.25); padding: 4px 12px; border-radius: 999px; }
.pb-contact-hero h2 { color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.pb-contact-tag { color: #fde68a; }
.pb-contact-lead { color: rgba(255,255,255,.85); }
.pb-star { color: #fbbf24; }
.pb-phone { background: linear-gradient(135deg, rgba(37,211,102,.25), rgba(16,185,129,.12)); border-color: rgba(37,211,102,.6); color: #eafff2; box-shadow: 0 0 22px rgba(37,211,102,.25); }
.pb-commit { background: linear-gradient(135deg, rgba(245,158,11,.16), rgba(236,72,153,.14)); border-color: rgba(245,158,11,.35); }
.pb-commit-line { background: linear-gradient(90deg,#fbbf24,#f472b6,#a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent !important; font-size: 1.05rem; }

/* ---------- Order Rules: each rule its own color ---------- */
.pb-rules li {
  --c: #4f8cff; --rgb: 79,140,255;
  display: flex; gap: 12px; align-items: flex-start; padding: 14px; overflow: hidden;
  background: linear-gradient(120deg, rgba(var(--rgb), .13), rgba(17,24,35,.9) 55%);
  border: 1px solid rgba(var(--rgb), .35); border-left: 4px solid var(--c);
}
.pb-rules li::before { display: none; }
.pb-rules li:nth-child(6n+1) { --c: #4f8cff; --rgb: 79,140,255; }
.pb-rules li:nth-child(6n+2) { --c: #ef4444; --rgb: 239,68,68; }
.pb-rules li:nth-child(6n+3) { --c: #22c55e; --rgb: 34,197,94; }
.pb-rules li:nth-child(6n+4) { --c: #f59e0b; --rgb: 245,158,11; }
.pb-rules li:nth-child(6n+5) { --c: #a78bfa; --rgb: 167,139,250; }
.pb-rules li:nth-child(6n)   { --c: #ec4899; --rgb: 236,72,153; }
.pb-rules li .pb-ico { background: rgba(var(--rgb), .2); box-shadow: inset 0 0 0 1px rgba(var(--rgb), .55), 0 0 14px rgba(var(--rgb), .3); }
.pb-rules li b { color: #fff; }

/* ---------- Tickets ---------- */
.pb-note {
  background: linear-gradient(135deg, #2563eb, #7c3aed 60%, #db2777); box-shadow: 0 10px 28px rgba(124,58,237,.4);
  display: flex; gap: 10px; align-items: center; text-align: left; font-weight: 500;
}
.pb-note i { font-style: normal; font-size: 1.6rem; filter: drop-shadow(0 0 8px rgba(253,224,71,.8)); }
.pb-q-wa::before { background: linear-gradient(90deg,#25d366,#10b981); }
.pb-q-tg::before { background: linear-gradient(90deg,#229ed9,#38bdf8); }
.pb-q-wa { box-shadow: 0 0 26px rgba(37,211,102,.14); }
.pb-link { color: #67e8f9; text-shadow: 0 0 12px rgba(103,232,249,.4); }
.pb-form { border: 1px solid transparent; background: linear-gradient(#131a25,#131a25) padding-box, linear-gradient(135deg,#4f8cff,#8b5cf6,#ec4899) border-box; }
.pb-label { display: flex; align-items: center; gap: 7px; color: #b6c2d6; font-weight: 600; }
.pb-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg,#4f8cff,#ec4899); box-shadow: 0 0 8px rgba(139,92,246,.7); }
.pb-input { background: #0f1620; border-color: rgba(139,92,246,.3); }
.pb-input:focus { border-color: #a78bfa; box-shadow: 0 0 0 3px rgba(167,139,250,.25), 0 0 18px rgba(167,139,250,.2); }
.pb-hint-box { background: linear-gradient(135deg, rgba(245,158,11,.16), rgba(239,68,68,.1)); }
.pb-file-chip { border-color: rgba(236,72,153,.45); background: rgba(236,72,153,.1); }
.pb-search .pb-btn { background: linear-gradient(135deg,#06b6d4,#3b82f6); box-shadow: 0 8px 22px rgba(6,182,212,.35); }
.pb-ticket { border-left: 4px solid var(--pb-blue); background: linear-gradient(120deg, rgba(79,140,255,.1), #121a25 50%); }
.pb-status.st-open { background: rgba(59,130,246,.25); color: #93c5fd; box-shadow: 0 0 10px rgba(59,130,246,.3); }
.pb-status.st-in-progress { background: rgba(245,158,11,.25); color: #fcd34d; box-shadow: 0 0 10px rgba(245,158,11,.3); }
.pb-status.st-resolved { background: rgba(34,197,94,.25); color: #86efac; box-shadow: 0 0 10px rgba(34,197,94,.3); }
.pb-new { background: linear-gradient(135deg,#f59e0b,#ef4444); color: #fff; }
.pb-reply { background: linear-gradient(135deg, rgba(79,140,255,.16), rgba(139,92,246,.12)); border-left-color: #8b5cf6; }
.pb-order-info.ok { background: linear-gradient(135deg, rgba(34,197,94,.14), rgba(6,182,212,.08)); }

/* ---------- Stay Connected popup ---------- */
.pb-modal {
  background: radial-gradient(90% 60% at 50% 0%, rgba(139,92,246,.35), transparent 70%), #121a26;
  border: 1px solid rgba(167,139,250,.5); box-shadow: 0 20px 60px rgba(91,33,182,.5);
}
.pb-modal-icon { width: 64px; height: 64px; margin: 0 auto 2px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 2rem; background: linear-gradient(135deg,#4f8cff,#8b5cf6,#ec4899); box-shadow: 0 0 30px rgba(139,92,246,.7); }
.pb-modal h3 { background: linear-gradient(90deg,#8cc0ff,#f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== Sidebar account card ===== */
.pb-acct { margin: 2px 0 8px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(160deg, #162033, #101826); display: flex; flex-direction: column; gap: 6px; }
.pb-acct-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pb-acct-lbl { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted, #94a3b8); font-weight: 700; }
.pb-acct-num { font-size: 1rem; font-weight: 800; color: var(--text, #e2e8f0); letter-spacing: .03em; }
.pb-acct-bal { font-size: 1.05rem; font-weight: 800; color: #6ee7b7; }
.pb-acct-login { margin-top: 4px; padding: 10px; border: 0; border-radius: 10px; background: var(--primary, #007bff); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.pb-side-item[data-go="orders"] { --c: #fb923c; --rgb: 251,146,60; }

/* ===== Order History page ===== */
.pb-oh-page { max-width: 760px; }
.pb-oh-filters { display: flex; flex-direction: column; border: 1px solid #f59e0b55; border-radius: 6px; overflow: hidden; margin-bottom: 14px; }
.pb-oh-f { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 14px 16px; border: 0; border-bottom: 1px solid #f59e0b55;
  background: #000; color: #fff; font: inherit; font-size: 1rem; text-align: left; cursor: pointer; }
.pb-oh-f:last-child { border-bottom: 0; }
.pb-oh-f.active { background: #0aa52b; color: #fff; font-weight: 700; }
.pb-oh-c { font-size: .78rem; opacity: .85; background: rgba(255,255,255,.14); padding: 2px 9px; border-radius: 999px; }
.pb-oh-box { background: #000; border-radius: 16px; padding: 16px 10px 8px; margin-bottom: 14px; border: 1px solid rgba(255,255,255,.06); }
.pb-oh-search { display: flex; margin: 0 6px 14px; border: 2px solid #f59e0b; border-radius: 6px; overflow: hidden; }
.pb-oh-search .pb-input { border: 0; border-radius: 0; background: #2b2b30; flex: 1; min-width: 0; }
.pb-oh-search button { width: 56px; border: 0; background: #f59e0b; color: #fff; cursor: pointer; display: grid; place-items: center; }
.pb-oh-search svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.pb-oh-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 6px; }
.pb-oh-table { border-collapse: collapse; width: 100%; min-width: 720px; font-size: .92rem; }
.pb-oh-table th { text-align: left; padding: 12px 10px; color: #fff; font-size: 1.05rem; background: #000; position: sticky; top: 0; white-space: nowrap; }
.pb-oh-table td { padding: 14px 10px; color: #111; background: #fff; border-bottom: 1px solid #cfd8e3; vertical-align: middle; }
.pb-oh-table tr:nth-child(even) td { background: #e3eefc; }
.pb-oh-table td.oh-link { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-oh-table td.oh-link a { color: #f26b00; text-decoration: none; }
.pb-oh-table td.oh-date { white-space: nowrap; }
.pb-oh-table td.oh-svc { min-width: 180px; }
.pb-oh-st { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.pb-oh-st.s-completed { background: #d1fae5; color: #065f46; }
.pb-oh-st.s-processing { background: #dbeafe; color: #1e40af; }
.pb-oh-st.s-pending { background: #fef3c7; color: #92400e; }
.pb-oh-st.s-partial { background: #ede9fe; color: #5b21b6; }
.pb-oh-st.s-rejected { background: #fee2e2; color: #991b1b; }
.pb-oh-empty { padding: 22px 10px; text-align: center; color: var(--muted, #94a3b8); }
.pb-oh-table td:first-child { white-space: nowrap; font-weight: 600; }

/* ===== Order History: mobile card layout (no horizontal scroll) ===== */
@media (max-width: 720px) {
  .pb-oh-page { max-width: 100%; overflow-x: hidden; }
  .pb-oh-box { padding: 12px 8px 4px; }
  .pb-oh-tablewrap { overflow: visible; }
  .pb-oh-table { min-width: 0; width: 100%; display: block; font-size: .9rem; }
  .pb-oh-table thead { display: none; }
  .pb-oh-table tbody { display: block; }
  .pb-oh-table tr { display: block; background: #fff; border-radius: 12px; margin: 0 0 12px; padding: 4px 12px; overflow: hidden; box-shadow: 0 1px 0 rgba(0,0,0,.2); }
  .pb-oh-table tr:nth-child(even) { background: #e3eefc; }
  .pb-oh-table td,
  .pb-oh-table tr:nth-child(even) td { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; background: transparent; padding: 9px 0; border-bottom: 1px dashed #cfd8e3; text-align: right; min-width: 0; max-width: 100%; white-space: normal; word-break: break-word; overflow-wrap: anywhere; }
  .pb-oh-table td:last-child { border-bottom: 0; }
  .pb-oh-table td::before { content: attr(data-label); flex: 0 0 auto; font-weight: 700; color: #475569; text-align: left; }
  .pb-oh-table td.oh-link,
  .pb-oh-table td.oh-svc { max-width: 100%; min-width: 0; white-space: normal; overflow: visible; text-overflow: clip; }
  .pb-oh-table td.oh-link a { display: block; min-width: 0; text-align: right; word-break: break-all; }
  .pb-oh-table td:first-child { white-space: normal; }
  .pb-oh-table td.oh-date { white-space: normal; }
}

/* ===== Add Funds card (wallet top-up, step A) ===== */
.af-card{background:#0f1722;border:1px solid #1f2d3d;border-radius:18px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.35);margin-bottom:14px}
.af-head{display:flex;align-items:center;gap:12px;padding:16px 16px 14px;border-bottom:1px solid #1f2d3d}
.af-head-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#22c55e,#0ea5e9);box-shadow:0 4px 12px rgba(14,165,233,.35)}
.af-title{font-size:17px;font-weight:800;color:#f1f5f9;line-height:1.2}
.af-sub{font-size:12.5px;color:#94a3b8;margin-top:2px}
.af-body{padding:16px}
.af-label{display:block;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#94a3b8;margin:14px 0 8px}
.af-body > .af-label:first-child{margin-top:0}
.af-methods{margin-top:0;grid-template-columns:repeat(3,1fr);gap:10px}
.af-methods .pay-card{background:#0b1220;border:1.5px solid #243447;box-shadow:none;border-radius:14px;padding:12px 6px}
.af-methods .pay-card span{color:#cbd5e1;font-size:.78rem;margin-top:4px}
.af-methods .pay-card:hover{border-color:#38bdf8}
.af-methods .pay-card.selected{border-color:#22c55e;background:#0d2230;box-shadow:0 0 0 3px rgba(34,197,94,.18)}
.af-note{margin-top:14px;padding:11px 12px;border-radius:12px;background:#0b1a2b;border:1px solid #1d3550;color:#9fb3c8;font-size:13px;text-align:center;line-height:1.5}
.af-note b{color:#e2e8f0}
.af-input-wrap{position:relative}
.af-input-prefix{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#64748b;font-weight:700;pointer-events:none}
.af-input{width:100%;box-sizing:border-box;padding:14px 14px 14px 34px;border-radius:12px;border:1.5px solid #243447;background:#0b1220;color:#f1f5f9;font-size:17px;font-weight:700;outline:none;transition:.15s}
.af-input:focus{border-color:#38bdf8;box-shadow:0 0 0 3px rgba(56,189,248,.18)}
.af-quick{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.af-quick .tf-qamt{padding:13px 0;border-radius:12px;border:1.5px solid #243447;background:#0b1220;color:#e2e8f0;font-weight:700;font-size:14px;cursor:pointer;transition:.15s}
.af-quick .tf-qamt:hover{border-color:#38bdf8}
.af-quick .tf-qamt.active{border-color:#22c55e;background:#0d2230;color:#6ee7b7}
.af-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px;padding:14px 8px;border-radius:14px;background:#0b1220;border:1px solid #1f2d3d;text-align:center}
.af-summary span{display:block;font-size:10.5px;font-weight:700;letter-spacing:.06em;color:#64748b;margin-bottom:6px}
.af-summary b{font-size:16px;color:#f1f5f9;font-variant-numeric:tabular-nums}
.af-summary .af-green{color:#22c55e}
.af-pay-btn{width:100%;margin-top:16px;padding:15px;border:none;border-radius:14px;font-size:16px;font-weight:800;color:#fff;cursor:pointer;background:linear-gradient(135deg,#0ea5e9,#2563eb);box-shadow:0 8px 20px rgba(37,99,235,.35);transition:.15s}
.af-pay-btn:active{transform:scale(.98)}
.af-pay-btn:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}

/* ===== Balance page + step pages ===== */
.bal-page{position:relative;overflow:hidden;text-align:left;padding:24px 20px 22px;border-radius:22px;margin-bottom:16px;color:#fff;background:linear-gradient(135deg,#0ea5e9 0%,#2563eb 52%,#7c3aed 100%);box-shadow:0 14px 34px rgba(37,99,235,.38)}
.bal-page::before,.bal-page::after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.10);pointer-events:none}
.bal-page::before{width:190px;height:190px;right:-60px;top:-70px}
.bal-page::after{width:130px;height:130px;right:40px;bottom:-70px;background:rgba(255,255,255,.07)}
.bal-glow{position:absolute;inset:0;background:radial-gradient(circle at 15% 0%,rgba(255,255,255,.22),transparent 55%);pointer-events:none}
.bal-top{position:relative;display:flex;align-items:center;gap:10px}
.bal-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:rgba(255,255,255,.18);backdrop-filter:blur(4px)}
.bal-label{font-size:13px;font-weight:600;letter-spacing:.04em;opacity:.9}
.bal-amt{position:relative;font-size:44px;font-weight:800;margin:18px 0 14px;letter-spacing:-.5px;font-variant-numeric:tabular-nums;text-shadow:0 2px 10px rgba(0,0,0,.18)}
.bal-chip{position:relative;display:inline-flex;align-items:center;gap:7px;padding:6px 12px;border-radius:999px;font-size:12px;font-weight:600;background:rgba(255,255,255,.18)}
.bal-dot{width:8px;height:8px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 4px rgba(74,222,128,.25)}
.bal-topup{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:0;padding:17px;font-size:17px;background:linear-gradient(135deg,#22c55e,#16a34a);box-shadow:0 10px 24px rgba(34,197,94,.32)}
.bal-plus{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:rgba(255,255,255,.25);font-size:18px;line-height:1}
.af-back{background:none;border:none;color:#94a3b8;font-size:14px;cursor:pointer;padding:4px 0 10px}
.af-account{margin-top:22px;padding-top:14px;border-top:1px dashed #1f2d3d}
.af-card .af-body > .af-label:first-child{margin-top:0}

/* Add Fund History rows */
.af-hrow{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px;margin-bottom:8px;border:1px solid #1f2d3d;border-radius:12px;background:#0b1220}
.af-hname{font-size:14px;font-weight:700;color:#e2e8f0}
.af-hdate{font-size:11.5px;color:#64748b;margin-top:3px}
.af-hamt{font-weight:800;color:#22c55e;font-variant-numeric:tabular-nums}

/* ===== Home-only marketing blocks (no repeated hero/footer text on inner pages) ===== */
body:not(.is-home) > header,
body:not(.is-home) .why-choose-section,
body:not(.is-home) .we-accept-section,
body:not(.is-home) .faq-section,
body:not(.is-home) .site-footer .footer-grid{display:none !important}
body:not(.is-home) #app{padding-top:14px}
body:not(.is-home) .site-footer{padding-top:8px;margin-top:8px}
.pb-oh-table td.oh-code { font-weight: 700; white-space: nowrap; }
