/* =========================
   ВЫПАДАЮЩЕЕ МЕНЮ ПРОФИЛЯ
   ========================= */

.profile-dropdown-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
  pointer-events: none !important;
  display: none;
}

.profile-dropdown-overlay.show {
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
  display: none;
}

.profile-dropdown {
  position: absolute !important;
  top: calc(100% + 1px) !important;
  right: 0 !important;
  left: auto !important;
  width: 380px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 150px);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  z-index: 10001 !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--transition-base), visibility var(--transition-base),
    transform var(--transition-base);
  overflow-y: auto !important;
  overflow-x: hidden;
  pointer-events: none;
  margin: 0 !important;
  -webkit-overflow-scrolling: touch;
  /* Плавный скролл на iOS */
}

.profile-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto !important;
  overflow-y: auto !important;
}

.profile-dropdown__content {
  position: relative;
  display: flex;
  gap: 20px;
  flex-direction: column;
  /*padding: var(--spacing-lg);*/
  padding-bottom: 0;
  pointer-events: auto !important;
}

/* Убеждаемся, что все интерактивные элементы внутри меню кликабельны */
.profile-dropdown.show a,
.profile-dropdown.show button,
.profile-dropdown.show input,
.profile-dropdown.show label,
.profile-dropdown.show [onclick] {
  pointer-events: auto !important;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.profile-dropdown__close {
  position: absolute !important;
  top: var(--spacing-md);
  right: 25px;
  top: -5px;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: black;
  transition: all var(--transition-fast);
  z-index: 10;
  border-radius: var(--radius-round);
}

.profile-dropdown__close:hover {
  color: var(--color-primary);
  background: var(--color-gray-light);
  transform: rotate(90deg);
}

.profile-dropdown__header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  padding-top: var(--spacing-xs);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 70%;
}

.profile-dropdown__avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-round);
  overflow: hidden;
  border: 3px solid var(--color-gray-light);
  box-shadow: var(--shadow-md);
}

.profile-dropdown__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-dropdown__name {
  font-family: "Inter", sans-serif;
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.3;
}

/* Блок пользователя (аватар + ФИО + роль) — по умолчанию скрыт, показывается на мобильной */
.profile-dropdown__user-row {
  display: none;
}

.profile-dropdown__user-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.profile-dropdown__role {
  font-family: "Inter", sans-serif;
  font-size: var(--font-size-sm);
  font-weight: 400;
  color: var(--color-gray);
  line-height: 1.3;
}

.profile-dropdown__body {
  flex: 1;
  /* margin-bottom: var(--spacing-lg);*/
  padding-top: var(--spacing-md);
}

.profile-dropdown__info-item .profile-dropdown__label {
  color: var(--Grayscale-Gray-03, #333);
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.profile-dropdown__info-item .profile-dropdown__value {
  margin-left: 15px;
  color: var(--Grayscale-Gray-03, #333);
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.profile-dropdown__info-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.profile-dropdown__info-item:last-child {
  margin-bottom: 0;
}

.profile-dropdown__label {
  font-family: "Inter", sans-serif;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-gray);
}

.profile-dropdown__value {
  font-family: "Inter", sans-serif;
  font-size: var(--font-size-md);
  font-weight: 400;
  color: var(--color-primary);
  word-break: break-word;
}

.profile-dropdown__footer {
  display: flex;
  flex-direction: row;
  padding-left: 18px;
  gap: var(--spacing-xs);
  margin-bottom: 11px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.profile-dropdown__btn {
  width: 100%;
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius-md);
  font-family: "Inter", sans-serif;
  font-size: var(--font-size-md);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  text-decoration: none;
  display: inline-block;
  box-sizing: border-box;
}

.profile-dropdown__btn--edit {
  background: var(--color-secondary);
  color: var(--color-white);
}

.profile-dropdown__btn--edit:hover {
  background: #0003b8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 4, 227, 0.3);
}

.profile-dropdown__btn--edit:active {
  transform: translateY(0);
}

.profile-dropdown__btn--logout {
  background: var(--color-gray-light);
  color: var(--color-gray);
}

.profile-dropdown__btn--logout:hover {
  background: #e8e8e8;
  color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.profile-dropdown__btn--logout:active {
  transform: translateY(0);
}

.profile-dropdown__link {
  display: flex;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #33CCFF;
  text-decoration: none;
  padding: var(--spacing-xs) 0;
  transition: color var(--transition-fast);
  text-align: center;
  padding-left: 1px;
  padding-top: 8px;
}

.profile-dropdown__link:hover {
  /*color: #0086b3;*/
}

.profile-dropdown__link img {
  width: 21px;
  margin-right: 11px;
}

/* =========================
   АККОРДЕОН В ВЫПАДАЮЩЕМ МЕНЮ
   ========================= */

.profile-dropdown__accordion {
  /*margin-top: var(--spacing-lg);*/
  /*margin-bottom: var(--spacing-lg);*/
  /*padding-top: var(--spacing-md);*/
}

.profile-accordion-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.profile-accordion-item:last-child {
  border-bottom: none;
}

.profile-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
  cursor: pointer;
  user-select: none;
  transition: background-color var(--transition-fast);
  border-radius: var(--radius-sm);
  margin: 0 calc(-1 * var(--spacing-xs));
  padding-left: 20px;
  padding-right: 25px;
}

.profile-accordion-header:hover {
  background-color: var(--color-gray-light);
}

.profile-accordion-title img {
  margin-right: 15px;
  width: 19px;
  height: 21px;
}

.profile-accordion-title {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.profile-accordion-icon {
  width: 20px;
  height: 20px;
  color: var(--color-gray);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.profile-accordion-item.active .profile-accordion-icon {
  transform: rotate(180deg);
}

.profile-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
  padding: 0 var(--spacing-xs);
}

.profile-accordion-item.active .profile-accordion-content {
  max-height: 200px;
  padding: var(--spacing-xs) var(--spacing-xs) var(--spacing-sm)
    var(--spacing-xs);
}

.profile-accordion-link {
  display: block;
  padding: var(--spacing-xs) var(--spacing-sm);
  font-family: "Inter", sans-serif;
  font-size: var(--font-size-sm);
  color: var(--color-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.profile-accordion-link:hover {
  background-color: var(--color-gray-light);
  text-decoration: underline;
}

/* =========================
   CHECKBOX'Ы (TOGGLE SWITCHES)
   ========================= */

.profile-dropdown__toggles {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.profile-toggle-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm);
}

.profile-toggle-item:hover {
  background: #f0f0f0;
  border-color: rgba(0, 0, 0, 0.15);
}

.profile-toggle-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex: 1;
  min-width: 0;
}

.profile-toggle-icon {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-toggle-icon img,
.profile-toggle-icon video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.profile-toggle-icon img {
  width: 30px;
  height: 20px;
}

.profile-toggle-label span {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary);
}

.profile-toggle-switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 32px;
  flex-shrink: 0;
  margin-right: 19px;
}

.profile-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.profile-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #8ab6ee;
  transition: 0.4s;
  border-radius: 34px;
}

.profile-toggle-slider:before {
  position: absolute;
  content: "";
  height: 28px;
  width: 28px;
  background-size: 13px 13px;
  background-repeat: no-repeat;
  background-position: center;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

/* Иконка замка показывается только для disabled чекбоксов */
.profile-toggle-switch input:disabled + .profile-toggle-slider:before {
  background-image: url(../image/map/lock.svg);
}

/* Красный замочек только для свайпера "Быть HELPERом" */
.profile-toggle-switch--helper input:disabled + .profile-toggle-slider:before {
  background-image: none;
}

/* Добавляем красный замок через ::after для свайпера "Быть HELPERом" */
.profile-toggle-switch--helper input:disabled + .profile-toggle-slider::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 6px;
  bottom: 6px;
  background-color: rgb(255, 0, 0);
  mask-image: url(../image/map/lock.svg);
  mask-size: 16px 16px;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url(../image/map/lock.svg);
  -webkit-mask-size: 16px 16px;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  pointer-events: none;
  z-index: 1;
}

.profile-toggle-switch input:checked + .profile-toggle-slider {
  background-color: #003366;
}

.profile-toggle-switch input:checked + .profile-toggle-slider:before {
  transform: translateX(24px);
}

.profile-toggle-switch input:focus + .profile-toggle-slider {
  box-shadow: 0 0 0 3px rgba(0, 4, 227, 0.1);
}

@media (max-width: 768px) {
  .profile-toggle-switch--helper input:disabled + .profile-toggle-slider::after {
    width: 16px;
    height: 16px;
    mask-size: 16px 16px;
    -webkit-mask-size: 16px 16px;
  }
}

/* Стили для disabled чекбоксов */
.profile-toggle-switch input:disabled + .profile-toggle-slider {
  cursor: not-allowed;
  opacity: 0.6;
  background-color: #ccc;
}

.profile-toggle-switch input:disabled:checked + .profile-toggle-slider {
  background-color: #999;
}

.profile-toggle-switch input:disabled + .profile-toggle-slider:before {
  transform: translateX(0);
}

.profile-toggle-switch input:disabled:checked + .profile-toggle-slider:before {
  transform: translateX(24px);
}

/* Переопределение для чекбоксов в settings-modal - черный фон */
.settings-modal .profile-toggle-switch input:checked + .profile-toggle-slider {
  background-color: #000000 !important;
}

.settings-modal
  .profile-toggle-switch
  input:checked
  + .profile-toggle-slider:before {
  transform: translateX(24px) !important;
  background-color: white !important;
}

/* Позиционирование относительно профиля */
.header-map__profile {
  position: relative !important;
  z-index: 1000 !important;
}

.header-map__profile__account {
  cursor: pointer !important;
  position: relative;
  user-select: none;
}

.header-map__profile__account:hover {
  opacity: 0.9;
}

/* Убеждаемся, что выпадающее меню находится внутри контейнера профиля */
.header-map__profile #profileDropdown {
  position: absolute !important;
  top: calc(106% + 0px) !important;
  right: -14px !important;
  width: 596px !important;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border: 0;
  padding: 0;
}

@media (max-width: 1024px) {
  .header-map__profile #profileDropdown {
    position: absolute !important;
    top: calc(101% + 0px) !important;
    right: -10px !important;
  }
}

/* Адаптивные стили */
@media (max-width: 768px) {
  .profile-dropdown {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    max-height: 85vh !important;
    border-radius: 20px 20px 0 0 !important;
    transform: translateY(100%) !important;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.15) !important;
    z-index: 10002 !important;
  }

  .profile-dropdown.show {
    transform: translateY(0) !important;
  }

  .profile-dropdown-overlay {
    display: block !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    z-index: 10001 !important;
  }

  .profile-dropdown-overlay.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .profile-dropdown__content {
    padding: var(--spacing-md);
  }

  /* Верхний блок: аватар слева, ФИО и роль справа */
  .profile-dropdown__user-row {
    display: flex;
    align-items: center;
    gap: 16px;
   /*padding: var(--spacing-sm) 0 var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);*/
  }

  .profile-dropdown__user-row .profile-dropdown__avatar {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    margin-bottom: 0;
    border-width: 2px;
  }

  .profile-dropdown__user-row .profile-dropdown__user-info {
    flex: 1;
    min-width: 0;
  }

  .profile-dropdown__user-row .profile-dropdown__name {
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--color-primary);
  }

  .profile-dropdown__user-row .profile-dropdown__role {
    font-size: var(--font-size-sm);
    color: var(--color-gray);
  }

  .profile-dropdown__close {
    top: -95px;
    right: var(--spacing-sm);
    width: 28px;
    height: 28px;
  }

  .profile-dropdown__avatar {
    width: 70px;
    height: 70px;
    margin-bottom: var(--spacing-sm);
  }

  .profile-dropdown__name {
    font-size: var(--font-size-md);
  }

  .profile-accordion-title {
    font-size: var(--font-size-sm);
  }

  .profile-toggle-label span {
    font-size: var(--font-size-sm);
  }

  .profile-toggle-item {
    padding: var(--spacing-xs);
  }
}

@media (max-width: 480px) {
  .profile-dropdown {
    width: 100vw !important;
    max-width: 100vw !important;
    border-radius: 20px 20px 0 0 !important;
  }

  .profile-dropdown__avatar {
    width: 60px;
    height: 60px;
  }

  .profile-dropdown__name {
    font-size: var(--font-size-sm);
  }

  .profile-dropdown__btn {
    padding: 10px 16px;
    font-size: var(--font-size-sm);
  }

  .profile-accordion-title {
    font-size: var(--font-size-xs);
  }

  .profile-accordion-link {
    font-size: var(--font-size-xs);
    padding: 6px 10px;
  }

  .profile-toggle-label span {
    font-size: var(--font-size-xs);
  }

  .profile-toggle-switch {
    width: 44px;
    height: 24px;
  }

  .profile-toggle-slider:before {
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
  }

  .profile-toggle-switch input:checked + .profile-toggle-slider:before {
    transform: translateX(20px);
  }
}

/* Модалка HELPER */
.helper-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.helper-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Модалка выбора действия HELPER (Вызвать полицию / Связаться с ребенком) */
.helper-action-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 10002;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.helper-action-modal-overlay.show {
  opacity: 1;
}

.helper-action-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 10003;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.3s ease;
  width: 90%;
  max-width: 360px;
  padding: 0;
}

.helper-action-modal.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.helper-action-modal__content {
  position: relative;
  padding: 60px 24px 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.helper-action-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.helper-action-modal__close:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #000;
}

.helper-action-modal__buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.helper-action-modal__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 24px;
  border: none;
  border-radius: 39px;
  cursor: pointer;
  overflow: hidden;
  background: linear-gradient(135deg, #003366 0%, #33CCFF 100%);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.helper-action-modal__btn .helper-action-modal__btn-bg {
  display: none;
}

.helper-action-modal__btn:hover {
  opacity: 0.95;
}

.helper-action-modal__btn:active {
  transform: scale(0.98);
}

.helper-action-modal__btn-text {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .helper-action-modal {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.3s ease;
    border-radius: 20px 20px 0 0;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .helper-action-modal.show {
    transform: translateY(0);
  }
  .helper-action-modal__content {
    padding: 44px 20px calc(20px + env(safe-area-inset-bottom, 0));
    border-radius: 20px 20px 0 0;
  }
}

/* Модалки «Функционал в разработке» и «Связаться с ребенком» (тост-стиль) */
.helper-toast-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 10004;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.helper-toast-modal-overlay.show {
  opacity: 1;
}

.helper-toast-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  z-index: 10005;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.25s ease;
  width: 90%;
  max-width: 340px;
}

.helper-toast-modal--in-dev {
  max-width: 440px;
}

.helper-toast-modal--in-dev .helper-toast-modal__content {
  width: 440px;
  max-width: 100%;
}

.helper-toast-modal--phone {
  max-width: 380px;
}

.helper-toast-modal--phone .helper-toast-modal__content {
  width: 380px;
  max-width: 100%;
}

.helper-toast-modal.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.helper-toast-modal__content {
  position: relative;
  padding: 44px 24px 24px;
  width: 100%;
  max-width: 340px;
  box-sizing: border-box;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.helper-toast-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.helper-toast-modal__close:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #000;
}

.helper-toast-modal__title {
  margin: 0 0 12px 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
}

.helper-toast-modal__description {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #333;
  line-height: 1.6;
}

.helper-toast-modal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--color-primary, #003366);
  opacity: 0.9;
}

.helper-toast-modal__icon--police svg {
  width: 64px;
  height: 64px;
}

.helper-toast-modal__header {
  margin: 0 0 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}

.helper-phone-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

.helper-phone-block__number {
  font-size: 18px;
  font-weight: 600;
  color: #003366;
  letter-spacing: 0.02em;
}

.helper-phone-block__copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid #003366;
  background: #fff;
  color: #003366;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.helper-phone-block__copy:hover {
  background: rgba(0, 51, 102, 0.08);
}

.helper-phone-block__copy:active {
  transform: scale(0.98);
}

.helper-phone-block__copy svg {
  flex-shrink: 0;
}

.helper-phone-block__copy-text {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .helper-toast-modal,
  .helper-toast-modal--in-dev,
  .helper-toast-modal--phone {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.25s ease, visibility 0.25s ease;
    border-radius: 20px 20px 0 0;
  }
  .helper-toast-modal.show {
    transform: translateY(0);
  }
  .helper-toast-modal__content,
  .helper-toast-modal--in-dev .helper-toast-modal__content,
  .helper-toast-modal--phone .helper-toast-modal__content {
    width: 100%;
    max-width: none;
    border-radius: 20px 20px 0 0;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0));
  }
}

.helper-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10003;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  width: 633px;
  height: 577px;
  padding: 0;
  overflow-x: hidden;
}

.helper-modal.show {
  opacity: 1;
  visibility: visible;
}

.helper-modal__content {
  display: inline-flex;
  padding: 39px 37px 38.964px 50px;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 1px;
  border-radius: 30px;
  border: 1px solid var(--brand-gradient, #036);
  background: #FFF;
  box-shadow: 0 4px 28.5px 0 rgba(0, 134, 179, 0.28);
  position: relative;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.helper-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: color 0.2s ease;
  z-index: 1;
}

.helper-modal__close:hover {
  color: #000;
}

.helper-modal__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.helper-modal__icon {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.helper-modal__icon svg {
  width: 68px;
  height: 69.036px;
}

.helper-modal__title {
  color: #036;
  text-align: center;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 118.2%;
  margin: 0 0 30px 0;
}

.helper-modal__description {
  color: #28293D;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 118.2%;
  text-align: center;
  margin: 0 0 30px 0;
}

.helper-modal__description-bold {
  color: #28293D;
  font-weight: 700;
}

.helper-modal__button {
  position: relative;
  width: 100%;
  max-width: 533px;
  min-height: 78px;
  height: 78px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 39px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.helper-modal__button-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  object-fit: cover;
}

.helper-modal__button-text {
  position: relative;
  z-index: 1;
  color: #FFF;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 118.2%;
}

.helper-modal__button:hover .helper-modal__button-bg {
  opacity: 0.9;
}

.helper-modal__button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.helper-modal__button:disabled:hover .helper-modal__button-bg {
  opacity: 1;
}

@media (max-width: 767px) {
  .helper-modal {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(100%);
    max-width: 100%;
    padding: 0;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease;
  }

  .helper-modal.show {
    transform: translateY(0);
    opacity: 1;
  }

  .helper-modal__content {
    border-radius: 30px 30px 0 0;
    padding: 30px 20px;
    width: 100%;
    max-width: 100%;
  }

  .helper-modal__title {
    font-size: 28px;
  }

  .helper-modal__description {
    font-size: 20px;
  }

  .helper-modal__button {
    max-width: 100%;
    min-height: 60px;
    height: 60px;
    flex-shrink: 0;
  }

  .helper-modal__button-text {
    font-size: 20px;
  }
}

/* Вторая модалка HELPER (Навыки) */
.helper-modal--step2 {
  width: 633px;
  height: 577px;
  border-radius: 30px;
  border: 1px solid var(--brand-gradient, #036);
  background: #FFF;
  box-shadow: 0 4px 28.5px 0 rgba(0, 134, 179, 0.28);
  display: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  padding: 0;
  overflow-x: hidden;
}

.helper-modal--step2.show {
  visibility: visible;
  opacity: 1;
}

.helper-modal__content--step2 {
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.helper-modal__body--step2 {
  padding: 38px 47px 30px 47px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
}

.helper-modal__body--step2 .helper-modal__button {
  margin-top: 30px;
  margin-bottom: 0;
  flex-shrink: 0;
  min-height: 78px;
  height: 78px;
  background: linear-gradient(91deg, #036 0.32%, #3CF 100%);

}

.helper-modal__body--step2::-webkit-scrollbar {
  width: 6px;
}

.helper-modal__body--step2::-webkit-scrollbar-track {
  background: transparent;
}

.helper-modal__body--step2::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.helper-modal__body--step2::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.helper-modal__back {
  position: absolute;
  top: 38px;
  left: 47px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: opacity 0.2s ease;
}

.helper-modal__back:hover {
  opacity: 0.7;
}

.helper-modal__close {
  position: absolute;
  top: 38px;
  right: 47px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: color 0.2s ease;
  z-index: 1;
}

.helper-modal__close:hover {
  color: #000;
}

.helper-modal__icon {
  margin-top: 38px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.helper-modal__icon svg {
  width: 85px;
  height: 83px;
}

.helper-modal__subtitle {
  color: #28293D;
  text-align: center;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 118.2%;
  margin: 0 0 30px 0;
}

.helper-modal__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
  width: 100%;
}

.helper-modal__skill-badge {
  display: inline-flex;
  padding: 10px 22px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 33px;
  border: 2px solid #036;
  background: #FFF;
  color: #036;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 118.2%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.helper-modal__skill-badge:hover {
  background: #f0f0f0;
}

.helper-modal__skill-badge.active {
  background: #036;
  color: #FFF;
}

.helper-modal__textarea {
  display: flex;
  width: 533px;
  min-height: 163px;
  height: 163px;
  padding: 20px;
  align-items: flex-start;
  gap: 10px;
  border-radius: 30px;
  background: #FFF;
  box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.25);
  border: none;
  resize: none;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  color: #28293D;
  margin-bottom: 30px;
  outline: none;
  box-sizing: border-box;
}

.helper-modal__textarea::placeholder {
  color: #999;
}

.helper-modal__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 30px;
  width: 100%;
}

.helper-modal__info {
  width: 100%;
}

.helper-modal__info-text {
  color: #28293D;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 118.2%;
  margin: 0;
  text-align: center;
}

.helper-modal__info-text:not(:last-child) {
  margin-bottom: 10px;
}

.helper-modal__info-bold {
  color: #28293D;
  font-weight: 700;
}

.helper-modal__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  cursor: pointer;
  margin-bottom: 30px;
  width: 100%;
  max-width: 533px;
}


.helper-modal__checkbox {
  display: none;
}

.helper-modal__checkbox-custom {
  width: 39px;
  height: 39px;
  border-radius: 8px;
  background: #EDEDED;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  margin-top: 2px;
}

.helper-modal__checkbox:checked + .helper-modal__checkbox-custom {
  background: #EDEDED;
  border: 2px solid transparent;
}

.helper-modal__checkbox:checked + .helper-modal__checkbox-custom::after {
  content: '';
  width: 31px;
  height: 25px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='31' height='25' viewBox='0 0 31 25' fill='none'%3E%3Cpath d='M27.9304 2.43042L11.5357 21.7127L2.43042 12.1226' stroke='%23003366' stroke-width='4.86076' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.helper-modal__checkbox-text {
  color: #000;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 118.2%;
  flex: 1;
}

@media (max-width: 767px) {
  .helper-modal--step2 {
    width: 100%;
    height: auto;
    max-height: 90vh;
    border-radius: 30px 30px 0 0;
    transform: translateY(100%);
  }

  .helper-modal--step2.show {
    transform: translateY(0);
  }

  .helper-modal__body--step2 {
    padding: 80px 20px 30px 20px;
  }

  .helper-modal__back {
    top: 20px;
    left: 20px;
  }

  .helper-modal__close {
    top: 20px;
    right: 20px;
  }

  .helper-modal__icon {
    margin-top: 20px;
  }

  .helper-modal__icon svg {
    width: 68px;
    height: 69.036px;
  }

  .helper-modal__title {
    font-size: 28px;
  }

  .helper-modal__subtitle {
    font-size: 20px;
  }

  .helper-modal__skill-badge {
    font-size: 16px;
    padding: 8px 18px;
  }

  .helper-modal__textarea {
    width: 100%;
    max-width: 100%;
    height: 163px;
    font-size: 16px;
  }

  .helper-modal__info-text {
    font-size: 20px;
  }

  .helper-modal__checkbox-text {
    font-size: 20px;
  }

  .helper-modal__button {
    max-width: 100%;
    min-height: 60px;
    height: 60px;
    flex-shrink: 0;
  }

  .helper-modal__button-text {
    font-size: 20px;
  }
}

/* Третья модалка HELPER (Подтверждение профиля) */
.helper-modal--step3 {
  width: 633px;
  height: 577px;
  border-radius: 30px;
  border: 1px solid var(--brand-gradient, #036);
  background: #FFF;
  box-shadow: 0 4px 28.5px 0 rgba(0, 134, 179, 0.28);
  display: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  padding: 0;
  overflow-x: hidden;
}

.helper-modal--step3.show {
  visibility: visible;
  opacity: 1;
}

.helper-modal__content--step3 {
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
}

.helper-modal__body--step3 {
  padding: 39px 63px 39px 63px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
}

.helper-modal__body--step3::-webkit-scrollbar {
  width: 6px;
}

.helper-modal__body--step3::-webkit-scrollbar-track {
  background: transparent;
}

.helper-modal__body--step3::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.helper-modal__body--step3::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.helper-modal--step3 .helper-modal__back {
  top: 39px;
  left: 63px;
}

.helper-modal--step3 .helper-modal__close {
  top: 39px;
  right: 63px;
}

.helper-modal__icon--step3 {
  margin-top: 0;
  margin-bottom: 30px;
}

.helper-modal__icon--step3 svg {
  width: 68px;
  height: 69px;
}

.helper-modal__title--step3 {
  color: #036;
  text-align: center;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 118.2%;
  margin: 0 0 30px 0;
}

.helper-modal__intro--step3 {
  color: #28293D;
  text-align: center;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 118.2%;
  margin: 0 0 30px 0;
}

.helper-modal__block--step3 {
  width: 100%;
  max-width: 549px;
  margin-bottom: 30px;
}

.helper-modal__block-title {
  color: #28293D;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 118.2%;
  margin: 0 0 8px 0;
}

.helper-modal__list {
  color: #28293D;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 118.2%;
  margin: 0;
  padding-left: 20px;
}

.helper-modal__list li {
  margin-bottom: 4px;
}

.helper-modal__disclaimer {
  color: #28293D;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 118.2%;
  margin: 0 0 30px 0;
  width: 100%;
  max-width: 549px;
}

.helper-modal__dropzone {
  display: flex;
  width: 549px;
  min-height: 120px;
  padding: 20px 92px 18.42px 91px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  border-radius: 30px;
  border: 1px dashed #6E6E6E;
  background: transparent;
  margin-bottom: 30px;
  position: relative;
  box-sizing: border-box;
}

.helper-modal__file-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.helper-modal__dropzone-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.helper-modal__dropzone.have-files .helper-modal__dropzone-placeholder {
  display: none;
}

.helper-modal__dropzone-text {
  color: #6E6E6E;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 118.2%;
  margin: 0;
  text-align: center;
}

.helper-modal__dropzone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #0004E3;
  font-family: "SF Pro", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.helper-modal__dropzone-btn:hover {
  text-decoration: underline;
}

.helper-modal__dropzone-icon {
  width: 31px;
  height: 31px;
  flex-shrink: 0;
}

.helper-modal__dropzone-previews {
  display: none;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  width: 100%;
}

.helper-modal__dropzone.have-files .helper-modal__dropzone-previews {
  display: flex;
}

.helper-modal__preview-item {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #eee;
  flex-shrink: 0;
}

.helper-modal__preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.helper-modal__preview-item-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  padding: 0;
}

.helper-modal__preview-item-remove:hover {
  background: rgba(0,0,0,0.8);
}

.helper-modal__body--step3 .helper-modal__button {
  margin-top: 0;
  margin-bottom: 0;
  flex-shrink: 0;
  min-height: 78px;
  height: 78px;
}

@media (max-width: 767px) {
  .helper-modal--step3 {
    width: 100%;
    height: auto;
    max-height: 90vh;
    border-radius: 30px 30px 0 0;
    transform: translateY(100%);
  }

  .helper-modal--step3.show {
    transform: translateY(0);
  }

  .helper-modal__body--step3 {
    padding: 80px 20px 39px 20px;
  }

  .helper-modal__dropzone {
    width: 100%;
    max-width: 100%;
    padding: 20px;
  }

  .helper-modal__block--step3 {
    max-width: 100%;
  }

  .helper-modal__disclaimer {
    max-width: 100%;
  }
}

/* Четвёртая модалка HELPER (Ожидание подтверждения) */
.helper-modal--step4 {
  width: 633px;
  height: 577px;
  border-radius: 30px;
  border: 1px solid var(--brand-gradient, #036);
  background: #FFF;
  box-shadow: 0 4px 28.5px 0 rgba(0, 134, 179, 0.28);
  display: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  padding: 0;
  overflow-x: hidden;
}

.helper-modal--step4.show {
  visibility: visible;
  opacity: 1;
}

.helper-modal__content--step4 {
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
}

.helper-modal__body--step4 {
  padding: 32px 47px 32px 47px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
}

.helper-modal__body--step4::-webkit-scrollbar {
  width: 6px;
}

.helper-modal__body--step4::-webkit-scrollbar-track {
  background: transparent;
}

.helper-modal__body--step4::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.helper-modal__body--step4::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.helper-modal--step4 .helper-modal__back {
  top: 32px;
  left: 47px;
}

.helper-modal--step4 .helper-modal__close {
  top: 32px;
  right: 47px;
}

.helper-modal__icon--step4 {
  margin-top: 0;
  margin-bottom: 30px;
}

.helper-modal__icon--step4 svg {
  width: 85px;
  height: 83px;
}

.helper-modal__title--step4 {
  color: #036;
  text-align: center;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 118.2%;
  margin: 0 0 30px 0;
}

.helper-modal__text--step4 {
  color: #28293D;
  text-align: center;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 118.2%;
  margin: 0 0 30px 0;
}

.helper-modal__text--step4:last-of-type {
  margin-bottom: 30px;
}

.helper-modal__body--step4 .helper-modal__button {
  margin-top: 0;
  margin-bottom: 0;
  flex-shrink: 0;
  min-height: 78px;
  height: 78px;
}

@media (max-width: 767px) {
  .helper-modal--step4 {
    width: 100%;
    height: auto;
    max-height: 90vh;
    border-radius: 30px 30px 0 0;
    transform: translateY(100%);
  }

  .helper-modal--step4.show {
    transform: translateY(0);
  }

  .helper-modal__body--step4 {
    padding: 80px 20px 32px 20px;
  }
}

/* Пятая модалка HELPER (Вы HELPER / профиль подтверждён) */
.helper-modal--step5 {
  width: 633px;
  height: 577px;
  border-radius: 30px;
  border: 1px solid var(--brand-gradient, #036);
  background: #FFF;
  box-shadow: 0 4px 28.5px 0 rgba(0, 134, 179, 0.28);
  display: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  padding: 0;
  overflow-x: hidden;
}

.helper-modal--step5.show {
  visibility: visible;
  opacity: 1;
}

.helper-modal__content--step5 {
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
}

.helper-modal__body--step5 {
  padding: 32px 47px 32px 47px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
}

.helper-modal__body--step5::-webkit-scrollbar {
  width: 6px;
}

.helper-modal__body--step5::-webkit-scrollbar-track {
  background: transparent;
}

.helper-modal__body--step5::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.helper-modal__body--step5::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.helper-modal--step5 .helper-modal__back {
  top: 32px;
  left: 47px;
}

.helper-modal--step5 .helper-modal__close {
  top: 32px;
  right: 47px;
}

.helper-modal__icon--step5 {
  margin-top: 0;
  margin-bottom: 30px;
}

.helper-modal__icon--step5 svg {
  width: 68px;
  height: 69px;
}

.helper-modal__title--step5 {
  color: #036;
  text-align: center;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 118.2%;
  margin: 0 0 30px 0;
}

.helper-modal__text--step5 {
  color: #28293D;
  text-align: center;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 118.2%;
  margin: 0 0 30px 0;
}

.helper-modal__text--step5-bold {
  font-weight: 700;
}

.helper-modal__text--step5:last-of-type {
  margin-bottom: 30px;
}

.helper-modal__body--step5 .helper-modal__button {
  margin-top: 0;
  margin-bottom: 0;
  flex-shrink: 0;
  min-height: 78px;
  height: 78px;
}

@media (max-width: 767px) {
  .helper-modal--step5 {
    width: 100%;
    height: auto;
    max-height: 90vh;
    border-radius: 30px 30px 0 0;
    transform: translateY(100%);
  }

  .helper-modal--step5.show {
    transform: translateY(0);
  }

  .helper-modal__body--step5 {
    padding: 80px 20px 32px 20px;
  }
}
