html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

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

body {
  margin: 0;
  font-family: 'Nunito Sans', sans-serif;
  background: #f8fafc;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

main {
  flex: 1 0 auto;
}

html.dark body {
  background-color: #000;
  background-image: linear-gradient(to bottom, #012a4a, #000);
  background-repeat: no-repeat;
  background-size: 100% 16rem;
}

html.dark .va-header-gradient {
  background: transparent;
}

html:not(.dark) .index-logo {
  filter: brightness(0) saturate(100%) invert(14%) sepia(48%) saturate(1844%) hue-rotate(186deg) brightness(92%) contrast(101%);
}

html.dark .search-card,
html.dark .details-card {
  background: #01223d;
  border-color: transparent;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
}

html.dark .search-card .search-heading,
html.dark .search-card label,
html.dark .details-card .card-heading,
html.dark .details-card label,
html.dark .details-card .disposition-table th {
  color: #ffffff;
}

html.dark .search-card .search-input {
  background: rgba(255, 255, 255, 0.05);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
}

html.dark .search-card .search-input::placeholder {
  color: #94a3b8;
}

html.dark .search-card .search-input:focus {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

html.dark .index-divider {
  background-color: #013767;
}

html.dark .details-card .card-divider {
  background-color: rgba(255, 255, 255, 0.15);
}

html.dark .details-card .contact-item,
html.dark .details-card .contact-item strong,
html.dark .details-card .empty-text {
  color: #cbd5e1;
}

.va-header-gradient {
  background: linear-gradient(to bottom, #013767, #01223d);
  padding: 2rem 0;
}

.va-header-gradient.home-header .header-logo {
  visibility: hidden;
  pointer-events: none;
}

.header-logo {
  height: 36px;
  width: auto;
}

.theme-toggle {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

html.dark .theme-toggle .icon-sun {
  display: block;
}

html.dark .theme-toggle .icon-moon {
  display: none;
}

.theme-toggle:hover {
  color: #ffffff;
}

.va-footer-gradient {
  background: linear-gradient(to top, #013767, #01223d);
}

html.dark .va-footer-gradient {
  background: linear-gradient(to top, #011a30, #01223d);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}
