:root {
  --bg-box: #f9f5fd;
  --bg-purple: #fbf3f7;

  --purple: #d787b5;
  --violet: #9c82bc;
  --plum: #c54091;
  --text-color: #5a5a5a;
  --black: #212529;
  --gray: #7e818c;
  --gray--light: #dadada;
  --blue-black: #e4e5e7;

  --purple-light: #fbe1f0;

  --radius: 60px;
}

*,
html {
  box-sizing: border-box;
}

body {
  font-size: 16px;
  font-family: Calibri;
}

ul {
  all: unset;
}

.container {
  width: 100%;
  max-width: 1290px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

text,
header {
  font-size: 16px;
}

hr {
  border: none;
  height: 1px;
  background: none;
  background-color: var(--gray--light);
  margin: 24px 0;
  padding: 0;
}

.vertical--border {
  border: 1px solid #5a5a5a;
}

.boxes {
  display: grid;
  gap: 20px;
}

.box--violet {
  background-color: #f9f5fd;
}

.box--info {
  display: flex;
  gap: 24px;
}

.box--info::before {
  content: "";
  width: 54px;
  height: 54px;
  background-color: var(--purple);
  border-radius: 100%;
  flex-shrink: 0;
  background-image: url(../images/info.svg);
  background-size: 18px;
  background-position: center;
  background-repeat: no-repeat;
}

.box--border {
  border: 2px solid #d787b533;
}

.box {
  padding: 68px;
  border-radius: var(--radius);
  max-width: 1260px;
}

.box,
.box a,
.box li {
  color: var(--text-color);
}

.box__title {
  font-size: 20px;
  margin-bottom: 28px;
  color: var(--black);
}

.box__title--big {
  text-transform: uppercase;
  font-size: 32px;
}

.box__header {
  color: black;
  font-size: 32px;
  margin-bottom: 28px;
}

.calendar {
  width: 324px;
  height: 321px;
  background-color: white;
  border-radius: 16px;
  display: grid;
  justify-content: center;
  padding-top: 16px;
}
.box__block {
  margin-bottom: 16px;
}

.box__block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--black);
}

.box__block-title i {
  font-style: normal;
  font-size: 14px;
  color: white;
  background-color: var(--violet);
  width: 24px;
  height: 24px;
  border-radius: 100%;
  display: grid;
  place-content: center;
  flex-shrink: 0;
}

.box__inner--calculator {
  display: flex;
  gap: 40px;
}

.box__button {
  font-weight: bold;
  color: white;
  background-color: var(--purple);
  border: none;
  cursor: pointer;
}

.box__button--calc {
  font-size: 20px;
  text-transform: uppercase;
  border-radius: 80px;
  padding: 20px 78px;
}

.box__button--recalc {
  font-size: 16px;
  border-radius: 45px;
  padding: 17px 14px;
}

.box__button--round {
  width: 54px;
  height: 54px;
  border-radius: 100%;
  display: grid;
  place-content: center;
}
.box__button--round img {
  width: 24px;
  height: 24px;
}

.box__radio-items {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--black);
}

.box__radio-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: bold;
}

.radio {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  vertical-align: text-bottom;
  outline: 0;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--plum);
  border-radius: 3em;
  background: #fff;
}

.radio {
  width: 18px;
  height: 18px;
  transition: background-color 0.15s;
}

.radio:checked {
  background-image: url(../images/check.svg);
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
  /* background-color: var(--plum); */
}

.vr {
  display: inline;
  border-left: 1px solid var(--text-color);
  margin: 0 20px;
  opacity: 0.3;
}

.doctor {
  display: grid;
  column-gap: 16px;
  align-items: center;
  justify-content: flex-start;
  grid-template-areas:
    "photo name"
    "photo details";
}

.doctor__photo {
  grid-area: photo;
  background: #f4f2f2;
  width: 80px;
  height: 80px;
  border-radius: 100%;
  overflow: hidden;
}

.doctor__photo img {
  mix-blend-mode: Multiply;
}

.doctor__department {
  color: var(--purple);
  background-color: var(--bg-purple);
  border-radius: 30px;
  padding: 8px;
  margin-right: 12px;
}

.doctor__details {
  grid-area: details;
  color: var(--text-color);
}

.doctor__name {
  grid-area: name;
  color: var(--black);
  font-weight: bold;
}

.date,
.text {
  padding: 16px 24px;
  border-radius: 16px;
  border: none;
}

.select-input {
  display: flex;
  gap: 20px;
}

.select {
  max-width: 434px;
  min-height: 52px;
  border: none;
  background-color: white;
  border-radius: 16px;
  padding: 16px 52px 16px 24px;
  /* Убираем стандартную стрелку в некоторых браузерах */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  /* Добавляем свою стрелку через фон */
  background-image: url(../images/arrow.svg);
  background-repeat: no-repeat;
  background-position: right 24px center;
  background-size: 16px;
  outline: var(--purple);
}

.box__wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.box--result .links {
  list-style: none;
  display: grid;
  gap: 16px;
  align-content: baseline;
}

.box--result .links a {
  color: var(--violet);
}

.box--result .columns {
  display: grid;
  grid-template-columns: 650px 1fr;
  gap: 109px;
}

.column {
  display: grid;
  gap: 32px;
}

.results {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.result {
  width: 100%;
}

.result__title {
  color: var(--black);
  font-size: 20px;
  margin-bottom: 16px;
}

.result__value {
  background-color: var(--plum);
  color: white;
  font-size: 24px;
  font-weight: bold;
  display: grid;
  place-content: center;
  padding-top: 23px;
  padding-bottom: 23px;
  border-radius: 16px;
}

.buttons {
  display: flex;
  gap: 8px;
}

.range {
  -webkit-appearance: none; /* Убрать стандартный стиль Chrome/Safari */
  width: 100%;
  height: 16px;
  background: linear-gradient(90deg, rgba(215, 135, 181, 0.2) 0%, #c54091 100%);
  border-radius: 20px;
  outline: none;
  z-index: 1;
}

/* Стиль трека в Chrome, Safari */
.range::-webkit-slider-runnable-track {
  height: 16px;
  background: linear-gradient(90deg, rgba(215, 135, 181, 0.2) 0%, #c54091 100%);
  border-radius: 20px;
}

/* Стиль ползунка в Chrome, Safari */
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  background: var(--plum);
  border-radius: 50%;
  cursor: pointer;
  margin-top: -5px; /* выравнивание по треку */
  border: 3px solid white;
}

/* Стиль трека в Firefox */
.range::-moz-range-track {
  height: 16px;
  background: linear-gradient(90deg, rgba(215, 135, 181, 0.2) 0%, #c54091 100%);
  border-radius: 20px;
}

/* Стиль ползунка в Firefox */
.range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--plum);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid white;
}

.range-trimester::after,
.range-trimester::before {
  content: "";
  display: block;
  width: 2px;
  height: 28px;
  background-color: var(--plum);
  position: absolute;
}

.range-trimester::after {
  left: 66%;
}

.range-trimester::before {
  left: 33%;
}

.range-trimester {
  position: relative;
  display: flex;
  align-items: center;
}

.wf-select {
  background-color: white;
  border-radius: 16px;
  padding: 16px 24px;
  position: relative;
  transition: 0.3s all ease;
}

#select--section3-button {
  width: 490px;
}

.wf-select.expand {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background-color: var(--purple-light);
}

.wf-select .wf-select__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.wf-select__value {
  color: var(--black);
  font-weight: bold;
}

.wf-select__button::after {
  content: "";
  background-image: url(../images/arrow.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 14px;
  height: 14px;
  display: block;
}

.wf-select__options {
  display: none;
  background-color: white;
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  max-height: 279px;
  overflow-y: auto;
  padding-bottom: 12px;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 1;
}

.wf-select.expand .wf-select__options {
  display: block;
}

/* общая настройка */
.wf-select__options {
  scrollbar-width: thin;
  scrollbar-color: var(--plum) var(--blue-black); /* цвет бегунка, цвет дорожки */
}

.wf-select__options::-webkit-scrollbar {
  width: 12px; /* вертикальный скролл */
  height: 12px; /* горизонтальный скролл */
}

/* дорожка скроллбара */
.wf-select__options::-webkit-scrollbar-track {
  background: var(--blue-black);
  border-radius: 0;
}

/* сам бегунок */
.wf-select__options::-webkit-scrollbar-thumb {
  background: var(--plum);
  border-radius: 4px;
  border: none; /* создаёт отступ внутри трека */
}

/* при наведении/активном состоянии можно изменить стиль */
.wf-select__options::-webkit-scrollbar-thumb:hover {
  background: var(--plum);
}

.wf-select__option {
  padding: 12px 24px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray--light);
}

.wf-select__option:hover {
  background-color: var(--purple-light);
}

.wf-select__option:hover::after {
  content: "";
  width: 18px;
  height: 18px;
  background-image: url(../images/select.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.hasDatepicker .ui-datepicker-calendar {

margin: unset;
  width: unset;

}