@charset "UTF-8";

body:has(.popup.open) .page-wrapper {
  -webkit-filter: blur(2px);
  filter: blur(2px);
}

body:has(.popup.open) .page-wrapper::after {
  opacity: 0.5;
}

.popup {
  position: fixed;
  z-index: 200;
  width: 100vw;
  height: 100%;
  top: 0;
  left: 0;
  visibility: hidden;
  overflow-y: auto;
  overflow-x: hidden;
}

.popup.open {
  visibility: visible;
}

.popup.open .popup__overlay {
  opacity: 0.5;
}

.popup.open .popup__content {
  opacity: 1;
}

.popup__body {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 30px 10px;
  transition: all 0.4s ease 0s;
}

.popup__overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.popup__content {
  position: relative;
  transition: all 0.4s ease 0s;
  opacity: 0;
  background-color: var(--body-bg);
  width: 720px;
  color: #000;
  padding: 36px 32px;
  border-radius: 24px;
  box-shadow: 0px 15px 31.1px 0px rgba(0, 0, 0, 0.0588235294);
}

.popup__btn-close {
  position: absolute;
  left: 32px;
  top: 32px;
  background: none;
  width: 24px;
  aspect-ratio: 1;
  z-index: 201;
  background-color: var(--body-bg);
  cursor: pointer;
}

.popup__btn-close img {
  width: 100%;
}

/* add popup styles */

.popup__title {
  font-weight: 700;
  line-height: 100%;
  margin-bottom: 24px;
  font-size: 32px;
  text-align: right;
  color: var(--color-text-dark);
}

.popup__subtitle {
  font-weight: 500;
  line-height: 100%;
  margin-bottom: 32px;
  font-size: 16px;
  text-align: right;
  color: var(--color-text-dark);
}

.popup__btns {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.popup__body .popup__btns {
  margin-top: 32px;
}

.profile-type__btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.popup__btn {
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  line-height: 100%;
  border: none;
  min-width: 155px;
  height: 48px;
  gap: 10px;
  opacity: 1;
}

.popup__btn--save,
.services__btn--save {
  background-color: var(--color-accent);
  color: var(--body-bg);
}

.popup__btn--cancel,
.services__btn--cancel {
  border: 1px solid var(--color-border);
  background-color: var(--color-button-secondary-bg);
  color: var(--color-button-secondary-text);
}

.popup__label {
  line-height: 100%;
  margin-bottom: 8px;
  display: block;
  text-align: right;
  color: var(--color-text-dark);
  font-weight: 500;
  font-size: 12px;
  color: var(--color-gray);
}

.popup__textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  padding: 17px 16px;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-dark);
  resize: vertical;
  justify-content: space-between;
  opacity: 1;
  border-radius: 6px;
  resize: none;
}

.popup__selected-tags,
.popup__expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 32px 0px;
  min-height: 42px;
}

.intro__photo.action-button,
.specialist__bg-cover {
  position: relative;
}

/* Edit Profile Popup Styles */

.popup__photo-section {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 13px;
  margin-bottom: 32px;
}

.current-photo {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 13px;
}

.photo-preview {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--body-bg);
  flex-shrink: 0;
  background: #F8F8F8;
}

.photo-preview img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.photo-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}

.photo-action {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--body-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.photo-action:hover {
  background: #F5F5F5;
}

.popup__form-group {
  margin-bottom: 16px;
}

.popup__input {
  box-sizing: border-box;
  width: 100%;
  height: 56px;
  padding: 17px 16px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: "Satoshi", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  text-align: right;
  color: var(--color-text-dark);
  background: var(--body-bg);
  transition: border-color 0.3s ease;
  margin-bottom: 8px;
}

.popup__input:focus {
  outline: none;
  border-color: var(--color-text-dark);
}

.popup__input::-webkit-input-placeholder {
  color: #ACADAE;
}

.popup__input::-moz-placeholder {
  color: #ACADAE;
}

.popup__input::placeholder {
  color: #ACADAE;
}

.popup__input-btn {
  text-align: center;
  border: 1px solid #DDE4E9;
}

.work-schedule__add-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* Single selection display */

.popup__selected-location {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  font-weight: 500;
  background: #F5F5F5;
  border-radius: 6px;
  min-height: 56px;
}

.location-chip {
  display: inline-flex;
  align-items: center;
  background: var(--color-text-dark);
  color: var(--body-bg);
  border-radius: 16px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
}

.location-chip .remove-location {
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 8px;
  color: var(--body-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.location-chip .remove-location:hover {
  opacity: 0.8;
}

/* Edit button on photo */

.intro__photo {
  position: relative;
}

.edit-photo-button:hover {
  background: #F5F5F5;
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

/* For location selector when selected */

#locationSelect.has-selection .placeholder {
  color: var(--color-text-dark);
  font-weight: 500;
}

/* new */

.specialist__widget-wrapper {
  background-color: var(--body-bg);
  border-radius: 0px;
  padding: 0px;
  align-self: start;
}

.specialist__widget-block {
  margin-bottom: 12px;
  background-color: #F8F8F8;
  border-radius: var(--border-radius--lg);
  padding: 32px;
}

.total-reviews-block--mobile,
.profile-filling-block--mobile,
.profile-type-block--mobile,
.top-position-block--mobile {
  display: none;
  width: 100%;
}

.profile-filling-block {
  margin-bottom: 12px;
  background-color: #F8F8F8;
  border-radius: 14px;
  padding: 24px;
}

.profile-filling-contacts__text {
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  text-align: right;
  margin-bottom: 20px;
}

.profile-filling-contacts__progress-wrapper {
  background: var(--body-bg);
  border-radius: 18px;
  width: 100%;
  height: 5px;
  overflow: hidden;
}

.profile-filling-contacts__progress-bar {
  background: var(--color-accent);
  border-radius: 18px;
  height: 5px;
}

.total-reviews-block,
.top-position-block {
  margin-bottom: 12px;
  background-color: #F8F8F8;
  border-radius: 14px;
  padding: 12px;
}

.total-reviews_wrapper {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.total-reviews_wrapper-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 85px;
  text-align: center;
  background: var(--body-bg);
  width: 49.5%;
  padding: 12px 20px;
  border-radius: 6px;
  justify-content: center;
  align-items: flex-start;
}

.total-reviews-number {
  font-weight: 700;
  font-size: 32px;
  line-height: 100%;
  margin-bottom: 2px;
}

.total-reviews-text {
  font-weight: 500;
  font-size: 12px;
  line-height: 100%;
  text-align: right;
}

.total-reviews-rate {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 20px 12px 24px;
  font-size: 16px;
}

.services__table-del-btn {
  cursor: pointer;
  width: 14px;
  height: 14px;
}

.services__table tbody td:nth-child(3) {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  padding-right: 48px;
  gap: 5px;
}

.button-popup {
  cursor: pointer;
  width: 40;
  height: 40;
  gap: 10px;
  opacity: 1;
  border-radius: 100px;
  padding: 12px;
  border: 1px solid var(--color-border);
}

.edit-photo-button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--body-bg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.edit-button {
  transition: all 0.3s ease;
}

.edit-photo-button:hover,
.edit-button:hover {
  background: #F5F5F5;
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

.edit-button_mini {
  padding: 5.7px;
  width: 19px;
  height: 19px;
}

.edit_section_data-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.edit_section_data-wrapper {
  display: flex;
  align-items: flex-start;
  flex-direction: row-reverse;
  justify-content: space-between;
  margin-top: 24px;
  width: 100%;
}

.profile-type-block-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 24px;
  align-items: flex-end;
}

.profile-type-block--desktop {
  margin-bottom: -45px;
}

.popup__form-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.popup__service-title {
  width: 80%;
}

.popup__service-price {
  width: 20%;
}

.popup__working_hours {
  width: 50%;
}

.top-position__title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  padding: 15px;
}

.top-position__title img {
  width: 16px;
  height: 16px;
}

.top-position__content {
  opacity: 1;
  border-radius: 14px;
  padding: 16px;
  background-color: var(--color-text-light);
}

.top-position__content p {
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: right;
  margin-bottom: 12px;
}

/* Hide arrows for Chrome, Safari, Edge, Opera */

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
  /* Important for Firefox */
}

/* Hide arrows for Firefox */

input[type=number] {
  -moz-appearance: textfield;
  -webkit-appearance: textfield;
          appearance: textfield;
}

/* Стили для круглых фото */

.intro__photo .img-cover,
.specialist__widget-block .person__photo.img-cover {
  border-radius: 50%;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.intro__photo .img-cover img,
.specialist__widget-block .person__photo.img-cover img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Если нужно, чтобы фото было круглым во всех местах, можно добавить: */

.person__photo.img-cover {
  border-radius: 50%;
  overflow: hidden;
}

.person__photo.img-cover img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Для превью фото в popup */

.photo-preview {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--body-bg);
  flex-shrink: 0;
  background: #F8F8F8;
}

.photo-preview img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.popup__form--deleting_account {
  width: 100%;
  font-weight: 500;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--color-gray);
  margin-top: -15;
  margin-bottom: 40px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease 0s;
}

.popup__form--deleting_account:hover,
.popup__form--deleting_account:focus {
  color: var(--color-accent);
}

/* Стили для Select2 в профиле специалиста */

#sp-account .select2-container {
  width: 100%;
}

#sp-account .select2-selection--single {
  height: 52px;
}

/* Общие стили для Select2 в popup-ах */

.popup .select2-container {
  width: 100% !important;
}

.popup .select2-container--default .select2-selection--single,
.popup .select2-container--default .select2-selection--multiple {
  height: 58px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 0 16px;
  background-color: var(--body-bg);
  direction: rtl;
  text-align: right;
}

/* Стрелка */

.popup .select2-container--default .select2-selection--single .select2-selection__arrow,
.popup .select2-container--default .select2-selection--multiple .select2-selection__arrow {
  height: 58px;
  width: 24px;
  right: auto;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup .select2-container--default .select2-selection--single .select2-selection__arrow b,
.popup .select2-container--default .select2-selection--multiple .select2-selection__arrow b {
  border-color: var(--color-text-dark) transparent transparent transparent;
  border-width: 6px 6px 0 6px;
  margin-top: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  position: absolute;
  left: 0;
  margin-left: 0;
}

.popup .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b,
.popup .select2-container--default.select2-container--open .select2-selection--multiple .select2-selection__arrow b {
  border-color: transparent transparent var(--color-text-dark) transparent;
  border-width: 0 6px 6px 6px;
}

/* Плейсхолдер - исправленное отображение */

.popup .select2-container .select2-selection--single .select2-selection__rendered,
.select2-container .select2-selection--multiple .select2-selection__rendered {
  width: 100%;
  padding-right: 30px;
  /* Для стрелки */
  display: flex;
  align-items: center;
}

.popup .select2-container--default .select2-selection--single .select2-selection__placeholder,
.popup .select2-container--default .select2-selection--multiple .select2-selection__placeholder {
  color: var(--color-text-dark);
  opacity: 0.7;
  font-size: 16px;
  font-weight: 500;
  line-height: 100%;
  text-align: right;
  width: 100%;
  display: block;
  direction: rtl;
}

/* Выбранное значение в одиночном селекторе - центрирование */

.popup .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--color-text-dark);
  font-size: 16px;
  font-weight: 500;
  line-height: 100%;
  padding-right: 0px;
  text-align: center;
  direction: rtl;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
}

/* Переопределение стилей для открытого списка  (точно рабочие стили ) start */

.select2-dropdown {
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0px 10px 31px 0px rgba(0, 0, 0, 0.0784313725) !important;
  border-width: 0px !important;
  margin-top: 2px;
}

.select2-container--open ul li {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-dark);
  padding: 12px 16px;
  text-align: right;
  margin: 2px;
  direction: rtl;
  height: 43;
  gap: 12px;
  opacity: 1;
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  font-family: Satoshi;
  line-height: 100%;
}

.select2-container--open ul li:hover {
  background-color: #F5F5F5;
}

.select2-container--open ul li:focus {
  background-color: #F5F5F5;
}

.select2-results__option--selectable,
.select2-results__option--selected {
  background-color: white !important;
  color: var(--color-text-dark) !important;
}

.select2-results__option--selectable:hover,
.select2-results__option--selected:hover {
  background-color: #F5F5F5 !important;
  color: var(--color-text-dark) !important;
}

.select2-results__option--selectable:hover,
.select2-results__option--selected:hover {
  background-color: #F5F5F5 !important;
  color: var(--color-text-dark) !important;
}

.select2-results__option--disabled {
  background-color: #F5F5F5 !important;
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

/* end  */

.popup .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #F5F5F5;
  color: var(--color-text-dark);
}

.popup .select2-container--default .select2-results__option[aria-selected=true] {
  background-color: #F5F5F5;
  opacity: 0.5;
  cursor: not-allowed;
}

.popup .select2-container--default .select2-results__option[aria-selected=true]:hover {
  background-color: #F5F5F5;
}

/* Стили для multiple селектора (скрываем выбранные) */

.popup .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  /* display: none !important; */
}

.popup .select2-container--default .select2-selection--multiple .select2-selection__choice {
  display: none !important;
}

.popup .select2-container--default .select2-selection--multiple .select2-search--inline {
  /* display: none !important; */
}

/* Контейнеры для выбранных элементов */

.popup__selected-tags,
.popup__selected-langs,
.popup__expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
  min-height: 42px;
}

/* Если контейнер пустой, добавляем минимальную высоту */

.popup__selected-tags:empty::after,
.popup__selected-langs:empty::after,
.popup__expertise:empty::after {
  content: "";
  display: block;
  height: 42px;
}

.skill-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  border-radius: 100px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  gap: 5px;
}

.skill-chip span {
  margin-right: 8px;
  font-weight: 500;
}

.skill-chip .remove-skill {
  background: none;
  border: none;
  cursor: pointer;
  width: 16px;
  height: 16px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.skill-chip .remove-skill img {
  width: 12px;
  height: 12px;
}

.education__item {
  -o-object-fit: "cover";
     object-fit: "cover";
}

.education__item-empty {
  border: 1px dashed var(--color-border);
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-direction: column;
  border-radius: 12px;
  padding: 32px 10px;
  width: 100%;
  aspect-ratio: 210/175;
  -o-object-fit: "cover";
     object-fit: "cover";
}

.education__item-empty div {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
}

.education__item-empty samp {
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}

.education__item-certificate {
  position: relative;
}

.education__item-inspection_progress {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 12px);
  margin: 6px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background: rgba(241, 132, 50, 0.0784313725);
  border-radius: 8px;
  padding: 6px 12px;
}

.education__item-inspection_progress img {
  width: 14px;
  height: 14px;
}

.education__item-inspection_progress p {
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--color-accent);
  margin-left: 3px;
}

.education__popup-trigger {
  all: unset;
  width: 100%;
  display: block;
  cursor: pointer;
}

/* Education Popup Styles */

.education-upload-container {
  display: flex;
  flex-direction: column;
  /* align-items: flex-end; */
  padding: 0;
  gap: 12px;
  width: 100%;
  /* margin-bottom: 32px; */
}

/* Label style */

.education-upload-label {
  font-family: "Satoshi", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  text-align: right;
  color: #ACADAE;
  width: 100%;
  margin-bottom: 8px;
}

/* Upload area style (when no file) */

.education-upload-area {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 17px 16px;
  gap: 10px;
  width: 100%;
  height: 288px;
  border: 1px dashed #173852;
  border-radius: 6px;
}

.education-upload-button {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  /* width: 78px; */
  height: 24px;
}

.education-upload-button:hover {
  opacity: 0.8;
}

.upload-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.education-upload-button span {
  font-family: "Satoshi", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  text-align: right;
  color: #173852;
  margin-left: 10px;
}

/* Preview area style (when file is selected) */

.education-preview-area {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
  gap: 10px;
  isolation: isolate;
  width: 100%;
  height: 388px;
  background: #F5F5F5;
  border-radius: 21px;
  position: relative;
  margin-bottom: 32px;
}

.education__item-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.preview-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding: 10px;
  gap: 10px;
  width: 288px;
  height: 308px;
  background: #FFFFFF;
  border-radius: 12px;
  z-index: 0;
}

.preview-image {
  width: 268px;
  height: 288px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preview-image img {
  width: 100%;
  max-height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.preview-pdf {
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Action buttons in preview */

.preview-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  gap: 12px;
  position: absolute;
  width: 108px;
  height: 48px;
  left: calc(50% + 86px);
  top: 56px;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  z-index: 1;
}

.action-button {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 12px;
  gap: 10px;
  width: 48px;
  height: 48px;
  background: #FFFFFF;
  border: 1px solid #DDE4E9;
  border-radius: 100px;
  cursor: pointer;
}

.action-button:hover {
  background: #F8F8F8;
}

/* Info text */

.education-info-text {
  margin-bottom: 0px;
}

/* Action buttons at bottom */

.education-action-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  gap: 12px;
  width: 322px;
  height: 48px;
  align-self: flex-end;
}

.education-action-buttons .popup__btn {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 15px 32px;
  gap: 10px;
  width: 155px;
  height: 48px;
  border-radius: 6px;
  font-family: "Satoshi", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 132%;
  cursor: pointer;
  border: none;
}

.education-action-buttons .btn--white {
  border: 1px solid #DDE4E9;
  background: #FFFFFF;
  color: #173852;
}

.education-action-buttons .btn--accent {
  background: #F18432;
  color: #FFFFFF;
}

.education-action-buttons .btn--accent:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Popup header adjustments */

.popup__header {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  gap: 7px;
  width: 100%;
}

.popup__title {
  width: 100%;
  height: 43px;
  font-family: "Satoshi", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 43px;
  text-align: right;
  color: #173852;
  margin-bottom: 7px;
}

.popup__subtitle {
  width: 100%;
  height: 44px;
  font-family: "Satoshi", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  text-align: right;
  color: #173852;
}

/* Close button adjustment */

.popup__btn-close {
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.popup__btn-close svg {
  width: 100%;
  height: 100%;
}

/* Для одиночного селектора локации */

#locationSelect2_single.select2-hidden-accessible {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.services__table tbody td:nth-child(3),
.services__table thead th:nth-child(3) {
  padding-right: 0px;
}

.purchase-contacts__schedule-item-wrapper {
  justify-content: space-between;
}

.popup__form-group-error {
  display: none;
  font-weight: 500;
  font-size: 10px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: right;
  color: #FF5050;
}

/* Добавляем исправления для стрелки Select2 */

.popup .select2-container--default .select2-selection--single .select2-selection__arrow b,
.popup .select2-container--default .select2-selection--multiple .select2-selection__arrow b {
  border-color: var(--color-text-dark) transparent transparent transparent;
  border-width: 6px 6px 0 6px;
  margin-top: -3px;
  margin-left: 0;
  position: static;
  -webkit-transform: none;
          transform: none;
}

.popup .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b,
.popup .select2-container--default.select2-container--open .select2-selection--multiple .select2-selection__arrow b {
  border-color: transparent transparent var(--color-text-dark) transparent;
  border-width: 0 6px 6px 6px;
}

/* Исправляем плейсхолдер */

.popup .select2-container .select2-selection--single .select2-selection__rendered,
.popup .select2-container .select2-selection--multiple .select2-selection__rendered {
  padding-right: 8px;
  padding-left: 30px;
  text-align: right;
  direction: rtl;
}

/* Убираем display: none для контейнера multiple селектора */

.popup .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  display: block !important;
  padding-right: 8px;
}

/* Красная обводка для ошибки валидации */

.popup__input.error {
  border-color: #FF5050 !important;
}

/* Validation styles */

.popup__input.error,
.popup__textarea.error {
  border-color: #FF5050 !important;
}

.popup__form-group-error {
  display: none;
  font-weight: 500;
  font-size: 10px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: right;
  color: #FF5050;
  margin-top: 4px;
}

.popup__form-group-error.active {
  display: block;
}

.popup__futer_btns {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: end;
}

input[type=time] {
  width: 100%;
  border: 1px solid var(--color-border);
}

input[type=time]::-webkit-inner-spin-button {
  opacity: 0.5;
  /* Чтобы сделать их видимыми */
}

/*Час*/

input[type=time]::-webkit-datetime-edit-hour-field,
input[type=time]::-webkit-datetime-edit-minute-field,
input[type=time]::-webkit-datetime-edit-fields-wrapper {
  /* background-color: darkgreen; */
  border-radius: 15%;
  padding: 19px 13px;
  color: #8D8B8B;
  opacity: 1;
}

input[type=time]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  padding-right: 15px;
}

.select2-search__field {
  margin-top: 18px;
}

.select2-container--default .select2-search--inline .select2-search__field {
  margin-top: 18px;
}

#select2-daysWeekSelect2-container {
  display: none !important;
}

.select2-search__field {
  display: block !important;
}

/* Стили для ошибок в Select2 */

.select2-container.error .select2-selection,
.select2-selection.error {
  border-color: #FF5050 !important;
}

/* Стили для ошибок в select */

select.error {
  border-color: #FF5050 !important;
}

@media (max-width: 998px) {
  .total-reviews-block--mobile {
    display: block;
    margin-bottom: 24px;
  }

  .profile-filling-block--mobile {
    display: block;
    margin-bottom: 24px;
  }

  .top-position-block--mobile {
    display: block;
    margin-bottom: 24px;
  }

  .profile-type-block--mobile {
    display: block;
  }
}

@media (max-width: 768px) {
  .popup.open .popup__body {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
  }

  .popup__body {
    padding: 0;
    align-items: flex-end;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }

  .popup__content {
    padding: 24px 16px;
    border-radius: 0;
    width: 100vw;
    box-shadow: none;
  }

  .popup__btn-close {
    left: 16px;
  }

  .popup__service-title {
    width: 60%;
  }

  .popup__service-price {
    width: 40%;
  }

  .edit-photo-button {
    top: -21px;
    right: -5px;
  }
}

@media (max-width: 520px) {
  .popup__futer_btns {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
}

@media (max-width: 425px) {
  .profile-type__btns .popup__btn {
    width: 49%;
    justify-content: space-between;
  }

  .popup__futer_btns .btn--secondary,
  .popup__futer_btns div {
    width: 100%;
  }
}