#spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition-property: opacity;
  transition-duration: 0.5s;
  transition-timing-function: ease-in;
  z-index: 2147483647;
}

#spinner.close {
  opacity: 0;
}

.spinner-grid {
  width: 200px;
  height: 200px;
  transform: translate(calc(50vw - 100px), calc(50vh - 100px)) rotate(-45deg);
}

.spinner-grid .square {
  width: 33%;
  height: 33%;
  background-color: rgba(130, 207, 234, 0.8);
  float: left;
  animation: squareGridScale 0.8s infinite ease-in-out;
}

.spinner-grid .square1 {
  animation-delay: 0.2s;
}

.spinner-grid .square2 {
  animation-delay: 0.3s;
}

.spinner-grid .square3 {
  animation-delay: 0.4s;
}

.spinner-grid .square4 {
  animation-delay: 0.1s;
}

.spinner-grid .square5 {
  animation-delay: 0.2s;
}

.spinner-grid .square6 {
  animation-delay: 0.3s;
}

.spinner-grid .square7 {
  animation-delay: 0s;
}

.spinner-grid .square8 {
  animation-delay: 0.1s;
}

.spinner-grid .square9 {
  animation-delay: 0.2s;
}

@keyframes squareGridScale {
  0%,
  70%,
  100% {
    transform: scale3D(1, 1, 1);
  }

  35% {
    transform: scale3D(0, 0, 1);
  }
}
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

#menu-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;
  padding: 1rem;
  background-color: #ffffff;
  box-sizing: border-box;
  visibility: hidden;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.button {
  margin: 0 0.25rem;
  font-family: Roboto, mcdUI, sans-serif;
  font-size: 0.875rem;
  font-weight: bold;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 1.846;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  padding: 0.25rem 1rem;
  touch-action: manipulation;
  user-select: none;
  cursor: pointer;
  border: rgba(0, 0, 0, 0.121) 1px solid;
  border-radius: 0.188rem;
  transition: background 0.2s;
  background-image: none;
  background-position: 50%;
  background-size: 0 0;
  background-repeat: no-repeat;
  min-width: 5rem;
  border-color: transparent;
  color: #01579b;
  outline: none !important;
}

.button:active {
  outline: 0;
  background-color: #e6e6e6;
  background-image: radial-gradient(circle, #d4d4d4 10%, transparent 11%);
  background-size: 1000% 1000%;
  box-shadow: inset 0 0.188rem 0.313rem rgba(0, 0, 0, 0.125);
}

.button:disabled {
  background-color: #e6e6e6;
  opacity: 0.7;
  cursor: not-allowed;
}

.primary-button {
  background-color: #e6e6e6;
}

.primary-button:hover {
  background-color: #f0f0f0;
}

.secondary-button {
  background-color: transparent;
}

.secondary-button:hover {
  background-color: #f0f0f0;
  text-decoration: none;
}

.button.round-button {
  padding: 0;
  margin: 0;
  border-radius: 50%;
  position: absolute;
  right: 1rem;
  width: 36px;
  height: 36px;
  min-width: unset;
}
body,
html {
  height: 100%;
  margin: 0;
  font-family:
    "Lato",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol";
}

#error-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-color: #f9f9f9;
}

.error-content {
  text-align: center;
  padding: 2rem;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 90%;
}

.error-content h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.error-content p {
  font-size: 1rem;
  color: #666;
  word-wrap: break-word;
  white-space: pre-line;
}

.support-text {
  font-size: 0.9rem;
  color: #888;
  margin-top: 1rem;
  margin-bottom: 0;
  padding: 0;
}

.support-text a {
  color: #01579b;
  text-decoration: none;
}

.support-text a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .error-content {
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
    width: 100%;
    padding: 1rem;
  }
}
