/* ===========================
   CONTEXTO / TOPO
=========================== */
.market-context {
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}

.market-context h1 {
  font-size: 32px;
  margin-bottom: 8px;
}

.results-count {
  color: #64748b;
  font-size: 14px;
}

/* ===========================
   FILTROS
=========================== */
.market-filters {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.filters-bar select {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 14px;
}

.checkbox-filter {
  font-size: 14px;
  color: #334155;
}

/* ===========================
   GRID DE RESULTADOS
=========================== */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

/* ===========================
   CARD DO CUIDADOR
=========================== */
.result-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: transform .15s ease, box-shadow .15s ease;
  text-align: center;
}

.result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

/* AVATAR */
.card-avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.card-avatar img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: #f3f4f6;
}

/* HEADER */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header h2 {
  font-size: 18px;
  margin: 0;
  text-align: left;
}

/* BADGES */
.badge {
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 999px;
  font-weight: 600;
}

.badge.professional {
  background: #2563eb;
  color: #ffffff;
}

.badge.verified {
  background: #16a34a;
  color: #ffffff;
}

/* INFO */
.card-location {
  font-size: 14px;
  color: #475569;
  margin: 10px 0 4px;
}

.card-info {
  font-size: 13px;
  color: #64748b;
}

/* MICROCOPY ADS */
.microcopy-ads {
  font-size: 13px;
  color: #6b7280;
  margin: 6px 0 10px;
}

/* ===========================
   BOTÕES
=========================== */
.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.card-actions .btn {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
}

.btn.primary {
  background: #22c55e;
  color: #ffffff;
}

.btn.secondary {
  background: #e5e7eb;
  color: #1e293b;
}

/* ===========================
   MOBILE
=========================== */
@media (max-width: 768px) {
  .result-card {
    padding: 16px;
  }

  .card-actions {
    flex-direction: column;
  }
}
