@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html,
body {
  display: flex;
  height: 100%;
  width: 100%;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

html {
  height: -webkit-fill-available;
}

/* a blue color as a generic focus style */
button:focus-visible {
  outline: 2px solid #4a90e2 !important;
  outline: -webkit-focus-ring-color auto 5px !important;
}
a {
  text-decoration: none;
}

/* Плавная прокрутка */
html {
  scroll-behavior: smooth;
}

/* Улучшенная читаемость текста */
body {
  text-rendering: optimizeLegibility;
}

/* Отключение выделения текста при долгом нажатии на iOS */
* {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* Разрешаем выделение текста для номера карты и других текстовых элементов */
.text-wrapper-3,
input,
textarea {
  -webkit-user-select: text;
  user-select: text;
}