.search-container {
  max-width: 1200px;
  margin: 0 auto 20px;
}

.search-box {
  width: 100%;
  padding: 12px 40px;
  border: 1px solid #e0e0e0;
  border-radius: 25px;
  font-size: 16px;
  background: white
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><path d="M21 21l-4.35-4.35"/></svg>')
    no-repeat 15px center;
  background-size: 20px;
}

.mri-search-container {
  i {
    left: unset !important;
    right: 15px !important;
  }
}

.input-search-mri {
  padding: 0 !important;
}

.search-box:focus {
  outline: none;
  border-color: #681e77;
  box-shadow: 4px 4px 3px 0px rgba(0, 0, 0, 0.25);
}

.mri-container {
  display: grid !important;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  height: fit-content;
  margin-top: 40px;
}
@media (min-width: 576px) {
  .mri-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 991px) {
  .mri-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

.mri-product-card {
  border-radius: 10px;
  border: 1px solid #681e77;
  overflow: hidden;
  box-shadow: 4px 4px 3px 0px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s;
  padding: 20px;
  min-height: 160px;
}
.mri-product-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 5px;
}
.product-card:hover {
  transform: translateY(-2px);
}

.mri-product-image img {
  max-width: 65px;
  max-height: 65px;
  object-fit: cover;
  mix-blend-mode: multiply;
  border-radius: 10px;
}

.product-info {
  padding: 15px;
}

.mri-product-name {
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mri-product-price {
  color: #681e77;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.mri-btn {
  margin: 0;
  padding-left: 20px;
  padding-right: 20px;
  font-weight: 700;
}

.btn-add {
  background-color: #681e77;
  color: white;
}

.btn-remove {
  background-color: white;
  color: #fe5e00;
}
.btn-remove:hover {
  background-color: #681e77 !important;
  color: white;
}

.btn:hover {
  opacity: 0.9;
}

/*  .in-cart {
   background-color: #fe5e00;
   color: white;
   .mri-product-price {
     color: white;
   }
 } */
.in-cart {
  background:radial-gradient(231% 135.8% at 0.9% 2.98%, rgba(254, 84, 0, 0.17) 34.9%, rgba(254, 84, 0, 0.09) 85.9%);
}

.show-more {
  display: block;
  width: 200px;
  margin: 30px auto;
  padding: 12px 24px;
  background-color: #681e77;
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.show-more:hover {
  background-color: #fe5e00;
}

/* Adding animation for smoother transitions */
.product-card {
  transition: all 0.3s ease-in-out;
}

/* form */

.td-title {
  min-width: 300px !important;
}

.form-container {
  max-width: 500px;
  margin: 2rem auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

  form {
    em.error.help-block,
    em#g-recaptcha-error-rfp {
      font-size: 12px;
      font-family:  "Lato", serif;
      text-transform: capitalize;
      font-weight: 600;
      color: #e1020280;
    }
    em#referral-error {
      position: absolute;
      bottom: 0px;
      width: 100%;
      left: 0px;
    }
    .radio-err-rel {
      position: relative;
    }
    .iti.iti--allow-dropdown.iti--separate-dial-code {
      width: 100%;

      .iti__country-list {
        border-radius: 0.375rem;
        background-color: #ebf2f3;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        border: var(--bs-border-width) solid var(--bs-border-color);
      }

      span.iti__country-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 200px;
        display: inline-block;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.5;
      }

      .iti__selected-flag {
        background-color: #d9d9d9;
        border-radius: 0.375rem 0px 0px 0.375rem;
      }
    }

    .iti__selected-flag {
      height: 39px;

      @media (max-width: 640px) {
        height: 39px;
      }
    }

    .iti__selected-dial-code {
      @media (max-width: 640px) {
        font-size: 12px;
      }
    }
    input,
    textarea {
      box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.25) !important;
    }
  }
  table {
    border-radius: 4px;
    overflow: hidden;
  }
}
.form-header {
  text-align: center;
  font-weight: bold;
  color: #5c1468;
  margin-bottom: 1rem;
}
.price-table {
  width: 100%;
  margin-bottom: 1rem;
}
.price-table th {
  background-color: #5c1468;
  color: white;
  text-align: start;
}
.price-table td {
  text-align: start;
  border-left-width: var(--bs-border-width) !important;
  border-right-width: var(--bs-border-width) !important;
  border-radius: 5px;
}
/*added content*/

.price-table tbody tr td {
  padding: 8px 12px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.price-table tbody tr.total-row td {
  font-weight: bold;
}

.price-table tbody tr td:first-child {
  width: 70%; /* Fixed width for the Test Name column */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: wrap; /* Prevents text from wrapping */
}

.price-table tbody tr td:last-child {
  width: 30%; /* Fixed width for the Price column */
  text-align: right; /* Align prices to the right */
}
.total-row td {
  font-weight: bold;
  color: #5c1468;
}
.total-row:nth-child(1) {
  width: 20px !important;
}
.form-description {
  text-align: center;
  color: #5c1468;
  margin: 1rem 0;
  background-color: rgba(104, 30, 119, 0.25);
  padding: 5px;
}
.btn-submit {
  background-color: #5c1468;
  color: white;
  font-weight: bold;
}
.btn-submit:hover {
  background-color: #4a1154;
}

/* types of mri */

.types_of_mri {
  background-color: #faf0e6;
  h2 {
    color: #681e77;
  }
}

.mri_scan_left {
  flex: 1 1 0%;
}

.mri_scan_right {
  flex: 1 1 0%;
}

.mri_scan_list li {
  position: relative;
}

.mri_scan_list li::before {
  content: "\f058";
  position: absolute;
  font-family: "Font Awesome 5 Free";
  top: 2px;
  left: -22px;
  color: #681e77;
}

.mri_scan_nested_list li {
  position: relative;
}

.mri_scan_nested_list li::before {
  content: "\f0a4";
  position: absolute;
  font-family: "Font Awesome 5 Free";
  top: 2px;
  left: -22px;
  color: #681e77;
}

.sub-radiology-description {
  text-align: justify !important;
}
