:root {
  color-scheme: light;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: #fff;
}

body {
  overflow: hidden;
  color: #5f6368;
  font-family: Arial, "Helvetica Neue", sans-serif;
}

.loading-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: #fff;
}

.loading-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  transform: translate(-50%, -50%);
  color: #7a7f85;
}

.loading-spinner {
  width: 26px;
  height: 26px;
  border: 3px solid #e1e3e6;
  border-top-color: #70757a;
  border-radius: 50%;
  animation: page-loading-spin .8s linear infinite;
}

.loading-label {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .01em;
}

.verify-window,
.verify-window.is-active {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(320px, calc(100% - 32px));
  min-height: 76px;
  align-items: center;
  margin: 0;
  padding: 11px;
  transform: translate(-50%, -50%);
  border: 1px solid #d5d8dc;
  border-radius: 4px;
  background: #fafafa;
  color: #303134;
  box-shadow: 0 2px 8px rgba(60, 64, 67, .12);
}

.verify-window {
  display: none;
}

.verify-window.is-active {
  display: flex;
}

.verify-window.is-active + .loading-indicator {
  display: none;
}

.verify-window:hover {
  background: #f8f9fa;
}

.verify-copy {
  color: #303134;
  font-size: 14px;
}

.legal-links {
  margin-left: auto;
  color: #777d84;
  font-size: 8px;
  text-align: right;
}

@keyframes page-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 540px) {
  .loading-indicator {
    top: 46%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loading-spinner {
    animation-duration: 1.5s;
  }
}
