/* Profile — Maui ProfilePage parity (phase 5.1) */

/* Full-bleed under shell navbar; sticks top / left / right of the body column */
.dz-profile {
  /* body pad-top (12) + navbar (40) + navbar margin-bottom (8) — wash under header to top */
  --dz-profile-nav-offset: calc(12px + 40px + 8px);
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  isolation: isolate;
}

/* Full-bleed when body has .is-profile-bleed (same idea as purchase-history wash). */
.dz-profile__wash {
  position: absolute;
  top: calc(-1 * var(--dz-profile-nav-offset));
  left: 0;
  right: 0;
  width: auto;
  height: calc(var(--dz-profile-nav-offset) + 280px);
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(93, 24, 159, 0.30) 0%,
    rgba(93, 24, 159, 0.16) 42%,
    rgba(93, 24, 159, 0.05) 72%,
    transparent 100%
  );
}

@media (prefers-color-scheme: dark) {
  .dz-profile__wash {
    background: linear-gradient(
      180deg,
      rgba(159, 88, 225, 0.22) 0%,
      rgba(159, 88, 225, 0.10) 45%,
      transparent 100%
    );
  }
}

.dz-profile__content {
  position: relative;
  z-index: 1;
  /* Same column as tab bar / shell navbar when body is full-bleed */
  width: min(calc(100% - 40px), 440px);
  max-width: 440px;
  margin: 0 auto;
  padding: 4px 14px 16px;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .dz-profile__content {
    width: 100%;
    max-width: 520px;
    padding-left: 16px;
    padding-right: 16px;
  }
}

.dz-profile__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  padding: 2px 0 4px;
}

/* Holds menu userdata or legion title under avatar */
.dz-profile__hero-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.dz-profile__avatar-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  margin-bottom: 0;
}

.dz-profile__ring {
  position: absolute;
  border-radius: 50%;
  background: var(--dz-primary-dark);
  opacity: 0.2;
}

.dz-profile__ring--outer {
  width: 120px;
  height: 120px;
}

.dz-profile__ring--mid {
  width: 104px;
  height: 104px;
}

.dz-profile__avatar {
  position: relative;
  z-index: 2;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--dz-surface, #fff);
  color: var(--dz-primary-dark);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.dz-profile__avatar .dz-ico {
  width: 46px;
  height: 46px;
}

.dz-profile__title-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  direction: ltr; /* edit left of name — like Maui HorizontalStackLayout */
}

.dz-profile__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--dz-primary-dark);
}

.dz-profile__edit {
  display: inline-flex;
  border: 0;
  background: transparent;
  color: var(--dz-muted, #888);
  padding: 4px;
  cursor: pointer;
}

.dz-profile__edit .dz-ico {
  width: 16px;
  height: 16px;
}

.dz-profile__phone {
  margin: 0;
  font-size: 12px;
  color: var(--dz-muted, #666);
  direction: ltr;
}

.dz-profile__subtitle {
  margin: 0;
  font-size: 12px;
  color: var(--dz-secondary-dark, #6b4a8a);
  max-width: 100%;
  width: 100%;
  min-height: 1.45em;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dz-profile__credit {
  margin: 4px 0 2px;
  font-size: 16px;
  font-weight: 700;
  color: var(--dz-primary, #5d189f);
}

.dz-profile__credit-label {
  font-weight: 600;
}

/* Base credit-btn chrome lives in profile-credit.css (avoid dz-btn conflicts). */

.dz-profile__menu {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
}

.dz-profile__guide {
  margin: 4px 0 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #d9cbef;
  background: #f3eefa;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: 100%;
  direction: ltr; /* chevron left · label · icon right */
  color: var(--dz-primary);
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
}

.dz-profile__guide .dz-ico {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.dz-profile__guide-label {
  flex: 1;
  text-align: end;
}

.dz-profile__row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--dz-muted, #ccc) 35%, transparent);
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: inherit;
  direction: ltr; /* Maui: Arrow_back_ios | label End | action icon */
  cursor: pointer;
}

.dz-profile__chevron {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
  color: var(--dz-primary-dark, #5D189F);
  margin-inline-start: 2px;
}

.dz-profile__action-ico {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0;
  color: var(--dz-primary-dark, #5D189F);
  margin-inline-end: 2px;
}

.dz-profile__row-label {
  flex: 1;
  text-align: end;
}

.dz-profile__row--danger {
  color: var(--dz-dark-red, #b71c1c);
  border-bottom: 0;
  margin-top: 2px;
}

.dz-profile__row--danger .dz-profile__chevron,
.dz-profile__row--danger .dz-profile__action-ico {
  color: inherit;
}

.dz-profile__guide .dz-profile__action-ico {
  color: var(--dz-primary);
}

/* Menu / user-data leave & enter (Maui fade+scale+slide both ways) */
.dz-profile__userdata {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* User block (incl. credit + top-up): fade/slide only — no scale (scale made credit look like a size jump) */
.dz-profile__userdata.is-leaving {
  animation: dz-profile-user-out 250ms cubic-bezier(0.32, 0, 0.67, 0) both;
  pointer-events: none;
}

.dz-profile__userdata.is-enter {
  animation: dz-profile-user-in 250ms cubic-bezier(0.33, 1, 0.68, 1) both;
}

.dz-profile__menu.is-leaving,
.dz-profile__version.is-leaving {
  /* Fade + slight slide only — no scale (scale read as a page jump) */
  animation: dz-profile-menu-out 250ms cubic-bezier(0.32, 0, 0.67, 0) both;
  pointer-events: none;
}

.dz-profile__menu.is-enter,
.dz-profile__version.is-enter {
  animation: dz-profile-menu-in 250ms cubic-bezier(0.33, 1, 0.68, 1) both;
}

@keyframes dz-profile-menu-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dz-profile-menu-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(10px); }
}

@keyframes dz-profile-user-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(14px); }
}

@keyframes dz-profile-user-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.dz-profile__legion-title {
  margin: 2px 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  color: var(--dz-primary-dark, #5D189F);
}

.dz-profile__legion-title.is-enter {
  animation: dz-pleg-in 350ms cubic-bezier(0.33, 1, 0.68, 1) both;
}

.dz-profile__legion-title.is-leaving {
  animation: dz-pleg-out 250ms cubic-bezier(0.32, 0, 0.67, 0) both;
}

/* ===== Legion editor (Maui ProfilePage LegionCodeUIContainer) ===== */
.dz-pleg {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 12px;
}

.dz-pleg.is-enter {
  animation: dz-pleg-in 350ms cubic-bezier(0.33, 1, 0.68, 1) both;
}

.dz-pleg.is-leaving {
  animation: dz-pleg-out 250ms cubic-bezier(0.32, 0, 0.67, 0) both;
}

@keyframes dz-pleg-in {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes dz-pleg-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(20px) scale(0.9); }
}

.dz-pleg-mode {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 10px 8px;
  font-size: 0.8rem;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  background: #bbbbbb;
  color: #333333;
  opacity: 0.7;
  transform: scale(0.95);
  transition: background 0.2s, color 0.2s, opacity 0.25s, transform 0.25s;
}

.dz-pleg-mode.is-on {
  background: var(--dz-primary-dark, #5D189F);
  color: #fff;
  opacity: 1;
  transform: scale(1);
}

.dz-pleg-panel {
  width: 80%;
  max-width: 360px;
  margin: 2px auto 0;
  border: 1px solid var(--dz-border, #e1e1e1);
  border-radius: 6px;
  padding: 8px 8px 6px;
  background: var(--dz-surface, #fff);
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-sizing: border-box;
}

.dz-pleg-panel.is-enter {
  animation: dz-pleg-panel-in 200ms linear both;
}

@keyframes dz-pleg-panel-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.dz-pleg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.dz-pleg-row.is-reveal,
.dz-pleg-chip.is-reveal {
  animation: dz-pleg-reveal 180ms cubic-bezier(0.33, 1, 0.68, 1) both;
}

@keyframes dz-pleg-reveal {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

.dz-pleg-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 9px 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  background: #bbbbbb;
  color: #fff;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dz-pleg-chip.is-on,
.dz-pleg-chip.is-pick {
  background: var(--dz-primary-dark, #5D189F);
}

.dz-pleg-chip.is-muted {
  background: #aaaaaa;
}

.dz-pleg-check {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: #fff;
}

.dz-pleg-chip__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dz-pleg-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  direction: ltr;
}

.dz-pleg-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--dz-gray-600, #404040);
  cursor: pointer;
}

.dz-pleg-back .dz-ico {
  width: 14px;
  height: 14px;
  color: var(--dz-primary, #350066);
}

.dz-pleg-save {
  position: relative;
  width: 132px;
  min-width: 132px;
  border: 0;
  border-radius: 10px;
  padding: 12px 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: var(--dz-gray-300, #acacac);
  opacity: 0.5;
  cursor: not-allowed;
  box-sizing: border-box;
}

.dz-pleg-save.is-ready {
  background: #5D189F;
  opacity: 1;
  cursor: pointer;
}

.dz-pleg-save:disabled:not(.is-ready) {
  opacity: 0.5;
}

.dz-pleg-save__label {
  display: inline-block;
}

.dz-pleg-save.is-busy .dz-pleg-save__label {
  visibility: hidden;
}

.dz-pleg-save .dz-inline-spinner {
  position: absolute;
  inset: 0;
  margin: auto;
}

.dz-pleg-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 16px 20px;
  text-align: center;
}

.dz-pleg-success.is-enter {
  animation: dz-pleg-success-in 300ms cubic-bezier(0.33, 1, 0.68, 1) both;
}

.dz-pleg-success.is-leaving {
  animation: dz-pleg-out 250ms cubic-bezier(0.32, 0, 0.67, 0) both;
}

@keyframes dz-pleg-success-in {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.dz-pleg-success__lottie {
  width: 125px;
  height: 125px;
}

.dz-pleg-success__msg {
  margin: 0;
  padding-inline: 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dz-primary, #350066);
  max-width: 100%;
  line-height: 1.45;
  white-space: nowrap;
}

.dz-pleg-success__bar {
  width: 120px;
  height: 8px;
  margin-top: 20px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--dz-secondary) 18%, transparent);
  overflow: hidden;
}

.dz-pleg-success__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: #8a2be2;
  border-radius: 5px;
  animation: dz-pleg-bar 2s linear forwards;
}

@keyframes dz-pleg-bar {
  from { width: 0; }
  to { width: 100%; }
}

/* Change-password panel — Maui ChangePasswordUIContainer parity */
.dz-ppass {
  margin: 10px 10px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

.dz-ppass.is-enter {
  animation: dz-pleg-in 350ms cubic-bezier(0.33, 1, 0.68, 1) both;
}

.dz-ppass.is-leaving {
  animation: dz-pleg-out 250ms cubic-bezier(0.32, 0, 0.67, 0) both;
  pointer-events: none;
}

.dz-ppass__label {
  margin: 0 40px;
  font-size: 14px;
  font-weight: 600;
  text-align: right; /* RTL page: titles sit on the right edge of the field */
  color: var(--dz-gray-600, #404040);
}

.dz-ppass__label--gap {
  margin-top: 6px;
}

.dz-ppass__field {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  direction: ltr; /* keep eye on the visual right of the box */
  margin: 0 40px;
  padding: 2px 4px 2px 8px;
  border: 1px solid #b0b0b0;
  border-radius: 10px;
  background: var(--dz-surface, #fff);
  box-sizing: border-box;
}

.dz-ppass__field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: 16px; /* iOS Safari: avoid focus-zoom */
  text-align: center;
  color: var(--dz-text);
  padding: 10px 4px;
}

.dz-ppass__field input::placeholder {
  color: var(--dz-gray-400, #919191);
  font-size: 0.85rem;
}

.dz-ppass__eye {
  display: inline-flex;
  border: 0;
  background: transparent;
  color: var(--dz-gray-400, #919191);
  padding: 6px 8px;
  cursor: pointer;
}

.dz-ppass__eye .dz-ico {
  width: 18px;
  height: 18px;
}

.dz-ppass__field.is-bad {
  border-color: #ed1c24;
  background: #ffc0cb;
}

.dz-ppass__field.is-bad input {
  color: #9e0b0f;
}

.dz-ppass__field.is-ok {
  border-color: #2e7d32;
  background: #90ee90;
}

.dz-ppass__field.is-ok input {
  color: #1b5e20;
}

.dz-ppass__err {
  margin: 0 40px;
  font-size: 12px;
  text-align: center;
  color: var(--dz-dark-red, #9e0b0f);
}

.dz-ppass__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 10px 0;
}

.dz-ppass__save {
  position: relative;
  width: 140px;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--dz-gray-300, #acacac);
  opacity: 0.5;
  cursor: pointer;
}

.dz-ppass__save.is-ready {
  background: var(--dz-primary-dark, #5D189F);
  opacity: 1;
}

.dz-ppass__save.is-busy {
  background: #8b5cf6;
  opacity: 1;
}

.dz-ppass__save:disabled:not(.is-ready) {
  cursor: default;
}

.dz-ppass__save-label {
  display: inline-block;
}

.dz-ppass__save.is-busy .dz-ppass__save-label {
  visibility: hidden;
}

.dz-ppass__save .dz-inline-spinner {
  position: absolute;
  inset: 0;
  margin: auto;
}

.dz-ppass__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  direction: ltr; /* icon left of «بازگشت» */
  margin-top: 10px;
  padding: 10px 20px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--dz-gray-600, #404040);
  cursor: pointer;
}

.dz-ppass__back .dz-ico {
  width: 12px;
  height: 12px;
  color: var(--dz-primary, #350066);
}

.dz-profile__version {
  margin: 10px 0 0;
  text-align: center;
  font-size: 11px;
  color: var(--dz-muted, #999);
}

.dz-profile-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7); /* Maui PageOverlayColor */
}

.dz-profile-modal__card {
  width: min(300px, 100%); /* Maui WidthRequest 300 */
  background: var(--dz-surface, #fff);
  border-radius: 11px;
  padding: 0 5px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.dz-profile-modal__stack {
  position: relative;
  min-height: 220px;
}

.dz-profile-modal__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 5px;
  transition: opacity 200ms cubic-bezier(0.32, 0, 0.67, 0);
}

.dz-profile-modal__form.is-faded {
  opacity: 0;
  pointer-events: none;
}

.dz-profile-modal__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: var(--dz-primary, #350066);
}

.dz-profile-modal__hint {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: var(--dz-gray-400, #919191);
}

.dz-profile-modal__field {
  border: 1px solid #b0b0b0;
  border-radius: 10px;
  padding: 6px 10px;
}

.dz-profile-modal__input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 4px 0;
  font-family: inherit;
  font-size: 16px; /* iOS Safari: avoid focus-zoom */
  text-align: center;
  box-sizing: border-box;
  color: inherit;
}

.dz-profile-modal__error {
  margin: 0;
  font-size: 12px;
  text-align: center;
  color: #c62828;
}

.dz-profile-modal__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  direction: rtl; /* ذخیره راست · انصراف چپ */
}

.dz-profile-modal__btn {
  width: 110px;
  min-height: 40px;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}

.dz-profile-modal__btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.dz-profile-modal__btn--yes {
  background: var(--dz-primary, #350066);
}

.dz-profile-modal__btn--no {
  background: #888;
}

.dz-profile-modal__success {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 8px 20px;
  pointer-events: none;
}

.dz-profile-modal__success.is-enter {
  animation: dz-title-success-in 280ms cubic-bezier(0.33, 1, 0.68, 1) both;
}

@keyframes dz-title-success-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.dz-profile-modal__lottie {
  width: 110px;
  height: 110px;
}

.dz-profile-modal__success-msg {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  color: var(--dz-primary, #350066);
}

@media (prefers-color-scheme: dark) {
  .dz-profile__avatar {
    background: #2a1a3d;
    color: #e8d9ff;
  }

  /* Maui: SecondaryDarkText / Gray400 / SecondaryDark + white / Gray600 */
  .dz-profile__title {
    color: var(--dz-secondary-dark-text, #ed24ff);
  }

  .dz-profile__phone,
  .dz-profile__subtitle {
    color: #919191; /* Maui Gray400 */
  }

  .dz-profile__credit-label {
    color: var(--dz-secondary-dark, #9f58e1);
  }

  .dz-profile__credit-value {
    color: #fff;
  }

  .dz-profile__credit-btn {
    color: #fff;
  }

  .dz-profile__version {
    color: #404040; /* Maui Gray600 (literal, not remapped token) */
  }

  .dz-profile__legion-title {
    color: var(--dz-secondary-dark-text, #ed24ff);
  }

  .dz-profile__guide {
    background: #2c1b42;
    border-color: #4a3470;
    color: #dcc8ff;
  }

  .dz-pleg-mode {
    background: #555;
    color: #eee;
  }

  .dz-pleg-mode.is-on {
    background: var(--dz-secondary, #8A2BE2);
    color: #fff;
  }

  .dz-pleg-chip.is-on,
  .dz-pleg-chip.is-pick {
    background: var(--dz-secondary, #8A2BE2);
  }

  .dz-pleg-panel {
    background: #1c1c1e;
    border-color: #333;
  }

  .dz-pleg-back {
    color: var(--dz-gray-300, #acacac);
  }

  .dz-pleg-back .dz-ico {
    color: var(--dz-gray-300, #acacac);
  }

  .dz-pleg-save {
    background: var(--dz-gray-600, #404040);
  }

  .dz-pleg-save.is-ready {
    background: var(--dz-secondary, #8A2BE2);
    color: #fff;
  }

  .dz-pleg-success__msg {
    color: var(--dz-secondary-dark-text, #ed24ff);
  }

  .dz-ppass__label {
    color: var(--dz-gray-300, #acacac);
  }

  .dz-ppass__field {
    background: #242424; /* Maui PrimaryDarkText */
  }

  .dz-ppass__field input {
    color: #fff;
  }

  .dz-ppass__field.is-bad {
    border-color: #ed1c24;
    background: #ffc0cb;
  }

  .dz-ppass__field.is-ok {
    border-color: #2e7d32;
    background: #90ee90;
  }

  .dz-ppass__save:not(.is-ready):not(.is-busy) {
    background: var(--dz-gray-600, #404040);
  }

  .dz-ppass__save.is-ready {
    background: var(--dz-secondary, #8A2BE2);
    color: #fff;
  }

  .dz-ppass__back {
    color: var(--dz-gray-300, #acacac);
  }

  .dz-ppass__back .dz-ico {
    color: var(--dz-gray-300, #acacac);
  }

  .dz-profile-modal__card {
    background: #1e132c;
    color: #f0e8ff;
  }

  .dz-profile-modal__title,
  .dz-profile-modal__success-msg {
    color: var(--dz-secondary-dark, #9f58e1);
  }

  .dz-profile-modal__btn--yes {
    background: var(--dz-secondary-dark, #9f58e1);
  }

  .dz-profile-modal__field {
    border-color: #4a3470;
  }

  .dz-profile-modal__input {
    color: #f0e8ff;
  }
}
