.container {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}
.form-group {
  margin-bottom: 20px;
}
label {
  font-weight: bold;
}
.input-container {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.input-container input[type="text"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.input-container input[type="email"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.input-container input[type="number"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  /* Firefox */
  -moz-appearance: textfield;
}
.unit-label {
  margin-left: 10px;
  color: #666;
  font-weight: normal;
}
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: "Montserrat";
  font-size: 1rem;
}

.submit-button {
  background-color: #2f6e9b;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.reset-button {
  background-color: #9b2f2f;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.submit-button:hover {
  color: #000;
  background-color: #e0e4e8;
  transition: all 0.3s ease;
}
.reset-button:hover {
  color: #000;
  background-color: #955572;
  transition: all 0.3s ease;
}

.space-evenly {
  display: flex;
  justify-content: space-between;
}
/* Style for checkboxes */
.input-container input[type="checkbox"] {
  width: auto; /* Adjust the width as needed */
  margin-right: 10px; /* Spacing between checkbox and label */
}

/* Style for the checked state of checkboxes */
.input-container input[type="checkbox"]:checked + .checkbox-label::before {
  content: "✔"; /* You can use any character or image for the checkmark */
  color: #007bff; /* Color for the checkmark */
  font-weight: bold;
}
/* Style error messages for the entire form */
ul.errorlist {
  list-style: none;
  color: red;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

/* Style individual error messages */
ul.errorlist li {
  margin-top: 5px; /* Add some space between error messages */
}

/* Style the form fields with errors within the field container */
.input-container input.error {
  border: 2px solid red; /* Add a red border to fields with errors */
}

/* Style the labels of fields with errors within the field container */
.input-container label.error {
  color: red; /* Change label text color to red for fields with errors */
}
.optional-fields-container {
  background-color: #dfe3e7;
  border-radius: 10px;
  overflow: hidden;
  padding: 10px;
  box-shadow: 0px 5px 5px rgb(0, 0, 0, 0.1);
}

button.collapsible {
  border: none;
  background-color: #dfe3e7;
  width: 100%;
  text-align: left;
  margin-bottom: 10px;
  font-weight: 900;
  font-size: 18px;
}

.optional-fields {
  display: block;
  overflow: hidden;
  height: 0px;
  transition: all 0.3s ease-in-out;
}

.optional-fields-active {
  display: block;
  height: auto;
  transition: all 0.3s ease-in-out;
}
.collapsible:after {
  content: "\002B"; /* Unicode character for "plus" sign (+) */
  font-size: 18px;
  font-weight: bold;
  color: black;
  float: right;
  margin-left: 5px;
}

.collapsible.active:after {
  content: "\2212"; /* Unicode character for "minus" sign (-) */
}
