html,
body {
    height: 100%;
    width: 100%;
    background-color: #FFFFFF;
}

body.theme-dark {
    background-color: #111;
}

/* Lightweight shell until Flutter loads (minimal paint / layout vs. old animated preloader). */
.preloader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.25s ease-out;
}

.theme-dark .preloader {
  background: linear-gradient(135deg, #0f172a 0%, #134e4a 100%);
}

.preloader-spinner {
  inline-size: 44px;
  block-size: 44px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: preloader-spin 0.75s linear infinite;
}

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

.preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 1199px) {.header {display: none}}

.header {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  inline-size: 100%;
}
.header-container {
  max-inline-size: 1200px;
  margin-inline: auto;
  padding: 1.28rem 1.6rem;
  background-color: #fff;
  box-shadow: 0px 6px 12px -3px rgba(4, 97, 165, 0.1);
  border-radius: 0 0 0.625rem 0.625rem;
}

.theme-dark .header-container {
  background-color: #111;
}
.header .logo {
  max-height: 30px;

}
.placeholder {
  block-size: 0.825rem;
  inline-size: 3rem;
  background-color: #F5F5F5;
  border-radius: 0.3rem;
}

.theme-dark .placeholder {
  background-color: #111;
}


.placeholder-wide {
  inline-size: 12rem;
}

.d-flex {
  display: flex;
}
.align-items-center {
  align-items: center;
}
.justify-content-center {
  justify-content: center;
}
.justify-content-between {
  justify-content: space-between;
}
.flex-column {
  flex-direction: column;
}
.gap-3 {
  gap: 1rem;
}
.gap-4 {
  gap: 1.5rem;
}
.gap-5 {
  gap: 3rem;
}