/* =================================================
   FACTURAS
================================================= */
.card__filters {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-soft);
}

.card__filters input {
  width: 100%;
  max-width: 340px;
}

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

.actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.actions .btn {
  padding: 6px 10px;
  font-size: 12px;
}

/* Estados visuales */
.badge--warning {
  background: #fff7ed;
  color: #9a3412;
}

.badge--success {
  background: #ecfdf5;
  color: #065f46;
}

.badge--danger {
  background: #fef2f2;
  color: #7f1d1d;
}

/* Responsive */
@media (max-width: 640px) {
  .card__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .actions {
    width: 100%;
    justify-content: space-between;
  }
}
