/* Estilos personalizados para Bitacora2 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Scrollbar estilizada */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Transiciones suaves */
.transition-all-fast {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efectos de vidrio y gradientes */
.glass-panel {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

/* Visor de PDF embebido responsive */
.pdf-viewer-frame {
  width: 100%;
  height: 75vh;
  border: none;
  border-radius: 0.5rem;
}

@media (max-width: 640px) {
  .pdf-viewer-frame {
    height: 60vh;
  }
}

/* Animación de entrada de tarjetas */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.25s ease-out forwards;
}

/* Drag and Drop hover visual */
.drag-over {
  border-color: #3b82f6 !important;
  background-color: #eff6ff !important;
}

/* Toasts flotantes */
#toast-container {
  pointer-events: none;
}

#toast-container > div {
  pointer-events: auto;
}
