/* ============================================================
   PRAKTIKO - style_base-reset.css
   Reset, Scrollbar, Typografie-Helper, Page-Wrapper, Container, Mobile-Input-Zoom
   Extrahiert aus style_global.css (siehe technische_dokumentation.md)
   ============================================================ */

/* ── Reset & Base ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-ink);
  background: var(--color-surface-2);
  line-height: var(--leading-normal);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  touch-action: manipulation;
}

button,
input,
select,
textarea,
a {
  touch-action: manipulation;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
}

ul,
ol {
  list-style: none;
}

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-surface-3);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary-light);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-surface-3);
}

/* ── Typography helpers ────────────────────────────────────── */
.font-display {
  font-family: var(--font-display);
}

/* ── Page Wrapper ───────────────────────────────────────────── */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* ── Container ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

/* ── Mobile Input Auto-Zoom Prevention (iOS Safari / Mobile Browsers) ── */
@media screen and (max-width: 991px) {

  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]),
  input[type="text"],
  input[type="search"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="url"],
  input[type="number"],
  select,
  textarea,
  .form-input,
  .form-textarea,
  .form-select,
  .filter-input,
  .header-search input,
  #globalSearchInput,
  #ccSearchInput,
  .applications-search input {
    font-size: 16px !important;
  }
}
