body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f1f4f8;
  color: #222;
  margin: 0;
}

main {
  max-width: 700px;
  margin: 40px auto;
  padding: 0 20px;
}

h1 {
  text-align: center;
  color: #174f9c;
  margin-bottom: 5px;
}

.description {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
}

section {
  background-color: white;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

h2 {
  margin-top: 0;
  border-bottom: 2px solid #174f9c;
  padding-bottom: 8px;
}

label,
.label {
  display: block;
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="month"],
input[type="file"],
textarea {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

textarea {
  height: 80px;
  resize: vertical;
}

.row {
  display: flex;
  gap: 20px;
}

.field {
  flex: 1;
}

.help {
  font-size: 13px;
  color: #666;
  margin-top: 5px;
}

#imageBox {
  height: 200px;
  border: 2px dashed #aaa;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fafafa;
  overflow: hidden;
}

#imageBox p {
  color: #777;
}

#imagePreview {
  display: none;
  max-width: 100%;
  max-height: 100%;
}

.radioGroup {
  display: flex;
  gap: 25px;
}

.radioGroup label {
  font-weight: normal;
  margin-top: 0;
}

.terms {
  font-weight: normal;
  margin-top: 20px;
}

#errorMessage {
  color: red;
  font-weight: bold;
}

button {
  width: 100%;
  padding: 12px;
  background-color: #174f9c;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

button:hover {
  background-color: #103b75;
}

.result {
  background-color: white;
  text-align: center;
  margin-top: 100px;
  padding: 40px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.result a {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #174f9c;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

@media (max-width: 600px) {

  .row {
    display: block;
  }

}