/**
 * @file
 * Styles for the Qlik fallback modal.
 *
 * The fallback is positioned absolutely over the .iframe-wrapper (which is
 * position: relative in iframe-styles.scss).
 */
.iframe-wrapper {
  position: relative;
}
.iframe-wrapper.qlik-loading {
  min-height: 360px;
}

.qlik-iframe-clip {
  overflow: hidden;
  border-radius: 1.5rem;
  transition: opacity 0.6s ease;
}
.qlik-iframe-clip iframe {
  display: block;
}
.qlik-iframe-clip--loading {
  opacity: 0;
  visibility: hidden;
}
.qlik-iframe-clip--ready {
  opacity: 1;
  visibility: visible;
}

.qlik-skeleton {
  position: absolute;
  inset: 0;
  z-index: 6;
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  border: 1px solid #f0f0f0;
  border-radius: 1.5rem;
  opacity: 1;
  transition: opacity 0.6s ease;
  background: linear-gradient(90deg, #fafafa 25%, #f2f2f2 37%, #fafafa 63%);
  background-size: 400% 100%;
  -webkit-animation: qlik-skeleton-shimmer 2s ease infinite;
          animation: qlik-skeleton-shimmer 2s ease infinite;
}
.qlik-skeleton__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.qlik-skeleton__logo svg,
.qlik-skeleton__logo img {
  display: block;
  width: 180px;
  max-width: 60vw;
  height: auto;
}
.qlik-skeleton__throbber {
  width: 2rem;
  height: 2rem;
  border: 3px solid #d8e3ea;
  border-top-color: #0a73a8;
  border-radius: 50%;
  -webkit-animation: qlik-throbber-spin 0.8s linear infinite;
          animation: qlik-throbber-spin 0.8s linear infinite;
}
.qlik-skeleton__text {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #4b5563;
}
.qlik-skeleton--hidden {
  opacity: 0;
  pointer-events: none;
}
.qlik-skeleton--error {
  background: #eef2f4;
  -webkit-animation: none;
          animation: none;
}
.qlik-skeleton--error .qlik-skeleton__inner {
  display: none;
}

@-webkit-keyframes qlik-skeleton-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}

@keyframes qlik-skeleton-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}
@-webkit-keyframes qlik-throbber-spin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@keyframes qlik-throbber-spin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .qlik-skeleton {
    -webkit-animation: none;
            animation: none;
  }
  .qlik-skeleton__throbber {
    -webkit-animation-duration: 1.6s;
            animation-duration: 1.6s;
  }
}
.qlik-fallback {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: calc(100% - 3rem);
  max-width: 32rem;
  max-height: calc(100% - 2rem);
  overflow-y: auto;
  padding: 2.5rem 1.5rem;
  background-color: #f1f9fd;
  border-radius: 1.25rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  z-index: 10;
}
.qlik-fallback[hidden] {
  display: none;
}
.qlik-fallback__close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: transparent;
  border: 0;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #1f2937;
}
.qlik-fallback__close:hover, .qlik-fallback__close:focus {
  color: #000;
}
.qlik-fallback__title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}
.qlik-fallback__body {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #1f2937;
}
.qlik-fallback__link {
  color: #0a73a8;
  text-decoration: underline;
}
.qlik-fallback__link:hover {
  text-decoration: none;
}
.qlik-fallback__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.qlik-fallback__btn {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.qlik-fallback__btn--primary {
  background-color: #0a73a8;
  color: #fff;
}
.qlik-fallback__btn--primary:hover, .qlik-fallback__btn--primary:focus {
  background-color: #085c87;
}
.qlik-fallback__btn--secondary {
  background-color: transparent;
  color: #0a73a8;
  border: 1px solid #0a73a8;
}
.qlik-fallback__btn--secondary:hover, .qlik-fallback__btn--secondary:focus {
  background-color: #e6f2f8;
}

/*# sourceMappingURL=qlik-fallback.css.map*/