.main {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2em 1em;
}
.form-section {
}
h1 {
  text-align: center;
  color: #333;
}
.form {
  max-width: 600px;
  margin: 2em auto;
  background: #fff;
  padding: 2em;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.form label {
  font-weight: bold;
  margin-bottom: 0.5em;
  text-align: left;
  color: #333;
}
.form input {
  width: 100%;
  padding: 0.75em;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
  outline: none;
  transition: border-color 0.3s ease;
}
.form input:focus,
.form textarea:focus {
  border-color: #008cba;
}
.form-row {
  display: flex;
  gap: 1em;
}
.form-row .form-group {
  flex: 1;
  margin-bottom: 1em;
  padding-left: 2%;
  padding-right: 2%;
}
.form button {
  background-color: #008cba;
  border: none;
  color: white;
  padding: 1.2em;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  border-radius: 50px;
  text-transform: uppercase;
  width: 100%;
  transition: all 0.3s ease;
}
.form button:hover {
  background-color: #006f94;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
a {
  background-color: transparent;
  border: 1px solid #008cba;
  color: #008cba;
  padding: 0.8em;
  font-size: 1em;
  font-weight: normal;
  text-decoration: none;
  cursor: pointer;
  border-radius: 8px;
  width: 100%;
  text-align: center;
  transition: all 0.3s ease;
  display: inline-block;
}
a:hover {
  background-color: #008cba;
  color: #fff;
}
.form .link-buttons {
  display: flex;
  gap: 1em;
  margin-top: 1em;
}
.form .link-buttons a {
  flex: 1;
}
.form-group {
  display: flex;
  flex-direction: column;
  padding-left: 2%;
  padding-right: 2%;
}
#checkbox-label {
  padding-left: 2%;
  padding-right: 2%;
}
input[type="checkbox"] {
  float: left;
}
.form-group.full-label label {
  font-weight: bold;
  margin-bottom: 0.5em;
  text-align: left;
  color: #333;
}
.form-group.gender-options {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1em;
  flex-wrap: wrap;
  align-items: center;
}
.form-group.gender-options input[type="radio"] {
  display: none;
}
.form-group.gender-options label {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 0 1rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.18s ease;
  background: #fff;
  box-sizing: border-box;
  font-size: 1rem;
}

.form-group.gender-options input[type="radio"]:checked + label {
  background-color: #008cba;
  color: #fff;
  border-color: #008cba;
}

.form-group.checkbox-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.form-group.checkbox-option input[type="checkbox"] {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: 0;
}
.form-group.checkbox-option label {
  margin: 0;
  font-size: 1rem;
  cursor: pointer;
}
.back-button {
  margin-top: 1em;
  text-align: center;
  max-width: 600px;
}