/* Prospect WhatsApp view */

#prospectView { padding: 28px 32px; }

.prospect-toolbar { margin: 14px 0; }

.prospect-filters {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 16px;
  margin-bottom: 16px;
}
.prospect-field { display: flex; flex-direction: column; gap: 4px; min-width: 180px; flex: 1; }
.prospect-field label { font-size: 11px; color: #94a3b8; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.prospect-field input,
.prospect-field select {
  height: 38px; padding: 0 12px;
  background: #14161f; color: #f1f5f9;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; font-size: 13px;
}
.prospect-field input:focus, .prospect-field select:focus { outline: 2px solid rgba(167,139,250,0.5); outline-offset: 1px; }

.prospect-stats {
  display: flex; gap: 16px; align-items: center;
  padding: 10px 14px; margin: 10px 0;
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 8px;
  font-size: 13px;
}
.prospect-stats strong { color: #a78bfa; }

.prospect-list {
  display: flex; flex-direction: column; gap: 8px;
  margin: 12px 0;
  max-height: 480px; overflow-y: auto;
  padding: 4px 2px;
}
.prospect-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
}
.prospect-idx {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(124,58,237,0.2); color: #a78bfa;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.prospect-main { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.prospect-main strong { font-size: 13px; color: #f1f5f9; }
.prospect-link {
  font-size: 12px; color: #4ade80;
  text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-family: ui-monospace, Menlo, monospace;
}
.prospect-link:hover { text-decoration: underline; }

.prospect-empty {
  padding: 24px; text-align: center; color: #94a3b8;
  background: rgba(255,255,255,0.02); border-radius: 8px;
  border: 1px dashed rgba(255,255,255,0.08);
}

.prospect-send {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end;
  margin-top: 14px;
  padding: 16px;
  background: rgba(34,197,94,0.05);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 12px;
}
.prospect-send .btn { height: 38px; }

/* Multi-city search: mode chips, list textarea, progress panel */
.search-modes-mini {
  display: flex; gap: 6px; margin: 4px 0 10px; flex-wrap: wrap;
}
.search-chip {
  height: 28px; padding: 0 12px; border-radius: 999px;
  background: transparent; color: #94a3b8;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 12px; font-weight: 600; cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}
.search-chip:hover { color: #f1f5f9; border-color: rgba(167,139,250,0.4); }
.search-chip--active {
  color: #fff;
  background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(167,139,250,0.15));
  border-color: rgba(167,139,250,0.6);
}

.search-field--wide { flex: 2 1 320px; }
.search-field textarea {
  min-height: 70px; padding: 8px 12px;
  background: #14161f; color: #f1f5f9;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; font-size: 13px;
  font-family: inherit; resize: vertical;
}
.multi-progress {
  margin: 14px 0 18px;
  padding: 16px;
  background: rgba(124,58,237,0.07);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 12px;
}
.multi-progress-hdr {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.multi-progress-meta {
  display: flex; gap: 22px; flex-wrap: wrap;
  font-size: 13px; color: #cbd5e1; margin-bottom: 10px;
}
.multi-progress-meta strong { color: #a78bfa; }
.multi-progress-bar {
  height: 8px; background: rgba(255,255,255,0.06);
  border-radius: 4px; overflow: hidden;
}
.multi-progress-bar > div {
  height: 100%;
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
  transition: width 400ms ease;
  width: 0%;
}

/* Limit input + "Tudo" pill toggle */
.search-field:has(.limit-group) { max-width: 200px; }
.limit-group { display: flex; align-items: stretch; gap: 6px; }
.limit-group input { flex: 1 1 80px; min-width: 70px; }
.limit-group input:disabled { opacity: 0.35; cursor: not-allowed; }

.limit-toggle {
  height: 100%;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}
.limit-toggle:hover { border-color: rgba(167,139,250,0.4); color: #fff; }
.limit-toggle[aria-pressed="true"] {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 12px -4px rgba(124,58,237,0.6);
}
