/* ===== EMPRESAS MODULE ===== */

/* Header */
.emp-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .emp-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.emp-header-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.emp-header-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.emp-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 900;
  color: #111827;
  margin: 0;
}

.emp-title-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #6b7280;
}

.emp-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: #9ca3af;
  margin: 2px 0 0;
  letter-spacing: 0.02em;
}

.emp-stats-mini {
  display: flex;
  gap: 8px;
}

.emp-stat-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 14px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  min-width: 60px;
  transition: all 0.15s ease;
}

.emp-stat-mini:hover {
  border-color: #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.emp-stat-ativa {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.emp-stat-inativa {
  background: #f9fafb;
  border-color: #f3f4f6;
}

.emp-stat-num {
  font-size: 1.125rem;
  font-weight: 900;
  color: #111827;
  line-height: 1.2;
}

.emp-stat-ativa .emp-stat-num {
  color: #16a34a;
}

.emp-stat-inativa .emp-stat-num {
  color: #6b7280;
}

.emp-stat-label {
  font-size: 0.5625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
  margin-top: 2px;
}

.emp-header-right {
  flex-shrink: 0;
  align-self: center;
}

.emp-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: #dc2626;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.2);
}

.emp-btn-primary:hover {
  background: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 6px 10px -1px rgba(220, 38, 38, 0.3);
}

/* Filters Bar */
.emp-filters-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .emp-filters-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.emp-search-wrap {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.emp-search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.emp-search-input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 0.875rem;
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.emp-search-input:focus {
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.emp-search-count {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.6875rem;
  font-weight: 800;
  color: #6b7280;
  background: #f3f4f6;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.emp-filter-tabs {
  display: flex;
  gap: 4px;
  background: #f3f4f6;
  padding: 4px;
  border-radius: 12px;
}

.emp-filter-btn {
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}

.emp-filter-btn:hover {
  color: #374151;
  background: #f3f4f6;
}

.emp-filter-active {
  background: #fff;
  color: #111827;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.emp-filter-active:hover {
  color: #111827;
  background: #fff;
}

.emp-view-toggle {
  display: flex;
  gap: 4px;
}

.emp-view-btn {
  padding: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 8px;
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.15s;
}

.emp-view-btn:hover {
  border-color: #d1d5db;
  color: #6b7280;
}

.emp-view-active {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}

/* Grid de Empresas */
.empresas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.empresas-grid.view-list {
  display: block;
}

@media (min-width: 768px) {
  .empresas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .empresas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .emp-list-table {
    font-size: 0.75rem;
  }
  .emp-list-table th,
  .emp-list-table td {
    padding: 10px 12px;
  }
  .emp-list-nome {
    font-size: 0.8125rem;
  }
  .emp-td-email {
    display: none;
  }
}

@media (max-width: 640px) {
  .emp-td-doc,
  .emp-td-fone,
  .emp-td-local {
    display: none;
  }
}

/* Card de Empresa */
.empresa-card {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.empresa-card:hover {
  border-color: #fecaca;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.empresa-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #dc2626;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.empresa-card:hover::after {
  opacity: 1;
}

.empresa-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.empresa-card-nome {
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
  margin: 0;
  line-height: 1.3;
}

.empresa-card-badge {
  font-size: 0.5625rem;
  font-weight: 900;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.badge-ativa {
  background: #dcfce7;
  color: #166534;
}

.badge-inativa {
  background: #f3f4f6;
  color: #6b7280;
}

.empresa-card-info {
  font-size: 0.8125rem;
  color: #6b7280;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.empresa-card-info p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.empresa-card-info svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #9ca3af;
}

.empresa-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}

.empresa-card-segmento {
  font-size: 0.625rem;
  font-weight: 800;
  color: #6b7280;
  background: #f3f4f6;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.empresa-card-actions {
  display: flex;
  gap: 6px;
}

.btn-icon {
  width: 32px;
  height: 32px;
  border: none;
  background: #f9fafb;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: all 0.15s;
}

.btn-icon:hover {
  background: #f3f4f6;
  color: #374151;
}

.btn-icon.danger:hover {
  background: #fef2f2;
  color: #dc2626;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  background: #f9fafb;
  border: 2px dashed #e5e7eb;
  border-radius: 16px;
  transition: all 0.2s ease;
}

.empty-state svg {
  width: 56px;
  height: 56px;
  color: #d1d5db;
  margin-bottom: 16px;
  opacity: 0.6;
}

.empty-state p {
  color: #9ca3af;
  font-size: 0.875rem;
  margin: 0 0 4px;
}

.empty-state .empty-state-hint {
  font-size: 0.75rem;
  color: #b0b7c3;
  margin-top: 4px;
}

/* ===== LIST VIEW (Tabela) ===== */
.emp-list-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.8125rem;
}

.emp-list-table thead {
  background: #f9fafb;
}

.emp-list-table th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border-bottom: 1px solid #e5e7eb;
}

.emp-list-table th.emp-td-actions {
  width: 120px;
}

.emp-list-table tbody tr {
  transition: background 0.15s;
  cursor: pointer;
}

.emp-list-table tbody tr:nth-child(even) {
  background: #fafbfc;
}

.emp-list-table tbody tr:hover {
  background: #f3f4f6;
}

.emp-list-table td {
  padding: 14px 16px;
  vertical-align: middle;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
}

.emp-list-table tbody tr:last-child td {
  border-bottom: none;
}

.emp-td-nome {
  min-width: 180px;
}

.emp-list-nome {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: #111827;
  margin-bottom: 4px;
}

.emp-list-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.emp-list-badge.badge-ativa {
  background: #ecfdf5;
  color: #059669;
}

.emp-list-badge.badge-inativa {
  background: #f3f4f6;
  color: #6b7280;
}

.emp-td-doc,
.emp-td-fone,
.emp-td-email {
  white-space: nowrap;
  font-size: 0.8125rem;
  color: #6b7280;
}

.emp-td-local {
  white-space: nowrap;
  font-size: 0.8125rem;
  color: #6b7280;
}

.emp-td-seg {
  font-size: 0.8125rem;
}

.emp-list-seg {
  display: inline-block;
  background: #f3f4f6;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  color: #374151;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.emp-table-actions {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
}

.emp-td-actions {
  width: 120px;
}

/* ===== MODALS ===== */
.emp-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.emp-modal.is-open {
  display: flex;
}

.emp-modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: -1;
}

.emp-modal-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-height: 90vh;
  overflow-y: auto;
  margin: 32px auto;
  animation: empScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.emp-modal-sm {
  max-width: 440px;
}

.emp-modal-xl {
  max-width: 900px;
}

@keyframes empScaleIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.emp-modal-x {
  position: absolute;
  right: 16px;
  top: 16px;
  padding: 6px;
  border-radius: 8px;
  border: none;
  background: none;
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.15s;
}

.emp-modal-x:hover {
  background: #f3f4f6;
  color: #111827;
}

/* Modal Header */
.emp-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.emp-modal-header > svg {
  color: #6b7280;
  flex-shrink: 0;
  margin-top: 2px;
}

.emp-modal-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  margin: 0;
}

.emp-modal-header p {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 4px 0 0;
}

.emp-mh-icon {
  padding: 10px;
  background: #f3f4f6;
  color: #6b7280;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
}

/* Form */
.emp-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.emp-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.emp-form-group-check {
  justify-content: flex-end;
}

.emp-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .emp-form-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .emp-form-row .emp-form-group-sm {
    grid-column: span 1;
  }
}

.emp-label {
  font-size: 0.6875rem;
  font-weight: 800;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.emp-req {
  color: #dc2626;
}

.emp-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.875rem;
  background: #fff;
  color: #111827;
  outline: none;
  transition: border-color 0.15s;
}

.emp-input:focus {
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.emp-input::placeholder {
  color: #9ca3af;
}

.emp-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.emp-textarea {
  resize: none;
}

.emp-input-group {
  display: flex;
  gap: 8px;
}

.emp-input-group .emp-input {
  flex: 1;
}

.emp-btn-search {
  padding: 10px 14px;
  background: #111827;
  color: #fff;
  border: 1px solid #111827;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.15s;
}

.emp-btn-search:hover {
  background: #1f2937;
}

.emp-feedback {
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.emp-feedback-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.emp-feedback-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.emp-feedback-info {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #1e40af;
}

/* Segment Toggle */
.emp-segment {
  display: flex;
  background: #f3f4f6;
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
}

.emp-seg-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.15s;
}

.emp-seg-active {
  background: #fff;
  color: #111827;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.emp-tipo-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Checkbox */
.emp-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  user-select: none;
}

.emp-checkbox-label input {
  display: none;
}

.emp-checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 6px;
  position: relative;
  transition: all 0.15s;
}

.emp-checkbox-label input:checked + .emp-checkbox-custom {
  background: #dc2626;
  border-color: #dc2626;
}

.emp-checkbox-label input:checked + .emp-checkbox-custom::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Form Actions */
.emp-form-actions {
  display: flex;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
}

.emp-btn-ghost {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.15s;
}

.emp-btn-ghost:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #374151;
}

.emp-btn-full {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: #dc2626;
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.emp-btn-full:hover {
  background: #b91c1c;
  box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.2);
}

.emp-btn-secondary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.emp-btn-secondary:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

/* Button Loading State */
.emp-btn-loading {
  position: relative;
  pointer-events: none;
  color: transparent !important;
}

.emp-btn-loading::after {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: empSpin 0.6s linear infinite;
}

@keyframes empSpin {
  to { transform: rotate(360deg); }
}

/* ===== DOSSIER MODAL ===== */
.emp-dossier-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f3f4f6;
}

.emp-dossier-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.emp-dossier-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #f3f4f6;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emp-dossier-info h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #111827;
  margin: 0;
}

.emp-dossier-info p {
  font-size: 0.8125rem;
  color: #6b7280;
  margin: 4px 0 0;
}

.emp-dossier-badges {
  display: flex;
  gap: 8px;
}

.emp-dossier-badge {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
}

.emp-d-badge-segmento {
  background: #f3f4f6;
  color: #6b7280;
}

/* Dossier Stats */
.emp-dossier-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .emp-dossier-stats {
    grid-template-columns: repeat(6, 1fr);
  }
}

.emp-ds-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #f3f4f6;
  transition: all 0.15s ease;
}

.emp-ds-card:hover {
  border-color: #e5e7eb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.emp-ds-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.emp-ds-blue { background: #f3f4f6; color: #6b7280; }
.emp-ds-green { background: #f0fdf4; color: #16a34a; }
.emp-ds-red { background: #fef2f2; color: #dc2626; }
.emp-ds-orange { background: #fff7ed; color: #ea580c; }

.emp-ds-content {
  display: flex;
  flex-direction: column;
}

.emp-ds-value {
  font-size: 1rem;
  font-weight: 900;
  color: #111827;
}

.emp-ds-label {
  font-size: 0.5625rem;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
}

/* Dossier Tabs */
.emp-dossier-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 16px;
  overflow-x: auto;
}

.emp-tab-btn {
  padding: 10px 16px;
  border: none;
  background: none;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
  white-space: nowrap;
}

.emp-tab-btn:hover {
  color: #111827;
  background: #f3f4f6;
}

.emp-tab-active {
  color: #111827;
  border-bottom-color: #dc2626;
  font-weight: 700;
}

/* Tab Content */
.emp-dossier-content .emp-tab-panel {
  display: none;
}

.emp-dossier-content .emp-tab-active {
  display: block;
}

/* Data Table */
.emp-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.emp-data-table th,
.emp-data-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #f3f4f6;
}

.emp-data-table th {
  font-weight: 700;
  color: #6b7280;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #f9fafb;
}

.emp-data-table tbody tr:nth-child(even) td {
  background: #fafbfc;
}

.emp-data-table tr:hover td {
  background: #fef2f2 !important;
}

/* Fase Badge */
.fase-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 800;
  color: #fff;
}

/* Status Colors */
.status-ativa { color: #16a34a; font-weight: 700; }
.status-ganha { color: #16a34a; font-weight: 800; }
.status-perdida { color: #dc2626; font-weight: 700; }

.emp-contatos-actions {
  margin-bottom: 12px;
}

/* Dados Grid */
.emp-dados-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .emp-dados-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.emp-dados-item {
  background: #f9fafb;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #f3f4f6;
  transition: all 0.15s ease;
}

.emp-dados-item:hover {
  border-color: #e5e7eb;
  background: #f3f4f6;
}

.emp-dados-label {
  font-size: 0.625rem;
  font-weight: 800;
  color: #9ca3af;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.emp-dados-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: #111827;
}

/* Dossier Footer */
.emp-dossier-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #f3f4f6;
  margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .emp-dossier-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .emp-dados-grid {
    grid-template-columns: 1fr;
  }
  
  .emp-form-row {
    grid-template-columns: 1fr;
  }
}