.doctor-card__rating-stars {
  position: relative;
  width: 160px;
  height: 32px;
  background: url(/icons/star-gray.svg) repeat-x 0 0/32px 32px;
}

.doctor-card__rating-stars-value {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: url(/icons/star-yellow.svg) repeat-x 0 0/32px 32px;
}

.doctor-card__rating-value {
  font-weight: 600;
  line-height: 1;
  color: #495057;
}

.doctor-card__rating--profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: 300px;
  max-width: 100%;
  margin-top: 0.75rem;
  text-align: center;
}
.doctor-card__rating--profile .doctor-card__rating-value {
  font-size: 1.125rem;
}

.doctor-more__visible > .review-list {
  margin-bottom: 1.5rem !important;
}

.doctor-more__toggle {
  display: flex;
  justify-content: center;
  margin: 0.5rem 0 1rem;
}

.section > .resume-more__btn {
  margin: -0.5rem 0 1.25rem;
}

.doctor-rate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}

.doctor-rate__label {
  font-weight: 600;
  color: #495057;
}

.doctor-rate__stars {
  display: flex;
  gap: 2px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.doctor-rate__star {
  display: inline-flex;
  padding: 3px;
  border: 0;
  background: transparent;
  line-height: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.doctor-rate__star svg {
  width: 34px;
  height: 34px;
  fill: #fff;
  stroke: #c3c8d1;
  stroke-width: 1.5;
  stroke-linejoin: round;
  transition: fill 0.12s ease, stroke 0.12s ease, transform 0.12s ease;
}
.doctor-rate__star.is-on svg {
  fill: #ffd055;
  stroke: #f2b600;
  transform: scale(1.06);
}
.doctor-rate__star:focus-visible {
  outline: 2px solid #5e74b7;
  outline-offset: 1px;
  border-radius: 6px;
}

.doctor-rate__hint {
  font-size: 0.8rem;
  color: #6c757d;
}

.doctor-rate__hint-touch {
  display: none;
}

@media (hover: none) {
  .doctor-rate__hint-mouse {
    display: none;
  }
  .doctor-rate__hint-touch {
    display: inline;
  }
}
.doctor-rate--profile {
  width: 300px;
  max-width: 100%;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e3e6ec;
}

@media (max-width: 767.98px) {
  .doctor-rate__star svg {
    width: 38px;
    height: 38px;
  }
  .doctor-card__rating--profile .doctor-card__rating-stars {
    width: 120px;
    height: 24px;
    background-size: 24px 24px;
  }
  .doctor-card__rating--profile .doctor-card__rating-stars-value {
    background-size: 24px 24px;
  }
  .doctor-card__rating--profile .doctor-card__rating-value {
    font-size: 1rem;
  }
}
.doctor-rate__label-done,
.doctor-review-done {
  display: none;
}

html[data-doctor-reviewed] .doctor-rate__label-ask,
html[data-doctor-reviewed] .doctor-rate__hint,
html[data-doctor-reviewed] [data-doctor-review-open] {
  display: none !important;
}
html[data-doctor-reviewed] .doctor-rate__label-done {
  display: inline;
}
html[data-doctor-reviewed] .doctor-review-done {
  display: inline-block;
  font-weight: 600;
  color: #6c757d;
}
html[data-doctor-reviewed] .doctor-rate__stars {
  pointer-events: none;
}

html[data-doctor-reviewed="1"] .doctor-rate__star:nth-child(-n+1) svg {
  fill: #ffd055;
  stroke: #f2b600;
}

html[data-doctor-reviewed="2"] .doctor-rate__star:nth-child(-n+2) svg {
  fill: #ffd055;
  stroke: #f2b600;
}

html[data-doctor-reviewed="3"] .doctor-rate__star:nth-child(-n+3) svg {
  fill: #ffd055;
  stroke: #f2b600;
}

html[data-doctor-reviewed="4"] .doctor-rate__star:nth-child(-n+4) svg {
  fill: #ffd055;
  stroke: #f2b600;
}

html[data-doctor-reviewed="5"] .doctor-rate__star:nth-child(-n+5) svg {
  fill: #ffd055;
  stroke: #f2b600;
}
