/* Banner */

#text {
  display: none !important;
}

.banner .banner__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.banner .banner__img--content {
  position: absolute;
  bottom: -25px;
  right: 3%;
}

.banner .banner__content--text {
  margin-bottom: 20px;
}

.banner .banner__content--text span {
  font-size: 65px;
  font-family: 'Megante';
  display: block;
  color: var(--primary-color);
}

.section__banner-page {
  position: relative;
  /* margin-top: 82px; */
}

.section__banner-page .banner__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  /* top: 10%; */
  left: 50%;
  transform: translateX(-50%);
}


/* .section__banner-page .doctor-content {
  top: 15.35%;
} */

/* .section__banner-page .banner__content-text span {
  font-size: 65px;
  font-family: "Megante'";
  text-align: center;
  color: var(--primary-color);
} */

/* .section-content:not(:first-child) {
  padding-top: 160px;
} */

/* section form */

.section__form {
  margin-top: 80px;
}

.section__form .form__bottom {
  padding-top: 30px;
  align-items: self-start;
  justify-content: space-between;
}

.section__form .form__top--group {
  gap: 20px;
}

.section__form .form__container {
  padding: 36px 45px 42px;
  box-shadow: 0px 0px 40px #dee7f6cc;
  border-radius: 29px;
  z-index: 2;
  position: relative;
  background: #fff;
}

.section__form .form__top--input input {
  width: 100%;
  height: 56px;
  border-radius: 29px;
  border: 1px solid #fff;
  padding-left: 55px;
  outline: none;
  font-size: 16px;
  line-height: 40px;
  color: var(--primary-color);
  font-weight: 500;
  background-color: #f3f4f7;
  font-family: 'Be Vietnam Pro-Medium', sans-serif;
  /* background-color: #f7f3eb; */
}

.section__form .form__top--input input::placeholder {
  color: var(--primary-color);
}

.section__form .form__top--button {
  width: 58px;
  height: 57px;
  border: 0;
  border-radius: 29px;
  background-color: #8681ed;
  transition: 0.3s linear all;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section__form .form__top--button .form__top--search {
  display: none;
}

.section__form .form__top--button:hover {
  background-color: var(--primary-color);
}

.section__form .form__top--button:hover img {
  transform: scale(1.1);
  transition: 0.3s linear all;
}

.section__form .form__top--button img {
  width: 22px;
  height: 22px;
}

.section__form .form__top--input {
  position: relative;
}

.section__form .form__top--input-img {
  position: absolute;
  top: 55%;
  left: 18px;
  transform: translateY(-50%);
}

.section__form .form__top--input-img img {
  object-fit: contain;
}

.section__form .form__bottom .form__bottom--title {
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
  white-space: nowrap;
  margin-top: 11px;
  color: var(--primary-color);
}

.section__form .form__bottom .form__bottom--link {
  background-color: var(--secondary-color);
  padding: 8px 20px 10px;
  min-width: 100px;
  text-align: center;
  text-decoration: none;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s linear;
}

.section__form .form__bottom .form__bottom--link:hover {
  background-color: var(--primary-color);
  transform: scale(1.04);
  transition: all 0.3s linear;
}

.section__form .form__bottom .form__bottom--link:last-child {
  background-color: var(--primary-color);
}

.section__form .form__bottom .form__bottom--link span {
  font-size: 14px;
  line-height: 19px;
  font-weight: 500;
  color: #fff;
}

.section__form .form__bottom--group {
  gap: 5px;
  flex-wrap: wrap;
  justify-content: end;
}

.section__form .form__top--group {
  gap: 10px;
}

.section__form .form__top--input {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section__form .form__top--select {
  position: relative;
  /* display: inline-block; */
}

.section__form .form__top--select img {
  width: 17px;
  height: auto;
  position: absolute;
  top: 50%;
  right: 7%;
  transform: translateY(-50%);
  object-fit: contain;
}

.section__form .form__top--input input {
  color: #8681ed;
  /* color: var(--primary-color); */

}

.section__form .form__top--input input::placeholder {
  color: #8681ed;
  /* color: var(--primary-color); */
}

.section__form .form__top--select input {
  width: 100%;
  height: 56px;
  border-radius: 29px;
  border: 1px solid #fff;
  padding-left: 15px;
  padding-right: 50px;
  outline: none;
  font-size: 16px;
  line-height: 40px;
  color: var(--four-color);
  font-weight: 500;
  /* background-color: #f7f3eb; */
  /* background-color: #fff; */
  background-color: #f3f4f7;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}


.section__form .form__top--select select {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: none;
}


.section__form .form__top--select select {
  width: 100%;
  height: 56px;
  border-radius: 29px;
  border: 1px solid #fff;
  padding-left: 15px;
  padding-right: 50px;
  outline: none;
  font-size: 16px;
  line-height: 40px;
  color: var(--four-color);
  font-weight: 500;
  background-color: #f3f4f7;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.section__form .form__top--select.active select {
  background-color: #f7f3eb;
  color: var(--primary-color);
}

.section__form .form__top--select img {
  width: 17px;
  height: auto;
  position: absolute;
  top: 50%;
  right: 7%;
  transform: translateY(-50%);
  object-fit: contain;
  pointer-events: none;
  transition: all 0.3s linear;
}




/* Custom dropdown */


.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.custom-select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
  padding: 0 15px;
  border-radius: 29px;
  border: 1px solid #fff;
  background-color: #f3f4f7;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: var(--four-color);
}


.custom-select-trigger span {
  /* font-family: 'Be Vietnam Pro-Light'; */
  font-family: 'Be Vietnam Pro-Medium', sans-serif;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  /* padding-right: 18px; */
  padding-right: 42px;
}


.custom-options {
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  /* background-color: #fff; */
  background: rgba(247, 243, 235, 1);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 99;
  /* overflow-y: auto; */
  display: none;
  /* width: calc(100% + 42px); */
  width: fit-content;
}

.custom-option {
  display: block;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-color);
  font-family: 'Be Vietnam Pro-Light', sans-serif;
  white-space: nowrap;
}

.custom-options .custom-option:first-child {
  font-weight: 600;
}

.custom-option:hover {
  background-color: #f4f4f8;
}

/* .custom-option+.custom-option {
  margin-top: 5px;
} */

.custom-select.active .custom-options {
  display: block;
}

.arrow-select-specialty {
  width: 17px;
  height: auto;
  pointer-events: none;
}


.section__form .form__top--select .custom-select.active img {
  transform: translateY(-50%) rotate(180deg);
}






/* .section__form .form__top--select::after {
  display: inline-block;
  position: absolute;
  content: "";
  width: 14px;
  height: 14px;
  top: 42%;
  right: 14%;
  transform: rotate(45deg) translateY(-50%);
  border-right: 2px solid #8681ed;
  border-bottom: 2px solid #8681ed;
} */






/* Doctors */

/* .doctors {
  padding-bottom: 300px;
} */

.doctors__mobile {
  display: none;
}

.doctors__container {
  padding-top: 100px;
}

.doctor__list {
  position: relative;
}

.doctor__list .slick-slide {
  margin: 0 15px;
}

.doctor__list .slick-list {
  margin: 0 -15px;
}

.doctor__list-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.doctor__list-img {
  position: relative;
  width: 100%;
  height: auto;
}

.doctor__list-item .doctor__list-img::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 15px;
  opacity: 1;
  background-color: var(--four-color);
  bottom: 0;
  left: 0;
}

.doctor__list-item .doctor-img {
  position: absolute;
  width: 50%;
  height: 95%;
  object-fit: cover;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  transition: all 0.2s linear;
  /* Di chuyển transition vào quy tắc cơ bản */
}

.doctor__list-item .doctor__information {
  margin-top: 50px;
  text-align: left;
  color: var(--primary-color);
}

.doctor__list-item .doctor__information .doctor__information-name {
  font-size: 24px;
  line-height: 48px;
  font-family: "Megante'";
  letter-spacing: 0.46px;
}

.doctor__list-item .doctor__information .doctor__information-specialties {
  font-size: 16px;
  line-height: 28px;
  font-family: 'Be Vietnam Pro-Light';
  width: 80%;
}

.doctor__list .slick-next img {
  width: 80px;
  height: 80px;
  position: absolute;
  bottom: 50px;
  left: -50px;
}

.doctor__list .slick-next {
  width: 0;
  height: 0;
}

.doctor__list .slick-prev:before,
.doctor__list .slick-next:before {
  display: none;
}


/* Button see more */
.doctors__button-more {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.doctors__button-more span {
  padding: 3px 28px 4px;
  border-radius: 18px;
  text-decoration: none;
  width: fit-content;
  /* margin-top: 25px; */
  background-color: var(--four-color);
  transition: all .3s linear;
  color: var(--secondary-color);
  cursor: pointer;
}





/* .doctors__container .slick-list.draggable {
  padding-bottom: 90px;
} */

/* test */

.doctors__item-img {
  position: relative;
  overflow: hidden;
  height: 100%;
  /* height: 320px; */
}

.doctors__item-img .doctor-img-test {
  position: absolute;
  /* width: 50%; */
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 390px;
  left: 50%;
  top: 0;
  transition: all 0.2s linear;
  transform: scale(1) translateX(-50%);
}

/* .doctors__item-thumbnail:hover .doctor-img-test {
  transition: all 0.2s linear;
  transform: translateX(-50%) scale(1.1);
} */

/* .doctors__item-thumbnail:hover .doctors__item-img {
  filter: blur(2px);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
} */

.doctors__item-img::before {
  content: '';
  visibility: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  background-color: var(--primary-color);
  bottom: 0;
  left: 0;
  z-index: 2;
}

/* .doctors__item-thumbnail:hover .doctors__item-img::before {
  content: '';
  visibility: visible;
} */



.doctor__list-link:hover .doctors__item-img::before {
  content: '';
  visibility: visible;
}

.doctor__list-link:hover .doctors__item-img {
  filter: blur(2px);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.doctor__list-link:hover .doctor-img-test {
  transform: translateX(-50%) scale(1.1);
  transition: all 0.2s linear;
}

.doctors__item-img::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 15px;
  opacity: 1;
  background-color: var(--four-color);
  bottom: 0;
  left: 0;
}

.doctor__list-link:hover .doctors__item-button {
  opacity: 1;
}

.doctors__item-button {
  position: absolute;
  top: 27%;
  left: 50%;
  height: 47px;
  transform: translateX(-50%);
  border: 2px solid var(--secondary-color);
  border-radius: 36px;
  background-color: transparent;
  color: var(--secondary-color);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.2s linear;
  width: 56.299%;
  text-align: center;
}

.doctors__item-button .doctors__item-button--link {
  font-family: 'Be Vietnam Pro-Regular', sans-serif;
  font-size: 16px;
  line-height: 24px;
  display: block;
  color: var(--secondary-color);
  text-transform: uppercase;
  padding: 10px 0px;
}

.doctor__wrapper .doctor__wrap-item {
  padding-inline: 5px;
}

.doctor__wrapper .doctor_list--item {
  padding: 0 15px;
}

.doctor__wrapper .row {
  margin: 0 -15px;
}

.doctor__wrapper .doctor__wrap-item .mb-4 {
  margin-bottom: 1.875rem !important;
}

.doctors__wrapper-content {
  margin-top: 40px;
  text-align: left;
  color: var(--primary-color);
}

.doctors__wrapper-content .doctors__item--name {
  font-size: 24px;
  line-height: 42px;
  font-family: "Megante'";
  letter-spacing: 0.46px;
}

.doctors__wrapper-content .doctors__item--position {
  display: -webkit-box;
  font-size: 16px;
  line-height: 28px;
  font-family: 'Be Vietnam Pro-Light';
  width: 100%;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slick-dots li button:before {
  font-size: 13px;
  color: #dee7f6;
}

.slick-dots li.slick-active button:before {
  opacity: 0.75;
  color: var(--primary-color);
}

.section__apointment {
  padding-top: 0px !important;
}

/* doctor notfound */

.doctor-notfound {
  display: none;
  padding-top: 210px;
  /* padding-bottom: 290px; */
  padding-bottom: 50px;
}

.doctor-notfound.active {
  display: block;
  padding-top: 210px;
  padding-bottom: 50px;
  /* padding-bottom: 290px; */
}

.doctor-notfound_content img {
  width: 210px;
  height: 200px;
  margin-bottom: 36px;
}

.doctor-notfound_content .doctor-notfound-title {
  font-family: 'Be Vietnam Pro-SemiBold';
  color: var(--primary-color);
  font-size: 40px;
  letter-spacing: 1.16px;
  line-height: 40px;
  margin-bottom: 10px;
}

.doctor-notfound_content .doctor-notfound-sub {
  font-family: 'Be Vietnam Pro-Light';
  color: var(--primary-color);
  font-size: 25px;
  line-height: 40px;
}


@media (min-width : 768px) {
  .doctors__button-more span:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
  }
}

@media (max-width: 767px) {
  .doctors__button-more span:active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
  }
}



@media (min-width: 1024px) {
  .doctor__pagination {
    display: none;
  }


  .doctors__item-img .background-img-test {
    position: relative;
    bottom: -2px;
    z-index: -1;
  }
}


@media screen and (max-width :1200px) {
  .doctors__item-thumbnail {
    position: relative;
  }

  .doctors__item-button {
    top: 40%;
    left: 50%;
  }
}

/* @media screen and (max-width: 1150px) {
  .doctors__item-thumbnail:hover .doctors__item-button {
    opacity: 0;
  }
} */

@media (max-width: 1024px) {


  .apointment.section-content {
    margin-top: 60px !important;
  }

  .banner .section__banner-page .doctor-content {
    top: 20%;
    left: unset;
    transform: unset;
    right: 20%;
  }


  .doctors__item-button {
    display: none;
  }


  .section__form {
    margin-top: 28px;
  }

  .section__form .form__container {
    padding: 24px 25px 20px;
    border-radius: 7px;
    box-shadow: 0px 15px 20px #0040531c;
  }

  .section__form .form__top--input-img img {
    height: 13px;
    width: 13px;
    object-fit: cover;
  }

  .section__form .form__top--select select {
    height: 35px;
    border-radius: 18px;
    font-size: 10px;
    font-family: 'Be Vietnam Pro-Medium';
    line-height: 39px;
    color: #897cf4;
    line-height: 100%;
    display: block;
  }

  .section__form .form__top--select img {
    width: 13px;
  }

  .section__form .form__top--button {
    width: 100%;
    height: 35px;
    border-radius: 18px;
    background-color: #897cf4;
  }

  .section__form .form__top--input input {
    height: 35px;
    border-radius: 18px;
    font-size: 10px;
    font-family: 'Be Vietnam Pro-Medium';
    line-height: unset;
    padding-left: 15px;
  }

  .section__form .form__top--button .form__top--search {
    display: inline;
    color: #fff;
    letter-spacing: 0.48px;
    line-height: 19.2px;
    font-family: 'Lexend-SemiBold';
  }

  .section__form .form__top--button img {
    display: none;
  }


  /* Custom Dropdown */


  .custom-select-wrapper {
    display: none;
  }

  .custom-select-trigger {
    height: 35px;
    border-radius: 18px;
    font-size: 10px;
    font-family: 'Be Vietnam Pro-Medium';
    line-height: 39px;
    color: #897cf4;
    line-height: 100%;
  }


  .custom-option {
    font-family: 'Be Vietnam Pro-Medium', sans-serif;
  }



  .custom-option {
    font-size: 10px;
    line-height: 100%;
  }

  .custom-options {
    width: 100%;
  }





  /* Doctor */

  .doctors__desktop {
    display: none;
  }

  .doctors__mobile {
    display: inline;
  }

  .doctors__wrapper-content {
    margin-top: 0;
  }

  .doctors__wrapper-content .doctors__item--name {
    font-size: 12px;
    line-height: 42px;
    font-family: "Megante'";
    letter-spacing: 0.24px;
    margin-bottom: 0px;
  }

  .doctors__wrapper-content .doctors__item--position {
    display: -webkit-box;
    font-size: 10px;
    line-height: 20px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }


  .doctor__list-item .doctor-img {
    object-fit: cover;
    bottom: 0;
  }

  .doctors__item-img::after {
    height: 6px;
  }

  .doctors__item-img .background-img-test {
    position: relative;
    bottom: -5px;
    z-index: -1;
  }



  .doctors__item-img .doctor-img-test {
    bottom: 0;
    top: 2%;
    /* object-fit: cover; */
    object-fit: contain;
  }

  .doctors__item-button {
    width: 30%;
    top: 27.5%;
    left: 23.5%;
    height: 17px;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    display: none;
  }

  .doctors__item-button .doctors__item-button--link {
    font-size: 10px;
  }

  .doctor__list .slick-dots {
    display: none !important;
    visibility: hidden !important;
  }

  .doctor__pagination {
    display: flex;
    justify-content: center;
    margin-top: -30px;
  }

  .doctor__pagination .doctor__prev img,
  .doctor__pagination .doctor__next img {
    object-fit: contain;
  }

  .doctor__pagination .doctor__prev {
    width: 28px;
    height: 28px;
    transform: rotate(180deg);
    margin-right: 10px;
  }

  .doctor__pagination .doctor__next {
    width: 28px;
    height: 28px;
  }

  .doctors__container .slick-list.draggable {
    padding-bottom: 50px;
  }


  .doctor__list-link:hover .doctors__item-button {
    opacity: 0;
  }



  /* Appointment */

  .apointment {
    padding-top: 0px !important;
  }

  .doctor__wrapper .doctor_list--item {
    padding: 0 12px;
  }

  .doctor__wrapper .row {
    margin: 0 -12px;
  }

  /* doctor notfound */

  .doctor-notfound {
    padding-top: 72px;
    padding-bottom: 123px;
  }

  .doctor-notfound_content img {
    width: 95px;
    height: 91px;
    margin-bottom: 23px;
  }

  .doctor-notfound_content .doctor-notfound-title {
    font-size: 20px;
    letter-spacing: 0.58px;
    margin-bottom: 0px;
  }

  .doctor-notfound_content .doctor-notfound-sub {
    font-size: 12px;
    line-height: 28px;
  }
}

@media (max-width: 768px) {
  .banner .section__banner-page .doctor-content {
    top: 5%;
    right: 20%;
  }

  .section__form .form__top--button .form__top--search {
    display: inline;
    color: var(--secondary-color);
    letter-spacing: 0.48px;
    line-height: 19.2px;
    font-family: 'Lexend-SemiBold';
  }

  .section__form .form__top--button img {
    display: none;
  }



  .doctor-notfound.active {
    padding-top: 150px;
    padding-bottom: 50px;
  }



}

@media (min-width: 768px) and (max-width: 1024px) {
  .section__form .form__top--button .form__top--search {
    display: none;
  }

  .section__form .form__top--button img {
    display: inline;
  }

  .section__form .form__top--input input {
    padding-left: 40px;
  }
}

/* Responsive icon search */

@media (min-width: 500px) and (max-width: 768px) {

  .section__form .form__top--select img,
  .section__form .form__top--input-img {
    right: 4.5%;
    left: unset;
  }

  .doctor__wrapper .doctor_list--item {
    padding: 0 10px;
  }

  .doctor__wrapper .row {
    margin: 0 -10px;
  }
}

@media (max-width: 576px) {
  .doctors__wrapper-content .doctors__item--name {
    font-size: 12px;
    line-height: 20px;
  }



  .banner .banner__img--content {
    right: 10%;
  }




  .doctors__item-button {
    top: 25%;

  }


  .doctors__wrapper-content {
    line-height: 14px;
  }

  .doctors__item-content {
    margin-top: 12px;
  }


  .doctor-notfound.active {
    padding-top: 150px;
    padding-bottom: 20px;
  }


  .doctors__item-img .doctor-img-test {
    top: 2%;
  }
}

@media (min-width: 400px) and (max-width: 500px) {

  .section__form .form__top--select img,
  .section__form .form__top--input-img {
    right: 6%;
    left: unset;
  }
}

@media (max-width: 400px) {

  .section__form .form__top--select img,
  .section__form .form__top--input-img {
    right: 7%;
    left: unset;
  }

  .doctors__wrapper-content .doctors__item--name {
    font-size: 12px;
    line-height: 18px;
    margin-bottom: 0px;
    padding-top: 10px;
  }

  /* .doctors__wrapper-content .doctors__item--position {
    font-size: 8px;
    line-height: 10px;
  } */

  .doctor__wrapper .doctor_list--item {
    padding: 0 8px;
  }

  .doctor__wrapper .row {
    margin: 0 -8px;
  }
}

/* Responsive icon search */