/*
KernWi-Fi shared footer v42.

This component supplies one common bottom toolbar across public pages.
Page-specific notices and related links remain outside this component.
*/

#shared-footer.site-footer {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 1 !important;
  clear: both;
  transform: none !important;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid rgba(118, 209, 255, 0.34);
  color: #b9cde0;
  background:
    linear-gradient(
      180deg,
      rgba(8, 31, 53, 0.98),
      rgba(4, 19, 34, 1)
    );
  box-sizing: border-box;
}

#shared-footer.site-footer[aria-busy="true"] {
  min-height: 64px;
}

#shared-footer .footer-v42-inner {
  width: min(calc(100% - 72px), 960px);
  min-height: 56px;
  margin: 0 auto;
  padding: 6px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-sizing: border-box;
}

#shared-footer .footer-v42-item {
  min-height: 38px;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 9px;
  color: #d9eaf7;
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

#shared-footer .footer-v42-item:hover {
  color: #ffffff;
  background: rgba(118, 209, 255, 0.08);
}

#shared-footer .footer-v42-item:focus-visible {
  color: #ffffff;
  outline: 2px solid #76d1ff;
  outline-offset: 3px;
  background: rgba(118, 209, 255, 0.1);
}

#shared-footer .footer-v42-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  fill: none;
  stroke: #76d1ff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#shared-footer .footer-v42-separator {
  color: rgba(118, 209, 255, 0.42);
  font-size: 0.72rem;
  line-height: 1;
}

#shared-footer .footer-v42-new-window {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  border: 0;
  white-space: nowrap;
  clip-path: inset(50%);
}

#shared-footer .footer-v42-error {
  width: min(calc(100% - 72px), 1120px);
  min-height: 84px;
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #91a8bd;
  font-size: 0.8rem;
  text-align: center;
  box-sizing: border-box;
}

@media (max-width: 1040px) {
  #shared-footer .footer-v42-inner {
    flex-wrap: wrap;
    gap: 6px 12px;
  }

  #shared-footer .footer-v42-item {
    white-space: normal;
  }
}



@media (max-width: 700px) {
  #shared-footer.site-footer {
    margin-top: 24px !important;
    padding-bottom: 0 !important;
  }

  #shared-footer.site-footer {
  }

#shared-footer.site-footer {  }

  #shared-footer .footer-v42-address {
    grid-column: 1 / -1;
  }

  #shared-footer.site-footer[aria-busy="true"] {
    min-height: 0;
  }

  #shared-footer .footer-v42-inner {
    width: calc(100% - 36px);
    min-height: 0;
    padding: 18px 0 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #shared-footer .footer-v42-item {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 10px;
    justify-content: flex-start;
    gap: 8px;
    font-size: 0.76rem;
    line-height: 1.25;
    border: 1px solid rgba(118, 209, 255, 0.15);
    border-radius: 12px;
    background: rgba(8, 36, 61, 0.62);
    box-sizing: border-box;
    white-space: normal;
    text-align: left;
  }

  #shared-footer .footer-v42-item span:not(.footer-v42-new-window) {
    min-width: 0;
  }

  #shared-footer .footer-v42-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  #shared-footer .footer-v42-separator {
    display: none;
  }

  #shared-footer .footer-v42-error {
    width: calc(100% - 36px);
    min-height: 70px;
  }
}


@media (prefers-reduced-motion: reduce) {
  #shared-footer .footer-v42-item {
    transition: none;
  }
}

/* Shared footer copyright */
#shared-footer .footer-v42-copyright {
  width: min(calc(100% - 36px), 1120px);
  margin: 0 auto;
  padding: 0 0 10px;
  color: rgba(185, 205, 224, 0.68);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  box-sizing: border-box;
}

@media (max-width: 700px) {
  #shared-footer .footer-v42-copyright {
    padding: 0 0 14px;
    font-size: 0.66rem;
  }
}
