/* General Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
}

.form-all {
  width: 80%;
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 8px;
}

/* Header Styles */
.form-header {
  text-align: center;
  margin-bottom: 20px;
}

.form-header h2 {
  font-size: 26px;
  color: #000000;
  margin: 0;
}

/* Form Line Styles */
.form-line {
  margin-bottom: 20px;
}

/* Label Styles */
.form-label {
  font-size: 16px;
  color: #333;
  display: block;
  margin-bottom: 8px;
}

/* Input Styles */
.form-textbox {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 1px;
}

.form-textbox:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Sub Label Styles */
.form-sub-label {
  font-size: 14px;
  color: #666;
  margin-top: 4px;
}

/* Select Styles */
.form-dropdown {
  width: calc(100% - 22px);
  height: 40px;
	padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Button Styles */
.form-submit-button {
  background-color: #5a5a5a;
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Required Field Indicator */
.form-required {
  color: #e74c3c;
}

/* Hide Placeholder Labels */
.form-sub-label-container {
  position: relative;
}

/* Hide placeholder text on focus */
.form-textbox::-webkit-input-placeholder {
  color: transparent;
}

.form-textbox:-ms-input-placeholder {
  color: transparent;
}

.form-textbox::placeholder {
  color: transparent;
}

/* Flexbox container for radio buttons */
.form-radio-group {
  display: inline;
  align-items: center;
}

/* Flexbox item for individual radio button and label */
.form-radio-item {
  display: inline;
  align-items: left;
  margin-right: 15px;
  /* Adjust spacing between radio buttons */
}

.form-radio-item input[type="radio"] {
  margin-right: 5px;
  /* Space between radio button and label text */
}
/* Flex Container for Name Inputs */
.name-fields {
  display: inline;
  gap: 10px;

  /* Space between fields */
}

.name-fields .form-textbox {
  flex: 1;
}

.name-fields .form-sub-label-container {
  flex: 1;
}

/* Misc */
li {
  list-style: none;
}