body {
  margin: 0;
  font-size: 32px;
  font-family: 'Helvetica', sans-serif;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #007acc;
  color: white;
}

header {
  width: 10%;
  padding: 15px 10px;
  background-color: #e0f2ff;
  font-size: 20px;
  font-weight: normal;
  text-align: left;
  border-bottom: 1px solid #ccc;
  color: #007acc;
}

.content {
  flex: 1;
  display: inline-block;
  justify-content: center;
  padding: 60px 20vw;
}

.text-block {
  max-width: 900px;
  width: 100%;
  text-align: left;
  font-size: 45px;
  line-height: 1.5;
  padding: 0 15px;
}

#final-form-line {
    padding: 45px 15px;
}

.text-block p {
  margin-bottom: 24px;
}

.custom-dropdown {
  position: relative;
  display: inline-block;
  font-family: 'Helvetica', sans-serif;
  font-style: italic;
  font-size: 1em;
  color: white;
  border-bottom: 2px solid white;
  margin: 0 8px;
}

.custom-dropdown .selected {
  background: transparent;
  cursor: pointer;
}

.custom-dropdown .selected::after {
  content: " ▾";
  font-size: 0.8em;
  margin-left: 0.3em;
}

.custom-dropdown .dropdown-options {
  position: absolute;
  left: 0;
  top: 100%;
  background: white;
  color: black;
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  min-width: 100%;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.custom-dropdown .dropdown-options li {
  padding: 8px 12px;
  cursor: pointer;
  font-style: italic;
}

.custom-dropdown .dropdown-options li:hover {
  background-color: #f0f0f0;
}

.inline-dropdown {
  display: inline-block;
  vertical-align: middle;
}

.inline-text {
  display: inline;
  vertical-align: middle;
}

footer {
  width: 100%;
  background-color: #e0f2ff;
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
  color: #003366;
  border-top: 1px solid #ccc;
}

/* Results styles */

.results {
  display: none;
  width: 100%;
  overflow: auto;
  background-color: white;
}

.results-content {
  background-color: white;
  margin: 40px auto;
  padding: 20px;
  border-radius: 12px;
  width: 80%;
  max-width: 700px;
  color: #003366;
  text-align: center;
  position: relative;
  font-size: 22px;
  animation: fadeIn 0.3s;
}

.close {
  color: #007acc;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #005f99;
  text-decoration: none;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
