/* Critical CSS for splash screen - loaded before JavaScript */
/* This prevents FOUC (Flash of Unstyled Content) on initial page load */

/* Remove default browser margins/padding */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}

#splash {
  background: #212529;
}

.landing-icon {
  background-image: url('/pwa/icon-512.png');
  background-size: 128px 128px;
  background-repeat: no-repeat;
  width: 128px;
  height: 128px;
}

/* Critical Bootstrap utilities for splash screen */
/* These are duplicated here to ensure immediate styling before JS loads */

.d-flex {
  display: flex !important;
}

.d-none {
  display: none !important;
}

.flex-column {
  flex-direction: column !important;
}

.justify-content-center {
  justify-content: center !important;
}

.align-items-center {
  align-items: center !important;
}

.vh-100 {
  height: 100vh !important;
}

.text-white {
  color: #fff !important;
}

.text-center {
  text-align: center !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.m-2 {
  margin: 0.5rem !important;
}

/* Button styles for splash screen reload button */
.btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.375rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary {
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.btn-primary:hover {
  color: #fff;
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

.btn[type="button"] {
  appearance: button;
}
