    body {
  font-family: 'Open Sans', Tahoma, Geneva, Verdana, sans-serif;
  padding: 24px;
  max-width: 700px;
  margin: auto;
  background-color: #f8f9fa;
  color: #333;
}

h4.progress-headline {
    margin: 0 0 5px;
    padding-left: 10px;
    font-size: .95em;
}

h2 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 24px;
}

form {
  background-color: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

legend {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #1a1a1a;
    padding-bottom: 5px;
    border-bottom: 4px solid #F4784C;
    display: block;
    width: 100%;
}

label {
  display: block;
  margin-top: 12px;
  font-weight: 500;
}

input[type="text"],
select {
  width: 100%;
  padding: 10px 12px;
  margin-top: 6px;
  margin-bottom: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
  box-sizing: border-box;
  background: #E7F2F8;
}

input[type="radio"] {
  margin-right: 8px;
}

a {
  font-size: 14px;
  display: inline-block;
  margin-top: 8px;
  color: #99300A;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline; color: black;
}

.question-slide {
  display: none;
}

.question-slide.active {
  display: block;
}

#progressBar {
  width: 100%;
  background-color: #e0e0e0;
  border-radius: 10px;
  margin-bottom: 24px;
  height: 16px;
}

#progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, #4CAF50, #81C784);
  transition: width 0.3s ease-in-out;
  border-radius: 10px;
}

button {
  margin: 20px 12px 0 0;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  background-color: #ffca72;
  color: black;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

button:hover {
  background-color: black; color:white;
}


button[type="submit"] {
  background-color: #007BFF;
  color: black;
}

button[type="submit"]:hover {
  background-color: #000;
  color: white;
} 

.button-row {
  display: flex;
  justify-content: flex-end;
}

.button-row_spanish {
  display: flex;
  justify-content: flex-end;
}
.button-row_english {
  display: flex;
  justify-content: flex-end;
}




.button {
    margin: 19px 12px 0 0;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    background-color: #ffca72;
    color: black;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}
.button:hover {text-decoration: none; color: white; background: black;}

.error {
  color: #d9534f;
  font-size: 14px;
  margin-top: 8px;
  display: none;
}
label[for="consent"] {display: inline-block; padding-right: 10px; font-size: 14px;}
.question-slide h4{
    margin-bottom: 12px;
    margin-top: 0;
    color: #1a1a1a;
    padding-bottom: 5px;
    border-bottom: 4px solid #F4784C;
}


/* ======== adjustment for spanish / english consent =========== */
label[for="consentEn"] {display: inline-block; padding-right: 10px; font-size: 14px;}
label[for="consentEs"] {display: inline-block; padding-right: 10px; font-size: 14px;}



.question-slide h5 {
    font-size: .95em;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 10px;
}

label.radio {
    display: grid;
    margin-top: 12px;
    font-weight: 500;
    grid-template-columns: 40px 1fr;
    align-items: center;
    gap: 10px;
}

input[type="radio"] {
    width: 32px; height: 32px;
}

.terms-of-use{margin-top: 15px;}

#resultContainer span {
    background: #dbdbdb;
    height: 15px;
    width: 15px;
    display: inline-block;
    margin-left: 15px;
    border-radius: 50%;
}

.follow-up {color: #F4784C;}

.footer {
    width: 180px;
    height: 160px;
    background: #F4784C;
    text-align: center;
    margin: 60px auto;
    border-radius: 50%;
    padding-top: 20px;
    box-shadow: 6px 7px 5px -6px rgba(0, 0, 0, 0.49);
    -webkit-box-shadow: 6px 7px 5px -6px rgba(0, 0, 0, 0.49);
    -moz-box-shadow: 6px 7px 5px -6px rgba(0,0,0,0.49);
}

div#resultContainer {
    text-align: center;
}


/* ==================== Mobile adjustments ================== */

@media (max-width: 600px){
   h2{font-size: 1.3em;}

}