:root {
  --bg-base: #0a0a0a;
  --accent-blue: #007aff;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background-color: var(--bg-base);
  color: #fff;
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-mono,
code {
  font-family: "IBM Plex Mono", Menlo, Monaco, Consolas, monospace;
}

.font-display {
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.02em;
}

.font-sans {
  font-family: "IBM Plex Sans", sans-serif;
}

.grain::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.05  0 0 0 0 0.05  0 0 0 0 0.05  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.05;
  mix-blend-mode: overlay;
  z-index: 1;
}

.wave-bg {
  background-image:
    radial-gradient(ellipse at 10% 0%, rgba(0, 122, 255, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 90% 100%, rgba(0, 122, 255, 0.05) 0%, transparent 40%);
}

@keyframes dash-glow {
  0%, 100% { border-color: rgba(0, 122, 255, 0.35); }
  50% { border-color: rgba(0, 122, 255, 0.85); }
}

.dropzone-active {
  animation: dash-glow 1.8s ease-in-out infinite;
  background: #0d1220 !important;
}

@keyframes breath {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1); }
}

.pulse-dot { animation: breath 1.4s ease-in-out infinite; }

::selection {
  background: rgba(0, 122, 255, 0.4);
  color: #fff;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.08); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.16); }

.file-row .row-actions {
  opacity: 0;
  transform: translateX(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.file-row:hover .row-actions,
.file-row:focus-within .row-actions {
  opacity: 1;
  transform: translateX(0);
}

.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
