.form-container {
  width: 75%;
  margin: 70px auto 70px;
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0px 4px 30px 0px #2A28791A;
}

.form-container .h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #1A1A1A;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 0;
  font-weight: 600;
  color: #1A1A1A;
  font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  background: #01010103;
  box-shadow: 0px 4px 4px 0px #01010105;
  border: 1px solid #0101011A;
  width: 100%;
  height: 55px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 20px;
  font-family: "Montserrat", sans-serif;
  color: #2C2C2C;
  font-weight: 500;
  padding: 10px 20px;
  resize: none;
  margin-top: 5px;
  outline: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #3498db;
  outline: none;
  box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

.form-group textarea {
  height: 140px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
}

.radio-group {
  display: flex;
  gap: 20px;
}

.radio-option {
  display: flex;
  align-items: center;
}

.radio-option input {
  margin-right: 8px;
}

.sub-section {
  margin-left: 25px;
  border-left: 3px solid #3498db;
  padding-left: 15px;
  margin-top: 15px;
  margin-bottom: 20px;
}

.section-title {
  font-weight: bold;
  margin: 25px 0 15px;
  color: #1A1A1A;
  font-size: 18px;
  padding-bottom: 5px;
  border-bottom: 2px solid #eee;
}


.error {
  color: #e74c3c !important;
  font-size: 14px !important;
  margin-top: 5px;
}

.success-message {
  background-color: #2ecc71;
  color: white;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
}

.submitted-data {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 4px;
  margin-top: 30px;
  border: 1px solid #eee;
}

.submitted-data h2 {
  margin-bottom: 15px;
  color: #1A1A1A;
}

.submitted-data pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  background-color: white;
  padding: 15px;
  border-radius: 4px;
  border: 1px solid #ddd;
}

@media (max-width: 768px) {
  .form-container {
    padding: 20px;
    max-width: 90%;
  }

  .radio-group {
    flex-direction: column;
    gap: 10px;
  }

  .form-group input[type="text"],
  .form-group input[type="date"],
  .form-group input[type="email"],
  .form-group input[type="number"],
  .form-group select {
    height: 45px;
    border-radius: 8px;
  }
  .form-group textarea {
    border-radius: 8px;
    height: 80px;
    resize: vertical;
  }
}
.page-template-registration .um.um-register {
  max-width: 100%;
}

.page-template-registration .um.um-register .um-col-1 #um_field_997_first_name {
  width: 49%;
  float: left;
}

.page-template-registration .um.um-register .um-col-1 #um_field_997_last_name {
  width: 49%;
  float: right;
}

.page-template-registration .um.um-register .um-col-1 #um_field_997_mobile_no {
  clear: both;
}
@media (min-width: 768px) {
  .page-template-registration .form-container {
      width: 730px;
  }
}
@media (max-width: 767px) {
  .page-template-registration .form-container {
    max-width: 100%;
    width: 93%;
    border-radius: 12px;
  }
  .page-template-registration .um.um-register .um-col-1 #um_field_997_first_name,
  .page-template-registration .um.um-register .um-col-1 #um_field_997_last_name {
      width: 100%;
      float:none;
  }
      
  .page-template-registration .form-container .h2 {
      margin-bottom: 10px;
  }
  .page-template-registration .um input[type=submit].um-button,
  .page-template-registration .um .um-button.um-alt {
      padding: 10px 15px !important;
  }
}
