/* ==================== Reset & Base ==================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-light: #eff6ff;
  --success: #10b981;
  --success-light: #ecfdf5;
  --danger: #ef4444;
  --danger-light: #fef2f2;
  --warning: #f59e0b;
  --text: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==================== Header ==================== */
.header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-icon {
  font-size: 28px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.nav {
  display: flex;
  gap: 8px;
}

.nav-item {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.nav-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-item.active {
  background: var(--primary);
  color: var(--white);
}

/* ==================== Main ==================== */
.main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
  width: 100%;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  text-align: center;
}

/* ==================== Product Grid ==================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.product-card:active {
  transform: translateY(-2px);
}

.product-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
  color: white;
  position: relative;
}

.product-icon::after {
  content: '';
  position: absolute;
  inset: 4px 6px 0 6px;
  border-radius: inherit;
  background: inherit;
  filter: blur(10px);
  opacity: 0.4;
  z-index: -1;
}

.product-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.product-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.product-tag {
  display: inline-block;
  font-size: 11px;
  color: var(--text-light);
  background: var(--bg);
  padding: 2px 10px;
  border-radius: 10px;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ==================== History ==================== */
.history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.history-header .section-title {
  margin-bottom: 0;
  text-align: left;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.history-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.history-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.history-product {
  display: flex;
  align-items: center;
  gap: 10px;
}

.history-product-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
}

.history-product-name {
  font-weight: 600;
  font-size: 15px;
}

.history-time {
  font-size: 12px;
  color: var(--text-light);
}

.history-stats {
  display: flex;
  gap: 24px;
}

.history-stat {
  font-size: 13px;
  color: var(--text-secondary);
}

.history-stat strong {
  color: var(--text);
}

.history-stat.valid strong {
  color: var(--success);
}

.history-stat.invalid strong {
  color: var(--danger);
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
  font-size: 15px;
}

/* ==================== Modal ==================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-overlay.show {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.2s ease-out;
}

.modal-lg {
  max-width: 720px;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

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

.modal-header h3 {
  font-size: 18px;
  font-weight: 600;
}

.modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  font-size: 24px;
  color: var(--text-light);
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--bg);
  color: var(--text);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  max-height: calc(90vh - 140px);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}

/* ==================== Form ==================== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.hint {
  font-weight: 400;
  color: var(--text-light);
  font-size: 12px;
}

.form-hint {
  margin-top: 6px;
  color: #e74c3c;
  font-size: 12px;
  line-height: 1.4;
}

input[type="text"],
input[type="number"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.2s;
  background: var(--bg);
}

input[type="text"]:focus,
input[type="number"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
  background: var(--white);
}

input[type="text"]::placeholder,
input[type="number"]::placeholder {
  color: var(--text-light);
}

select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.2s;
  background: var(--bg);
  cursor: pointer;
}

select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
  background: var(--white);
}

.auth-search {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  max-width: 500px;
}

.auth-search input[type="text"] {
  flex: 1;
}

textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  line-height: 1.8;
  resize: vertical;
  color: var(--text);
  transition: border-color 0.2s;
  background: var(--bg);
}

textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
  background: var(--white);
}

textarea::placeholder {
  color: var(--text-light);
}

.card-count {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 12px 16px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
}

.card-count strong {
  color: var(--primary);
  font-size: 18px;
}

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-sm {
  padding: 6px 16px;
  font-size: 13px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: var(--white);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* ==================== Result ==================== */
.result-summary {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.summary-card {
  flex: 1;
  min-width: 100px;
  padding: 16px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.summary-card.total {
  background: var(--primary-light);
  color: var(--primary);
}

.summary-card.valid {
  background: var(--success-light);
  color: var(--success);
}

.summary-card.invalid {
  background: var(--danger-light);
  color: var(--danger);
}

.summary-num {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.summary-label {
  font-size: 12px;
  font-weight: 500;
}

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

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

.result-table th {
  background: var(--bg);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
}

.result-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.result-table tr:last-child td {
  border-bottom: none;
}

.result-table tr:hover td {
  background: var(--bg);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-badge.valid {
  background: var(--success-light);
  color: var(--success);
}

.status-badge.invalid {
  background: var(--danger-light);
  color: var(--danger);
}

.card-number-cell {
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 12px;
  word-break: break-all;
}

.balance-cell {
  font-weight: 600;
}

/* ==================== WhatsApp Check ==================== */
.section-desc {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
}

.wa-check-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 600px;
  margin: 0 auto 32px;
}

.staff-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.generated-code-box {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--success);
  border-radius: var(--radius-sm);
  background: var(--success-light);
  color: var(--text);
  font-size: 14px;
  word-break: break-all;
}

.generated-code-box strong {
  color: var(--success);
}

.wa-actions {
  margin-top: 20px;
  text-align: right;
}

.wa-results {
  max-width: 800px;
  margin: 0 auto;
}

.wa-results-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.wa-results-footer {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

.risk-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.risk-badge.clean {
  background: var(--success-light);
  color: var(--success);
}

.risk-badge.low {
  background: #fffbeb;
  color: #d97706;
}

.risk-badge.medium {
  background: #fff7ed;
  color: #ea580c;
}

.risk-badge.high {
  background: var(--danger-light);
  color: var(--danger);
}

.detail-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: color 0.2s;
}

.detail-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.text-clean {
  color: var(--success);
  font-size: 13px;
}

/* Detail Modal */
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 16px 20px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.detail-meta strong {
  color: var(--text);
}

.evidence-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 16px;
}

.evidence-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.evidence-type {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.evidence-type.dispute {
  background: #fff7ed;
  color: #ea580c;
}

.evidence-type.fraud {
  background: var(--danger-light);
  color: var(--danger);
}

.evidence-type.scam {
  background: var(--danger-light);
  color: var(--danger);
}

.evidence-type.chargeback {
  background: #fffbeb;
  color: #d97706;
}

.evidence-time {
  font-size: 12px;
  color: var(--text-light);
}

.evidence-desc {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 14px;
}

.evidence-images {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.evidence-img {
  width: 160px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.evidence-img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

/* Image Preview Overlay */
.image-preview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.image-preview-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-preview-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: white;
  cursor: pointer;
  line-height: 1;
}

/* ==================== Spinner ==================== */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* ==================== Footer ==================== */
.footer {
  text-align: center;
  padding: 24px;
  color: var(--text-light);
  font-size: 13px;
  border-top: 1px solid var(--border);
}

/* ==================== Responsive ==================== */
@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
  }
  
  .main {
    padding: 20px 16px;
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .product-card {
    padding: 16px;
  }
  
  .product-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
    margin-bottom: 12px;
  }
  
  .modal {
    max-width: 100%;
    margin: 10px;
  }
  
  .result-summary {
    gap: 10px;
  }
  
  .summary-card {
    min-width: 80px;
    padding: 12px;
  }
  
  .summary-num {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .logo-text {
    font-size: 16px;
  }
  
  .nav-item {
    padding: 6px 14px;
    font-size: 13px;
  }
}

/* ==================== Verify Page Layout ==================== */
.verify-page-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.verify-page-header .section-title {
  margin: 0;
}

.verify-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: flex-start;
}

.verify-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.verify-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.title-dot {
  width: 4px;
  height: 16px;
  background: var(--primary);
  border-radius: 2px;
  display: inline-block;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
  margin-top: 16px;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.result-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.result-toolbar .verify-card-title {
  margin-bottom: 0;
}

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

.result-summary-inline {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.result-summary-inline .stat {
  display: flex;
  align-items: center;
  gap: 4px;
}

.result-summary-inline .stat-num {
  font-weight: 700;
  color: var(--text);
}

.result-summary-inline .stat-valid { color: var(--success); }
.result-summary-inline .stat-invalid { color: var(--danger); }

.empty-row td {
  text-align: center;
  padding: 40px 16px;
  color: var(--text-light);
  font-size: 14px;
}

.result-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.status-valid {
  background: var(--success-light);
  color: var(--success);
}

.status-invalid {
  background: var(--danger-light);
  color: var(--danger);
}

.status-pending {
  background: #fffbeb;
  color: var(--warning);
}

/* Blacklist image thumbnails */
.bl-images {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.bl-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: transform 0.2s;
}

.bl-thumb:hover {
  transform: scale(1.1);
}

/* WhatsApp Contact Banner */
.wa-contact-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

.wa-contact-banner a {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.wa-contact-banner a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

@media (max-width: 900px) {
  .verify-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    min-width: 0;
  }

  .header {
    position: static;
  }

  .header-inner {
    height: auto;
    min-height: 56px;
    padding: 10px 14px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .logo {
    gap: 6px;
  }

  .logo-icon {
    font-size: 22px;
  }

  .logo-text {
    font-size: 15px;
    white-space: nowrap;
  }

  .nav {
    width: 100%;
    gap: 8px;
  }

  .nav-item {
    flex: 1;
    text-align: center;
    padding: 8px 10px;
    font-size: 12px;
  }

  .main {
    padding: 18px 12px 86px;
  }

  .section-title {
    font-size: 19px;
    margin-bottom: 18px;
  }

  .section-desc {
    font-size: 12px;
    margin-bottom: 16px;
    padding: 0 4px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-card {
    display: grid;
    grid-template-columns: 54px 1fr;
    column-gap: 12px;
    align-items: center;
    text-align: left;
    padding: 16px;
  }

  .product-icon {
    width: 48px;
    height: 48px;
    margin: 0;
  }

  .product-logo-img {
    width: 36px;
    height: 36px;
  }

  .product-name,
  .product-tag,
  .product-desc {
    grid-column: 2;
  }

  .verify-page-header {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
  }

  .verify-page-header .section-title {
    text-align: left;
    font-size: 18px;
    line-height: 1.3;
  }

  .verify-card,
  .wa-check-card {
    width: 100%;
    max-width: 100%;
    padding: 16px;
    border-radius: 10px;
  }

  .wa-check-card {
    margin-bottom: 20px;
  }

  .form-group {
    margin-bottom: 16px;
  }

  input[type="text"],
  input[type="number"],
  select,
  textarea {
    min-height: 44px;
    padding: 11px 12px;
    font-size: 16px;
  }

  .btn,
  .btn-lg,
  .btn-sm {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 14px;
  }

  .result-toolbar {
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
  }

  .result-actions {
    width: 100%;
  }

  .result-actions .btn {
    flex: 1;
  }

  .result-summary-inline {
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
  }

  .result-table-wrap {
    margin: 0 -16px;
    padding: 0 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .result-table {
    width: 100%;
    min-width: 0;
    font-size: 12px;
  }

  .verify-right .result-table thead {
    display: none;
  }

  .verify-right .result-table,
  .verify-right .result-table tbody,
  .verify-right .result-table tr,
  .verify-right .result-table td {
    display: block;
    width: 100%;
  }

  .verify-right .result-table tr {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    margin-bottom: 12px;
  }

  .verify-right .result-table td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    text-align: right;
  }

  .verify-right .result-table td:last-child {
    border-bottom: none;
  }

  .verify-right .result-table td::before {
    content: attr(data-label);
    flex: 0 0 96px;
    color: var(--text-secondary);
    font-weight: 600;
    text-align: left;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.4px;
  }

  .verify-right .result-table .empty-row {
    border: none;
    padding: 0;
  }

  .verify-right .result-table .empty-row td {
    display: block;
    text-align: center;
    padding: 28px 12px;
    border-bottom: none;
  }

  .verify-right .result-table .empty-row td::before {
    content: none;
  }

  .result-table th,
  .result-table td {
    padding: 10px 8px;
  }

  .card-number-cell {
    max-width: none;
  }

  .wa-results {
    max-width: 100%;
  }

  .bl-thumb {
    width: 54px;
    height: 54px;
  }

  .image-preview-img {
    max-width: 94vw;
    max-height: 82vh;
  }

  .image-preview-close {
    top: 14px;
    right: 18px;
  }

  .wa-contact-banner {
    left: 12px;
    right: 12px;
    bottom: 14px;
  }

  .wa-contact-banner a {
    justify-content: center;
    width: 100%;
    padding: 12px 14px;
    font-size: 13px;
  }

  .footer {
    padding: 18px 12px 84px;
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .logo-text {
    font-size: 14px;
  }

  .main {
    padding-left: 10px;
    padding-right: 10px;
  }

  .verify-card,
  .wa-check-card {
    padding: 14px;
  }

  .product-card {
    padding: 14px;
  }
}
