/* ============================================================
   QASHO PHARMACEUTICALS — Modern CSS Reset
   reset.css
   ============================================================ */

/* Box sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Root & HTML */
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  tab-size: 4;
}

/* Body */
body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* Form elements */
input, button, textarea, select {
  font: inherit;
  color: inherit;
}

/* Paragraphs */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* Lists */
ul, ol {
  list-style: none;
}

/* Anchors */
a {
  text-decoration: none;
  color: inherit;
}

/* Buttons */
button {
  background: none;
  border: none;
  cursor: pointer;
}

/* Tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Fieldsets */
fieldset {
  border: none;
}

/* Remove default textarea resize */
textarea {
  resize: vertical;
}

/* Remove number input arrows */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb {
  background: var(--color-primary-400);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--color-primary-600); }
* { scrollbar-width: thin; scrollbar-color: var(--color-primary-400) var(--color-bg); }

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--color-accent-500);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Selection */
::selection {
  background: var(--color-primary-200);
  color: var(--color-primary-900);
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: var(--z-toast);
  padding: var(--space-2) var(--space-4);
  background: var(--color-accent-500);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: var(--space-4);
}
