﻿:root { --primary: #007bff; --dark-bg: #0b0f14; --dark-surface: #131a22; --dark-border: #2a3a4a; --text: #e2e8f0; --muted: #94a3b8; }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'DM Sans', sans-serif; }

body.gateway-body { background: var(--dark-bg); color: var(--text); }

/* মার্কি অ্যানিমেশন (ডান থেকে বামে) */
.delivery-marquee { background: rgba(230, 192, 123, 0.12); border-bottom: 1px solid rgba(230, 192, 123, 0.45); padding: 0.4rem 0; overflow: hidden; white-space: nowrap; position: relative; }
.marquee-track { display: inline-flex; white-space: nowrap; animation: marquee 32s linear infinite; will-change: transform; }
.marquee-track span { font-size: 0.85rem; color: #f0d9a8; text-shadow: 0 0 8px rgba(230, 192, 123, 0.7); padding-right: 2rem; display: inline-block; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* হেডার */
header { padding: 1.5rem; text-align: center; background: var(--dark-surface); border-bottom: 1px solid var(--dark-border); }
.logo-row { display: flex; align-items: center; justify-content: center; gap: 0.8rem; margin-bottom: 1rem; }
.logo-mark { width: 48px; height: 48px; background: #6ee7b7; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #0b0f14; font-weight: 700; font-size: 1.2rem; }
.logo-img-header {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.logo-img-gateway {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  display: block;
  border: 2px solid #1e3a5f;
  box-shadow: 0 4px 20px rgba(0, 100, 255, 0.25);
}

.brand { font-size: 1.5rem; font-weight: 700; }
.tagline { color: var(--muted); }
h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.sub { color: var(--muted); max-width: 600px; margin: 0 auto; }

/* ট্যাব */
.main-tabs { display: flex; justify-content: center; gap: 10px; padding: 15px; background: var(--dark-surface); border-bottom: 1px solid var(--dark-border); }
.main-tab { padding: 10px 20px; border-radius: 50px; border: none; background: #1c2530; color: #94a3b8; cursor: pointer; font-weight: 600; }
.main-tab.active { background: #6ee7b7; color: #0b0f14; }

/* সার্ভিস পেইজ */
.dark-section { padding: 20px; }
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 15px; }
#searchInput { background: #1c2530; border: 1px solid #2a3a4a; color: white; padding: 10px; border-radius: 8px; flex: 1; }
.results-info { color: #94a3b8; font-size: 14px; }

/* প্ল্যাটফর্ম বার ও লোগো */
.platform-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.platform-btn { display: flex; align-items: center; gap: 5px; padding: 8px 15px; border-radius: 20px; background: #1c2530; color: #94a3b8; border: 1px solid #2a3a4a; cursor: pointer; font-weight: 600; }
.platform-btn.active { background: #6ee7b7; color: #0b0f14; border-color: transparent; }
.platform-btn svg { fill: currentColor; }
.platform-btn.active svg { fill: #0b0f14; }

/* সার্ভিস কার্ড */
.service-list { display: grid; gap: 10px; }
.service-card { background: #131a22; border: 1px solid #2a3a4a; border-radius: 10px; padding: 15px; }
.service-card h3,
.service-card h3.service-name {
  color: white;
  font-size: 16px;
  margin: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.35;
}
.service-name-text {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}
.platform-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  margin-top: 1px;
}
.platform-badge svg {
  width: 14px;
  height: 14px;
  display: block;
}
.platform-badge.platform-facebook {
  background: rgba(24, 119, 242, 0.18);
}
.platform-badge.platform-instagram {
  background: rgba(225, 48, 108, 0.18);
}
.platform-badge.platform-tiktok {
  background: rgba(255, 255, 255, 0.12);
}
.platform-badge.platform-telegram {
  background: rgba(38, 165, 228, 0.18);
}
.platform-badge.platform-twitter {
  background: rgba(255, 255, 255, 0.12);
}
.service-price { color: #6ee7b7; font-weight: bold; font-size: 18px; }
.card-actions { margin-top: 10px; display: flex; gap: 10px; }
.card-actions button { background: #1c2530; color: white; border: 1px solid #2a3a4a; padding: 8px 15px; border-radius: 6px; cursor: pointer; }
.card-actions .order-btn { background: #6ee7b7; color: #0b0f14; border: none; font-weight: bold; }

/* পেমেন্ট গেটওয়ে */
.light-section { background: #e6f0fa; color: #333; padding: 20px; }
.gateway-overlay { background: white; border-radius: 12px; max-width: 500px; margin: 0 auto; padding: 30px 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); position: relative; text-align: center; }
.close-btn { position: absolute; top: 10px; right: 20px; font-size: 24px; color: #999; cursor: pointer; line-height: 1; padding: 4px 8px; border-radius: 50%; transition: 0.15s; border: none; background: none; font-family: inherit; }
.close-btn:hover { color: #333; background: rgba(0,0,0,0.06); }

.order-summary-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 14px; margin: 14px 0; text-align: left; }
.order-summary-name { font-weight: 700; color: #1e293b; font-size: 0.95rem; margin-bottom: 6px; }
.order-summary-row { display: flex; justify-content: space-between; font-size: 0.85rem; color: #475569; }
.order-summary-row span:last-child { font-weight: 700; color: #007bff; }
.logo-circle { width: 80px; height: 80px; border-radius: 50%; border: 2px solid #007bff; background: white; color: #007bff; font-size: 32px; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.gateway-header h2 { font-weight: 700; margin: 10px 0; }
.gateway-tabs { display: flex; margin-top: 20px; border-bottom: 2px solid #007bff; }
.gateway-tab { flex: 1; padding: 10px; border: none; background: none; cursor: pointer; font-weight: 600; color: #666; font-size: 14px; }
.gateway-tab.active { color: #007bff; border-bottom: 3px solid #007bff; margin-bottom: -2px; }

.payment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.pay-card { background: white; border: 1px solid #ddd; border-radius: 10px; padding: 12px 8px; cursor: pointer; transition: 0.15s; display: flex; flex-direction: column; align-items: center; box-shadow: 0 2px 6px rgba(0,0,0,0.06); }
.pay-card:hover { border-color: #007bff; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.pay-card:active { transform: scale(0.97); box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.pay-card span { display: block; margin-top: 8px; font-weight: 600; color: #333; font-size: 0.82rem; text-align: center; }
.pay-logo-img { width: 100%; max-width: 80px; height: 60px; object-fit: contain; margin-bottom: 5px; }
@media (max-width: 400px) {
  .payment-grid { gap: 6px; }
  .pay-card { padding: 10px 4px; }
  .pay-logo-img { max-width: 60px; height: 48px; }
  .pay-card span { font-size: 0.72rem; }
}

.pay-bottom-bar { display: block; width: 100%; margin-top: 20px; background: #dbeafe; border: 1px solid #bfdbfe; color: #1d4ed8; font-weight: 800; padding: 15px; border-radius: 8px; font-size: 20px; text-align: center; cursor: pointer; font-family: inherit; }
.pay-bottom-bar:disabled { opacity: 0.5; cursor: not-allowed; }

.pay-card.selected { border-color: #007bff; box-shadow: 0 0 0 2px rgba(0,123,255,0.35); background: #eff6ff; }

.checkout-trxid-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
  text-align: left;
}
.checkout-trxid-value { font-weight: 800; color: #1e293b; font-size: 0.95rem; letter-spacing: 0.02em; }
.checkout-expiry-value { font-weight: 800; color: #dc2626; font-size: 0.95rem; }

.checkout-total-big { text-align: center; margin: 6px 0 14px; }
.checkout-total-big .amt { display: block; font-size: 1.7rem; font-weight: 900; color: #1d4ed8; margin-top: 2px; }

.checkout-section-label { text-align: left; font-weight: 700; color: #334155; font-size: 0.85rem; margin: 16px 0 4px; }

.link-btn { background: none; border: none; color: #2563eb; font-weight: 700; text-decoration: underline; cursor: pointer; font-size: 0.95rem; font-family: inherit; }

.waiting-icon { font-size: 2.4rem; text-align: center; margin: 4px 0 6px; }
.waiting-countdown { text-align: center; font-size: 1.6rem; font-weight: 900; color: #1d4ed8; margin: 6px 0 14px; }
.step3-submit-prompt { margin-top: 18px; text-align: center; }
.step3-submit-prompt p { color: #94a3b8; font-size: 0.85rem; margin-bottom: 8px; }

.status-title { text-align: center; font-weight: 800; font-size: 1.1rem; color: #1e293b; margin-bottom: 4px; }
.status-sub { text-align: center; color: #64748b; font-size: 0.85rem; margin-bottom: 14px; }
.status-icon-circle { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; font-size: 1.7rem; }
.status-icon-pending { background: rgba(241,196,15,0.15); }
.status-icon-success { background: rgba(16,185,129,0.15); }

.submit-trx-help { text-align: center; color: #94a3b8; font-size: 0.78rem; margin-top: 10px; }

.gateway-details { background: #f0f7ff; color: #333; border-radius: 12px; padding: 20px; margin-top: 15px; }
.back-btn { background: #f1f5f9; color: #334155; border: none; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; flex-shrink: 0; }
.amount-box { display: none; }
.instruction-box { background: #fef7ed; border: 1px solid #fde3c4; padding: 14px 16px; border-radius: 10px; line-height: 1.7; font-size: 0.9rem; text-align: left; color: #78350f; }
.instruction-box b { color: #b45309; }
.copy-btn { background: #007bff; color: white; border: none; padding: 5px 10px; border-radius: 4px; cursor: pointer; font-size: 12px; margin-left: 5px; }

/* ==================== SMMXPANEL-style checkout ==================== */
.checkout-brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.checkout-brand-name { font-weight: 800; font-size: 1.1rem; color: #1e293b; }
.checkout-secure-badge {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 12px;
  border-radius: 20px;
}
.checkout-summary-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 16px;
}
.checkout-paying-with { flex: 1; }
.checkout-label { font-size: 0.68rem; color: #94a3b8; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 2px; }
.checkout-method-name { font-weight: 700; color: #1e293b; font-size: 1rem; }
.checkout-total-due { text-align: right; }
.checkout-amount { font-weight: 800; color: #0f172a; font-size: 1.15rem; }

.checkout-detail-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-top: 14px;
  overflow: hidden;
}
.checkout-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid #e2e8f0;
}
.checkout-detail-row:last-child { border-bottom: none; }
.checkout-detail-label { font-size: 0.68rem; color: #94a3b8; font-weight: 700; letter-spacing: 0.03em; margin-bottom: 3px; }
.checkout-detail-value { font-weight: 800; color: #1e293b; font-size: 1.02rem; letter-spacing: 0.02em; }
.checkout-detail-amount { color: #007bff; }
.checkout-copy-btn {
  background: none;
  border: 1px solid #cbd5e1;
  color: #007bff;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  flex-shrink: 0;
}

.checkout-status-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e40af;
}
.checkout-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2563eb;
  flex-shrink: 0;
  animation: checkoutPulse 1.4s infinite;
}
@keyframes checkoutPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.checkout-status-timer { margin-left: auto; color: #1e40af; font-weight: 700; }
.checkout-note-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.8rem;
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 10px;
  line-height: 1.5;
}
.checkout-ssl-footer {
  text-align: center;
  color: #94a3b8;
  font-size: 0.75rem;
  margin-top: 18px;
}
.form-group { margin-top: 10px; }
.form-group label { display: block; font-size: 14px; color: #555; margin-bottom: 5px; }
.form-group input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; background: white; color: #333; }
.form-group input[readonly] { background: #f3f6fa; color: #475569; font-weight: 600; cursor: default; }
.verify-btn { width: 100%; background: #1d4ed8; color: white; padding: 15px; border: none; border-radius: 8px; font-weight: 800; font-size: 18px; margin-top: 15px; cursor: pointer; }
.verify-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.track-box { background: #131a22; padding: 20px; border-radius: 10px; max-width: 400px; margin: 20px auto; }
.track-box input { width: 100%; padding: 10px; background: #1c2530; border: 1px solid #2a3a4a; color: white; margin-bottom: 10px; }
.track-submit { width: 100%; background: #6ee7b7; border: none; padding: 10px; font-weight: bold; cursor: pointer; }
.wa-stack { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 1000; } 
.wa-fab { background: #25D366; color: white; border-radius: 50px; padding: 12px 20px; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.3); text-decoration: none; font-weight: 600; font-size: 0.9rem; } 
.wa-fab svg { width: 20px; height: 20px; fill: currentColor; }
.wa-group { background: #25D366; } 
.wa-chat { background: #128C7E; }

/* Order detail card (Track Order) */
.order-detail-box {
  margin-top: 16px;
  text-align: left;
  background: #111827;
  border: 1.5px solid rgba(241,196,15,0.45);
  border-radius: 14px;
  padding: 16px 14px 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}
.od-status-badge {
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid;
  margin-bottom: 6px;
}
.od-status-sub {
  text-align: center;
  color: #94a3b8;
  font-size: 0.8rem;
  margin-bottom: 14px;
}
.od-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(148,163,184,0.12);
}
.od-row:last-child { border-bottom: none; }
.od-label {
  color: #a78bfa;
  font-size: 0.82rem;
  flex-shrink: 0;
  min-width: 110px;
}
.od-value {
  color: #e2e8f0;
  font-size: 0.88rem;
  text-align: right;
  word-break: break-word;
}

/* ========== Order Detail Action Buttons (WhatsApp + Copy) ========== */
.order-detail-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.od-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.2s;
  flex: 1 1 140px;
  min-height: 46px;
  text-align: center;
}

.od-action-btn:active {
  transform: scale(0.97);
}

/* Left: WhatsApp */
.od-wa-btn {
  background: #25D366;
  color: #fff;
  order: 1;
}
.od-wa-btn:hover {
  background: #1ebe57;
  color: #fff;
}

/* Right: Copy Details */
.od-copy-btn {
  background: #1e293b;
  color: #e2e8f0;
  border: 1px solid #334155;
  order: 2;
}
.od-copy-btn:hover {
  background: #334155;
}
.od-copy-btn.copied {
  background: #065f46;
  border-color: #059669;
  color: #6ee7b7;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .order-detail-actions {
    flex-direction: column;
  }
  .od-action-btn {
    width: 100%;
    flex: 1 1 100%;
  }
  /* Keep visual order: WhatsApp first (top), Copy second (bottom) on mobile */
  .od-wa-btn { order: 1; }
  .od-copy-btn { order: 2; }
}

/* Make sure pending view has enough breathing room */
#pending-view .gateway-details {
  max-width: 520px;
  margin: 0 auto;
}

/* ========== Search + Filter UI ========== */
.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
#searchInput {
  background: #1c2530;
  border: 1px solid #2a3a4a;
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
}
#searchInput::placeholder { color: #64748b; }

.filter-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #2a3a4a;
  background: #1c2530;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
}
.filter-open-btn:hover { background: #243040; }
.filter-open-btn.has-active {
  border-color: #6ee7b7;
  color: #6ee7b7;
}

.results-info {
  color: #94a3b8;
  font-size: 13px;
  margin-bottom: 10px;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
  min-height: 0;
}
.active-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(110, 231, 183, 0.12);
  border: 1px solid rgba(110, 231, 183, 0.35);
  color: #6ee7b7;
  font-size: 0.78rem;
  font-weight: 600;
}
.active-filter-pill button {
  background: none;
  border: none;
  color: #6ee7b7;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
}

/* Filter Modal / Bottom Sheet */
.filter-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.filter-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.filter-sheet {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  background: #0f172a;
  border-radius: 18px 18px 0 0;
  border: 1px solid #1e293b;
  border-bottom: none;
  padding: 16px 16px 24px;
  box-shadow: 0 -12px 40px rgba(0,0,0,0.45);
  animation: sheetUp 0.22s ease;
}
@keyframes sheetUp {
  from { transform: translateY(40px); opacity: 0.6; }
  to { transform: translateY(0); opacity: 1; }
}
.filter-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.filter-sheet-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f1f5f9;
}
.filter-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #1e293b;
  color: #94a3b8;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}
.filter-section { margin-bottom: 18px; }
.filter-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 10px;
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-chip {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid #334155;
  background: #1e293b;
  color: #e2e8f0;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-chip:hover { border-color: #64748b; }
.filter-chip.active {
  background: #6ee7b7;
  border-color: #6ee7b7;
  color: #0b0f14;
  font-weight: 700;
}
.filter-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.filter-reset {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #334155;
  background: transparent;
  color: #e2e8f0;
  font-weight: 600;
  cursor: pointer;
}
.filter-done {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: #f97316;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.filter-done:hover { background: #ea580c; }

@media (min-width: 640px) {
  .filter-modal { align-items: center; }
  .filter-sheet {
    border-radius: 18px;
    border-bottom: 1px solid #1e293b;
    max-height: 80vh;
  }
}

/* ========== Provider Lookup ========== */
.lookup-box {
  max-width: 720px;
  margin: 0 auto;
  background: #131a22;
  border: 1px solid #2a3a4a;
  border-radius: 16px;
  padding: 20px 16px 24px;
}
.lookup-box h2 {
  font-size: 1.35rem;
  margin-bottom: 6px;
  text-align: center;
}
.lookup-sub {
  color: #94a3b8;
  font-size: 0.88rem;
  text-align: center;
  margin-bottom: 16px;
}
.lookup-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 14px;
}
.lookup-plat {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #334155;
  background: #1c2530;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}
.lookup-plat.active {
  background: #6ee7b7;
  color: #0b0f14;
  border-color: #6ee7b7;
}
.lookup-search-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
#lookupInput {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #2a3a4a;
  background: #0b0f14;
  color: #e2e8f0;
  font-size: 1rem;
}
.lookup-btn {
  padding: 12px 18px;
  border-radius: 10px;
  border: none;
  background: #f97316;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.lookup-btn:hover { background: #ea580c; }
.lookup-hint {
  color: #64748b;
  font-size: 0.78rem;
  margin-bottom: 14px;
  text-align: center;
}
.lookup-result { min-height: 40px; }
.lookup-card {
  background: #0b0f14;
  border: 1.5px solid #334155;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
  text-align: left;
}
.lookup-card.exact {
  border-color: #6ee7b7;
  box-shadow: 0 0 0 1px rgba(110,231,183,0.25);
}
.lookup-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}
.lookup-code {
  color: #6ee7b7;
  font-weight: 700;
  font-size: 1.05rem;
}
.lookup-price {
  color: #fbbf24;
  font-weight: 700;
}
.lookup-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #f1f5f9;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.35;
}
.lookup-meta {
  color: #94a3b8;
  font-size: 0.82rem;
  margin-bottom: 4px;
}
.lookup-provider {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(110, 231, 183, 0.1);
  border: 1px solid rgba(110, 231, 183, 0.35);
  color: #6ee7b7;
  font-weight: 700;
  font-size: 0.95rem;
  word-break: break-all;
}
.lookup-provider.unknown {
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.35);
  color: #f87171;
}
.lookup-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: #6ee7b7;
  color: #0b0f14;
  margin-left: 6px;
  vertical-align: middle;
}
.lookup-empty {
  text-align: center;
  color: #94a3b8;
  padding: 24px 12px;
}
.service-provider-tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: #6ee7b7;
  background: rgba(110,231,183,0.1);
  border: 1px solid rgba(110,231,183,0.25);
  padding: 2px 8px;
  border-radius: 6px;
}


/* Mini quality tags on service cards */
.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 6px 0 2px;
}
.mini-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
  background: rgba(110, 231, 183, 0.12);
  color: #6ee7b7;
  border: 1px solid rgba(110, 231, 183, 0.25);
  letter-spacing: 0.2px;
}

.qo-limits {
  font-size: 0.78rem;
  color: var(--muted);
}
.qo-limits.qo-limits-error {
  color: #f87171;
}

/* ==================== Trust strip ==================== */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 1rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(110, 231, 183, 0.08);
  border: 1px solid rgba(110, 231, 183, 0.25);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
}
.trust-icon { font-size: 0.95rem; }

/* ==================== How It Works ==================== */
.how-it-works {
  padding: 1.75rem 1.25rem;
  background: var(--dark-surface);
  border-bottom: 1px solid var(--dark-border);
  text-align: center;
}
.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text);
}
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
}
.step-card {
  background: #131a22;
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 16px 14px;
  text-align: left;
}
.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #6ee7b7;
  color: #0b0f14;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.step-card h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--text);
}
.step-card p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ==================== FAQ ==================== */
.faq-section {
  padding: 1.75rem 1.25rem 2.5rem;
  background: var(--dark-bg);
}
.faq-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: #131a22;
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-icon {
  font-size: 1.1rem;
  color: #6ee7b7;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 10px;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 16px;
}
.faq-item.open .faq-answer {
  max-height: 220px;
  padding: 0 16px 16px;
}
.faq-answer p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ==================== Gateway trust badges ==================== */
.gateway-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.gateway-trust-badges span {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ==================== Stats bar ==================== */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #6ee7b7;
  line-height: 1.1;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 2px;
}

/* How-to-order guide link */
.how-to-order-link {
  display: inline-block;
  color: #6ee7b7;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  border: 1px solid rgba(110, 231, 183, 0.35);
  padding: 8px 16px;
  border-radius: 20px;
  transition: 0.15s;
}
.how-to-order-link:hover {
  background: rgba(110, 231, 183, 0.08);
}

/* View Mode Toggle: Popular vs All Services */
.view-mode-toggle {
  display: flex;
  gap: 8px;
  background: #131a22;
  border: 1px solid #2a3a4a;
  border-radius: 14px;
  padding: 5px;
  margin-bottom: 16px;
}
.view-mode-btn {
  flex: 1;
  padding: 12px 10px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.view-mode-btn.active {
  background: #6ee7b7;
  color: #0b0f14;
  box-shadow: 0 0 14px rgba(110,231,183,.35);
}

/* Category Cards */
.category-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  background: #131a22;
  border: 1px solid #2a3a4a;
  border-radius: 16px;
  padding: 16px 14px;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, transform .1s;
}
.category-card:hover { border-color: #6ee7b7; transform: translateY(-2px); }
.category-card-icon { font-size: 26px; line-height: 1; }
.category-card-name { color: #e2e8f0; font-weight: 700; font-size: 14.5px; }
.category-card-count { color: #94a3b8; font-size: 12.5px; }

@media (min-width: 640px) {
  .category-cards { grid-template-columns: repeat(3, 1fr); }
}

/* Breadcrumb for category drill-down navigation */
.category-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 13.5px;
}
.breadcrumb-item {
  color: #6ee7b7;
  cursor: pointer;
  font-weight: 600;
}
.breadcrumb-item:hover { text-decoration: underline; }
.breadcrumb-item.current {
  color: #94a3b8;
  cursor: default;
  font-weight: 600;
}
.breadcrumb-item.current:hover { text-decoration: none; }
.breadcrumb-sep { color: #475569; }

/* ---------- Recent-completed-orders social-proof toast ---------- */
.recent-toast {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9998;
  max-width: 300px;
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.4;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.recent-toast.show {
  opacity: 1;
  transform: translateY(0);
}
.recent-toast .rt-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}
.recent-toast .rt-body b { color: #6ee7b7; }
.recent-toast .rt-time {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}
@media (max-width: 480px) {
  .recent-toast { left: 10px; right: 10px; max-width: none; bottom: 84px; }
}
