[hidden] {
  display: none !important;
}

/* View Switching: Auth-first Landing Gate vs Store Shell vs Full Admin Dashboard */
body[data-view="landing"] #store-shell,
body[data-view="landing"] #admin-dashboard-view {
  display: none;
}

body[data-view="store"] #landing-gate,
body[data-view="store"] #admin-dashboard-view {
  display: none;
}

body[data-view="admin"] #landing-gate,
body[data-view="admin"] #store-shell {
  display: none;
}

/* ==========================================================================
   Landing Gate Layout — Two-Tone Executive Gaming Store Showcase
   ========================================================================== */
.landing-gate {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 28px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(198, 244, 91, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 45%),
    linear-gradient(145deg, #0b1120 0%, #131e36 55%, #0f172a 100%);
  color: #ffffff;
}

.landing-bg-glow {
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 244, 91, 0.1) 0%, transparent 70%);
  top: -160px;
  right: -120px;
  pointer-events: none;
}

.landing-container {
  max-width: 1260px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Left Showcase Column */
.landing-brand-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.landing-logo-lg {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(198, 244, 91, 0.25);
}

.landing-brand-title {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 1.8px;
  line-height: 1;
  color: #ffffff;
}

.landing-brand-sub {
  display: block;
  font-size: 11px;
  letter-spacing: 2.2px;
  color: #c6f45b;
  margin-top: 6px;
  font-weight: 800;
}

.landing-showcase .eyebrow {
  background: rgba(198, 244, 91, 0.14);
  color: #c6f45b;
  border: 1px solid rgba(198, 244, 91, 0.3);
}

.landing-headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -1.4px;
  margin: 20px 0 20px;
  color: #ffffff;
}

.landing-lead {
  font-size: 15px;
  line-height: 1.75;
  color: #cbd5e1;
  max-width: 520px;
  margin-bottom: 32px;
}

.landing-lead strong {
  color: #ffffff;
  font-weight: 700;
}

.landing-game-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 30px;
}

.mini-game-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 16px;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.mini-game-card:hover {
  border-color: #c6f45b;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.mini-game-card img {
  width: 66px;
  height: 66px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.mini-game-info {
  min-width: 0;
}

.mini-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #0b1120;
  background: #c6f45b;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.pubg-badge {
  color: #0b1120;
  background: #fbbf24;
}

.mini-game-info strong {
  display: block;
  font-size: 15px;
  color: #ffffff;
  font-weight: 800;
}

.mini-game-info small {
  display: block;
  font-size: 11px;
  color: #cbd5e1;
  margin-top: 3px;
}

.landing-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.landing-trust-pills span {
  font-size: 11px;
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 9px 15px;
  border-radius: 999px;
}

/* Right Column: Crisp White Auth Credential Card */
.landing-auth-card {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #dbe3ee;
  border-radius: 26px;
  padding: 38px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.auth-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.auth-card-logo {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  box-shadow: 0 4px 12px rgba(11, 17, 32, 0.12);
}

.auth-card-header h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.4px;
  color: #0f172a;
}

.auth-card-header p {
  font-size: 12px;
  margin: 4px 0 0;
  color: #64748b;
}

/* Sign In / Sign Up Mode Tabs */
.auth-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f1f5f9;
  padding: 5px;
  border-radius: 14px;
  border: 1px solid #dbe3ee;
  margin-bottom: 18px;
}

.auth-mode-tab {
  background: transparent;
  color: #475569;
  border: 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.auth-mode-tab.active {
  background: #0b1120;
  color: #c6f45b;
  box-shadow: 0 4px 14px rgba(11, 17, 32, 0.18);
}

/* Email vs Phone / WhatsApp Switcher */
.cred-method-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.cred-pill {
  background: #f8fafc;
  color: #475569;
  border: 1.5px solid #dbe3ee;
  border-radius: 11px;
  padding: 11px 12px;
  font-size: 12px;
  font-weight: 700;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.cred-pill.active {
  border-color: #10b981;
  color: #059669;
  background: #ecfdf5;
}

/* Credential Form Inputs */
.credential-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-group label {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.2px;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-link {
  background: none;
  border: 0;
  color: #059669;
  font-size: 11px;
  font-weight: 700;
  padding: 0;
}

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

.credential-form input,
.credential-form select {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 13px 15px;
  color: #0f172a;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  width: 100%;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

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

.credential-form input:focus,
.credential-form select:focus {
  outline: none;
  background: #ffffff;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.14);
}

.phone-input-wrap {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 8px;
}

.field-hint {
  font-size: 11px;
  color: #64748b;
}

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

.password-input-wrap input {
  padding-right: 68px;
}

.toggle-pw-btn {
  position: absolute;
  right: 10px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 700;
}

.toggle-pw-btn:hover {
  border-color: #10b981;
  color: #059669;
}

.cred-submit-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #0b1120 0%, #1e293b 100%);
  color: #c6f45b;
  border: 0;
  border-radius: 13px;
  padding: 16px 22px;
  font-size: 13px;
  font-weight: 800;
  margin-top: 4px;
  box-shadow: 0 10px 24px rgba(11, 17, 32, 0.22);
  transition: filter 0.2s, transform 0.15s;
}

.cred-submit-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: #64748b;
  font-size: 10px;
  letter-spacing: 1.4px;
  font-weight: 800;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.landing-google-btn {
  padding: 14px 16px;
}

.landing-auth-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  font-size: 12px;
  color: #334155;
  line-height: 1.5;
}

.landing-auth-status[data-tone="error"] {
  border-color: #fca5a5;
  background: #fef2f2;
  color: #b91c1c;
}

.landing-auth-status[data-tone="success"] {
  border-color: #6ee7b7;
  background: #ecfdf5;
  color: #047857;
}

.landing-card-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.browse-guest-btn {
  background: none;
  border: 0;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
}

.browse-guest-btn:hover {
  color: #059669;
}

/* ==========================================================================
   Header & Account Trigger Styles
   ========================================================================== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

header .subtle-button {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

header .subtle-button:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: #c6f45b;
}

header .admin-header-btn {
  background: rgba(198, 244, 91, 0.14);
  color: #c6f45b;
  border-color: rgba(198, 244, 91, 0.4);
}

.account-trigger {
  background: #c6f45b;
  color: #0b1120;
  border: 0;
  border-radius: 12px;
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 800;
  transition: filter 0.2s, transform 0.15s;
}

.account-trigger:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.full-width-btn {
  width: 100%;
  margin-top: 10px;
  padding: 13px;
  font-weight: 700;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

/* ==========================================================================
   Customer Account Modal Dialog
   ========================================================================== */
#customer-dialog {
  max-width: 820px;
  width: calc(100% - 32px);
  max-height: calc(100dvh - 32px);
  padding: 34px;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #dbe3ee;
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(11, 17, 32, 0.28);
}

#customer-dialog h2 {
  margin-top: 18px;
  color: #0f172a;
}

.customer-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.customer-heading h2 {
  margin-bottom: 6px;
}

.customer-heading p {
  margin: 0;
  color: #475569;
}

.subtle-button {
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  border-radius: 11px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.subtle-button:hover {
  border-color: #10b981;
  color: #059669;
  background: #f0fdf4;
}

.account-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 22px 0;
}

.account-stats > div {
  background: linear-gradient(135deg, #0b1120 0%, #17253e 100%);
  color: #ffffff;
  border-radius: 18px;
  padding: 24px;
}

.account-stats span {
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.account-stats strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 36px;
  margin: 10px 0;
  color: #c6f45b;
}

.account-stats small {
  font-size: 11px;
  color: #94a3b8;
}

.account-meta {
  font-size: 11px;
  color: #64748b;
  overflow-wrap: anywhere;
  line-height: 1.8;
  background: #f8fafc;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #dbe3ee;
}

.account-meta span {
  color: #0f172a;
  font-weight: 700;
}

.history-section {
  border-top: 1px solid #e2e8f0;
  margin-top: 24px;
  padding-top: 20px;
}

.history-section h3 {
  font-size: 16px;
  margin: 0;
  color: #0f172a;
}

.history-section > p {
  font-size: 12px;
  color: #64748b;
}

.history-section ul {
  padding: 0;
  list-style: none;
}

.history-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid #e2e8f0;
}

.history-row strong {
  display: block;
  font-size: 13px;
  color: #0f172a;
}

.history-row small {
  display: block;
  color: #64748b;
  font-size: 11px;
  margin-top: 5px;
  overflow-wrap: anywhere;
}

.history-amount {
  text-align: right;
  flex-shrink: 0;
}

.customer-status {
  color: #059669;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}

.account-notice {
  border-left: 3px solid #10b981;
  background: #f0fdf4;
  padding: 12px 14px;
  border-radius: 0 10px 10px 0;
  margin: 18px 0;
  font-size: 12px;
  color: #065f46;
}

.account-login-button {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
  border-radius: 13px;
  width: 100%;
  padding: 16px;
  text-align: left;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.account-login-button:hover {
  border-color: #10b981;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.12);
}

.account-login-button > b {
  font-size: 22px;
  color: #059669;
}

.account-login-button small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
}

.account-privacy {
  font-size: 11px;
  color: #64748b;
}

#checkout-member {
  padding: 16px;
  border: 1.5px solid #a7f3d0;
  border-radius: 14px;
  background: #ecfdf5;
}

#checkout-member p {
  font-size: 12px;
  color: #065f46;
}

.checkout-payment-block {
  padding: 15px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin: 16px 0;
}

.checkout-payment-block strong {
  font-size: 12px;
  color: #0f172a;
}

.checkout-payment-block p {
  font-size: 11px;
  color: #475569;
  margin-bottom: 0;
}

#auth-status {
  font-size: 12px;
  color: #334155;
  line-height: 1.7;
}

@media (max-width: 960px) {
  .landing-container {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 560px;
  }

  .landing-headline {
    font-size: 46px;
  }
}

@media (max-width: 600px) {
  .landing-gate {
    padding: 24px 16px;
  }

  .landing-auth-card {
    padding: 24px 18px;
  }

  .landing-game-cards {
    grid-template-columns: 1fr;
  }

  .phone-input-wrap {
    grid-template-columns: 105px 1fr;
  }

  #customer-dialog {
    padding: 22px 18px;
  }

  .account-stats {
    gap: 12px;
  }

  .account-stats > div {
    padding: 18px;
  }

  .account-stats strong {
    font-size: 26px;
  }

  .customer-heading {
    align-items: start;
  }

  .account-trigger {
    padding: 9px 12px;
    font-size: 11px;
  }

  header nav {
    display: none;
  }
}

/* ==========================================================================
   Checkout Order Form & Product Manager Styles
   ========================================================================== */
#admin-dialog {
  max-width: 780px;
  width: calc(100% - 32px);
  max-height: calc(100dvh - 32px);
  padding: 32px;
  background: #ffffff;
  color: #0f172a;
}

.admin-sub {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 18px;
}

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

.status-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
}

.status-box span {
  display: block;
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.status-box strong {
  display: block;
  font-size: 13px;
  color: #059669;
  margin-top: 5px;
}

.admin-actions-bar {
  margin-bottom: 18px;
}

.admin-divider {
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin: 20px 0;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.admin-product-list {
  max-height: 240px;
  overflow-y: auto;
  padding-right: 6px;
}

.checkout-order-form {
  margin: 18px 0;
  padding: 20px;
  background: #f8fafc;
  border: 1.5px solid #dbe3ee;
  border-radius: 18px;
}

.pack-custom-img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.38);
  transition: transform 0.25s ease;
}

.pack:hover .pack-custom-img {
  transform: scale(1.06);
}

@media (max-width: 600px) {
  .admin-status-grid,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Admin Order Fulfillment, Status Badges & Delivery Notes
   ========================================================================== */
.admin-nav-tabs {
  margin-bottom: 14px;
}

.admin-orders-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.admin-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
}

.admin-orders-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: none;
}

.admin-order-card {
  background: #ffffff;
  border: 1.5px solid #dbe3ee;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(11, 17, 32, 0.05);
}

.admin-order-card[data-status="Completed"] {
  border-color: #6ee7b7;
}

.admin-order-card[data-status="Processing"] {
  border-color: #fcd34d;
}

.admin-order-card[data-status="Rejected / Refunded"] {
  border-color: #fca5a5;
}

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

.order-id-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #0b1120;
  background: #c6f45b;
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 6px;
}

.admin-order-top strong {
  display: block;
  font-size: 17px;
  color: #0f172a;
}

.admin-order-top small {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
}

.admin-order-price {
  text-align: right;
  flex-shrink: 0;
}

.admin-order-price strong {
  font-size: 22px;
  color: #0f172a;
  margin-bottom: 5px;
}

.status-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
}

.status-pill[data-status="Completed"] {
  background: #ecfdf5;
  color: #047857;
}

.status-pill[data-status="Processing"] {
  background: #fffbeb;
  color: #b45309;
}

.status-pill[data-status="Rejected / Refunded"] {
  background: #fef2f2;
  color: #b91c1c;
}

.admin-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 11px;
  color: #475569;
  margin-bottom: 16px;
}

.admin-order-meta b {
  color: #0f172a;
}

.admin-order-controls {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.admin-order-controls input {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px 14px;
  color: #0f172a;
  font-size: 12px;
}

.admin-order-controls input:focus {
  outline: none;
  background: #ffffff;
  border-color: #10b981;
}

.admin-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.compact-btn {
  padding: 10px 16px;
  font-size: 11px;
  margin-top: 0;
}

.danger-btn:hover {
  border-color: #ef4444;
  color: #dc2626;
  background: #fef2f2;
}

.player-delivery-note {
  margin-top: 7px;
  padding: 8px 12px;
  background: #ecfdf5;
  border-left: 3px solid #10b981;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #065f46;
}

@media (max-width: 650px) {
  .admin-order-controls {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   EVC Plus USSD Payment Box, Cashback, WhatsApp Receipt & Support
   ========================================================================== */
.admin-three-tabs {
  grid-template-columns: repeat(3, 1fr);
}

.ussd-payment-box {
  background: #ffffff;
  border: 1.5px solid #86efac;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.08);
}

.ussd-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #047857;
}

.ussd-header small {
  color: #475569;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.ussd-code-display {
  background: #0b1120;
  border: 1.5px dashed #c6f45b;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.ussd-code-display code {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #c6f45b;
}

.ussd-actions {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10px;
}

.cashback-redeem-box {
  background: #ecfdf5;
  border: 1.5px solid #6ee7b7;
  border-radius: 12px;
  padding: 12px 14px;
}

.redeem-toggle-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.redeem-toggle-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #10b981;
  flex-shrink: 0;
}

.redeem-toggle-label strong {
  display: block;
  font-size: 12px;
  color: #047857;
}

.redeem-toggle-label small {
  display: block;
  font-size: 11px;
  color: #475569;
  margin-top: 2px;
}

.discount-value {
  color: #c6f45b;
  font-weight: 800;
}

.whatsapp-receipt-box {
  background: linear-gradient(155deg, #f0fdf4 0%, #ffffff 100%);
  border: 1.5px solid #4ade80;
  border-radius: 16px;
  padding: 22px;
  margin: 16px 0;
  text-align: center;
}

.wa-receipt-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #15803d;
  background: #dcfce7;
  padding: 4px 10px;
  border-radius: 999px;
}

.whatsapp-receipt-box h3 {
  margin: 10px 0 6px;
  font-size: 20px;
  color: #0f172a;
}

.whatsapp-receipt-box p {
  font-size: 12px;
  color: #475569;
  margin: 0 0 16px;
}

.wa-confirm-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #22c55e;
  color: #ffffff;
  border-radius: 12px;
  padding: 15px 18px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.25);
  transition: filter 0.2s, transform 0.15s;
}

.wa-confirm-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.history-wa-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
}

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

/* Floating WhatsApp Support Button */
.floating-whatsapp {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0b1120;
  border: 1.5px solid rgba(34, 197, 94, 0.65);
  border-radius: 999px;
  padding: 10px 20px 10px 12px;
  box-shadow: 0 16px 38px rgba(11, 17, 32, 0.35);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  border-color: #4ade80;
  box-shadow: 0 20px 44px rgba(34, 197, 94, 0.28);
}

.wa-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 900;
}

.wa-text strong {
  display: block;
  font-size: 12px;
  color: #ffffff;
  line-height: 1.1;
}

.wa-text small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #4ade80;
  margin-top: 2px;
}

.payment-strip code {
  color: #c6f45b;
  background: rgba(198, 244, 91, 0.14);
  border: 1px solid rgba(198, 244, 91, 0.3);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 800;
}

@media (max-width: 650px) {
  .admin-three-tabs,
  .ussd-actions {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    padding: 8px 14px 8px 10px;
  }
}

/* ==========================================================================
   Game-Specific Checkout Credential Sections & Quick Switcher
   ========================================================================== */
.switch-game-pill {
  border-color: #10b981;
  color: #059669;
  background: #ecfdf5;
  font-weight: 800;
}

.modal-game-switcher {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.game-specific-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  padding: 16px;
}

.game-fields-banner {
  border-left: 3.5px solid #10b981;
  padding-left: 12px;
}

.game-fields-banner.pubg-banner {
  border-left-color: #f59e0b;
}

.game-fields-banner strong {
  display: block;
  font-size: 13px;
  color: #0f172a;
}

.game-fields-banner small {
  display: block;
  font-size: 11px;
  color: #475569;
  margin-top: 3px;
  line-height: 1.45;
}

.admin-order-meta code {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
}

/* ==========================================================================
   Full-Screen Store Owner Admin Dashboard — Two-Tone Executive SaaS Theme
   ========================================================================== */
.admin-dashboard-view {
  min-height: 100dvh;
  background: #edf2f7;
  color: #0f172a;
}

.admin-dash-shell {
  display: grid;
  grid-template-columns: 290px 1fr;
  min-height: 100dvh;
}

.admin-sidebar {
  background: #0b1120;
  color: #ffffff;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(198, 244, 91, 0.2);
}

.admin-brand strong {
  display: block;
  font-size: 16px;
  letter-spacing: 1.2px;
  color: #ffffff;
}

.admin-brand small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #c6f45b;
  margin-top: 3px;
  overflow-wrap: anywhere;
}

.admin-side-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.side-group-title {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.admin-side-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  color: #cbd5e1;
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.admin-side-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.admin-side-btn.active {
  background: rgba(198, 244, 91, 0.14);
  border-color: #c6f45b;
  color: #c6f45b;
}

.admin-side-btn b {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10px;
}

.admin-side-btn.active b {
  background: #c6f45b;
  color: #0b1120;
}

.admin-side-health {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.health-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #94a3b8;
}

.health-row strong {
  color: #c6f45b;
  font-weight: 800;
}

.admin-main-area {
  padding: 36px 42px;
  max-width: 1280px;
  width: 100%;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 26px;
}

.admin-topbar h2 {
  margin: 6px 0 0;
  font-size: 30px;
  color: #0f172a;
}

.admin-topbar-actions {
  display: flex;
  gap: 10px;
}

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

.kpi-card {
  background: #ffffff;
  border: 1.5px solid #dbe3ee;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 6px 18px rgba(11, 17, 32, 0.04);
}

.kpi-card span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.kpi-card strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 32px;
  color: #0f172a;
  margin: 8px 0 4px;
}

.kpi-card small {
  font-size: 11px;
  color: #059669;
  font-weight: 600;
}

/* Two-Category Switcher Cards */
.admin-category-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 22px 0;
}

.cat-switch-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 2px solid #dbe3ee;
  border-radius: 18px;
  padding: 18px 22px;
  text-align: left;
  color: #0f172a;
  box-shadow: 0 6px 18px rgba(11, 17, 32, 0.04);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.cat-switch-card:hover {
  transform: translateY(-2px);
}

.cat-switch-card.active {
  border-color: #10b981;
  background: linear-gradient(135deg, #0b1120 0%, #17253e 100%);
  color: #ffffff;
}

.cat-switch-card.pubg-cat.active {
  border-color: #f59e0b;
  background: linear-gradient(135deg, #1c1917 0%, #292524 100%);
  color: #ffffff;
}

.cat-icon {
  font-size: 30px;
}

.cat-switch-card strong {
  display: block;
  font-size: 16px;
  color: inherit;
}

.cat-switch-card small {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 3px;
}

.cat-switch-card.active small {
  color: #cbd5e1;
}

.cat-switch-card b {
  margin-left: auto;
  font-size: 18px;
  color: #0f172a;
  background: #f1f5f9;
  padding: 7px 15px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
}

.cat-switch-card.active b {
  background: #c6f45b;
  color: #0b1120;
  border-color: transparent;
}

.admin-search-wrap {
  flex: 1;
  min-width: 240px;
}

.admin-search-wrap input {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 11px 16px;
  color: #0f172a;
  font-size: 12px;
}

.admin-search-wrap input:focus {
  outline: none;
  border-color: #10b981;
}

.admin-empty-banner {
  background: #ffffff;
  border: 1.5px dashed #cbd5e1;
  border-radius: 18px;
  padding: 32px;
  text-align: center;
  color: #64748b;
}

.order-game-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 4px 9px;
  border-radius: 6px;
  margin-left: 6px;
}

.ef-tag {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.pubg-tag {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

/* Stored Customer Input Fields inside Admin Order Cards */
.stored-inputs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}

.stored-input-field label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: #047857;
  margin-bottom: 6px;
  letter-spacing: 0.4px;
}

.stored-input-row {
  display: flex;
  gap: 8px;
}

.stored-input-row input {
  flex: 1;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 9px;
  padding: 10px 12px;
  color: #0f172a;
  font-family: monospace;
  font-size: 12px;
  font-weight: 700;
}

.copy-mini-btn {
  background: #0b1120;
  border: 0;
  color: #c6f45b;
  border-radius: 9px;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 800;
  transition: filter 0.2s;
}

.copy-mini-btn:hover {
  filter: brightness(1.12);
}

@media (max-width: 960px) {
  .admin-dash-shell {
    grid-template-columns: 1fr;
  }

  .admin-kpi-grid,
  .admin-category-bar,
  .stored-inputs-grid {
    grid-template-columns: 1fr;
  }

  .admin-main-area {
    padding: 22px 16px;
  }
}

/* ==========================================================================
   Storefront Filter/Sort Controls & Enterprise Admin Analytics Suite
   ========================================================================== */
.storefront-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.store-search-input,
.store-select-input {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 11px;
  padding: 9px 13px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
}

.store-search-input {
  min-width: 210px;
}

.store-search-input:focus,
.store-select-input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--accent);
}

.live-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.live-sync-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #047857;
  border: 1.5px solid #6ee7b7;
  border-radius: 11px;
  padding: 9px 14px;
  font-size: 11px;
  font-weight: 800;
}

/* Advanced Admin Order Filter & Sort Bar */
.admin-advanced-filters {
  background: #ffffff;
  border: 1.5px solid #dbe3ee;
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 22px;
  box-shadow: 0 6px 18px rgba(11, 17, 32, 0.04);
}

.admin-advanced-filters .admin-orders-toolbar {
  margin: 0 0 14px;
}

.admin-sort-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}

.filter-select-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 155px;
}

.filter-select-group label,
.custom-dates-group label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #64748b;
}

.filter-select-group select,
.custom-dates-group input {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 9px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
}

.custom-dates-group {
  display: flex;
  gap: 10px;
}

.custom-dates-group > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.reset-filter-btn {
  height: 38px;
  padding: 0 14px;
}

.admin-filter-summary-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.admin-filter-summary-bar strong {
  color: #059669;
  font-weight: 800;
}

/* Sales Reports & Analytics Tab */
.reports-toolbar-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  background: #ffffff;
  border: 1.5px solid #dbe3ee;
  border-radius: 18px;
  padding: 20px 22px;
  margin-bottom: 22px;
  box-shadow: 0 6px 18px rgba(11, 17, 32, 0.04);
}

.reports-period-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex: 1;
}

.reports-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.report-split-card,
.report-table-card {
  background: #ffffff;
  border: 1.5px solid #dbe3ee;
  border-radius: 18px;
  padding: 22px 24px;
  margin-bottom: 22px;
  box-shadow: 0 6px 18px rgba(11, 17, 32, 0.04);
}

.report-split-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.report-split-header strong {
  display: block;
  font-size: 16px;
  color: #0f172a;
}

.report-split-header small {
  font-size: 12px;
  color: #64748b;
}

.split-progress-track {
  height: 16px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  margin-bottom: 16px;
}

.split-bar-ef {
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  height: 100%;
  transition: width 0.35s ease;
}

.split-bar-pubg {
  background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
  height: 100%;
  transition: width 0.35s ease;
}

.split-legend-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.split-stat-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
}

.split-stat-box .order-game-tag {
  margin-left: 0;
  margin-bottom: 6px;
}

.split-stat-box strong {
  display: block;
  font-size: 20px;
  color: #0f172a;
  margin: 4px 0 2px;
}

.split-stat-box small {
  font-size: 11px;
  color: #64748b;
}

.report-table-wrap {
  overflow-x: auto;
}

.admin-analytics-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-analytics-table th,
.admin-analytics-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.admin-analytics-table th {
  background: #f8fafc;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #475569;
}

.product-catalog-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.product-filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-filter-controls input,
.product-filter-controls select {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 9px;
  padding: 8px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
}

@media (max-width: 760px) {
  .split-legend-row {
    grid-template-columns: 1fr;
  }

  .storefront-controls {
    width: 100%;
  }

  .store-search-input {
    width: 100%;
  }
}


/* ==========================================================================
   FOE Advanced Order Management System Upgrade — Sound, Alerts, Table & Charts
   ========================================================================== */
.sound-config-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  background: #0b1120;
  color: #ffffff;
  border: 1.5px solid rgba(198, 244, 91, 0.35);
  border-radius: 16px;
  padding: 13px 18px;
  margin-bottom: 20px;
  box-shadow: 0 8px 22px rgba(11, 17, 32, 0.14);
}

.sound-status-indicator {
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
}

.sound-status-indicator[data-state="armed"] {
  color: #c6f45b;
}

.sound-status-indicator[data-state="muted"] {
  color: #fca5a5;
}

.sound-config-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.sound-config-controls .subtle-button {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.sound-config-controls .subtle-button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.volume-slider-wrap,
.repeat-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
}

.volume-slider-wrap input[type="range"] {
  width: 90px;
  accent-color: #c6f45b;
  cursor: pointer;
}

.repeat-select-wrap select {
  background: #17253e;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
}

.sound-unlock-btn.sound-active {
  background: #10b981;
  color: #ffffff;
}

/* Unacknowledged Incoming Order Alert Banner */
.unack-orders-banner {
  background: linear-gradient(135deg, #450a0a 0%, #7f1d1d 100%);
  color: #ffffff;
  border: 2px solid #f87171;
  border-radius: 18px;
  padding: 18px 22px;
  margin-bottom: 22px;
  box-shadow: 0 12px 32px rgba(220, 38, 38, 0.28);
  animation: pulseAlertBorder 1.6s infinite alternate;
}

@keyframes pulseAlertBorder {
  0% { border-color: #f87171; box-shadow: 0 10px 26px rgba(220, 38, 38, 0.22); }
  100% { border-color: #fde047; box-shadow: 0 14px 36px rgba(250, 204, 21, 0.38); }
}

.unack-banner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.unack-Flashing-badge {
  display: inline-block;
  background: #fde047;
  color: #0b1120;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 999px;
  margin-right: 8px;
}

.unack-orders-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.unack-order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: rgba(11, 17, 32, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 12px 16px;
}

.unack-item-info strong {
  display: block;
  font-size: 15px;
  color: #ffffff;
}

.unack-item-info small {
  color: #fecaca;
  font-size: 11px;
}

.unack-item-actions {
  display: flex;
  gap: 8px;
}

/* Pending Orders Quick-Action Panel */
.pending-orders-panel {
  background: #fffbeb;
  border: 1.5px solid #fcd34d;
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 20px;
}

.pending-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.pending-panel-header strong {
  font-size: 15px;
  color: #92400e;
  margin-left: 6px;
}

.pending-panel-header small {
  display: block;
  font-size: 11px;
  color: #b45309;
  margin-top: 2px;
}

.pending-quick-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 10px;
}

.pending-quick-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 10px 14px;
}

.pending-quick-chip strong {
  display: block;
  font-size: 13px;
  color: #0f172a;
}

.pending-quick-chip small {
  font-size: 11px;
  color: #64748b;
}

.pending-chip-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

/* 3-Category Bar & Extended Toolbar */
.three-cat-bar {
  grid-template-columns: repeat(3, 1fr);
}

.order-id-exact-wrap input {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 12px;
  color: #0f172a;
  width: 175px;
}

.view-mode-switch {
  display: flex;
  gap: 6px;
}

.min-max-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.min-max-inputs input {
  width: 100%;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 9px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
}

.filter-action-btns {
  display: flex;
  gap: 8px;
}

.three-col-controls {
  grid-template-columns: 1.6fr 1fr 0.9fr;
}

.admin-order-controls select {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px 14px;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
}

/* Status Pill Additions for 6 Statuses + Payment Statuses */
.status-pill[data-status="Pending"],
.status-pill[data-status="Unpaid"] {
  background: #f1f5f9;
  color: #475569;
}

.status-pill[data-status="Payment Verification"],
.status-pill[data-status="Verification Pending"] {
  background: #eff6ff;
  color: #1d4ed8;
}

.status-pill[data-status="Verified Paid"] {
  background: #ecfdf5;
  color: #047857;
}

.status-pill[data-status="Cancelled"],
.status-pill[data-status="Refunded"] {
  background: #fef2f2;
  color: #b91c1c;
}

.kr-tag {
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}

/* Live Order Table & Pagination */
.table-Quick-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.quick-status-select {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
}

.pagination-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: #ffffff;
  border: 1.5px solid #dbe3ee;
  border-radius: 14px;
  padding: 12px 18px;
  margin-top: 18px;
}

.page-size-wrap,
.page-nav-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

.page-size-wrap select {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 5px 10px;
  font-weight: 700;
}

/* 8-KPI Report Grid, SVG Trend Chart & 3-Way Category Split */
.report-eight-kpis {
  grid-template-columns: repeat(4, 1fr);
}

.highlight-rev-card {
  border-color: #10b981;
  background: linear-gradient(145deg, #ecfdf5 0%, #ffffff 100%);
}

.highlight-net-card {
  border-color: #0b1120;
  background: linear-gradient(145deg, #0b1120 0%, #17253e 100%);
  color: #ffffff;
}

.highlight-net-card span {
  color: #cbd5e1;
}

.highlight-net-card strong {
  color: #c6f45b;
}

.highlight-net-card small {
  color: #a7f3d0;
}

.report-charts-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
}

.trend-chart-container {
  background: #0b1120;
  border-radius: 14px;
  padding: 14px;
  color: #ffffff;
}

.foe-trend-svg {
  width: 100%;
  height: auto;
  display: block;
}

.chart-legend-inline {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 5px;
}

.legend-dot.rev-dot {
  background: #10b981;
}

.legend-dot.vol-dot {
  background: #38bdf8;
}

.split-bar-kr {
  background: linear-gradient(90deg, #6366f1 0%, #4338ca 100%);
  height: 100%;
  transition: width 0.35s ease;
}

.three-col-legend {
  grid-template-columns: repeat(3, 1fr);
}

/* Notification Center & Order Inspector Modal */
.notif-row-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 18px;
}

.notif-row-card.unack-active {
  background: #fef2f2;
  border-color: #f87171;
}

.notif-row-card strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
  margin-top: 4px;
}

.notif-row-card small {
  color: #64748b;
  font-size: 11px;
}

#order-details-dialog {
  max-width: 720px;
  width: calc(100% - 32px);
  border-radius: 22px;
  padding: 28px;
  background: #ffffff;
  color: #0f172a;
}

.inspector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 16px 0;
}

.inspector-box {
  background: #f8fafc;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  padding: 16px;
}

.inspector-box > span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #047857;
  margin-bottom: 10px;
}

.inspector-box p {
  font-size: 12px;
  margin: 6px 0;
  color: #334155;
}

.inspector-audit-section {
  background: #0b1120;
  color: #ffffff;
  border-radius: 14px;
  padding: 16px 18px;
}

.inspector-audit-section h4 {
  margin: 0 0 10px;
  font-size: 13px;
  color: #c6f45b;
}

.inspector-audit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 180px;
  overflow-y: auto;
}

.inspector-audit-list li {
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 6px;
}

.inspector-audit-list small {
  display: block;
  color: #94a3b8;
  font-size: 11px;
  margin-top: 2px;
}

.live-sync-pill.offline-pill {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fca5a5;
}

.live-pulse-dot.offline {
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
}

@media (max-width: 960px) {
  .three-cat-bar,
  .report-eight-kpis,
  .report-charts-grid,
  .three-col-legend,
  .three-col-controls,
  .inspector-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Phase 1 Security & Phase 4 Accessibility Additions:
   Encrypted Konami Vault Notice, 30s Reveal Box, Duplicate TxID Alert & Admin Gate
   ========================================================================== */
#customer-dialog,
#order-details-dialog {
  max-height: calc(100dvh - 28px);
  overflow-y: auto;
}

.encryption-security-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #ecfdf5;
  border: 1.5px solid #6ee7b7;
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.5;
  color: #065f46;
}

.encryption-security-notice a {
  color: #047857;
  font-weight: 800;
  text-decoration: underline;
}

.enc-icon {
  color: #059669;
  margin-top: 2px;
}

.masked-pw-box {
  flex: 1;
  background: #0b1120;
  color: #c6f45b;
  border: 1.5px solid #334155;
  border-radius: 9px;
  padding: 10px 12px;
  font-family: monospace;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  overflow-x: auto;
}

.masked-pw-box[data-revealed="true"] {
  background: #fef2f2;
  color: #991b1b;
  border-color: #f87171;
  letter-spacing: 0.3px;
}

.reveal-cred-btn {
  background: #047857 !important;
  color: #ffffff !important;
  min-height: 40px;
}

.dup-tx-badge {
  display: inline-block;
  background: #dc2626;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.7px;
  padding: 4px 10px;
  border-radius: 999px;
  margin-left: 6px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

.admin-auth-gate {
  min-height: 100dvh;
  background: radial-gradient(circle at top right, #17253e 0%, #0b1120 75%);
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-auth-card {
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #dbe3ee;
  border-radius: 24px;
  padding: 34px 32px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.admin-auth-card h1 {
  font-size: 26px;
  line-height: 1.2;
  color: #0f172a;
  margin: 16px 0 8px;
}

.admin-auth-lead {
  font-size: 13px;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 18px;
}

.admin-auth-divider {
  text-align: center;
  margin: 14px 0;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Minimum 44px touch targets on interactive controls (Issue 4.4) */
.primary-btn,
.secondary-btn,
.cta,
.secondary-hero-btn,
.ussd-dial-btn,
.whatsapp-receipt-btn,
.account-options button {
  min-height: 44px;
}
