/* ── Guión Técnico · Borja y Tef ── */

/* Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Base reset & globals */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #f7f8fb;
  color: #1a1d2b;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

textarea, input, button {
  font-family: inherit;
}

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

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.18); }

/* Selection */
::selection {
  background: rgba(79,106,246,0.2);
  color: inherit;
}

/* Focus ring */
*:focus-visible {
  outline: 2px solid rgba(79,106,246,0.5);
  outline-offset: 2px;
}

/* Smooth transitions */
input, textarea, button {
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

/* ── Mobile responsive ── */
@media (max-width: 480px) {
  body { font-size: 14px; }

  /* Kanban columns stack vertically */
  .kanban-cols { flex-direction: column !important; overflow-x: visible !important; }
  .kanban-col  { width: 100% !important; min-width: 0 !important; min-height: auto !important; }

  /* Touch targets minimum 40px */
  button { min-height: 36px; }

  /* Hide status text, keep dot only */
  .status-text { display: none !important; }
  .status-pill { padding: 4px !important; }

  /* Reduce padding on containers */
  input[type="range"] { height: 28px; }
}
