html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

#components-reconnect-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 11000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.45);
}

#components-reconnect-modal.components-reconnect-show,
#components-reconnect-modal.components-reconnect-retrying,
#components-reconnect-modal.components-reconnect-failed,
#components-reconnect-modal.components-reconnect-rejected {
  display: flex;
}

.blazor-reconnect-dialog {
  display: flex;
  width: min(32rem, 100%);
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid #d5d7da;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: #1f2328;
}

.blazor-reconnect-title {
  margin-bottom: 0.25rem;
  font-size: 1rem;
  font-weight: 700;
}

.blazor-reconnect-message,
.blazor-reconnect-reload {
  display: none;
}

#components-reconnect-modal.components-reconnect-show .blazor-reconnect-retrying,
#components-reconnect-modal.components-reconnect-retrying .blazor-reconnect-retrying,
#components-reconnect-modal.components-reconnect-failed .blazor-reconnect-failed,
#components-reconnect-modal.components-reconnect-rejected .blazor-reconnect-rejected,
#components-reconnect-modal.components-reconnect-failed .blazor-reconnect-reload,
#components-reconnect-modal.components-reconnect-rejected .blazor-reconnect-reload {
  display: inline-flex;
}

#components-reconnect-modal.components-reconnect-failed .blazor-reconnect-spinner,
#components-reconnect-modal.components-reconnect-rejected .blazor-reconnect-spinner {
  display: none;
}

.blazor-reconnect-spinner {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  border: 3px solid #d5d7da;
  border-top-color: #e90029;
  border-radius: 50%;
  animation: blazor-reconnect-spin 0.8s linear infinite;
}

.blazor-reconnect-reload {
  flex: 0 0 auto;
  margin-left: auto;
}

@keyframes blazor-reconnect-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 576px) {
  .blazor-reconnect-dialog {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .blazor-reconnect-reload {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }
}
