/**
 * Feedbacks Module CSS
 * Estilos específicos para o módulo de feedbacks de vendas
 */

/* ===== BUSCA DE CLIENTES/PROSPECTS ===== */
.client-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  margin-top: 2px;
}

.search-results-section {
  padding: 8px 0;
}

.search-section-title {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.search-result-item {
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.search-result-item:hover {
  background: #f8f9fa;
}

.result-name {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.result-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 3px;
  font-weight: 600;
}

.badge-bling {
  background: #e3f2fd;
  color: #1976d2;
}

.badge-saas {
  background: #f3e5f5;
  color: #7b1fa2;
}

.badge-prospect {
  background: #fff3e0;
  color: #f57c00;
}

.search-result-empty {
  padding: 16px 12px;
  text-align: center;
  color: #999;
  font-size: 13px;
}

/* ===== COLUNA CLIENTE - CORREÇÃO DE BACKGROUND ===== */
#feedbacks-table tbody tr td:nth-child(3) {
  background: transparent !important;
}

#feedbacks-table tbody tr:hover td:nth-child(3) {
  background: rgba(128, 0, 32, 0.03) !important;
}

#feedbacks-table tbody tr td:nth-child(3) .badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

#feedbacks-table tbody tr td:nth-child(3) .badge-success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

#feedbacks-table tbody tr td:nth-child(3) .badge-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.cliente-cell {
  background: transparent !important;
}

/* ===== MODAL DE EDIÇÃO DE CLIENTE ===== */
#modal-edit-cliente-feedback .modal-dialog {
  max-width: 500px;
  width: 100%;
  margin: 30px auto;
}
