/* Hide standard fullscreen indicator */
.ajax-progress-fullscreen {
  display: none !important;
}

/* Styles for semi-transparent overlay */
.custom-ajax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 1000;
  display: none;
  pointer-events: none;
}
.opacity-loading-myaccount {
  opacity: 0.7;
}

/* Container for area that will be updated */
.ajax-update-container {
  position: relative;
}

.ajax-update-container.ajax-loading .custom-ajax-overlay {
  display: block;
}

.ajax-update-container.ajax-loading .data-rows {
  opacity: 0.3;
  /*pointer-events: none; */
}

/*  Block only clicks but not scrolling */
.ajax-update-container.ajax-loading a,
.ajax-update-container.ajax-loading button,
.ajax-update-container.ajax-loading input[type="submit"],
.ajax-update-container.ajax-loading .form-submit {
  pointer-events: none;
}

/* Полностью отключаем плавную прокрутку во время AJAX */
html {
  scroll-behavior: auto !important;
}

body {
  scroll-behavior: auto !important;
}

/* Предотвращаем любые анимации прокрутки */
* {
  scroll-behavior: auto !important;
}
