.bootstrap-fallback {
  min-height: 100vh;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 24px;
  color: #111827;
  background: #f5f7fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-bootstrap-fallback] {
  visibility: hidden;
  opacity: 0;
  animation: bootstrap-fallback-reveal 0s linear 4000ms forwards;
}

@keyframes bootstrap-fallback-reveal {
  to {
    visibility: visible;
    opacity: 1;
  }
}

.bootstrap-fallback__panel {
  width: min(100%, 560px);
  box-sizing: border-box;
  padding: 32px;
  border: 1px solid #d9e2f1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.bootstrap-fallback__brand {
  margin-bottom: 24px;
  color: #172033;
  font-size: 18px;
  font-weight: 800;
}

.bootstrap-fallback__brand strong {
  color: #2563eb;
}

.bootstrap-fallback h1 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.2;
}

.bootstrap-fallback p {
  margin: 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.6;
}

.bootstrap-fallback__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.bootstrap-fallback__actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 16px;
  border-radius: 6px;
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

.bootstrap-fallback__actions .bootstrap-fallback__primary {
  color: #ffffff;
  background: #2563eb;
}

@media (max-width: 480px) {
  .bootstrap-fallback {
    padding: 16px;
  }

  .bootstrap-fallback__panel {
    padding: 24px;
  }

  .bootstrap-fallback h1 {
    font-size: 24px;
  }
}
