.referral-card {
  background: #fff;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
}
.form-control {
  background: #ededed !important;
  border: 0 none !important;
  border: 1px solid #a7a8a9 !important;
  border-radius: 12px !important;
}

.margine-heading .container {
  max-width: 1280px;
  margin: auto;
}

#formsubmit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 30px 14px 30px;
  background: #0f172a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
}

.text a {
  color: #404040;
}

#esi_level {
  display: block;
  max-width: 60px;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  appearance: none;
  color: #212529;
  background: #ededed !important;
  border: 0 none !important;
  border-bottom: 1px solid #000 !important;
  border-radius: 0 !important;
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}
.wpcf7 form h4 {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 600;
  /* border-bottom: 1px solid #ccc;
  padding-bottom: 5px; */
}

.wpcf7-checkbox {
  display: block;
  margin: 5px 0;
}

.wpcf7-checkbox label {
  display: block;
  margin-bottom: 6px;
  cursor: pointer;
}

/* .wpcf7-submit {
  background: #2c3e50;
  color: #fff;
  padding: 10px 25px;
  border: none;
  border-radius: 4px;
}

.wpcf7-submit:hover {
  background: #1a252f;
} */
/* ------------------ */
.form-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.form-title {
  min-width: 260px; /* controls left column width */
  font-size: 16px;
  font-weight: 600;
}

.form-options {
  width: 100%;
}

/* Make checkboxes vertical */
.form-options .wpcf7-checkbox {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-options .wpcf7-list-item {
  margin: 0;
}

/* Clean label alignment */
.form-options label {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 767px) {
  .form-row {
    flex-direction: column;
  }

  .form-title {
    min-width: 100%;
  }
}
.checkbox-with-input p {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 8px;
}

.checkbox-with-input .wpcf7-checkbox {
  margin: 0;
}

.single-input {
  max-width: 400px !important;
  border: none !important;
  border-bottom: 1px solid #000 !important;
  padding: 4px 6px !important;
}

/* Keep other checkboxes clean */
.form-options .wpcf7-checkbox {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
/* --------------------REQUESTED SERVICE/PROCEDURE(S):-------------------- */
.form-row {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.form-title {
  min-width: 300px;
  font-weight: 700;
}

.form-options {
  flex: 1;
}

/* Each line */
.option-row p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

/* Remove CF7 spacing */
.option-row .wpcf7-checkbox {
  margin: 0;
}

.option-row .wpcf7-list-item {
  margin: 0;
}

/* Labels */
.option-row label {
  display: flex;
  align-items: center;
  gap: 5px;
}

.small-input {
  width: 100px !important;
  border: none !important;
  border-bottom: 1px solid #000 !important;
}

/* Indentation like PDF */
.indent {
  margin-left: 25px;
}
.option-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  width: 100%;
}
/* Make only this label bold */
.option-row:first-child label {
  font-weight: 600;
}

@media (max-width: 767px) {
.checkbox-with-input p {
     align-items: flex-start;
    flex-direction: column;
}
.checkbox-with-input p br{
  display: none;
}
.pdf-fram .form-check{
  padding-left: 0px;
}
.pdf-fram p{
    text-align: left !important;
    margin-top: 0px;
}
.pdf-fram  .option-row{
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0px;

}
.pdf-fram .form-check .wpcf7-list-item {
    display: block;
    margin: 0px;
}

.pdf-fram .wpcf7-spinner{
  position: absolute;
}
.single-input{
  border: 1px solid #000 !important;
}
.small-input{
  width: 100% !important;
  border: 1px solid #000 !important;
}
}