/* ==========================================================================
   SCHWAB Cargo Logistik — Modern CSS Reset
   ========================================================================== */

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

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

/* Prevent font-size inflation on mobile */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Smooth scrolling with reduced-motion respect */
html:focus-within {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
}

/* Media elements as block, responsive by default */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
}

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

/* Inherit fonts on form elements */
input,
textarea,
select,
optgroup {
  font: inherit;
  color: inherit;
}

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

/* Logical text alignment */
body {
  text-align: start;
}

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

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

/* Remove default hr styles */
hr {
  border: none;
  border-block-start: 1px solid var(--color-border, rgba(255, 255, 255, 0.1));
  inline-size: 100%;
}

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

/* Remove default summary marker */
summary {
  cursor: pointer;
}

/* Remove default dialog styles */
dialog {
  padding: 0;
  border: none;
}

/* Remove default search cancel button */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
