/* Public UX refresh part 2 */
.free-tag { background: rgba(16,185,129,0.15); color: #10B981; border: 1px solid rgba(16,185,129,0.4); font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 8px; }
.league-line { display: block; font-size: 11px; color: var(--hint); }
.markets-hint { font-size: 11px; color: var(--link); font-weight: 700; padding: 4px 8px; background: rgba(56,189,248,0.1); border-radius: 6px; white-space: nowrap; }
.copy-btn { background: rgba(255,255,255,0.08); border: 1px solid var(--divider); color: var(--text); border-radius: 8px; padding: 5px 10px; font-size: 11px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.row-actions { display: contents; }
.vip-upsell { padding: 12px 16px 0; }
.vip-upsell-card { background: linear-gradient(135deg, rgba(245,158,11,0.18), rgba(245,158,11,0.06)); border: 1px solid rgba(245,158,11,0.45); border-radius: 16px; padding: 14px; }
.vip-upsell-head { font-weight: 800; font-size: 14px; }
.vip-upsell-list { margin: 8px 0; padding-left: 18px; font-size: 13px; }
.vip-plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 12px 0 10px; }
.vip-plan-btn { background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(245, 158, 11, 0.4); border-radius: 10px; padding: 8px 4px; display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; color: var(--text); transition: all 0.15s ease; position: relative; min-width: 0; }
.vip-plan-btn:hover, .vip-plan-btn:active { background: rgba(245, 158, 11, 0.18); border-color: #F59E0B; transform: translateY(-1px); }
.vip-plan-btn.popular { border-color: #F59E0B; background: rgba(245, 158, 11, 0.14); box-shadow: 0 0 10px rgba(245, 158, 11, 0.25); }
.plan-badge { font-size: 9px; font-weight: 800; text-transform: uppercase; color: var(--hint); padding: 1px 5px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); }
.plan-badge.hot { color: #F59E0B; background: rgba(245, 158, 11, 0.2); }
.plan-title { font-size: 10.5px; font-weight: 700; white-space: nowrap; text-align: center; }
.plan-price { font-size: 11.5px; font-weight: 800; color: #F59E0B; font-family: var(--font-mono); display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.plan-price small { font-size: 8.5px; color: var(--hint); font-weight: 500; font-family: var(--font-sans); }
.vip-upsell-btn { width: 100%; background: #F59E0B; color: #1a1000; border: 0; border-radius: 10px; padding: 12px; font-weight: 800; font-size: 14px; cursor: pointer; }
.vip-upsell-note { font-size: 11px; color: var(--hint); text-align: center; margin: 6px 0 0; }
.trust-block { padding: 16px; }
.trust-block h2 { font-size: 15px; margin: 0 0 10px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.trust-item { background: var(--surface); border: 1px solid var(--card-border); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: var(--hint); }
.trust-item strong { color: var(--text); font-size: 12px; }
.trust-ico { font-size: 18px; }
.steps { display: flex; gap: 8px; margin: 12px 0; }
.step { flex: 1; background: var(--surface); border: 1px solid var(--card-border); border-radius: 10px; padding: 8px; font-size: 11px; font-weight: 600; }
.step-n { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; background: #10B981; color: #fff; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; margin-right: 4px; }
.faq { background: var(--surface); border: 1px solid var(--card-border); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; font-size: 13px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: var(--hint); font-size: 12px; }

/* Status Filter Bar */
.status-bar {
  display: flex;
  gap: 6px;
  padding: 6px 14px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.status-bar::-webkit-scrollbar { display: none; }
.status-chip {
  background: var(--surface);
  border: 1px solid var(--card-border);
  color: var(--hint);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}
.status-chip:hover { border-color: var(--text); color: var(--text); }
.status-chip.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10B981;
  color: #10B981;
}
.status-chip.pulse {
  border-color: rgba(244, 63, 94, 0.4);
  color: #f43f5e;
}
.status-chip.pulse.active {
  background: rgba(244, 63, 94, 0.15);
  border-color: #f43f5e;
}

/* Pulsing dot animation */
.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f43f5e;
  box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.7);
  animation: pulsing 1.5s infinite;
}
@keyframes pulsing {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(244, 63, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

/* Live & Score Pills on Fixture Row Header */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #f43f5e;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  letter-spacing: 0.3px;
}
.score-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--card-border);
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  font-family: var(--font-mono);
}
.row-live {
  border-left: 3px solid #f43f5e !important;
}

/* Live Market Progress Inside Drawer */
.market-live-status {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 6px;
  margin: 4px 0;
  text-align: center;
}
.market-live-status.hit {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.4);
}
.market-live-status.safe {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.market-live-status.in-progress {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.market-live-status.busted {
  background: rgba(244, 63, 94, 0.15);
  color: #f43f5e;
  border: 1px solid rgba(244, 63, 94, 0.3);
}
.market-box.live-hit {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.15);
}

/* Admin Review Queue & Aliases UI */
.admin-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-empty-queue {
  padding: 16px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 10px;
  font-size: 12.5px;
  color: #10b981;
  text-align: center;
}
.admin-review-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.admin-review-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 10px 12px;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-review-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-review-pair {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.admin-review-pair small { color: var(--hint); font-size: 10px; }
.review-arrow { color: #38bdf8; font-weight: 800; }
.admin-review-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}
.confidence-badge {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
}
.meta-date { color: var(--hint); font-size: 10px; }
.admin-review-actions {
  display: flex;
  gap: 6px;
}
.btn-approve-alias {
  background: #10b981;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-approve-alias:hover { background: #059669; }
.btn-dismiss-alias {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #f43f5e;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}
.admin-alias-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  max-height: 220px;
  overflow-y: auto;
  padding: 4px 0;
}
.alias-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 11px;
}
.alias-raw { color: #f1f5f9; font-weight: 600; }
.alias-arrow { color: var(--hint); font-size: 10px; }
.alias-canon { color: #10b981; font-weight: 600; }
.btn-del-alias {
  background: none;
  border: none;
  color: var(--hint);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0 2px;
  margin-left: 2px;
}
.btn-del-alias:hover { color: #f43f5e; }
.alias-more-hint {
  font-size: 11px;
  color: var(--hint);
  align-self: center;
  padding: 4px;
}
.admin-alias-search-row {
  margin-bottom: 8px;
}

/* ==========================================================================
   Excel Export UI & Modal Styles
   ========================================================================== */
.topbar-export-btn {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38BDF8;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.topbar-export-btn:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: #38BDF8;
  transform: translateY(-1px);
}

.excel-modal {
  max-width: 480px;
  width: 95%;
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(56, 189, 248, 0.15);
  border-radius: 18px;
  padding: 20px;
  color: #e2e8f0;
}

.excel-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.excel-modal-head h2 {
  font-size: 17px;
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 3px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.excel-modal-sub {
  font-size: 11.5px;
  color: #94a3b8;
  display: block;
}

.modal-close-icon {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #94a3b8;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.modal-close-icon:hover {
  background: rgba(244, 63, 94, 0.2);
  color: #f43f5e;
}

.export-group {
  margin-bottom: 14px;
}

.export-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #38bdf8;
  margin-bottom: 8px;
}

.theme-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.theme-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.theme-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.theme-box {
  background: #1e293b;
  border: 2px solid #334155;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s ease;
}

.theme-option.dark-opt .theme-box {
  background: linear-gradient(145deg, #0f172a, #1e293b);
}

.theme-option.light-opt .theme-box {
  background: linear-gradient(145deg, #1e293b, #2c3b52);
}

.theme-option:hover .theme-box {
  border-color: #64748b;
  transform: translateY(-1px);
}

.theme-option input[type="radio"]:checked + .theme-box {
  border-color: #38bdf8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
  background: #1e293b;
}

.theme-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #f8fafc;
}

.theme-desc {
  font-size: 10px;
  color: #94a3b8;
  line-height: 1.25;
}

.scope-options-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.scope-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.scope-option:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: #475569;
}

.scope-option input[type="radio"] {
  margin-top: 3px;
  accent-color: #38bdf8;
  cursor: pointer;
}

.scope-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.scope-title {
  font-size: 12px;
  font-weight: 700;
  color: #f1f5f9;
}

.scope-desc {
  font-size: 10.5px;
  color: #94a3b8;
  line-height: 1.2;
}

.export-included-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px dashed rgba(16, 185, 129, 0.35);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.inc-row {
  font-size: 11px;
  color: #cbd5e1;
  line-height: 1.35;
}

.inc-row b {
  color: #10b981;
}

.excel-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.export-chat-btn {
  width: 100%;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.export-chat-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #0369a1, #075985);
  transform: translateY(-1px);
}

.export-chat-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.export-download-btn {
  width: 100%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.export-download-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-1px);
}

.export-download-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.export-cancel-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid #334155;
  color: #cbd5e1;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.export-cancel-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

