/* ============================================================
   Ingeplant ERP — Estilos custom (complemento de Tailwind)
   ============================================================ */

/* Animaciones */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fade-in 0.4s ease-out;
}

/* Loading spinner reusable */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top-color: #1e6b3a;
  animation: spin 0.8s linear infinite;
}

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

/* Inputs base (cuando agreguemos formularios) */
.input-base {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background-color: #fff;
  font-size: 0.875rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input-base:focus {
  outline: none;
  border-color: #1e6b3a;
  box-shadow: 0 0 0 3px rgba(30, 107, 58, 0.15);
}

/* Botones base */
.btn-primary {
  background-color: #1e6b3a;
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: background-color 0.15s;
}

.btn-primary:hover {
  background-color: #185a30;
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Print styles para CoAs y reportes */
@media print {
  .no-print {
    display: none !important;
  }
}
