/*
 * app.css — Global styles and Tailwind extensions for ATS Scorer
 * Breakpoint: all screens (base styles, Tailwind handles responsiveness)
 */

*, *::before, *::after { box-sizing: border-box; }

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 3px; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Upload zone file input overlay fix */
#upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

/* Focus ring for accessibility */
#upload-zone:focus-visible {
  outline: 3px solid #0ea5e9;
  outline-offset: 2px;
}

/* Circular score ring base */
circle.circle-progress {
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tab active state */
.tab-btn.active {
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  color: #111827;
}

/* Block canvas responsive */
#block-canvas {
  min-height: 400px;
}

@media (min-width: 768px) {
  #block-canvas { height: 600px !important; }
}

@media (max-width: 640px) {
  #block-canvas { height: 350px !important; }
}
