.loader {
  display: block;
  position: relative;
  width: 56px;
  height: 64px;
  margin: 24px auto;
}

.loader--card {
  width: 78px;
  height: 88px;
  margin: 0 auto;
}

.loader.newzdash-loader-ready {
  border: 0;
  border-radius: 0;
  background: none;
  box-sizing: content-box;
  overflow: visible;
}

.loader.newzdash-loader-ready .newzdash-loader__lane {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 16px;
  height: auto;
}

.loader.newzdash-loader-ready .newzdash-loader__lane--middle {
  left: 24px;
}

.loader.newzdash-loader-ready .newzdash-loader__lane--right {
  left: 48px;
}

.loader.newzdash-loader-ready .newzdash-loader__bar {
  position: absolute;
  inset: auto 0 0;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  transition: height 360ms cubic-bezier(0.4, 0.08, 0.2, 1),
    transform 360ms cubic-bezier(0.4, 0.08, 0.2, 1);
  transform-origin: center bottom;
}

.loader.newzdash-loader-ready .newzdash-loader__lane--left .newzdash-loader__bar {
  background: #353a54;
}

.loader.newzdash-loader-ready .newzdash-loader__lane--middle .newzdash-loader__bar {
  background: linear-gradient(180deg, #a944c8 0%, #7a3db7 100%);
}

.loader.newzdash-loader-ready .newzdash-loader__lane--right .newzdash-loader__bar {
  background: linear-gradient(180deg, #3777c2 0%, #395fb9 100%);
}

.loader.newzdash-loader-ready .newzdash-loader__dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: #fff;
  transition: top 360ms cubic-bezier(0.4, 0.08, 0.2, 1),
    background 220ms ease;
}

.loader--datatable {
  margin: 0 auto;
}

.newzdash-loader-card {
  display: grid;
  grid-template-columns: minmax(170px, 220px) 1px minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  width: min(820px, calc(100% - 24px));
  padding: 30px 36px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0px 12px 24px 0px #1018281A;
  backdrop-filter: blur(12px);
}

.newzdash-loader-card__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 170px;
  text-align: center;
}

.newzdash-loader-card__caption {
  font-size: 22px;
  line-height: 1.35;
  font-weight: 500;
  color: #5e6470;
}

.newzdash-loader-card__divider {
  align-self: stretch;
  width: 1px;
  background: rgba(16, 24, 40, 0.08);
}

.newzdash-loader-card__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
  min-height: 170px;
}

.newzdash-loader-card__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: #7a3db7;
}

.newzdash-loader-card__icon {
  width: 29px;
  height: 32px;
  flex: 0 0 29px;
  background: url("../../images/book.png") center center / contain no-repeat;
}

.newzdash-loader-card__message {
  min-height: 4.5em;
  font-size: 14px;
  line-height: 1.45;
  color: #1f2432;
}

.newzdash-loader-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 24px 16px;
}

.newzdash-loader-page .newzdash-loader-card {
  width: min(560px, 100%);
}

.newzdash-loader-card--compact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(260px, calc(100% - 32px));
  padding: 24px 28px;
}

.newzdash-loader-card--compact .newzdash-loader-card__visual {
  gap: 18px;
  min-height: 0;
}

.newzdash-loader-card--compact .newzdash-loader-card__caption {
  font-size: 14px;
  font-weight:normal;
}

.mock_block {
  position: relative;
  min-height: 320px;
}

.mock_block__skeleton {
  position: relative;
  z-index: 1;
}

.mock_block__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
}

.mock_block__overlay .newzdash-loader-card {
  width: min(980px, 100%);
}

.mock_block__overlay .newzdash-loader-card--compact {
  width: min(220px, calc(100% - 32px));
}
.newzdash-loader-card__eyebrow span {
  font-size: 20px;
}
.mock_block__overlay .loader {
  margin: 0 auto;
}

.newzdash-block-reloading-host {
  position: relative;
}

.newzdash-block-reloading {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(2px);
}

.newzdash-block-reloading .newzdash-loader-card--compact {
  width: min(260px, calc(100% - 32px));
}

.dataTables_wrapper .dataTables_processing {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  color: transparent;
  font-size: 0;
  line-height: 0;
  z-index: 3;
  overflow: visible;
  transform: translate(-50%, -50%);
}

.dataTables_wrapper .dataTables_processing .newzdash-loader-card {
  width: 100%;
}

.dataTables_wrapper .dataTables_processing .newzdash-loader-card--compact {
  width: min(260px, calc(100vw - 32px));
}

.dataTables_wrapper .dataTables_processing .loader {
  margin: 0 auto;
}
.newzdash-loader-card__caption {
  font-size: 16px;
  font-weight: normal;
}
@media (prefers-reduced-motion: reduce) {
  .loader.newzdash-loader-ready .newzdash-loader__bar,
  .loader.newzdash-loader-ready .newzdash-loader__dot {
    transition: none;
  }
}

@media screen and (max-width: 767px) {
  .newzdash-loader-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 20px;
  }

  .newzdash-loader-card__divider {
    display: none;
  }

  .newzdash-loader-card__visual,
  .newzdash-loader-card__content {
    min-height: 0;
  }

  .newzdash-loader-card__content,
  .newzdash-loader-card__visual {
    text-align: center;
    align-items: center;
  }

  .newzdash-loader-card__message {
    min-height: 0;
    font-size: 18px;
  }


}
