/* Social Media Boost Manager */

.app-body.boost-page .app-content { max-width: 1280px; }

.boost-head { margin-bottom: 24px; }
.boost-head h1 {
  font-size: 28px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 6px;
}
.boost-head p { color: #64748b; font-size: 15px; }

.boost-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 10px;
}

.boost-templates {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 18px 20px;
  background: #181b26;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  margin-bottom: 20px;
}
.boost-templates-left { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.boost-select {
  padding: 10px 14px;
  border-radius: 10px;
  background: #0f1117;
  border: 1px solid rgba(255,255,255,0.1);
  color: #e2e8f0;
  min-width: 180px;
}
.boost-templates-right { text-align: right; }
.boost-save-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.boost-save-btn:hover { filter: brightness(1.08); }
.boost-save-hint { font-size: 11px; color: #64748b; margin-top: 6px; max-width: 220px; margin-left: auto; }

.boost-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.boost-platform-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.1);
  background: #181b26;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.boost-platform-btn img { width: 24px; height: 24px; }
.boost-platform-btn:hover { border-color: rgba(124,58,237,0.4); transform: translateY(-2px); }
.boost-platform-btn.active {
  border-color: #7c3aed;
  background: rgba(124,58,237,0.15);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.2);
}

.boost-category-block { margin-bottom: 20px; }
.boost-category-select {
  width: 100%;
  max-width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  background: #181b26;
  border: 1px solid rgba(255,255,255,0.1);
  color: #e2e8f0;
  font-size: 14px;
}

.boost-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.boost-filter-btn {
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.boost-search-wrap { flex: 1; min-width: 200px; position: relative; }
.boost-search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; opacity: 0.45; filter: brightness(0) invert(0.7); pointer-events: none;
}
.boost-search-wrap input {
  width: 100%; padding: 12px 14px 12px 42px; border-radius: 12px;
  background: #181b26; border: 1px solid rgba(255,255,255,0.1); color: #e2e8f0;
}
.boost-live-count {
  font-size: 13px; color: #64748b; padding: 8px 14px;
  background: #181b26; border-radius: 10px; border: 1px solid rgba(255,255,255,0.08);
}
.boost-live-count strong { color: #f1f5f9; }

.boost-table-wrap {
  overflow-x: auto; border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08); background: #181b26; margin-bottom: 24px;
}
.boost-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.boost-table thead th {
  text-align: left; padding: 14px 16px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: #64748b;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.boost-table tbody td { padding: 14px 16px; color: #cbd5e1; border-bottom: 1px solid rgba(255,255,255,0.05); }
.boost-table tbody tr:hover { background: rgba(124,58,237,0.06); cursor: pointer; }
.boost-table tbody tr.selected { background: rgba(124,58,237,0.12); }
.boost-table .cat-row td {
  background: rgba(124,58,237,0.08); color: #c4b5fd; font-weight: 600; font-size: 12px; cursor: default;
}
.boost-table-empty { text-align: center; padding: 40px !important; color: #64748b !important; }
.boost-bubble {
  display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
}
.boost-bubble.min { background: rgba(124,58,237,0.15); color: #c4b5fd; }
.boost-bubble.max { background: rgba(239,68,68,0.12); color: #fca5a5; }
.boost-bubble.rate { background: rgba(124,58,237,0.2); color: #e9d5ff; }
.boost-bubble.time { background: rgba(37,99,235,0.15); color: #93c5fd; }
.boost-more-btn {
  padding: 6px 16px; border-radius: 8px; border: none;
  background: linear-gradient(135deg, #7c3aed, #6366f1); color: #fff;
  font-size: 12px; font-weight: 600; cursor: pointer;
}

.boost-order-panel {
  background: #181b26; border: 1px solid rgba(124,58,237,0.25);
  border-radius: 20px; padding: 28px; margin-bottom: 28px;
}
.boost-order-panel.hidden { display: none; }
.boost-order-section h3, .boost-checkout-box h3 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #64748b; margin-bottom: 10px;
}
.boost-order-section p { font-size: 14px; color: #94a3b8; line-height: 1.6; margin-bottom: 20px; }
.boost-order-inputs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px;
}
@media (max-width: 768px) { .boost-order-inputs { grid-template-columns: 1fr; } }
.boost-order-field label {
  display: block; font-size: 11px; font-weight: 600; color: #64748b;
  margin-bottom: 6px; text-transform: uppercase;
}
.boost-order-field textarea, .boost-order-field input[type="number"] {
  width: 100%; padding: 14px; border-radius: 12px;
  background: #0f1117; border: 1px solid rgba(255,255,255,0.1); color: #e2e8f0; font-size: 14px;
}
.boost-qty-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.boost-qty-btns button {
  padding: 6px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04); color: #94a3b8; font-size: 12px; cursor: pointer;
}
.boost-qty-btns button:hover { background: rgba(124,58,237,0.15); color: #e2e8f0; }
.boost-qty-hint { font-size: 12px; color: #64748b; margin-top: 8px; }
.boost-order-options {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 14px 0; margin-bottom: 16px;
  border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06);
}
.boost-check { display: flex; align-items: center; gap: 8px; color: #94a3b8; font-size: 14px; }
.boost-avg-row { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #64748b; text-transform: uppercase; font-weight: 600; }
.boost-avg-pill {
  padding: 4px 12px; border-radius: 999px; background: rgba(37,99,235,0.15);
  color: #93c5fd; font-size: 13px; text-transform: none; font-weight: 600;
}
.boost-checkout-box {
  background: rgba(124,58,237,0.08); border: 1px solid rgba(124,58,237,0.2);
  border-radius: 16px; padding: 24px; margin-bottom: 16px;
}
.boost-checkout-amount {
  font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; color: #c4b5fd; margin-bottom: 8px;
}
.boost-checkout-note { font-size: 13px; color: #64748b; margin-bottom: 16px; }
.boost-checkout-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-radius: 10px; background: rgba(255,255,255,0.04); font-size: 13px; color: #94a3b8;
}
.boost-status-badge {
  padding: 4px 12px; border-radius: 999px; background: rgba(245,158,11,0.15);
  color: #fbbf24; font-size: 12px; font-weight: 600;
}
.boost-status-badge.ready { background: rgba(16,185,129,0.15); color: #34d399; }
.boost-place-btn {
  width: 100%; padding: 16px; border: none; border-radius: 14px;
  background: linear-gradient(135deg, #7c3aed, #6366f1); color: #fff;
  font-size: 16px; font-weight: 700; cursor: pointer; margin-bottom: 16px;
}
.boost-place-btn:disabled { opacity: 0.5; cursor: not-allowed; background: #374151; }
.boost-order-footer {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  font-size: 12px; color: #64748b; text-align: center;
}
.boost-order-footer strong { color: #a78bfa; }
