:root {
  --color: #304567;
  --header-h: 72px;
  --footer-h: 92px;
}

/* Space for fixed header/footer */
body {
  padding-top: 75px;
  padding-bottom: 75px;
  font-size: 14px;
}

/* Header */
.header {
  position: fixed;
  color:#ffffff;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background-color: var(--color);
  display: flex;
  align-items: center;
  padding: 0 18px;
  z-index: 1000;
}

/* Footer */
.footer {
  position: fixed;
  inset: auto 0 0 0; /* stick to bottom */
  background: var(--color);
  padding: 0px 18px; /* adjust as needed */
  display: flex;
  align-items: center; /* vertical centering if single line */
  justify-content: flex-start;
  box-sizing: border-box;
}

.header img {
  width: 54px;
  height: 54px;
  margin-right: 14px;
}

/* Ensure all form controls have consistent look */
.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

#submit_button {
  margin-bottom: 20px; /* add space below button */
}

.form-control:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}

/* suggestion dropdown styling */
.suggestions {
  position: absolute;
  z-index: 1200;
  width: 100%;
  max-height: 260px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: .25rem;
  box-shadow: 0 .25rem .5rem rgba(0,0,0,.08);
}

/* Ensure dropdown arrow stays on the right */
.dropdown-toggle::after {
  position: absolute;
  right: 0.75rem; /* right padding */
  top: 50%;
  transform: translateY(-50%);
}

.invalid {
  border: 1px solid #dc3545 !important;
  background-color: #fff5f5;
}

#captcha_wrapper.invalid {
  border: 1px solid #dc3545; /* Bootstrap danger */
  border-radius: 4px;
  padding: 8px;
}

#captcha_wrapper {
  display: inline-block;
}

/* Confirmation page */

.confirmation-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.confirmation-text {
  color: #495057;
  font-size: 0.95rem;
  max-width: 680px;
  line-height: 1.5;
}



.suggestion-item { padding: .5rem .75rem; cursor: pointer; }
.suggestion-item:hover, .suggestion-item.active { background-color: #f1f5f9; }
.position-relative { position: relative; } /* ensure suggestions position */