/* Custom styles que complementan Tailwind CDN. */

.tab-btn {
  font-weight: 500;
  color: #475569;
  transition: background-color 120ms, color 120ms;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: capitalize;
  letter-spacing: 0.01em;
}

/* Estados de proyecto */
.status-confirmado {
  background: #dbeafe;
  color: #1e40af;
}
.status-ongoing {
  background: #dcfce7;
  color: #166534;
}
.status-closing {
  background: #fef3c7;
  color: #92400e;
}
.status-validated {
  background: #f3f4f6;
  color: #4b5563;
}
.status-todo {
  background: #f1f5f9;
  color: #64748b;
}

/* Estados de factura */
.status-pagado {
  background: #dcfce7;
  color: #166534;
}
.status-pendiente {
  background: #fef3c7;
  color: #92400e;
}
.status-vencido {
  background: #fee2e2;
  color: #991b1b;
}
.status-anulado {
  background: #f1f5f9;
  color: #94a3b8;
  text-decoration: line-through;
}

/* Tabular nums para alineación de columnas € */
.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Code styling */
code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", monospace;
  font-size: 0.875em;
}

/* Highlight de búsqueda */
mark {
  background-color: #fef3c7;
  color: #92400e;
  padding: 1px 2px;
  border-radius: 2px;
}
