/* ===== Estilos de tabla tipo "Acción Comercial" ===== */

.table-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-top: 1rem;
}

.table-container {
  overflow-x: auto;
}

.tabla-ac {
  width: 100%;
  border-collapse: collapse;
}

.tabla-ac thead {
  background: #F9FAFB;
  border-bottom: 2px solid #E5E7EB;
}

.tabla-ac th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.875rem;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tabla-ac td {
  padding: 1rem;
  border-bottom: 1px solid #F3F4F6;
  color: #4B5563;
  font-size: 0.875rem;
  vertical-align: middle;
}

.tabla-ac tbody tr {
  transition: background 0.2s;
}

.tabla-ac tbody tr:hover {
  background: #F9FAFB;
}

.tabla-ac tbody tr:last-child td {
  border-bottom: none;
}

/* ===== Badges ===== */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-success {
  background: #D1FAE5;
  color: #065F46;
}

/* ===== Acciones ===== */
.actions-cell {
  text-align: right;
}

.action-btn {
  background: none;
  border: none;
  color: #10B981;
  cursor: pointer;
  padding: 0.25rem;
  font-size: 1.25rem;
  transition: all 0.2s;
}

.action-btn:hover {
  color: #059669;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .tabla-ac th,
  .tabla-ac td {
    padding: 0.75rem 0.5rem;
    font-size: 0.75rem;
  }
}


/* si el toggle usa .dropdown-toggle, ocultar caret */
.action-btn.dropdown-toggle::after {
  display: none !important;
}

/* tamaño cómodo del menú */
.dropdown-menu {
  min-width: 180px;
}

/* opcional: estilo hover acorde a tu paleta */
.dropdown-item:hover {
  background-color: #F3F4F6;
}
