/* Edit profile */

.edit-profile-page {
  flex: 1 1 auto;
  padding-bottom: 2.5rem;
  background: #fff;
}

.edit-profile-page__toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 62px;
  border-bottom: 1px solid rgba(25, 92, 147, 0.15);
}

.edit-profile-page__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 106px;
  height: 46px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: #f7fdff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #1b1b1b;
  cursor: pointer;
  transition: background 0.2s ease;
}

.edit-profile-page__back:hover {
  background: rgba(52, 120, 155, 0.08);
  color: #1b1b1b;
}

.edit-profile-page__back-icon {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.edit-profile-page__back-icon--mobile {
  display: none;
}

@media (max-width: 599.98px) {
  .edit-profile-page__back-icon--desktop {
    display: none;
  }

  .edit-profile-page__back-icon--mobile {
    display: block;
    width: 42px;
    height: 42px;
    margin-left: -22px;
  }
}

.edit-profile-page__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
}

.edit-profile-page__layout {
  width: 100%;
  padding-top: 16px;
  padding-bottom: 24px;
}

.edit-profile-page__row {
  align-items: flex-start;
  width: 100%;
}

@media (min-width: 600px) and (max-width: 991.98px) {
  .edit-profile-page__row {
    --bs-gutter-y: 20px;
  }
}

.edit-profile-page__sidebar-col,
.edit-profile-page__content-col {
  min-width: 0;
}

.edit-profile-page__content {
  width: 100%;
}

.edit-profile-page__section-title {
  margin: 0 0 24px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-primary);
}

.edit-profile-sidebar__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0.5px solid #195c93;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.edit-profile-sidebar__list > li:not(:last-child) {
  border-bottom: 0.5px solid #195c93;
}

.edit-profile-sidebar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 14px 16px;
  border: none;
  border-radius: 0;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}

.edit-profile-sidebar__item:hover {
  background: rgba(52, 120, 155, 0.06);
}

.edit-profile-sidebar__item.is-active {
  background: #f7fdff;
  font-weight: 600;
}

.edit-profile-sidebar__item.is-active:hover {
  background: #f7fdff;
}

.edit-profile-sidebar__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.edit-profile-sidebar__icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.edit-profile-sidebar__label {
  flex: 1 1 auto;
  min-width: 0;
}

.edit-profile-sidebar__chevron {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.edit-profile-sidebar__chevron img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.edit-profile-page .profile-setup-form__actions {
  margin-top: 30px;
}

.verify-profile-page__content {
  padding-top: 24px;
  padding-bottom: 40px;
}

.verify-profile-page .profile-verification__later-wrap {
  text-align: right;
}

@media (max-width: 599.98px) {
  .page-shell:has(.edit-profile-page) > header {
    display: none;
  }

  .edit-profile-page {
    padding-bottom: 0;
  }

  .edit-profile-page__toolbar {
    position: relative;
    justify-content: center;
    min-height: 56px;
    border-bottom: none;
    background: #f2ccb3;
  }

  .edit-profile-page .edit-profile-page__back {
    position: absolute;
    left: var(--page-gutter-x);
    top: 50%;
    width: auto;
    height: auto;
    padding: 8px;
    border-radius: 0;
    background: transparent;
    transform: translateY(-50%);
  }

  .edit-profile-page .edit-profile-page__back:hover {
    background: transparent;
  }

  .edit-profile-page .edit-profile-page__back-label {
    display: none;
  }

  .edit-profile-page__title {
    font-size: 18px;
    text-align: center;
  }

  .edit-profile-page__layout.container-fluid-gutter {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
  }

  .edit-profile-page__row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
  }

  .edit-profile-sidebar__list {
    border: none;
    border-radius: 0;
  }

  .edit-profile-sidebar__item {
    min-height: 56px;
    padding: 18px 20px;
  }

  .edit-profile-sidebar__item.is-active {
    background: #fff;
    font-weight: 500;
    height: 60px;
  }

  .edit-profile-page__content-col {
    display: none !important;
  }

  .edit-profile-page--section-open .edit-profile-page__sidebar-col {
    display: none !important;
  }

  .edit-profile-page--section-open .edit-profile-page__content-col {
    display: block !important;
  }

  .edit-profile-page--section-open .edit-profile-page__layout.container-fluid-gutter {
    padding-left: var(--page-gutter-x);
    padding-right: var(--page-gutter-x);
    padding-top: 16px;
  }

  .edit-profile-page--section-open .edit-profile-page__section-title {
    display: none;
  }
}

