.doctors-secton {
  display: flex;
  flex-direction: column;
}
.doctors-secton__search-box {
  width: 16.54rem;
  height: 2.54rem;
  background-color: #f9f9f9;
  border: 1px solid #e7e7e7;
  border-radius: 2.4rem;
  display: flex;
  align-items: center;
  padding: 0 1rem;
}
.doctors-secton__search-box img {
  height: 0.8rem;
  width: 0.8rem;
}
.doctors-secton__search-box input {
  flex-grow: 1;
  align-self: stretch;
  background: transparent;
  border: 0;
  padding-left: 0.5rem;
  outline: none;
}
.doctors-secton__search-box input::placeholder {
  font-size: 0.727rem;
}

.doctors-secton__doctors-container {
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 768px) {
  .doctors-secton__doctors-container {
    display: flex;
    flex-direction: row;
    gap: 1.6rem;
    position: relative;
  }
}
.doctors-secton__filters {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.doctors-secton__filter {
  font-size: 0.55rem;
  padding: 0 0.4rem;
  height: 1.36rem;
  background-color: #f0f0f0;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 2.4rem;
  gap: 0.2rem;
}

.down-arrow {
  height: 0.4rem;
  width: 0.4rem;
}

.doctors-secton__doctors {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.doctor-card {
  flex-shrink: 0;
  background-color: #f3f3f3;
  border-radius: 0.33rem;
  padding: var(--font-12);
}

.doctor-card__image-wrapper {
  width: 4.9rem;
  height: 4.9rem;
  /* border: 1px solid red; */
  background-color: rgb(228, 226, 226);
  border: 1px solid rgb(214, 212, 212);
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doctor-card__image {
  height: 100%;
  flex-shrink: 0;
}

.doctor-card__content {
  margin-top: 0.2rem;
}

.doctor-card__name {
  font-size: var(--font-20);
  color: var(--brandClr);
}

.doctor-card__degree {
  font-size: var(--font-14);
  line-height: 1.5;
  color: #2d2d2db2;
}

.doctor-card__row {
  display: flex;
  align-items: flex-start;
  font-size: var(--font-16);
  gap: 0.3rem;
}

.doctor-card__row.first {
  margin-top: 0.3rem;
}

.doctor-card__icon {
  height: var(--font-16);
  width: var(--font-16);
  background-color: var(--brandClr);
  border-radius: 50%;
  margin-top: 0.2rem;
}

.doctor-card__label {
  color: #2d2d2d;
}

.doctor-card__label strong {
  font-weight: 600;
}

.doctor-card__know-more {
  color: #802a8f;
  font-size: var(--font-14);
  font-weight: 700;
  margin-top: 0.2rem;
}

.doctor-card__buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 0.5rem;
}

.doctor-card__btn {
  height: 2.4rem;
  padding: 0 1.5rem;
  border-radius: 2.4rem;
  border: 0.03rem solid var(--brandClr);
  font-size: var(--font-16);
  font-weight: 600;
  color: var(--brandClr);
}

.doctor-card__btn--outline {
}

.doctor-card__btn--filled {
  background-color: var(--brandClr);
  color: white;
  flex-grow: 1;
}

.filter-popup {
  position: fixed;
  inset: 0;
  display: none; /* important */
  z-index: 99999;
}

.filter-popup.active {
  display: block;
}

.filter-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.filter-popup__content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  width: 90%;
  max-width: 350px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}

.filter-popup__option {
  padding: 0.226rem;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  font-size: 0.54rem;
}

.doctors-secton__selected-filters {
}

.filter-badge {
}

.filter-badge__text {
}

.filter-badge__remove {
}

.see-all-btn {
  font-weight: 600;
  color: var(--brandClr);
  font-size: var(--font-16);
  background: transparent;
}

#seeAllWrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brandClr);
  text-decoration: underline;
  margin-top: 1rem;
  position: absolute;
  top: 27.5rem;
  left: 21rem;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 0.45rem;
  leading-trim: NONE;
  line-height: 150%;
  letter-spacing: -2%;
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-offset: 16%;
  text-decoration-thickness: 9%;
  text-decoration-skip-ink: auto;
}

/* .search-and-filter-section{
  position: sticky;
  top: 4rem;
  z-index: 999;
} */
.filters-container__desktop {
  display: none;
}
#popupTitle {
  font-size: 0.72rem;
  text-align: center;
  color: #802a8f;
}
#popupCloseBtn {
  align-self: flex-end;
}

@media screen and (min-width: 768px) {
  .search-and-filter-section {
    position: relative;
  }
  .doctors-secton__filters {
    display: none;
  }
  .doctors-secton__search-box {
    width: 14.26rem;
    height: 1.2rem;
    position: absolute;
    top: -0.54rem;
    left: 10.98rem;
    opacity: 1;
    border-radius: 0.905rem;
    border-width: 0.0377rem;
    border: 0.0377rem solid #e7e7e7;
    background: #f8f8f8;
    padding: 0 0 0 0;
  }
  .doctors-secton__search-box img {
    width: 0.49rem;
    height: 0.49rem;
    angle: 0 deg;
    opacity: 1;
    margin: 0.354rem 0.301rem 0.354rem 0.354rem;
  }
  .doctors-secton__search-box input {
    font-size: 0.45rem;
    padding: 0;
  }
  input[type="text"]::placeholder {
    font-size: 0.45rem;
    padding: 0;
  }
  .filters-and-doctors {
    display: flex;
    flex-direction: row;
    margin: 1.26rem 0 0 0;
  }
  .filters-container__desktop {
    display: block;
    width: 7.54rem;
    height: 20.64rem;
    overflow-y: auto;
    scrollbar-width: thin;
  }
  .filters-header {
    display: flex;
    justify-content: space-between;
    margin: 0 0 1.2rem 0;
  }
  .filters-header p {
    font-weight: 600;
    font-style: SemiBold;
    font-size: 0.45rem;
    leading-trim: NONE;
    line-height: 110.00000000000001%;
    letter-spacing: -2%;
  }
  .filters-header button {
    font-weight: 600;
    font-style: SemiBold;
    font-size: 0.45rem;
    leading-trim: NONE;
    line-height: 110.00000000000001%;
    letter-spacing: -2%;
    text-align: center;
    color: #802a8f;
    border: none;
    background-color: #fff;
    margin: 0 0.45rem 0 0;
  }
  .filter-name {
    font-weight: 400;
    font-style: Regular;
    font-size: 0.377rem;
    leading-trim: NONE;
    line-height: 110.00000000000001%;
    letter-spacing: -2%;
    text-align: center;
  }
  input[type="checkbox"] {
    width: 0.415rem;
    height: 0.415rem;
    border-radius: 0.075rem;
    border-width: 0.012rem;
    margin: 0 0.301rem 0 0;
  }
  .location-filters {
    margin: 0 0 1.2rem 0;
  }
  .location-filters p {
    font-weight: 500;
    font-style: Medium;
    font-size: 0.45rem;
    leading-trim: NONE;
    line-height: 110.00000000000001%;
    letter-spacing: -2%;
  }
  .doctor-info-box {
    display: ;
  }
}

.filter-badge__label {
  background-color: #802a8f;
  border-radius: 2.18rem;
  color: #ffffff;
  font-size: 0.55rem;
  width: fit-content;
  padding: 0.377rem;
}
.doctors-secton__selected-filters {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.226rem;
  margin: 0.54rem 0 0 0;
}
.no-doctors {
  width: 16.54rem;
  height: 6.59rem;
  angle: 0 deg;
  opacity: 1;
  border-radius: 0.54rem;
  background: #d280a01a;
  padding: 1.18rem 1.65rem;
  position: absolute;
  top: 10rem;
  left: 15rem;
  display: flex;
  flex-direction: column;
  gap: 0.54rem;
  align-items: center;
}
.no-doctors p {
  font-family: Poppins;
  font-weight: 500;
  font-style: Medium;
  font-size: 0.63rem;
  leading-trim: NONE;
  line-height: 120%;
  letter-spacing: -2%;
  text-align: center;
  color: #af2f2f;
}
.no-doctors-button {
  width: 7.16rem;
  height: 1.2rem;
  border-radius: 1.12rem;
  angle: 0 deg;
  opacity: 1;
  padding: 0.26rem 0.376rem;
  gap: 0.28rem;
  background: #802a8f;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 0.45rem;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  color: #fffffe;
}

@media screen and (max-width: 768px) {
  .no-doctors {
    width: 16.54rem;
    height: 7.59rem;
    angle: 0 deg;
    opacity: 1;
    border-radius: 0.54rem;
    background: #d280a01a;
    padding: 1.18rem 1.65rem;
    position: absolute;
    top: 25rem;
    left: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.54rem;
    align-items: center;
  }
  .no-doctors-button {
    width: 6.01rem;
    height: 2.18rem;
    border-radius: 2.18rem;
    angle: 0 deg;
    opacity: 1;
    padding: 0.54rem 0.909rem;
    gap: 0.54rem;
    background: #802a8f;
    color: #fffffe;
    font-family: Poppins;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 0.72rem;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
  }
}
