/* Modern CSS Reset & Base Styles */

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

* {
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  background: var(--bg);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Form elements reset */
input,
button,
textarea,
select {
  font: inherit;
  margin: 0; /* Critical for radio/checkbox alignment */
}

button {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  outline: none;
}

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

/* Utilities */
.hidden {
  display: none !important;
}

.link {
  background: transparent;
  border: none;
  color: #7ec8ff;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

#root {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}
