/**
 * reset.css
 * BIXOR Exchange - Modern CSS Reset
 *
 * Based on modern best practices (Josh Comeau's CSS Reset + additions).
 * Normalises browser defaults so we start from a consistent baseline.
 */

/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin and padding */
* {
  margin: 0;
  padding: 0;
}

/* 3. Allow percentage-based heights in the application */
html,
body {
  height: 100%;
}

/* 4. Improve text rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

/* 6. Remove built-in form typography styles */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* 7. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 8. Remove list styles on ul/ol elements with a list role */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* 9. Remove default list styles */
ul,
ol {
  list-style: none;
}

/* 10. Remove default link styles */
a {
  text-decoration: none;
  color: inherit;
}

/* 11. Remove default button styles */
button {
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* 12. Remove default fieldset styles */
fieldset {
  border: none;
}

/* 13. Remove default table styles */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 14. Remove default hr styles */
hr {
  border: none;
  border-top: 1px solid currentColor;
}

/* 15. Create a root stacking context */
#app,
#root {
  isolation: isolate;
}

/* 16. Prevent iOS tap highlight */
a,
button,
[role='button'],
input,
label,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

/* 17. Ensure images without alt text are visually hidden from screen readers */
img:not([alt]) {
  filter: blur(0);
}

/* 18. Remove default appearance for inputs */
input[type='search']::-webkit-search-decoration,
input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-results-button,
input[type='search']::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

/* 19. Remove number input spinners */
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type='number'] {
  -moz-appearance: textfield;
}

/* 20. Smooth scrolling (respects prefers-reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
