:root {
  --sht-blue: #0d47a1;
  --sht-orange: #ff6f00;
  --sht-bg: #ffffff;
  --sht-text: #0b1b34;
  --sht-overlay: rgba(0, 0, 0, 0.55);
  --sht-radius: 18px;
  --sht-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.sht-outage {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.sht-outage.is-open {
  display: block;
}

.sht-outage__overlay {
  position: absolute;
  inset: 0;
  background: var(--sht-overlay);
  backdrop-filter: blur(2px);
  opacity: 0;
  animation: sht-fade 0.18s ease forwards;
}

.sht-outage__dialog {
  position: relative;
  margin: 8vh auto 0;
  max-width: 560px;
  background: var(--sht-bg);
  color: var(--sht-text);
  border-radius: var(--sht-radius);
  box-shadow: var(--sht-shadow);
  padding: 22px 22px 16px;
  outline: none;
  transform: translateY(10px);
  opacity: 0;
  animation: sht-pop 0.22s ease-out 0.06s forwards;
}

.sht-outage__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: color-mix(in oklab, var(--sht-orange) 18%, white);
  border-radius: 12px;
  margin-bottom: 10px;
}

.sht-outage__icon svg {
  display: block;
}

.sht-outage__title {
  font-size: 1.35rem;
  margin: 0 34px 6px 0;
  line-height: 1.25;
}

.sht-outage__desc {
  margin: 0 0 14px;
}

.sht-outage__cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.sht-outage__btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
  transition:
    transform 0.06s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sht-outage__btn:active {
  transform: translateY(1px);
}

.sht-outage__btn--primary {
  background: var(--sht-blue);
  color: #fff;
  box-shadow: 0 6px 20px rgba(13, 71, 161, 0.25);
}

.sht-outage__btn--primary:hover {
  filter: brightness(1.05);
}

.sht-outage__btn--ghost {
  background: transparent;
  border-color: color-mix(in oklab, var(--sht-blue) 20%, transparent);
  color: var(--sht-blue);
}

.sht-outage__btn--ghost:hover {
  background: color-mix(in oklab, var(--sht-blue) 8%, #fff);
}

.sht-outage__footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 3px solid color-mix(in oklab, var(--sht-orange) 55%, transparent);
  display: flex;
  justify-content: flex-end;
}

.sht-outage__link {
  background: none;
  border: none;
  color: var(--sht-blue);
  cursor: pointer;
  padding: 6px 8px;
  text-decoration: underline;
}

.sht-outage__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: #f5f7fb;
  color: #333;
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.sht-outage__close:hover {
  background: #eef1f8;
}

@media (max-width: 560px) {
  .sht-outage__dialog {
    margin: 4vh 12px 0;
    padding: 18px 16px 12px;
  }
}

@keyframes sht-fade {
  to {
    opacity: 1;
  }
}

@keyframes sht-pop {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

body.sht-no-scroll {
  overflow: hidden;
  touch-action: none;
}
