* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #1F2A44;
  overflow: hidden;
}

#pdf-view {
  position: fixed;
  inset: 0;
  background: #2b2b2b;
}

#pdf-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

#pdf-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
  color: #EFF2EF;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}

#pdf-fallback a {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 10px;
  background: #E8AA42;
  color: #1F2A44;
  text-decoration: none;
  font-weight: 600;
}

.corner-link {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(31, 42, 68, 0.72);
  color: #E8AA42;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  z-index: 10;
}
