/* .doctors-secton__doctors-container {
  margin: 3.63rem 0 0 0; */
  /* display: none;
} */

.doctors-secton__filter-by-area {
  display: block;
  background-image: url("../assets/seachDoctors-mobileBackground.webp");
  background-size: cover;
  background-repeat: no-repeat;
  width: 16.72rem;
  height: 17.27rem;
  padding: 1.45rem 2rem 1.72rem 1.01rem;
}

.doctors-section__title {
  font-weight: 500;
  font-style: Medium;
  font-size: 1.45rem;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: -2%;
  width: 15.63rem;
  height: 2.9rem;
  angle: 0 deg;
  opacity: 1;
  color: #ffffff;
  margin: 0 0 1.01rem 0;
}

.area-button-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.54rem 1rem;
}

.area-button-container button {
  width: 5.81rem;
  height: 3rem;
  angle: 0 deg;
  opacity: 1;
  border-radius: 0.18rem;
  padding: 0.54rem 0.9rem;
  gap: 0.54rem;
  background-color: #ffffff;
  color: #802a8f;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 0.9rem;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
}

.doctor-card {
  width: 16.54rem;
  height: 21.13rem;
  angle: 0 deg;
  opacity: 1;
  border-radius: 0.301rem;
  padding: 0.377rem 0 0.45rem 0.377rem;
  background-color: #faf9f7;
}

.doctor-img-box {
  width: 4.9rem;
  height: 4.9rem;
  border-radius: 0.36rem;
  margin: 0 0.5rem 0 0;
}

.doctor-img-box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.doctor-name {
  font-weight: 600;
  font-style: SemiBold;
  font-size: 0.909rem;
  leading-trim: NONE;
  line-height: 150%;
  letter-spacing: 0%;
  color: #802a8f;
  width: 10.13rem;
}

.doctor-education {
  font-weight: 400;
  font-style: Regular;
  font-size: 0.72rem;
  leading-trim: NONE;
  line-height: 150%;
  letter-spacing: -2%;
  color: #2d2d2d;
  margin: 0 0 0.36rem 0;
}

#doctor-section__doctor-by-area {
  padding: 2.18rem 1.13rem 0 1.13rem;
}

.doctor-loc,
.doctor-exp,
.doctor-spec,
.doctor-time {
  font-weight: 400;
  font-style: Regular;
  font-size: 0.72rem;
  leading-trim: NONE;
  line-height: 120%;
  letter-spacing: -2%;
  color: #2d2d2d;
  margin: 0.27rem 0;
}

.blodwords {
  font-weight: 600;
  font-style: SemiBold;
  font-size: 0.72rem;
  leading-trim: NONE;
  line-height: 120%;
  letter-spacing: -2%;
  color: #000;
}

.know-more-link {
  font-weight: 700;
  font-style: Bold;
  font-size: 0.63rem;
  leading-trim: NONE;
  line-height: 150%;
  letter-spacing: -2%;
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-offset: 18%;
  text-decoration-thickness: 10%;
  text-decoration-skip-ink: auto;
  color: #802a8f;
}

.doctor-btn-box {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin: 1.63rem 0 0 0;
}

.doctor-call-btn {
  width: 8.18rem;
  height: 2.18rem;
  angle: 0 deg;
  opacity: 1;
  border-radius: 2.9rem;
  padding: 0.65rem 0.909rem;
  gap: 0.54rem;
  background-color: #802a8f;
  color: #fff;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 0.72rem;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  color: #fdfdfd;
  text-align: center;
  display: block;
}

.doctor-book-btn {
  width: 6.36rem;
  height: 2.18rem;
  opacity: 1;
  border-radius: 2.9rem;
  border-width: 1px;
  padding: 0.9rem 0.54rem;
  gap: 0.54rem;
  background-color: #f3f3f3;
  color: #802a8f;
  border: 1px solid #802a8f;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 0.72rem;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
}

/* doctor details popup */
.doctor-popup-container {
  /* width: 16.54rem; */
  /* height: 40.18rem; */
  angle: 0 deg;
  opacity: 1;
  border-radius: 0.72rem;
  border-width: 0.036rem;
  background: #ffffff;
  border: 0.036rem solid #2d2d2d80;
  padding: 0.909rem 0.68rem 0.63rem 0.909rem;
  margin: 2.18rem 1.09rem 1.09rem 1.09rem;
}

.doctor-popup-header {
  position: relative;
  display: flex;
}

.popup-doctor-img {
  width: 4.9rem;
  height: 4.9rem;
  border-radius: 0.036rem;
  object-fit: cover;
  align-self: flex-start;
}

.popup-close-btn {
  position: absolute;
  right: 0;
  top: 0;
  background: transparent;
  border: none;
  font-size: 1.2rem;
}

.popup-doctor-name {
  color: #802a8f;
  text-align: start;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 0.909rem;
  leading-trim: NONE;
  line-height: 150%;
  letter-spacing: 0%;
  margin: 0.181rem 0 0 0;
}

.popup-doctor-edu {
  font-weight: 400;
  font-style: Regular;
  font-size: 0.63rem;
  leading-trim: NONE;
  line-height: 150%;
  letter-spacing: -2%;
  color: #2d2d2d;
  text-align: start;
}

.popup-detail-item {
  display: flex;
  justify-content: flex-start;
}

.popup-tabs {
  margin: 2.18rem 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.09rem;
}

.popup-tabs button {
  background: transparent;
  border: none;
  color: #000;
  border-bottom: 2px solid transparent;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 0.72rem;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
}

.popup-tabs button.active {
  border-bottom: 2px solid #802a8f;
  color: #802a8f;
}

.popup-tab-content {
  margin: 1.63rem 0 0 0;
  font-weight: 400;
  font-style: Regular;
  font-size: 0.63rem;
  leading-trim: NONE;
  line-height: 150%;
  letter-spacing: 0%;
  color: #2d2d2d;
  text-align: start;
}
.tab-section {
  display: none;
  font-size: 0.78rem;
  line-height: 1.4;
}

.tab-section.active {
  display: block;
}

.popup-call-btn {
  width: 100%;
  background: #802a8f;
  color: white;
  padding: 0.7rem;
  border-radius: 2rem;
  margin-top: 1rem;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
}
.popup-section {
  display: none; /* Hide all */
}

.popup-section.active {
  display: block; /* Show active tab */
}
a {
  text-decoration: none;
}

@media screen and (min-width: 768px) {
  .doctors-secton__filter-by-area {
    display: none;

  }
  .doctors-secton__doctors-container {
    display: flex;
    /* flex-direction: column; */
  }
  .doctors-section__title {
    font-weight: 500;
    font-style: Medium;
    font-size: 1.01rem;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: -2%;
    color: #fff;
    height: 2.03rem;
    width: 9.26rem;
  }
  .doctors-section__title span {
    font-weight: 800;
    font-style: ExtraBold;
  }
  .area-button-container button {
    width: 7.16rem;
    height: 2.01rem;
    angle: 0 deg;
    opacity: 1;
    border-radius: 0.122rem;
    padding: 0.377rem 0.603rem;
    gap: 0.377rem;
    background-color: #fff;
    color: #802a8f;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 0.603rem;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
  }
  .doctor-card {
    width: 24rem;
    height: 7.16rem;
    angle: 0 deg;
    opacity: 1;
    border-radius: 0.36rem;
    padding: 0.54rem 0 0.54rem 0.54rem;
    background-color: #f3f3f3;
    margin: 0 0 0.9rem 0;
    display: flex;
    flex-direction: row;
    position: relative;
  }
  .doctor-img-box {
    width: 4.9rem;
    height: 3.43rem;
    border-radius: 0.377rem;
  }

  .doctor-img-box img {
    height: 100%;
    width: 100%;
    object-fit: contain;
  }
  .doctor-name {
    font-weight: 600;
    font-style: SemiBold;
    font-size: 0.603rem;
    leading-trim: NONE;
    line-height: 150%;
    letter-spacing: 0%;
    width: 9.2rem;
    height: 0.905rem;
    opacity: 1;
  }
  .doctor-education {
    font-weight: 400;
    font-style: Regular;
    font-size: 0.377rem;
    leading-trim: NONE;
    line-height: 120%;
    letter-spacing: -2%;
    width: 14.41rem;
    color: #2d2d2db2;
  }
  .doctor-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0 2.94rem;
  }
  .doctor-loc,
  .doctor-exp,
  .doctor-spec,
  .doctor-time {
    font-weight: 400;
    font-style: Regular;
    font-size: 0.45rem;
    leading-trim: NONE;
    line-height: 150%;
    letter-spacing: -2%;
  }
  .blodwords {
    font-weight: 600;
    font-style: SemiBold;
    font-size: 0.45rem;
  }
  .know-more-link {
    width: 6.63rem;
    height: 1.2rem;
    angle: 0 deg;
    opacity: 1;
    border-radius: 0.905rem;
    border-width: 0.0377rem;
    gap: 0.188rem;
    padding: 0.377rem 0.45rem;
    border: 0.0377rem solid #802a8f;
    text-decoration: none;
    color: #802a8f;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 0.377rem;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    position: absolute;
    bottom: 0.45rem;
    right: 7.54rem;
    margin: 0 0.301rem 0 0; 
    text-align: center;
  }
  .doctor-call-btn {
    display: none;
  }
  .doctor-book-btn {
    width: 6.63rem;
    height: 1.2rem;
    angle: 0 deg;
    opacity: 1;
    border-radius: 0.905rem;
    border-width: 0.0377rem;
    gap: 0.188rem;
    padding: 0.226rem 0.45rem;
    border: 0.0377rem solid #802a8f;
    background-color: #802a8f;
    color: #fefefe;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 0.377rem;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
  }
  .doctor-btn-box {
    position: absolute;
    bottom: 0.45rem;
    right: 0.905rem;
  }
  .location-filter-container{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0.607rem 0 0 0 ;
  }
  input[type='checkbox']{
    margin: 0 0.45rem 0 0;
  }
  
}
