/* ==========================================================================
   R4M STORE — Clean Royal Blue & White Theme (Neve-Inspired Modern Store)
   Deep Royal Blue Gradient Hero + Flowing Wave Divider + Crisp White Canvas
   ========================================================================== */

:root {
  --blue-deep: #020929;
  --blue-mid: #05227a;
  --blue-bright: #0066ff;
  --blue-electric: #00c6ff;
  --blue-primary: #0057e7;
  --blue-hover: #0044bd;
  --blue-soft: #eef5ff;
  --blue-tint: #cfe4ff;
  --gold-star: #fbbf24;

  --bg-page: #ffffff;
  --bg-subtle: #f4f8ff;
  --bg-card: #ffffff;
  --bg-input: #ffffff;

  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;

  --text-dark: #0f172a;
  --text-body: #475569;
  --text-muted: #64748b;

  --emerald: #059669;
  --emerald-soft: #ecfdf5;
  --indigo: #4f46e5;
  --indigo-soft: #eef2ff;
  --cyan: #0284c7;
  --cyan-soft: #e0f2fe;
  --amber: #d97706;
  --amber-soft: #fffbeb;
  --rose: #e11d48;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 55px rgba(7, 21, 116, 0.16);
  --transition: 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */
.top-ticker {
  background: #020720;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(0, 198, 255, 0.22);
}

.ticker-motto {
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--gold-star);
}

.top-ticker .ticker-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.28);
  display: inline-block;
  margin-right: 4px;
}

.promo-pill {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 2px 9px;
  border-radius: var(--radius-full);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Unified Royal Blue Header + Hero Wrapper (Neve Style)
   ========================================================================== */
.hero-wrapper {
  background:
    radial-gradient(ellipse 60% 55% at 80% 35%, rgba(0, 198, 255, 0.28), transparent 65%),
    radial-gradient(ellipse 50% 45% at 15% 20%, rgba(0, 102, 255, 0.34), transparent 62%),
    linear-gradient(120deg, var(--blue-deep) 0%, var(--blue-mid) 52%, var(--blue-bright) 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero-wrapper::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.24), transparent 68%);
  pointer-events: none;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(3, 14, 62, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 198, 255, 0.2);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.24rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #000000;
  border: 1px solid rgba(56, 189, 248, 0.42);
  color: var(--blue-deep);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.05rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-sub {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  color: rgba(219, 234, 254, 0.85);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 13px;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-outline-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 7px;
  border: 1.5px solid rgba(255, 255, 255, 0.48);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  transition: var(--transition);
}

.nav-outline-btn:hover {
  background: #ffffff;
  color: var(--blue-deep);
  border-color: #ffffff;
}

.nav-cart-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  transition: var(--transition);
}

.nav-cart-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: var(--blue-deep);
  font-size: 0.7rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.cart-badge.empty {
  display: none;
}

.mobile-menu-btn {
  display: none;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

/* Buttons (Light Theme + Hero Variants) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-hero-white {
  background: #ffffff;
  color: var(--blue-deep);
  box-shadow: 0 10px 26px rgba(3, 14, 78, 0.26);
}

.btn-hero-white:hover {
  transform: translateY(-2px);
  background: #f8fafc;
  box-shadow: 0 14px 32px rgba(3, 14, 78, 0.35);
}

.btn-hero-outline {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-bright));
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(11, 94, 215, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 12px 26px rgba(11, 94, 215, 0.34);
}

.btn-secondary {
  background: var(--blue-soft);
  color: var(--blue-primary);
  border: 1px solid var(--blue-tint);
}

.btn-secondary:hover {
  background: var(--blue-tint);
}

.btn-ghost {
  background: #ffffff;
  color: var(--text-body);
  border: 1px solid var(--border-medium);
}

.btn-ghost:hover {
  color: var(--blue-primary);
  border-color: var(--blue-primary);
}

.btn-amber {
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-bright));
  color: #ffffff;
}

.btn-amber:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   Hero Content & Flowing Wave Divider
   ========================================================================== */
.hero {
  padding: 58px 0 120px;
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e0f2fe;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.15rem, 4.3vw, 3.45rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 18px;
}

.hero-desc {
  color: rgba(226, 238, 255, 0.9);
  font-size: 1.03rem;
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 520px;
}

.stat-chip {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 12px 14px;
}

.stat-value {
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-label {
  font-size: 0.74rem;
  color: rgba(219, 234, 254, 0.85);
}

/* Right Hero Visual — R4M Banner + Quick Access Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-banner-shell {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 3;
}

.hero-banner-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(0, 198, 255, 0.65);
  box-shadow:
    0 0 34px rgba(0, 198, 255, 0.35),
    0 22px 48px rgba(2, 9, 41, 0.55);
  background: #020929;
  transition: var(--transition);
}

.hero-banner-frame:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 46px rgba(0, 198, 255, 0.5),
    0 26px 56px rgba(2, 9, 41, 0.65);
}

.hero-banner-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-visual-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  color: var(--text-dark);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(0, 198, 255, 0.25);
  box-shadow: 0 22px 50px rgba(2, 9, 41, 0.36);
  position: relative;
  z-index: 3;
}

.hv-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.hv-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--emerald-soft);
  color: var(--emerald);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: var(--radius-full);
}

.hv-art {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.hv-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hv-mini-btn {
  text-align: left;
  padding: 12px;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.hv-mini-btn:hover {
  border-color: var(--blue-primary);
  background: var(--blue-soft);
  transform: translateY(-2px);
}

.hv-mini-btn strong {
  display: block;
  font-size: 0.84rem;
  color: var(--text-dark);
}

.hv-mini-btn span {
  font-size: 0.73rem;
  color: var(--blue-primary);
  font-weight: 700;
}

.hv-mini-featured {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, #eef5ff, #dbeafe);
  border-color: #93c5fd;
}

.hv-featured-price {
  font-size: 0.86rem !important;
  font-weight: 800 !important;
  color: var(--blue-primary) !important;
  white-space: nowrap;
}

.ready-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ready-pill.card-corner {
  position: absolute;
  top: 12px;
  right: 12px;
}

/* Signature Multi-Layer Flowing Wave */
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  line-height: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 112px;
}

/* ==========================================================================
   Neve-Style 4-Column Service Highlights (Directly Below Wave)
   ========================================================================== */
.neve-services {
  background: #ffffff;
  padding: 26px 0 58px;
}

.neve-services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.neve-service-card {
  position: relative;
  text-align: center;
  padding: 24px 18px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid transparent;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Closed Service Status Styles */
.closed-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: #ffe4e6;
  color: #be123c;
  border: 1px solid #fecdd3;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 4px;
}

.closed-pill.card-corner {
  position: absolute;
  top: 12px;
  right: 12px;
  margin-left: 0;
}

.closed-pill.large {
  padding: 6px 12px;
  font-size: 0.76rem;
  margin-left: 0;
  flex-shrink: 0;
}

.closed-text {
  color: #be123c !important;
  font-weight: 700;
}

.hv-mini-btn.is-closed,
.neve-service-card.is-closed {
  opacity: 0.86;
  background: #fff7f8;
  border-color: #fecdd3;
}

.neve-service-card.is-closed .neve-icon-circle {
  background: #ffe4e6;
  color: #be123c;
}

.cat-tab.is-closed:not(.active) {
  background: #fffafb;
  border-color: #fecdd3;
}

.cat-tab.is-closed:not(.active) .cat-tab-icon {
  background: #ffe4e6;
  color: #be123c;
}

.cat-tab.active .closed-pill {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.closed-panel-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  background: #fff1f2;
  border: 1.5px solid #fda4af;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 20px;
}

.closed-banner-content {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 760px;
}

.closed-banner-content strong {
  display: block;
  color: #9f1239;
  font-size: 1rem;
  margin-bottom: 3px;
}

.closed-banner-content p {
  font-size: 0.85rem;
  color: #881337;
}

.order-layout.service-locked {
  opacity: 0.56;
  pointer-events: none;
  user-select: none;
  filter: grayscale(0.25);
}

.neve-service-card:hover {
  border-color: var(--blue-tint);
  background: var(--bg-subtle);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.neve-icon-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #e6f0ff;
  color: var(--blue-primary);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  position: relative;
}

.neve-icon-circle::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px dashed rgba(11, 94, 215, 0.22);
}

.neve-service-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.neve-service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 12px;
}

.neve-service-link {
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-primary);
}

/* ==========================================================================
   Main Store Section & Tabs (Clean Light Surface)
   ========================================================================== */
.store-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 64px 0 76px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.section-subtitle {
  color: var(--text-body);
  font-size: 0.95rem;
  margin-top: 4px;
}

.category-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.cat-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 15px 16px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.cat-tab:hover {
  border-color: var(--blue-primary);
  transform: translateY(-1px);
}

.cat-tab.active {
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-bright));
  border-color: var(--blue-mid);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(11, 94, 215, 0.25);
}

.cat-tab-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cat-tab.active .cat-tab-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.cat-tab-title {
  font-weight: 800;
  font-size: 0.9rem;
  display: block;
}

.cat-tab-meta {
  font-size: 0.74rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.cat-tab.active .cat-tab-meta {
  color: rgba(255, 255, 255, 0.84);
}

/* Tab Panels */
.tab-panel {
  display: none;
  animation: fadeUp 0.25s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Order Split Layout */
.order-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.panel-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.panel-card.sticky {
  position: sticky;
  top: 94px;
}

/* Step-Banner "Lengkapi Data" Card Style (Synchronized with R4M Blue Theme) */
.lengkapi-card {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--blue-tint);
  box-shadow: var(--shadow-md);
}

.lengkapi-header {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(95deg, var(--blue-deep) 0%, var(--blue-mid) 45%, var(--blue-bright) 100%);
  color: #ffffff;
  padding-right: 18px;
  min-height: 52px;
  position: relative;
}

.lengkapi-step-badge {
  width: 54px;
  align-self: stretch;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 900;
  font-style: italic;
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
  padding-right: 8px;
  flex-shrink: 0;
}

.lengkapi-title {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.help-tip-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  position: relative;
}

.help-tip-btn:hover {
  background: #ffffff;
  color: var(--blue-deep);
}

.help-tip-btn[data-tooltip]:hover::after,
.help-tip-btn[data-tooltip]:focus::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%);
  width: 240px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  box-shadow: var(--shadow-lg);
  z-index: 30;
  pointer-events: none;
}

.lengkapi-body {
  padding: 20px 22px 24px;
  background: #ffffff;
}

.lengkapi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.lengkapi-grid .form-group {
  margin-bottom: 0;
}

.lengkapi-grid .form-input {
  background: #f8fbff;
  border-color: var(--border-medium);
}

.lengkapi-grid .form-input:focus {
  background: #ffffff;
}

@media (max-width: 600px) {
  .lengkapi-grid {
    grid-template-columns: 1fr;
  }
}

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--blue-soft);
  color: var(--blue-primary);
  font-weight: 800;
  font-size: 0.88rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.step-header h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-dark);
}

.step-header p {
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* Info Banner */
.info-banner {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.84rem;
  margin-bottom: 20px;
  line-height: 1.55;
  background: var(--blue-soft);
  border: 1px solid var(--blue-tint);
  color: #1e3a8a;
}

.info-banner.amber {
  background: var(--amber-soft);
  border-color: #fde68a;
  color: #92400e;
}

/* Package Grid */
.package-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.pkg-card {
  text-align: left;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 16px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pkg-card:hover {
  border-color: var(--blue-primary);
  background: var(--bg-subtle);
  transform: translateY(-2px);
}

.pkg-card.selected,
.pkg-card.login-pkg.selected {
  border-color: var(--blue-primary);
  background: var(--blue-soft);
  box-shadow: 0 0 0 2px rgba(11, 94, 215, 0.16);
}

.pkg-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pkg-amount {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--text-dark);
}

.pkg-tag {
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: var(--blue-primary);
  color: #ffffff;
}

.pkg-tag.indigo { background: var(--indigo); color: #ffffff; }
.pkg-tag.amber { background: var(--amber); color: #ffffff; }

.pkg-price {
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--blue-primary);
}

.pkg-sub {
  font-size: 0.77rem;
  color: var(--text-muted);
}

/* Filter Pills */
.pill-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.pill-btn {
  padding: 7px 15px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-body);
  background: #ffffff;
  border: 1px solid var(--border-medium);
  transition: var(--transition);
}

.pill-btn:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

.pill-btn.active,
.pill-btn.amber.active {
  background: var(--blue-primary);
  color: #ffffff;
  border-color: var(--blue-primary);
}

/* Form Controls */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--text-dark);
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-prefix {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.9rem;
  pointer-events: none;
}

.form-input,
.form-select {
  width: 100%;
  background: var(--bg-input);
  border: 1.5px solid var(--border-medium);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.92rem;
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
}

.form-input.has-prefix {
  padding-left: 34px;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.14);
}

.form-input::placeholder {
  color: #94a3b8;
}

/* Summary Box */
.summary-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  color: var(--text-body);
  margin-bottom: 8px;
  gap: 12px;
}

.summary-row strong {
  color: var(--text-dark);
}

.summary-row:last-child {
  margin-bottom: 0;
}

.summary-row.total {
  border-top: 1px dashed var(--border-medium);
  padding-top: 11px;
  margin-top: 11px;
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--text-dark);
}

.summary-row.total span:last-child {
  color: var(--blue-primary);
}

.action-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ==========================================================================
   Gamepass Calculator
   ========================================================================== */
.gp-calc-box {
  background: linear-gradient(145deg, #eff6ff, #f8fbff);
  border: 1.5px solid var(--blue-tint);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

.gp-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 18px;
}

.gp-preset-btn {
  padding: 8px 13px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: var(--transition);
}

.gp-preset-btn:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

.gp-preset-btn.active {
  background: var(--blue-primary);
  color: #ffffff;
  border-color: var(--blue-primary);
}

.gp-slider {
  width: 100%;
  accent-color: var(--blue-primary);
  margin: 10px 0 18px;
  cursor: pointer;
}

.manual-robux-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.manual-step-btn {
  padding: 10px 13px;
  font-size: 0.84rem;
  font-weight: 800;
}

.manual-price-pill {
  padding: 10px 15px;
  border-radius: 10px;
  background: #ffffff;
  border: 1.5px solid var(--blue-tint);
  color: var(--blue-primary);
  font-size: 0.96rem;
  font-weight: 800;
  white-space: nowrap;
}

.gp-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gp-metric {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px;
}

.gp-metric.highlight {
  border-color: var(--blue-primary);
  background: var(--blue-primary);
  color: #ffffff;
}

.gp-metric-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.gp-metric.highlight .gp-metric-label {
  color: rgba(255, 255, 255, 0.85);
}

.gp-metric-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.gp-metric.highlight .gp-metric-value {
  color: #ffffff;
}

.gp-steps-guide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.guide-step {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px;
  font-size: 0.82rem;
  color: var(--text-body);
}

.guide-step strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 4px;
}

/* Security Checklist */
.security-checklist {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.sec-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.83rem;
  color: var(--text-body);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 11px 14px;
}

.sec-check {
  color: var(--emerald);
  font-weight: 800;
  flex-shrink: 0;
}

/* ==========================================================================
   Item Limited Catalog
   ========================================================================== */
.limited-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.limited-search-wrap {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 260px;
  max-width: 520px;
}

.limited-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.limited-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.limited-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-md);
}

.limited-thumb {
  position: relative;
  height: 170px;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.limited-rarity {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 9px;
  border-radius: var(--radius-full);
}

.rarity-Mythic { background: #fce7f3; color: #be185d; border: 1px solid #f9a8d4; }
.rarity-Legendary { background: #fef3c7; color: #b45309; border: 1px solid #fcd34d; }
.rarity-Epic { background: #e0e7ff; color: #4338ca; border: 1px solid #a5b4fc; }
.rarity-Rare { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }

.limited-serial {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-body);
  border: 1px solid var(--border-light);
}

.limited-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.limited-cat {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--blue-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.limited-name {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-dark);
}

.limited-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-body);
  background: var(--bg-subtle);
  border-radius: 9px;
  padding: 7px 10px;
}

.limited-price-row {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.limited-price {
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--blue-primary);
}

.limited-stock {
  font-size: 0.74rem;
  color: var(--emerald);
  font-weight: 700;
}

.limited-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 6px;
}

/* ==========================================================================
   Testimonials, FAQ & Footer
   ========================================================================== */
.info-section {
  background: #ffffff;
  padding: 60px 0;
  border-top: 1px solid var(--border-light);
}

.info-section.alt {
  background: var(--bg-subtle);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.testi-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.testi-stars {
  color: #f59e0b;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.testi-quote {
  font-size: 0.86rem;
  color: var(--text-body);
  flex: 1;
}

.testi-user {
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
}

.testi-user strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.testi-user span {
  font-size: 0.75rem;
  color: var(--blue-primary);
  font-weight: 600;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.faq-icon {
  transition: transform 0.25s ease;
  color: var(--blue-primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Footer (Deep Electric Navy Echoing R4M Banner) */
.footer {
  background:
    radial-gradient(ellipse 55% 60% at 85% 20%, rgba(0, 198, 255, 0.16), transparent 65%),
    linear-gradient(125deg, #020929 0%, #062175 100%);
  color: #ffffff;
  padding: 50px 0 28px;
  border-top: 2px solid rgba(0, 198, 255, 0.35);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.footer h4 {
  font-size: 0.92rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.footer p,
.footer li {
  font-size: 0.84rem;
  color: rgba(219, 234, 254, 0.82);
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer code {
  background: rgba(255, 255, 255, 0.14);
  padding: 2px 7px;
  border-radius: 6px;
  color: #ffffff;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(219, 234, 254, 0.68);
}

/* ==========================================================================
   Cart Drawer & Modals (Crisp White Theme)
   ========================================================================== */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 21, 116, 0.45);
  backdrop-filter: blur(4px);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  background: #ffffff;
  border-left: 1px solid var(--border-light);
  z-index: 90;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.cart-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-footer {
  border-top: 1px solid var(--border-light);
  padding: 18px 20px;
  background: var(--bg-subtle);
}

.cart-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.cart-item-cat {
  font-size: 0.7rem;
  color: var(--blue-primary);
  font-weight: 800;
  text-transform: uppercase;
}

.cart-item-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.cart-item-meta {
  font-size: 0.77rem;
  color: var(--text-muted);
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-item-price {
  color: var(--blue-primary);
  font-weight: 800;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 3px 6px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  font-weight: 800;
  color: var(--text-dark);
}

.qty-btn:hover {
  background: var(--blue-tint);
  color: var(--blue-primary);
}

.promo-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.empty-state {
  text-align: center;
  padding: 44px 20px;
  color: var(--text-muted);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
}

.modal.open {
  display: grid;
}

.modal-card {
  width: min(620px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: fadeUp 0.22s ease;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 2;
}

.modal-body {
  padding: 22px;
}

.close-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--bg-subtle);
  color: var(--text-body);
  display: grid;
  place-items: center;
  font-size: 1rem;
  border: 1px solid var(--border-light);
}

.close-btn:hover {
  color: var(--text-dark);
  background: var(--blue-tint);
}

/* Payment Method List */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.pay-option {
  text-align: left;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  padding: 12px 14px;
  transition: var(--transition);
}

.pay-option:hover {
  border-color: var(--blue-primary);
}

.pay-option.selected {
  border-color: var(--blue-primary);
  background: var(--blue-soft);
}

.pay-name {
  font-weight: 700;
  font-size: 0.85rem;
  display: block;
  color: var(--text-dark);
}

.pay-fee {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Invoice & Track Order */
.invoice-banner {
  background: linear-gradient(125deg, var(--blue-mid), var(--blue-bright));
  color: #ffffff;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.invoice-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffffff;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
}

.status-pending { background: #fef3c7; color: #b45309; }
.status-processing { background: #e0f2fe; color: #0369a1; }
.status-completed { background: #dcfce7; color: #15803d; }
.status-refunded { background: #f3e8ff; color: #7e22ce; }
.status-cancelled,
.status-rejected { background: #ffe4e6; color: #be123c; }

.qr-box {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 16px;
  width: 196px;
  margin: 0 auto 14px;
  text-align: center;
  color: var(--text-dark);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.tl-step {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.tl-step.done {
  border-color: var(--blue-primary);
  background: var(--blue-soft);
  color: var(--blue-primary);
  font-weight: 700;
}

/* Robux via Username Notice Popup Modal */
.notice-modal-card {
  width: min(610px, 100%);
  border: 1.5px solid rgba(0, 198, 255, 0.45);
  overflow: hidden;
  background: #020929;
  color: #ffffff;
  box-shadow:
    0 0 42px rgba(0, 198, 255, 0.25),
    0 24px 60px rgba(2, 9, 41, 0.6);
}

.notice-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #030b2b;
  border-bottom: 1px solid rgba(0, 198, 255, 0.2);
}

.notice-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0, 102, 255, 0.24);
  border: 1px solid rgba(0, 198, 255, 0.35);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  transition: var(--transition);
}

.notice-close-btn:hover {
  background: #0066ff;
  border-color: #00c6ff;
}

.notice-modal-body {
  padding: 22px 24px 22px;
  background:
    radial-gradient(ellipse 70% 55% at 90% 10%, rgba(0, 198, 255, 0.22), transparent 62%),
    linear-gradient(155deg, #061d6e 0%, #093399 48%, #041547 100%);
}

.notice-title-box {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin-bottom: 18px;
}

.notice-list {
  list-style: none;
  display: grid;
  gap: 11px;
  margin-bottom: 18px;
}

.notice-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  color: rgba(248, 250, 252, 0.96);
}

.notice-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #38bdf8;
  font-weight: 900;
  font-size: 1.05rem;
}

.notice-updated {
  font-size: 0.72rem;
  color: rgba(219, 234, 254, 0.75);
  margin-bottom: 14px;
}

.notice-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.notice-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  user-select: none;
}

.notice-checkbox-label input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: #00c6ff;
  cursor: pointer;
}

/* Two-Tier Navbar with Live Search */
.navbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 18px;
}

.header-search-wrap {
  position: relative;
  flex: 1;
  max-width: 500px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(219, 234, 254, 0.72);
  pointer-events: none;
}

.header-search-input {
  width: 100%;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(0, 198, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 0 14px 0 40px;
  font-size: 0.86rem;
  outline: none;
  transition: var(--transition);
}

.header-search-input::placeholder {
  color: rgba(219, 234, 254, 0.68);
}

.header-search-input:focus {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--blue-electric);
  box-shadow: 0 0 0 3px rgba(0, 198, 255, 0.22);
}

.search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 85;
}

.search-dropdown.open {
  display: block;
}

.search-result-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: var(--blue-soft);
}

.navbar-sub {
  background: rgba(2, 9, 41, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.84);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(0, 198, 255, 0.2);
}

/* Landing Hero Grid (Wide Banner + Side Spotlight Card) */
.hero-landing {
  padding: 36px 0 112px;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1.85fr 0.85fr;
  gap: 22px;
  align-items: stretch;
}

.landing-banner-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(0, 198, 255, 0.58);
  background: #020929;
  box-shadow:
    0 0 38px rgba(0, 198, 255, 0.28),
    0 24px 54px rgba(2, 9, 41, 0.55);
}

.landing-banner-card .hero-banner-img {
  width: 100%;
  flex: 1;
  object-fit: cover;
}

.landing-banner-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 13px 18px;
  background: rgba(4, 15, 68, 0.96);
  border-top: 1px solid rgba(0, 198, 255, 0.24);
}

.banner-bar-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(226, 238, 255, 0.92);
}

.bar-sep {
  opacity: 0.45;
}

.banner-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-side-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(4, 20, 88, 0.72));
  border: 1.5px solid rgba(0, 198, 255, 0.36);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 20px 44px rgba(2, 9, 41, 0.4);
}

.side-card-visual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.side-online-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #a7f3d0;
  font-size: 0.74rem;
  font-weight: 700;
}

.landing-side-card h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.landing-side-card p {
  font-size: 0.85rem;
  color: rgba(226, 238, 255, 0.88);
  line-height: 1.5;
}

.side-quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 6px;
}

.side-quick-pills span {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.73rem;
  font-weight: 700;
  color: #ffffff;
}

/* Landing Terlaris & Layanan Populer Grid (Clean White Theme) */
.landing-featured-section {
  background: #ffffff;
  padding: 22px 0 58px;
}

.featured-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.featured-title {
  font-size: 1.48rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.featured-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.status-legend {
  display: flex;
  align-items: center;
  gap: 8px;
}

.terlaris-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.terlaris-card {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.terlaris-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-md);
  background: var(--bg-subtle);
}

.terlaris-card.is-closed {
  background: #fffafb;
  border-color: #fecdd3;
  opacity: 0.86;
}

.terlaris-thumb {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(5, 34, 122, 0.18);
}

.thumb-blue { background: linear-gradient(135deg, #05227a, #0066ff); }
.thumb-emerald { background: linear-gradient(135deg, #047857, #10b981); }
.thumb-cyan { background: linear-gradient(135deg, #0284c7, #00c6ff); }
.thumb-indigo { background: linear-gradient(135deg, #3730a3, #6366f1); }
.thumb-sky { background: linear-gradient(135deg, #0369a1, #38bdf8); }
.thumb-closed { background: linear-gradient(135deg, #9f1239, #e11d48); }

.thumb-label {
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  opacity: 0.92;
}

.terlaris-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.terlaris-name {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.terlaris-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Floating CS Help Pill */
.floating-cs-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-bright));
  color: #ffffff;
  border: 1.5px solid rgba(0, 198, 255, 0.6);
  box-shadow: 0 12px 30px rgba(2, 9, 41, 0.34);
  transition: var(--transition);
}

.floating-cs-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 102, 255, 0.45);
}

.floating-cs-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.floating-cs-btn small {
  display: block;
  font-size: 0.66rem;
  color: #dbeafe;
  line-height: 1.1;
}

.floating-cs-btn strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
}

/* ==========================================================================
   Admin Panel Dashboard Styles
   ========================================================================== */
.admin-body {
  background: var(--bg-subtle);
}

.admin-login-section {
  padding: 72px 0;
}

.admin-login-card {
  max-width: 430px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
}

.admin-login-head {
  text-align: center;
  margin-bottom: 24px;
}

.admin-login-head h1 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.admin-login-head p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.admin-main {
  padding: 34px 0 70px;
}

.admin-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.admin-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.admin-kpi-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-kpi-card.kpi-blue {
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-bright));
  border-color: var(--blue-mid);
  color: #ffffff;
}

.kpi-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-kpi-card.kpi-blue .kpi-label,
.admin-kpi-card.kpi-blue .kpi-sub {
  color: rgba(255, 255, 255, 0.85);
}

.kpi-value {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.2;
}

.kpi-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.admin-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.admin-stock-control {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-service-toggles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.service-toggle-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  font-size: 0.84rem;
}

.admin-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.admin-search-box {
  flex: 1;
  min-width: 240px;
  max-width: 380px;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.admin-table th {
  text-align: left;
  padding: 12px 14px;
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border-light);
}

.admin-table td {
  padding: 14px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.admin-table tbody tr:hover {
  background: #fafcff;
}

.tbl-inv {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 800;
  color: var(--blue-primary);
}

.tbl-main {
  font-weight: 700;
  color: var(--text-dark);
}

.tbl-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.tbl-price {
  font-weight: 800;
  color: var(--text-dark);
}

.tbl-wa-link {
  display: inline-block;
  margin-top: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald);
}

.tbl-wa-link:hover {
  text-decoration: underline;
}

.admin-status-select {
  display: block;
  width: 142px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--border-medium);
  background: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
}

.admin-row-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Admin Section Tabs & Price Manager */
.admin-nav-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.admin-nav-tab {
  padding: 11px 20px;
  border-radius: 12px;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-body);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.admin-nav-tab:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

.admin-nav-tab.active {
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-bright));
  border-color: var(--blue-mid);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 87, 231, 0.25);
}

.admin-tab-pane {
  display: none;
}

.admin-tab-pane.active {
  display: block;
}

.admin-pricing-block {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 18px;
}

.admin-block-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.admin-rate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.admin-price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.price-edit-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.price-edit-meta strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.price-edit-meta span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.price-edit-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.price-edit-inputs .form-input {
  width: 145px;
  padding: 8px 11px;
  font-weight: 700;
}

.price-edit-inputs .stock-mini-input {
  width: 82px;
}

@media (max-width: 1080px) {
  .admin-kpi-grid,
  .admin-service-toggles,
  .admin-rate-grid,
  .admin-price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .admin-kpi-grid,
  .admin-service-toggles,
  .admin-rate-grid,
  .admin-price-grid {
    grid-template-columns: 1fr;
  }
}

/* Member Auth Button & Modals */
.nav-auth-btn {
  padding: 9px 15px;
  font-size: 0.82rem;
  border-radius: 8px;
}

.nav-auth-btn.logged-in {
  background: rgba(0, 198, 255, 0.2);
  color: #ffffff;
  border: 1.5px solid rgba(0, 198, 255, 0.55);
  box-shadow: none;
}

.nav-auth-btn.logged-in:hover {
  background: rgba(0, 198, 255, 0.32);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--bg-subtle);
  padding: 5px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  margin-bottom: 18px;
}

.auth-tab-btn {
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
}

.auth-tab-btn.active {
  background: var(--blue-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 87, 231, 0.25);
}

.auth-error-msg {
  display: none;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.auth-switch-hint {
  text-align: center;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.auth-inline-link {
  color: var(--blue-primary);
  font-weight: 800;
  text-decoration: underline;
}

.auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.auth-label-row .form-label {
  margin-bottom: 0;
}

.auth-forgot-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-primary);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.auth-forgot-link:hover {
  text-decoration: underline;
}

.auth-reset-box {
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.auth-reset-box strong {
  color: var(--blue-primary);
}

.auth-reset-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.auth-reset-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.profile-header-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(125deg, var(--blue-mid), var(--blue-bright));
  color: #ffffff;
  margin-bottom: 18px;
}

.profile-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--blue-deep);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* Automatic Payment Detection UI */
.auto-detect-box {
  background: var(--blue-soft);
  border: 1.5px solid var(--blue-tint);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.auto-detect-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.detect-spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid var(--blue-tint);
  border-top-color: var(--blue-primary);
  animation: spinLoader 0.9s linear infinite;
  flex-shrink: 0;
}

@keyframes spinLoader {
  to { transform: rotate(360deg); }
}

.detect-timer {
  margin-left: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--blue-tint);
  color: var(--blue-primary);
}

.exact-pay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  border: 1px dashed var(--blue-primary);
  border-radius: 10px;
  padding: 10px 14px;
}

.exact-pay-amount {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--blue-primary);
}

.gateway-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gateway-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px;
  font-size: 0.84rem;
}

@media (max-width: 720px) {
  .gateway-info-grid {
    grid-template-columns: 1fr;
  }
}

.public-tx-table td {
  vertical-align: middle;
}

.masked-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 800;
  color: var(--blue-primary);
  font-size: 0.84rem;
}

.masked-user {
  font-weight: 700;
  color: var(--text-dark);
}

/* ==========================================================================
   Live Chat Buyer Widget & Admin Chat Inbox
   ========================================================================== */
.live-chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 75;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.live-chat-widget .floating-cs-btn {
  position: static;
}

.chat-unread-badge {
  display: inline-grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border-radius: var(--radius-full);
  background: #e11d48;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(225, 29, 72, 0.35);
}

.chat-unread-badge.empty {
  display: none;
}

.live-chat-box {
  display: none;
  flex-direction: column;
  width: min(370px, calc(100vw - 28px));
  height: 480px;
  background: #ffffff;
  border: 1.5px solid var(--blue-tint);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: fadeUp 0.2s ease;
}

.live-chat-box.open {
  display: flex;
}

.live-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 15px;
  background: linear-gradient(125deg, var(--blue-deep), var(--blue-mid), var(--blue-bright));
  color: #ffffff;
}

.chat-head-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  transition: var(--transition);
}

.chat-head-icon-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.live-chat-guest-bar {
  padding: 9px 12px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
}

.live-chat-messages,
.admin-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  background: #f8fbff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-bubble {
  max-width: 82%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 0.84rem;
  line-height: 1.48;
  word-break: break-word;
}

.chat-bubble.from-buyer {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-bright));
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.chat-bubble.from-admin {
  align-self: flex-start;
  background: #ffffff;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}

/* Di Admin Panel, posisi bubble dibalik (Admin di kanan, Pembeli di kiri) */
.admin-chat-messages .chat-bubble.from-admin {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-bright));
  color: #ffffff;
  border: none;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 14px;
}

.admin-chat-messages .chat-bubble.from-buyer {
  align-self: flex-start;
  background: #ffffff;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 14px;
}

.chat-bubble-meta {
  display: block;
  font-size: 0.67rem;
  opacity: 0.72;
  margin-top: 4px;
  text-align: right;
}

.chat-quick-chips {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  overflow-x: auto;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
}

.chat-chip {
  padding: 5px 10px;
  border-radius: var(--radius-full);
  background: var(--blue-soft);
  border: 1px solid var(--blue-tint);
  color: var(--blue-primary);
  font-size: 0.73rem;
  font-weight: 700;
  white-space: nowrap;
  transition: var(--transition);
}

.chat-chip:hover {
  background: var(--blue-primary);
  color: #ffffff;
}

.live-chat-form {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
}

/* Admin Chat Split Inbox */
.admin-chat-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  min-height: 540px;
}

.admin-chat-sidebar {
  border-right: 1px solid var(--border-light);
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.admin-chat-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

.admin-chat-list {
  flex: 1;
  overflow-y: auto;
  max-height: 500px;
}

.admin-chat-item {
  width: 100%;
  text-align: left;
  padding: 13px 15px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  transition: var(--transition);
}

.admin-chat-item:hover {
  background: var(--bg-subtle);
}

.admin-chat-item.active {
  background: var(--blue-soft);
  border-left: 3px solid var(--blue-primary);
}

.admin-chat-main {
  display: flex;
  flex-direction: column;
  height: 540px;
}

.admin-chat-thread-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  background: #ffffff;
}

@media (max-width: 820px) {
  .admin-chat-layout {
    grid-template-columns: 1fr;
  }

  .admin-chat-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    max-height: 220px;
  }
}

.nav-discord-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-discord-join {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 10px;
  background: #5865f2;
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(88, 101, 242, 0.36);
  transition: var(--transition);
}

.btn-discord-join:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(88, 101, 242, 0.5);
}

/* Per-Category Live Completed Order Counter Pill */
.success-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #07133a, #0c215e);
  border: 1px solid rgba(251, 191, 36, 0.38);
  color: #f6c453;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(7, 19, 58, 0.16);
}

.success-count-pill strong {
  color: #fde68a;
  font-weight: 800;
}

.success-count-pill .flame-ico {
  font-size: 0.92rem;
  line-height: 1;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #0f172a;
  border-left: 4px solid var(--blue-bright);
  color: #ffffff;
  padding: 13px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  font-size: 0.87rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeUp 0.22s ease;
  max-width: 360px;
}

.toast.error {
  border-left-color: var(--rose);
}

/* ==========================================================================
   Responsive Breakpoints (Tablet & Mobile Polish)
   ========================================================================== */
.landing-hero-grid > *,
.order-layout > *,
.panel-card,
.terlaris-card,
.cat-tab,
.pkg-card,
.limited-card {
  min-width: 0;
}

@media (max-width: 1080px) {
  .hero-grid,
  .landing-hero-grid,
  .order-layout {
    grid-template-columns: 1fr;
  }

  .terlaris-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero,
  .hero-landing {
    padding: 34px 0 96px;
  }

  .panel-card.sticky {
    position: static;
  }

  .neve-services-grid,
  .limited-grid,
  .testimonials-grid,
  .category-tabs,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 14px;
  }

  /* Top Ticker */
  .top-ticker {
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  .top-ticker .ticker-inner {
    gap: 6px;
    text-align: center;
  }

  .top-ticker .ticker-inner > span:nth-child(4),
  .top-ticker .ticker-inner > span:nth-child(5) {
    display: none;
  }

  /* Sticky Navbar */
  .navbar-top {
    min-height: 58px;
    gap: 8px;
  }

  .brand {
    font-size: 1.02rem;
    gap: 8px;
    min-width: 0;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 7px;
  }

  .brand-mark svg {
    width: 17px;
    height: 17px;
  }

  .brand-sub {
    font-size: 0.56rem;
    letter-spacing: 0.04em;
  }

  .header-search-wrap,
  #openTrackModalBtn {
    display: none;
  }

  .nav-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  .nav-cart-btn {
    width: 36px;
    height: 36px;
  }

  .nav-auth-btn {
    padding: 7px 11px;
    font-size: 0.78rem;
    max-width: 118px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-menu-btn {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
  }

  .navbar-sub {
    padding: 0;
    border-top: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blue-deep);
    border-top: 1px solid rgba(0, 198, 255, 0.18);
    border-bottom: 1px solid rgba(0, 198, 255, 0.25);
    flex-direction: column;
    padding: 12px 14px 16px;
    align-items: stretch;
    gap: 4px;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    z-index: 65;
    box-shadow: 0 20px 42px rgba(2, 9, 41, 0.55);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .nav-link {
    padding: 11px 14px;
    font-size: 0.85rem;
    text-align: left;
    width: 100%;
  }

  /* Hero Section */
  .hero,
  .hero-landing {
    padding: 18px 0 68px;
  }

  .landing-hero-grid {
    gap: 14px;
  }

  .landing-banner-card {
    border-radius: 16px;
  }

  .landing-banner-bar {
    padding: 12px 14px;
    gap: 10px;
  }

  .banner-bar-info {
    font-size: 0.75rem;
    gap: 6px;
    line-height: 1.4;
  }

  .banner-bar-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .banner-bar-actions .btn {
    width: 100%;
    padding: 9px 10px !important;
    font-size: 0.8rem !important;
  }

  .landing-side-card {
    padding: 16px;
    border-radius: 16px;
    gap: 10px;
  }

  .landing-side-card h2 {
    font-size: 1.12rem;
  }

  .landing-side-card p {
    font-size: 0.82rem;
  }

  .side-avatar-badge svg {
    width: 48px;
    height: 48px;
  }

  .side-quick-pills span {
    font-size: 0.7rem;
    padding: 4px 9px;
  }

  .hero-wave svg {
    height: 46px;
  }

  /* Terlaris Section */
  .landing-featured-section {
    padding: 16px 0 38px;
  }

  .featured-head {
    gap: 10px;
    margin-bottom: 16px;
  }

  .featured-title {
    font-size: 1.22rem;
  }

  .featured-sub {
    font-size: 0.82rem;
  }

  .terlaris-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .terlaris-card {
    padding: 12px;
    gap: 12px;
    border-radius: 14px;
  }

  .terlaris-thumb {
    width: 54px;
    height: 54px;
    border-radius: 12px;
  }

  .terlaris-thumb svg {
    width: 24px;
    height: 24px;
  }

  .terlaris-name {
    font-size: 0.88rem;
  }

  .terlaris-meta {
    font-size: 0.75rem;
  }

  /* Store Catalog & Category Tabs (Compact 2-Column Mobile App Grid) */
  .store-section {
    padding: 36px 0 54px;
  }

  .section-header {
    margin-bottom: 16px;
    gap: 10px;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .section-subtitle {
    font-size: 0.84rem;
  }

  .category-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 18px;
  }

  .cat-tab {
    padding: 11px 10px;
    gap: 8px;
    border-radius: 12px;
  }

  .cat-tab-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 0.92rem;
  }

  .cat-tab-title {
    font-size: 0.74rem;
    line-height: 1.25;
  }

  .cat-tab-meta {
    font-size: 0.66rem;
    line-height: 1.25;
  }

  /* Order Panels & Forms */
  .order-layout {
    gap: 16px;
  }

  .panel-card {
    padding: 16px;
    border-radius: 16px;
  }

  .lengkapi-card {
    padding: 0;
  }

  .lengkapi-header {
    min-height: 46px;
    gap: 10px;
  }

  .lengkapi-step-badge {
    width: 44px;
    font-size: 1.05rem;
  }

  .lengkapi-title {
    font-size: 0.94rem;
  }

  .lengkapi-body {
    padding: 16px;
  }

  .help-tip-btn[data-tooltip]:hover::after,
  .help-tip-btn[data-tooltip]:focus::after {
    left: auto;
    right: -16px;
    transform: none;
    width: min(230px, 72vw);
  }

  .step-header {
    gap: 10px;
    margin-bottom: 14px;
  }

  .step-header h3 {
    font-size: 0.98rem;
    line-height: 1.3;
  }

  .step-header p {
    font-size: 0.78rem;
  }

  .success-count-pill {
    font-size: 0.74rem;
    padding: 6px 11px;
  }

  .info-banner {
    padding: 12px 13px;
    font-size: 0.8rem;
    gap: 9px;
    margin-bottom: 16px;
  }

  .closed-panel-banner {
    padding: 14px;
    gap: 12px;
  }

  .closed-banner-content {
    flex-direction: column;
    gap: 8px;
  }

  .closed-panel-banner .btn {
    width: 100%;
  }

  .gp-calc-box {
    padding: 14px;
    margin-bottom: 16px;
  }

  .form-label {
    flex-wrap: wrap;
    gap: 4px;
    font-size: 0.82rem;
  }

  .manual-robux-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    align-items: center;
  }

  .manual-step-btn {
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .manual-price-pill {
    grid-column: 1 / -1;
    text-align: center;
    padding: 9px 12px;
    font-size: 0.95rem;
  }

  /* 2-Column Compact Package Cards on Mobile */
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .pkg-card {
    padding: 12px 11px;
    border-radius: 12px;
    gap: 5px;
  }

  .pkg-top {
    flex-wrap: wrap;
    gap: 4px;
  }

  .pkg-amount {
    font-size: 0.88rem;
    gap: 5px;
  }

  .pkg-price {
    font-size: 0.92rem;
  }

  .pkg-sub {
    font-size: 0.71rem;
    line-height: 1.3;
  }

  .pkg-tag {
    font-size: 0.6rem;
    padding: 2px 6px;
  }

  .action-stack {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .action-stack .btn {
    padding: 11px 10px;
    font-size: 0.84rem;
  }

  /* Limited Toolbar & Catalog */
  .limited-toolbar {
    gap: 10px;
    margin-bottom: 14px;
  }

  .limited-search-wrap {
    flex-direction: column;
    width: 100%;
    min-width: 0;
    max-width: none;
    gap: 8px;
  }

  .limited-search-wrap .form-select {
    max-width: 100% !important;
    width: 100%;
  }

  .pill-btn {
    padding: 6px 11px;
    font-size: 0.76rem;
  }

  .limited-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .limited-thumb {
    height: 132px;
    padding: 12px;
  }

  .limited-body {
    padding: 12px;
    gap: 6px;
  }

  .limited-name {
    font-size: 0.88rem;
  }

  .limited-meta-row {
    font-size: 0.7rem;
    padding: 5px 8px;
    flex-wrap: wrap;
    gap: 4px;
  }

  .limited-price {
    font-size: 0.92rem;
  }

  .limited-actions {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .limited-actions .btn {
    padding: 9px 10px;
    font-size: 0.8rem;
  }

  /* Tables, Sections, Testimonials, FAQ & Footer */
  .admin-table-wrap {
    -webkit-overflow-scrolling: touch;
  }

  .admin-table th,
  .admin-table td {
    padding: 10px 11px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .info-section {
    padding: 40px 0;
  }

  .faq-trigger {
    padding: 14px 16px;
    font-size: 0.88rem;
    gap: 10px;
  }

  .faq-answer {
    padding: 0 16px 14px;
    font-size: 0.83rem;
  }

  .footer {
    padding: 36px 0 88px;
  }

  .footer-grid {
    gap: 22px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  /* Modals, Invoice & Track Order */
  .modal {
    padding: 10px;
  }

  .modal-card {
    max-height: 92dvh;
    border-radius: 16px;
  }

  .modal-header {
    padding: 14px 16px;
  }

  .modal-header h3 {
    font-size: 1rem;
  }

  .modal-body {
    padding: 16px;
  }

  .invoice-banner {
    padding: 14px;
    gap: 8px;
  }

  .invoice-code {
    font-size: 0.96rem;
    word-break: break-all;
  }

  .auto-detect-box {
    padding: 12px;
  }

  .auto-detect-top {
    flex-wrap: wrap;
    gap: 8px;
  }

  .exact-pay-row {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px;
  }

  .exact-pay-amount {
    font-size: 1.08rem;
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin: 14px 0;
  }

  .tl-step {
    padding: 8px 6px;
    font-size: 0.72rem;
  }

  .promo-row {
    flex-direction: column;
  }

  .promo-row .btn {
    width: 100%;
  }

  .notice-modal-body {
    padding: 16px;
  }

  .notice-title-box {
    font-size: 0.92rem;
    padding: 10px 12px;
  }

  .notice-list li {
    font-size: 0.82rem;
  }

  .summary-row {
    font-size: 0.82rem;
  }

  .summary-row.total {
    font-size: 0.98rem;
  }

  /* Floating Live Chat & Toasts */
  .live-chat-widget {
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }

  .live-chat-box {
    width: calc(100vw - 24px);
    height: min(74dvh, 460px);
    border-radius: 16px;
  }

  .floating-cs-btn {
    padding: 8px 13px;
    gap: 8px;
  }

  .floating-cs-icon {
    width: 30px;
    height: 30px;
    font-size: 0.96rem;
  }

  .floating-cs-btn small {
    font-size: 0.62rem;
  }

  .floating-cs-btn strong {
    font-size: 0.8rem;
  }

  .toast-container {
    left: 12px;
    right: 12px;
    bottom: 72px;
  }

  .toast {
    max-width: 100%;
    font-size: 0.82rem;
    padding: 11px 14px;
  }

  /* Admin Panel Mobile */
  .admin-main {
    padding: 20px 0 48px;
  }

  .admin-page-head {
    gap: 12px;
    margin-bottom: 18px;
  }

  .admin-head-actions {
    width: 100%;
  }

  .admin-head-actions .btn {
    flex: 1;
    padding: 9px 10px;
    font-size: 0.78rem;
  }

  .admin-nav-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 16px;
  }

  .admin-nav-tab {
    padding: 10px 14px;
    font-size: 0.84rem;
    text-align: left;
  }

  .admin-stock-control {
    width: 100%;
  }

  .admin-stock-control .form-input {
    flex: 1;
    width: auto !important;
  }

  .price-edit-card {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .price-edit-inputs {
    width: 100%;
  }

  .price-edit-inputs .form-input {
    flex: 1;
  }

  .neve-services-grid,
  .hero-stats,
  .gp-result-grid,
  .gp-steps-guide,
  .payment-grid,
  .testimonials-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  .limited-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 350px) {
  .package-grid,
  .category-tabs,
  .action-stack {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Wallet Saldo Akun & Refund UI
   ========================================================================== */
.wallet-balance-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #064e3b 0%, #059669 55%, #10b981 100%);
  color: #ffffff;
  margin-bottom: 18px;
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.22);
}

.wallet-balance-label {
  font-size: 0.76rem;
  font-weight: 700;
  opacity: 0.9;
  letter-spacing: 0.02em;
}

.wallet-balance-amount {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.15;
  margin-top: 2px;
}

.wallet-balance-hint {
  font-size: 0.74rem;
  opacity: 0.88;
  margin-top: 4px;
}

.nav-balance-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.28);
  border: 1px solid rgba(110, 231, 183, 0.55);
  color: #ecfdf5;
  font-size: 0.72rem;
  font-weight: 800;
  margin-left: 6px;
}

.wallet-ledger-list {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.wallet-ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
}

.wallet-delta-pos {
  color: #059669;
  font-weight: 800;
  font-size: 0.88rem;
  white-space: nowrap;
}

.wallet-delta-neg {
  color: #e11d48;
  font-weight: 800;
  font-size: 0.88rem;
  white-space: nowrap;
}

.pay-option.balance-option {
  border-color: #6ee7b7;
  background: #ecfdf5;
}

.pay-option.balance-option.selected {
  border-color: #059669;
  background: #d1fae5;
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.2);
}

.pay-option.balance-disabled {
  opacity: 0.62;
  background: #f8fafc;
  border-style: dashed;
}

.refund-box {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  background: #faf5ff;
  border: 1.5px solid #d8b4fe;
}

.refund-box-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: #6b21a8;
  margin-bottom: 4px;
}

.refund-box-desc {
  font-size: 0.77rem;
  color: #581c87;
  margin-bottom: 10px;
  line-height: 1.45;
}

.btn-refund-soft {
  background: #f3e8ff;
  color: #7e22ce;
  border: 1px solid #d8b4fe;
  font-weight: 700;
}

.btn-refund-soft:hover {
  background: #e9d5ff;
  color: #581c87;
}

.db-engine-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef5ff;
  border: 1px solid #bfdbfe;
  color: #0057e7;
  font-size: 0.74rem;
  font-weight: 800;
}

/* ==========================================================================
   Real-Time Buyer Reviews & Interactive Star Picker
   ========================================================================== */
.reviews-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.reviews-summary-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 0.8rem;
  font-weight: 800;
}

.review-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 0.68rem;
  font-weight: 800;
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.review-card-date {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.review-card-new {
  animation: reviewPopIn 0.45s ease;
  border-color: #93c5fd !important;
  box-shadow: 0 10px 26px rgba(0, 87, 231, 0.14);
}

@keyframes reviewPopIn {
  0% { opacity: 0; transform: translateY(-8px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.review-form-box {
  margin-top: 14px;
  padding: 15px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid #fcd34d;
}

.review-form-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 4px;
}

.review-form-desc {
  font-size: 0.78rem;
  color: #78350f;
  margin-bottom: 10px;
  line-height: 1.45;
}

.star-picker {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.star-pick-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1.5px solid #fde68a;
  background: #ffffff;
  color: #cbd5e1;
  font-size: 1.35rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.14s ease, color 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}

.star-pick-btn.active {
  color: #f59e0b;
  border-color: #f59e0b;
  background: #fffbeb;
  transform: scale(1.05);
}

.star-pick-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: #92400e;
  margin-left: 6px;
}

.review-done-box {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1.5px solid #86efac;
  color: #065f46;
}

.review-pending-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fef3c7;
  color: #b45309;
  font-size: 0.68rem;
  font-weight: 800;
  margin-left: 6px;
}

/* ==========================================================================
   Live Roblox Username Avatar Preview Card
   ========================================================================== */
.roblox-avatar-preview {
  display: none;
  margin-top: 10px;
}

.roblox-avatar-preview.visible {
  display: block;
}

.roblox-profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0f9ff 0%, #eff6ff 100%);
  border: 1.5px solid #bae6fd;
  animation: reviewPopIn 0.25s ease;
}

.roblox-profile-card.loading {
  background: #f8fafc;
  border-color: var(--border-light);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.roblox-profile-card.not-found {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
  font-size: 0.79rem;
  font-weight: 700;
}

.roblox-avatar-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.16);
  background: #ffffff;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.roblox-avatar-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.roblox-profile-info {
  min-width: 0;
  flex: 1;
}

.roblox-display-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.roblox-handle-row {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0284c7;
  margin-top: 2px;
}

.roblox-check-icon {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #0ea5e9;
  color: #ffffff;
  display: inline-grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 900;
  flex-shrink: 0;
}

.roblox-spin {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  border-top-color: var(--blue-primary);
  animation: spinAnim 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes spinAnim {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Dedicated Order Page & Mobile Performance Optimizations
   ========================================================================== */
.order-page-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.order-page-main .store-section {
  padding-top: 24px;
}

.info-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
}

@media (max-width: 768px) {
  .order-page-main .store-section {
    padding-top: 16px;
  }

  .order-page-topbar {
    margin-bottom: 12px;
  }

  .terlaris-card {
    cursor: pointer;
    text-decoration: none;
  }
}

/* Admin 5-Column All-Time KPI & Monthly Recap Table */
.admin-kpi-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1200px) {
  .admin-kpi-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .admin-kpi-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .admin-kpi-grid-5 {
    grid-template-columns: 1fr;
  }
}

.monthly-recap-table tr.is-current-month {
  background: #f0f7ff;
}

.monthly-recap-table tr.is-empty-month td {
  color: var(--text-muted);
  opacity: 0.72;
}

.monthly-recap-table tfoot tr.recap-year-total td {
  background: #f8fafc;
  font-weight: 800;
  color: var(--text-dark);
  border-top: 2px solid var(--border-medium);
}

.monthly-recap-table tfoot tr.recap-alltime-total td {
  background: #eef5ff;
  font-weight: 900;
  color: var(--blue-deep);
  border-top: 1.5px solid #bfdbfe;
}

/* Sleek Admin PERFORMA Widget */
.perf-heading {
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--blue-primary);
  text-transform: uppercase;
}

.perf-filter-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.perf-range-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.perf-pill {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border-medium);
  background: #ffffff;
  color: var(--text-body);
  font-size: 0.82rem;
  font-weight: 700;
  transition: var(--transition);
}

.perf-pill:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

.perf-pill.active {
  background: linear-gradient(135deg, #0ea5e9, var(--blue-primary));
  border-color: var(--blue-primary);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 87, 231, 0.24);
}

.perf-extra-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.perf-range-subtitle {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.perf-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.perf-metric-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 16px 18px;
  transition: var(--transition);
}

.perf-metric-card:hover {
  border-color: #bfdbfe;
  box-shadow: var(--shadow-sm);
}

.perf-metric-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.perf-metric-val {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.2;
}

.perf-metric-sub {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.perf-trend-up {
  color: #059669;
  font-weight: 800;
}

.perf-trend-down {
  color: #e11d48;
  font-weight: 800;
}

@media (max-width: 1024px) {
  .perf-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .perf-metrics-grid {
    grid-template-columns: 1fr;
  }

  .perf-pill {
    padding: 7px 11px;
    font-size: 0.78rem;
  }

  .perf-metric-val {
    font-size: 1.32rem;
  }
}
