html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.root {
  flex-direction: column;
}


body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: url('../assets/images/desktopBack.png') no-repeat center center fixed;
  background-size: cover;
  color: rgb(95, 95, 95);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: var(--footer-height);
}

.body.modal-open>*:not(.modal):not(#toast-container):not(#loader) {
  pointer-events: none;
  /* disable all interaction */
  user-select: none;
  /* prevent selection */
  filter: blur(3px);
  transition: filter 0.3s ease;
}

.input-league-name {
  position: relative;
  width: 100%;
}

input,
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  background-color: rgba(255, 255, 255, 0.03) !important;
  color: #ffffff !important;
  border: 1px solid #444 !important;
  border-radius: 6px !important;

  /* --- KEY PART: force text color persistence --- */
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff !important;

  /* --- Remove Chrome yellow flash & animation --- */
  -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.03) inset !important;
  box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.03) inset !important;
  transition: background-color 9999s ease-in-out 0s !important;
}



/* Mobile */
@media (max-width: 480px) {
  body {
    margin: 0;
    font-family: Arial, sans-serif;
    min-height: 100vh;
    position: relative;
    /* -webkit-overflow-scrolling: touch;  */
    overscroll-behavior-y: contain;
    /* prevent “bounce” chaining */
    scroll-behavior: smooth;
  }

  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/images/mobileBack.png') no-repeat center center;
    background-size: cover;
    z-index: -1;
    /* sit behind all content */
  }
}