/* Utility classes complementarias a Tailwind */

/* ── Sidebar collapsible ─────────────────────────────────────── */
.sidebar-panel {
  transition: width 0.28s ease-in-out, min-width 0.28s ease-in-out;
  overflow: hidden;
}

.btn-primary {
  @apply inline-flex items-center justify-center px-4 py-2 bg-indigo-600 text-white text-sm font-medium rounded-lg hover:bg-indigo-700 disabled:opacity-50 disabled:cursor-not-allowed transition;
}

.btn-secondary {
  @apply inline-flex items-center justify-center px-4 py-2 bg-white border border-gray-300 text-gray-700 text-sm font-medium rounded-lg hover:bg-gray-50 disabled:opacity-50 transition;
}

.btn-danger {
  @apply inline-flex items-center justify-center px-4 py-2 bg-red-600 text-white text-sm font-medium rounded-lg hover:bg-red-700 disabled:opacity-50 disabled:cursor-not-allowed transition;
}

.form-label {
  @apply block text-sm font-medium text-gray-700 mb-1;
}

.form-input {
  @apply w-full border border-gray-300 rounded-lg px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-indigo-400 focus:border-transparent transition;
}

.badge-green {
  @apply inline-block text-xs font-semibold bg-green-100 text-green-700 px-2 py-0.5 rounded-full;
}

.badge-yellow {
  @apply inline-block text-xs font-semibold bg-yellow-100 text-yellow-700 px-2 py-0.5 rounded-full;
}
