.main-content {
  min-height: calc(100vh - 68px);
  background: #f8f9fa;
  display: flex;
  flex-direction: column;
}

.footer-placeholder {
  min-height: 1px;
}

.server-check-overlay,
.server-error-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
  background: var(--surface-ground, #f8f9fa);
  color: var(--text-color, #333);
}

.spinner-large {
  width: 48px;
  height: 48px;
  border: 4px solid var(--surface-border, #dee2e6);
  border-top-color: var(--primary-color, #007bff);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 1rem;
}

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

.error-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.server-error-overlay h2 {
  margin: 0 0 0.5rem;
  font-size: var(--font-size-2xl, 1.25rem);
}

.server-error-overlay p {
  margin: 0 0 1.5rem;
  opacity: 0.7;
  max-width: 300px;
}

.retry-btn {
  padding: 0.75rem 2rem;
  border: none;
  border-radius: var(--radius-sm, 8px);
  background: var(--primary-color, #007bff);
  color: #fff;
  font-size: var(--font-size-lg, 1rem);
  cursor: pointer;
  transition: opacity 0.2s;

  &:hover {
    opacity: 0.85;
  }
}
