#bifrost-icp-filing {
  box-sizing: border-box;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2147483000;
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px max(16px, env(safe-area-inset-right))
    max(10px, env(safe-area-inset-bottom))
    max(16px, env(safe-area-inset-left));
  border-top: 1px solid rgb(226 232 240 / 90%);
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 -4px 16px rgb(15 23 42 / 8%);
  color: #334155;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  backdrop-filter: blur(8px);
}

#bifrost-icp-filing[hidden] {
  display: none !important;
}

#bifrost-icp-filing a {
  color: #1d4ed8;
  font-weight: 600;
  text-decoration: none;
}

#bifrost-icp-filing a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

#bifrost-icp-filing a:focus-visible {
  border-radius: 3px;
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.dark #bifrost-icp-filing {
  border-top-color: rgb(51 65 85 / 90%);
  background: rgb(15 23 42 / 96%);
  box-shadow: 0 -4px 16px rgb(0 0 0 / 30%);
}

.dark #bifrost-icp-filing a {
  color: #93c5fd;
}

@media (max-width: 480px) {
  #bifrost-icp-filing {
    min-height: 40px;
    font-size: 13px;
  }
}
