/* ==========================================================================
   Profile
   ========================================================================== */

/* --- profile.css --- */

/* همان ساختار صفحه خانه: اسکرول داخل #app + فوتر sticky */
.profile,
.profile-edit,
.profile-edit-form,
.profile-order-list,
.profile-order-list-content,
.profile-address,
.profile-address-edit,
.profile-address-form,
.profile-address-select-city,
.profile-add-reciption,
.profile-payment {
  direction: rtl;
  padding-bottom: calc(24px);
  background: var(--bg-main);
}

/* padding بالا و کنارها از .container در main.css (80px 20px 0) */

.profile-card {
  width: 100%;
  max-width: 390px;
  height: 90px;
  box-sizing: border-box;
  margin: 0 auto;
  padding-right: 15px;
  padding-left: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
}

.profile-card__avatar {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-main);
  border-radius: var(--radius);
  /* border: 1px solid rgba(0, 0, 0, 0.12); */
}

.profile-card__avatar-icon {
  width: 28px;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  filter: var(--icon-filter-blue-dark);
}

.profile-card__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
}

.profile-card__name {
  align-self: stretch;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--blue-dark);
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-card__mobile {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--gray);
  text-align: right;
  white-space: nowrap;
}

.profile-wallet-card {
  position: relative;
  margin-top: 15px;
}

.profile-wallet-card__actions {
  position: absolute;
  top: 12px;
  left: 15px;
  gap: 5px;
  display: flex;
  flex-direction: row;
  z-index: 1;
}

.profile-wallet-card__action {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--radius);
}

.profile-wallet-card__action--add {
  background: var(--blue-dark);
}

.profile-wallet-card__action--add .profile-wallet-card__action-icon {
  width: 14px;
  height: auto;
  filter: var(--icon-filter-white);
}

.profile-wallet-card__action--recent {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

.profile-wallet-card__action--recent .profile-wallet-card__action-icon,
.profile-wallet-card__action-icon--recent {
  width: 20px;
  height: auto;
  filter: var(--icon-filter-blue-dark);
}

.profile-wallet-card__action-icon {
  display: block;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.profile-wallet-card__balance {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--gray);
  text-align: right;
  white-space: nowrap;
}

.profile-wallet-card__balance-amount {
  font-weight: 400;
}

.profile-menu {
  width: 100%;
  max-width: 390px;
  margin: 15px auto 0;
  padding: 15px 15px;
  box-sizing: border-box;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
}

.profile-menu__item {
  width: 350px;
  height: 70px;
  margin: 0 auto;
  padding: 0 15px 0 16px;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.profile-menu__item + .profile-menu__item {
  margin-top: 15px;
}

.profile-menu__item-main {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.profile-menu__item-icon {
  /* width: 20px; */
  height: 20px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  filter: var(--icon-filter-blue-dark);
}

.profile-menu__item-title {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--blue-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-menu__item-arrow {
  width: 7px;
  height: 15px;
  display: block;
  flex-shrink: 0;
  background: var(--blue-dark);
  -webkit-mask: url("../icons/left-sign.svg") no-repeat center / contain;
  mask: url("../icons/left-sign.svg") no-repeat center / contain;
}

.profile-menu__logout {
  width: 100%;
  max-width: 350px;
  height: 52px;
  margin: 15px auto 0;
  padding: 0;
  display: block;
  border: 1px solid rgba(227, 24, 54, 0.35);
  border-radius: var(--radius);
  background: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--red);
  cursor: pointer;
}

.profile-menu__logout:active {
  background: rgba(227, 24, 54, 0.06);
}

.profile-credit {
  margin: 100px auto 0;
  max-width: 390px;
  width: 100%;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  color: var(--gray);
  direction: ltr;
}

.profile-credit__link {
  color: var(--blue-dark);
  text-decoration: none;
}

.profile-credit__link:hover,
.profile-credit__link:focus,
.profile-credit__link:active,
.profile-credit__link:visited {
  color: var(--blue-dark);
  text-decoration: none;
}

/* --- profile-edit.css --- */

.profile-edit-account {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
}

.profile-edit-account__header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.profile-edit-account__icon {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  filter: var(--icon-filter-blue-dark);
}

.profile-edit-account__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--blue-dark);
}

.profile-edit-account__divider {
  width: 350px;
  max-width: 100%;
  height: 2px;
  margin: 16px auto 20px;
  background: rgba(0, 0, 0, 0.12);
}

.profile-edit-account__field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.profile-edit-account__field + .profile-edit-account__field {
  margin-top: 20px;
}

.profile-edit-account__label {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--gray);
}

.profile-edit-account__value {
  display: block;
  width: 100%;
  min-height: calc(1.4em * 1);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--blue-dark);
  text-align: right;
}

.profile-edit__submit,
.profile-address__submit,
.profile-address-edit__submit,
.profile-add-reciption__submit {
  display: block;
  width: 100%;
  max-width: 390px;
  height: 55px;
  margin: 24px auto 6px;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: var(--blue-dark);
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.profile-edit__submit:active,
.profile-address__submit:active,
.profile-address-edit__submit:active,
.profile-add-reciption__submit:active {
  opacity: 0.92;
}

.profile-add-reciption__submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.profile-add-reciption__submit:disabled:active {
  opacity: 0.45;
}

/* --- profile-edit-form.css --- */

/* استایل‌های اختصاصی فرم ویرایش حساب کاربری */

.profile-edit-form-box {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  padding: 20px 15px;
  box-sizing: border-box;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
}

.profile-edit-form__field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.profile-edit-form__field + .profile-edit-form__field {
  margin-top: 20px;
}

.profile-edit-form__label {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--gray);
}

.profile-edit-form__input-row {
  position: relative;
  width: 360px;
  max-width: 100%;
}

.profile-edit-form__input {
  width: 100%;
  height: 65px;
  padding: 0 15px;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--blue-dark);
  text-align: right;
  outline: none;
}

.profile-edit-form__input-row--rtl .profile-edit-form__input {
  padding-left: 48px;
}

.profile-edit-form__input-row--ltr .profile-edit-form__input {
  padding-right: 48px;
  text-align: left;
}

.profile-edit-form__input:focus {
  border-color: var(--blue-dark);
}

.profile-edit-form__input.num-en {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1;
  direction: ltr;
  unicode-bidi: plaintext;
  text-align: left;
}

.profile-edit-form__input--readonly {
  background: var(--bg-main);
  color: var(--blue-dark);
  cursor: default;
  user-select: none;
  pointer-events: none;
}

.profile-edit-form__clear {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-edit-form__clear[hidden] {
  display: none;
}

.profile-edit-form__input-row--rtl .profile-edit-form__clear {
  left: 12px;
}

.profile-edit-form__input-row--ltr .profile-edit-form__clear {
  right: 12px;
}

.profile-edit-form__clear-icon {
  position: relative;
  width: 16px;
  height: 16px;
  display: block;
}

.profile-edit-form__clear-icon::before,
.profile-edit-form__clear-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--gray);
  border-radius: 1px;
}

.profile-edit-form__clear-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.profile-edit-form__clear-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.profile-edit-form__clear:hover .profile-edit-form__clear-icon::before,
.profile-edit-form__clear:hover .profile-edit-form__clear-icon::after {
  background: var(--gray-dark);
}

.profile-edit-form__error {
  display: block;
  width: 100%;
  min-height: calc(1.4em * 1);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--red);
  text-align: right;
}

.profile-edit-form__error:empty {
  min-height: 0;
}

/* --- profile-order-list.css --- */

/* استایل‌های اختصاصی صفحه لیست سفارشات */

.profile-order-list__header {
  width: 100%;
  max-width: 390px;
  margin: 0 auto 16px;
}

.profile-order-list__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--blue-dark);
}

.profile-order-list__filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
}

.profile-order-list__filter {
  flex-shrink: 0;
  width: 84px;
  height: 38px;
  padding: 0 4px;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
}

.profile-order-list__filter--active {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
}

.profile-order-list__orders {
  width: 100%;
  max-width: 390px;
  margin: 24px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.order-card {
  width: 100%;
  height: 150px;
  box-sizing: border-box;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  padding: 10px;
  cursor: pointer;
}

.order-card__inner {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 1px solid var(--blue-dark);
  border-radius: var(--radius);
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.order-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.order-card__number {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--blue-dark);
  white-space: nowrap;
}

.order-card__details {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--gray);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
  white-space: nowrap;
}

.order-card__details-icon {
  width: 7px;
  height: 12px;
  display: block;
  flex-shrink: 0;
  background: var(--gray);
  -webkit-mask: url("../icons/left-sign.svg") no-repeat center / contain;
  mask: url("../icons/left-sign.svg") no-repeat center / contain;
}

.order-card__divider {
  width: 312px;
  max-width: 100%;
  height: 1px;
  margin: 10px 0 10px auto;
  background: rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.order-card__date {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin-bottom: auto;
}

.order-card__calendar-icon {
  /* width: 14px; */
  height: 14px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  pointer-events: none;
}

.order-card__date-text {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--gray-dark);
}

.order-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.order-card__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.order-card__status-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.order-card__status-text {
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  height: 16px;
  display: flex;
  align-items: center;
}

.order-card__status--sent {
  color: var(--success);
}

.order-card__status--sent .order-card__status-icon {
  background-color: var(--success);
  -webkit-mask: url("../icons/tick-circle-sign.svg") no-repeat center / contain;
  mask: url("../icons/tick-circle-sign.svg") no-repeat center / contain;
}

.order-card__status--current {
  color: var(--warning);
}

.order-card__status--current .order-card__status-icon {
  background-color: var(--warning);
  -webkit-mask: url("../icons/exclamation-circle-sign.svg") no-repeat center / contain;
  mask: url("../icons/exclamation-circle-sign.svg") no-repeat center / contain;
}

.order-card__status--cancelled {
  color: var(--red);
}

.order-card__status--cancelled .order-card__status-icon {
  background-color: var(--red);
  -webkit-mask: url("../icons/close-circle-sign.svg") no-repeat center / contain;
  mask: url("../icons/close-circle-sign.svg") no-repeat center / contain;
}

.order-card__amount {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--blue-dark);
  white-space: nowrap;
}

.order-card__amount-unit {
  font-size: 12px;
  font-weight: 400;
}

/* --- profile-order-list-content.css --- */

/* استایل‌های اختصاصی صفحه جزئیات سفارش */

.profile-order-list-content__close {
  position: absolute;
  top: 0;
  right: var(--page-padding-x);
  height: var(--page-padding-top);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-dark);
  text-decoration: none;
  z-index: 2;
}

.profile-order-list-content__close-icon {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  filter: var(--icon-filter-blue-dark);
}

.profile-order-list-content__close-title {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--blue-dark);
  white-space: nowrap;
}

.order-detail-box {
  position: relative;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  padding: 15px;
  box-sizing: border-box;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 0;
  align-items: start;
  direction: ltr;
  container-type: inline-size;
  container-name: order-detail;
}

.order-detail-box__status {
  position: static;
  width: max-content;
  min-width: 95px;
  height: 40px;
  flex-shrink: 0;
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 6px;
  border: 1px solid var(--success);
  border-radius: var(--radius);
  background: var(--white);
  align-self: start;
}

.order-detail-box__status--current {
  border-color: var(--warning);
  color: var(--warning);
}

.order-detail-box__status--cancelled {
  border-color: var(--red);
  color: var(--red);
}

.order-detail-box__status--sent {
  border-color: var(--success);
  color: var(--success);
}

.order-detail-box__status-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.order-detail-box__status--sent .order-detail-box__status-icon {
  background-color: var(--success);
  -webkit-mask: url("../icons/tick-circle-sign.svg") no-repeat center / contain;
  mask: url("../icons/tick-circle-sign.svg") no-repeat center / contain;
}

.order-detail-box__status--current .order-detail-box__status-icon {
  background-color: var(--warning);
  -webkit-mask: url("../icons/exclamation-circle-sign.svg") no-repeat center / contain;
  mask: url("../icons/exclamation-circle-sign.svg") no-repeat center / contain;
}

.order-detail-box__status--cancelled .order-detail-box__status-icon {
  background-color: var(--red);
  -webkit-mask: url("../icons/close-circle-sign.svg") no-repeat center / contain;
  mask: url("../icons/close-circle-sign.svg") no-repeat center / contain;
}

.order-detail-box__status-text {
  flex: 0 1 auto;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  display: block;
  text-align: right;
  white-space: nowrap;
}

.order-detail-box--cq-narrow .order-detail-box__status {
  width: auto;
  min-width: 72px;
  max-width: 118px;
  height: auto;
  min-height: 32px;
  padding: 3px 5px;
  gap: 3px;
}

.order-detail-box--cq-narrow .order-detail-box__status-icon {
  width: 14px;
  height: 14px;
}

.order-detail-box--cq-narrow .order-detail-box__status-text {
  flex: 1;
  min-width: 0;
  font-size: 10px;
  line-height: 1.25;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.order-detail-box--cq-md {
  grid-template-columns: 1fr;
  row-gap: 10px;
}

.order-detail-box--cq-md .order-detail-box__status {
  min-width: 66px;
  max-width: 106px;
  min-height: 30px;
  padding: 3px 4px;
}

.order-detail-box--cq-md .order-detail-box__status-text {
  font-size: 9px;
  line-height: 1.2;
}

.order-detail-box--cq-sm .order-detail-box__status {
  min-width: 60px;
  max-width: 96px;
  min-height: 28px;
  padding: 2px 4px;
  gap: 2px;
}

.order-detail-box--cq-sm .order-detail-box__status-icon {
  width: 12px;
  height: 12px;
}

.order-detail-box--cq-sm .order-detail-box__status-text {
  font-size: 8px;
  line-height: 1.15;
}

.order-detail-box__summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  direction: rtl;
}

.order-detail-box__summary-line {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.order-detail-box__label {
  color: var(--gray);
}

.order-detail-box__value {
  color: var(--blue-dark);
}

.order-detail-box__divider {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  height: 1px;
  margin: 16px auto;
  background: rgba(0, 0, 0, 0.12);
}

.order-detail-box__info {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  direction: rtl;
}

.order-detail-box__info-line {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.order-detail-box__address-label {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--gray);
}

.order-detail-box__address-value {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--blue-dark);
}

.order-items {
  width: 100%;
  max-width: 390px;
  margin: 25px auto 0;
}

.order-items__title {
  margin: 0 10px 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--blue-dark);
}

.order-items__list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.order-item-card {
  width: 100%;
  box-sizing: border-box;
  padding: 15px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
}

.order-item-card__header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.order-item-card__image {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  box-sizing: border-box;
  background: var(--white-3);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.12);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-item-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.order-item-card__title {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--blue-dark);
  text-align: right;
  align-self: center;
}

.order-item-card__divider {
  width: 360px;
  max-width: 100%;
  height: 1px;
  margin: 12px auto;
  background: rgba(0, 0, 0, 0.12);
}

.order-item-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

/* --- profile-payment.css --- */

.profile-payment__header {
  width: 100%;
  max-width: 390px;
  margin: 0 auto 16px;
}

.profile-payment__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--blue-dark);
}

.profile-payment-box {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
}

.profile-payment-box__list {
  display: flex;
  flex-direction: column;
}

.profile-payment-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
}

.profile-payment-item:first-child {
  padding-top: 0;
}

.profile-payment-item:last-child {
  padding-bottom: 0;
}

.profile-payment-item__icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.profile-payment-item__icon--success {
  background: var(--success-soft);
}

.profile-payment-item__icon--fail {
  background: rgba(227, 24, 54, 0.08);
}

.profile-payment-item__icon-glyph {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.profile-payment-item__icon-glyph--pay-success {
  background-color: var(--success);
  -webkit-mask: url("../icons/pay-success.svg") no-repeat center / contain;
  mask: url("../icons/pay-success.svg") no-repeat center / contain;
}

.profile-payment-item__icon-glyph--pay-fail {
  background-color: var(--red);
  -webkit-mask: url("../icons/pay-fail.svg") no-repeat center / contain;
  mask: url("../icons/pay-fail.svg") no-repeat center / contain;
}

.profile-payment-item__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.profile-payment-item__order {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--blue-dark);
}

.profile-payment-item__date {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--gray);
}

.profile-payment-item__aside {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: left;
}

.profile-payment-item__status {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

.profile-payment-item__status--success {
  color: var(--success);
}

.profile-payment-item__status--fail {
  color: var(--red);
}

.profile-payment-item__amount {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--blue-dark);
  white-space: nowrap;
}

.profile-payment-item__amount-unit {
  font-size: 12px;
  font-weight: 400;
}

.profile-payment-item__divider {
  width: 350px;
  max-width: 100%;
  height: 1px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.12);
  border: none;
}

/* --- profile-address.css --- */

/* استایل‌های اختصاصی صفحه آدرس */

.profile-address-box {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  padding: 15px;
  box-sizing: border-box;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
}

.profile-address-box__header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.profile-address-box__header-icon {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  align-self: center;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  filter: var(--icon-filter-blue-dark);
}

.profile-address-box__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  align-self: center;
  color: var(--blue-dark);
}

.profile-address-box__divider {
  width: 350px;
  max-width: 100%;
  height: 2px;
  margin: 16px auto 20px;
  background: rgba(0, 0, 0, 0.12);
}

.profile-address-box__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.address-card {
  width: 350px;
  max-width: 100%;
  min-height: 100px;
  height: auto;
  box-sizing: border-box;
  padding: 12px 15px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.address-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.address-card__type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.address-card__type-icon {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  align-self: center;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  filter: var(--icon-filter-blue-dark);
}

.address-card__type-label {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  align-self: center;
  color: var(--blue-dark);
  white-space: nowrap;
}

.address-card__actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.address-card__action {
  width: 20px;
  /* height: 20px; */
  padding: 0;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.address-card__action-icon {
  width: 20px;
  /* height: 20px; */
  display: block;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.address-card__action-icon--edit {
  filter: brightness(0) saturate(100%) invert(46%) sepia(8%) saturate(629%) hue-rotate(169deg) brightness(93%) contrast(88%);
}

.address-card__action-icon--delete {
  filter: brightness(0) saturate(100%) invert(17%) sepia(93%) saturate(4825%) hue-rotate(343deg) brightness(92%) contrast(93%);
}

.address-card__location,
.address-card__text {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--blue-dark);
}

.address-card__location {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.address-card__text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.address-card__postal {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--blue-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-address-delete-modal {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  bottom: 64px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  font-family: "DanaFaNum", Tahoma, sans-serif;
}

.profile-address-delete-modal[hidden] {
  display: none;
}

.profile-address-delete-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px) saturate(110%);
  -webkit-backdrop-filter: blur(8px) saturate(110%);
}

.profile-address-delete-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 390px;
  padding: 24px 20px;
  box-sizing: border-box;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
}

.profile-address-delete-modal__text {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--blue-dark);
  text-align: center;
}

.profile-address-delete-modal__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.profile-address-delete-modal__btn {
  flex-shrink: 0;
  width: 150px;
  height: 55px;
  padding: 0;
  box-sizing: border-box;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.profile-address-delete-modal__btn--confirm {
  border: none;
  background: var(--blue-dark);
  color: var(--white);
}

.profile-address-delete-modal__btn--cancel {
  border: 1px solid var(--blue-dark);
  background: var(--white);
  color: var(--blue-dark);
}

/* --- profile-address-edit.css --- */

/* استایل‌های اختصاصی فرم ویرایش آدرس */

.profile-address-edit-form {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  padding: 20px 15px;
  box-sizing: border-box;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
}

.profile-address-edit-form__row + .profile-address-edit-form__row,
.profile-address-edit-form__field + .profile-address-edit-form__row,
.profile-address-edit-form__row + .profile-address-edit-form__field {
  margin-top: 15px;
}

.profile-address-edit-form__row--split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
}

.profile-address-edit-form__field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.profile-address-edit-form__field > .profile-address-edit-form__hint,
.profile-address-edit-form__field > .profile-address-edit-form__error {
  margin-top: -4px;
}

.profile-address-edit-form__field--half {
  width: 170px;
  flex-shrink: 0;
}

.profile-address-edit-form__label {
  display: block;
  width: 100%;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--blue-dark);
}

.profile-address-edit-form__label-text {
  position: relative;
  display: inline-block;
  padding-left: 10px;
  white-space: nowrap;
}

.profile-address-edit-form__required {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: var(--red);
}

.profile-address-edit-form__hint {
  display: block;
  width: 100%;
  min-height: 0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--gray);
  text-align: right;
}

.profile-address-edit-form__hint:not(:empty) {
  min-height: calc(1.4em * 1);
  margin-top: -4px;
}

.profile-address-edit-form__hint:empty {
  display: none;
}

.profile-address-edit-form__input-row {
  position: relative;
  width: 100%;
}

.profile-address-edit-form__input-row--full {
  width: 360px;
  max-width: 100%;
}

.profile-address-edit-form__input,
.profile-address-edit-form__select {
  width: 100%;
  height: 55px;
  padding: 0 15px;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--blue-dark);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.profile-address-edit-form__input {
  text-align: right;
}

.profile-address-edit-form__input-row--rtl .profile-address-edit-form__input {
  padding-left: 48px;
}

.profile-address-edit-form__input-row--ltr .profile-address-edit-form__input {
  padding-right: 15px;
  text-align: left;
}

.profile-address-edit-form__input-row--numeric .profile-address-edit-form__input {
  padding-right: 15px;
  padding-left: 15px;
  text-align: right;
}

.profile-address-edit-form__input-row--numeric.profile-address-edit-form__input-row--rtl .profile-address-edit-form__input {
  padding-left: 48px;
}

.profile-address-edit-form__input-row--numeric .profile-address-edit-form__input.num-en {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  direction: rtl;
  unicode-bidi: plaintext;
  text-align: right;
}

.profile-address-edit-form__field > .profile-address-edit-form__input-row--rtl,
.profile-address-edit-form__field > .profile-address-edit-form__input-row--full {
  width: 360px;
  max-width: 100%;
}

.profile-address-edit-form__input:focus,
.profile-address-edit-form__select:focus {
  border-color: var(--blue-dark);
}

.profile-address-edit-form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236c7680' d='M1.41 0 6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 15px center;
  background-size: 12px 8px;
  padding-left: 36px;
  cursor: pointer;
}

.profile-address-edit-form__clear {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-address-edit-form__clear[hidden] {
  display: none;
}

.profile-address-edit-form__input-row--rtl .profile-address-edit-form__clear {
  left: 12px;
}

.profile-address-edit-form__clear-icon {
  position: relative;
  width: 16px;
  height: 16px;
  display: block;
}

.profile-address-edit-form__clear-icon::before,
.profile-address-edit-form__clear-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--gray);
  border-radius: 1px;
}

.profile-address-edit-form__clear-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.profile-address-edit-form__clear-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.profile-address-edit-form__error {
  display: block;
  width: 100%;
  min-height: 0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--red);
  text-align: right;
}

.profile-address-edit-form__error:not(:empty) {
  min-height: calc(1.4em * 1);
  margin-top: 2px;
}

.profile-address-edit-form__error:empty {
  display: none;
}

.profile-address-edit-map {
  width: 100%;
  max-width: 390px;
  height: 137px;
  margin: 24px auto 0;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white-3);
}

.profile-address-edit-map__frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.profile-address-edit-form__type-select {
  position: relative;
  width: 100%;
}

.profile-address-edit-form__type-select-trigger {
  display: block;
  width: 100%;
  text-align: right;
}

.profile-address-edit-form__type-select-value {
  display: block;
  width: 100%;
}

.profile-address-edit-form__type-select.is-open .profile-address-edit-form__type-select-trigger {
  border-color: var(--blue-dark);
}

.profile-address-edit-type-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100px;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.profile-address-edit-type-menu[hidden] {
  display: none;
}

.profile-address-edit-type-menu__option {
  flex: 1;
  width: 100%;
  margin: 0;
  padding: 0 15px;
  border: none;
  background: var(--white);
  color: var(--blue-dark);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-align: right;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.profile-address-edit-type-menu__option.is-selected {
  background: var(--blue-dark);
  color: var(--white);
  font-weight: 700;
}

.profile-address-edit-type-menu__option:focus-visible {
  outline: 2px solid var(--blue-dark);
  outline-offset: -2px;
}

.profile-address-edit-form__region-trigger {
  display: block;
  width: 100%;
  text-align: right;
}

.profile-address-edit-form__region-trigger:disabled {
  color: var(--gray);
  cursor: not-allowed;
  opacity: 0.85;
}

.profile-address-edit-form__region-value {
  display: block;
  width: 100%;
}

.profile-address-edit-form__region-trigger.is-placeholder .profile-address-edit-form__region-value {
  color: var(--gray);
}

/* --- profile-address-select-city.css --- */

.profile-address-select-city__panel {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  padding: 20px 15px;
  box-sizing: border-box;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
}

.profile-address-select-city__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--blue-dark);
  text-align: right;
}

.profile-address-select-city__search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 360px;
  height: 48px;
  margin: 16px auto 0;
  padding: 0 14px;
  box-sizing: border-box;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.profile-address-select-city__search:focus-within {
  border-color: var(--blue-dark);
}

.profile-address-select-city__search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-address-select-city__search-icon img {
  width: 20px;
  height: 20px;
  display: block;
}

.profile-address-select-city__search-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--blue-dark);
  text-align: right;
}

.profile-address-select-city__search-input::placeholder {
  color: var(--gray);
}

.profile-address-select-city__list {
  list-style: none;
  width: 100%;
  max-width: 360px;
  margin: 16px auto 0;
  padding: 0;
  box-sizing: border-box;
}

.profile-address-select-city__item {
  margin: 0;
  padding: 0;
}

.profile-address-select-city__option {
  display: block;
  width: 100%;
  padding: 14px 12px;
  margin: 2px 0;
  box-sizing: border-box;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--blue-dark);
  text-align: right;
  cursor: pointer;
  border-radius: var(--radius);
}

.profile-address-select-city__option.is-selected {
  background: var(--blue-dark);
  color: var(--white);
}

.profile-address-select-city__divider {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0;
  border: none;
  background: rgba(0, 0, 0, 0.12);
}

.profile-address-select-city__empty {
  margin: 0;
  padding: 20px 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--gray);
  text-align: center;
}

/* --- profile-add-reciption.css --- */

.profile-add-reciption-box {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  padding: 20px 15px;
  box-sizing: border-box;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
}

.profile-add-reciption-box__title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--blue-dark);
  text-align: right;
}

.profile-add-reciption-box__field + .profile-add-reciption-box__field {
  margin-top: 12px;
}

.profile-add-reciption-box__input-row {
  position: relative;
  width: 100%;
}

.profile-add-reciption-box__input-fake-placeholder {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--gray);
  pointer-events: none;
  white-space: nowrap;
}

.profile-add-reciption-box__input-row--filled .profile-add-reciption-box__input-fake-placeholder,
.profile-add-reciption-box__input-row:focus-within .profile-add-reciption-box__input-fake-placeholder {
  display: none;
}

.profile-add-reciption-box__required {
  color: var(--red);
}

.profile-add-reciption-box__hint {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--gray);
  text-align: right;
}

.profile-add-reciption-box__hint--error {
  color: var(--red);
}

.profile-add-reciption-box__hint--error:empty {
  display: none;
}

.profile-add-reciption-box__input,
.profile-add-reciption-box__textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--blue-dark);
  outline: none;
  text-align: right;
}

.profile-add-reciption-box__input {
  height: 55px;
  padding: 0 15px;
}

.profile-add-reciption-box__textarea {
  min-height: 120px;
  padding: 14px 15px;
  resize: vertical;
}

.profile-add-reciption-box__input::placeholder,
.profile-add-reciption-box__textarea::placeholder {
  color: var(--gray);
}

.profile-add-reciption-box__input:focus,
.profile-add-reciption-box__textarea:focus {
  border-color: var(--blue-dark);
}

.profile-add-reciption-box__counter {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--gray);
  text-align: left;
}

.profile-add-reciption-box__hint--upload {
  font-size: 9px;
  margin-top: 8px;
}

.profile-add-reciption-box__upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 140px;
  margin-top: 16px;
  padding: 20px 15px;
  box-sizing: border-box;
  border: 1px dashed rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.profile-add-reciption-box__upload--disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.profile-add-reciption-box__file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.profile-add-reciption-box__file-list[hidden] {
  display: none;
}

.profile-add-reciption-box__file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  background: var(--bg-main);
}

.profile-add-reciption-box__file-name {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--blue-dark);
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-add-reciption-box__file-remove {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--red);
  font-family: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.profile-add-reciption-box__upload-icon {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
  pointer-events: none;
  filter: brightness(0) saturate(100%) invert(46%) sepia(8%) saturate(629%) hue-rotate(169deg) brightness(93%) contrast(88%);
}

.profile-add-reciption-box__upload-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--gray);
  text-align: center;
}

.profile-add-reciption-box__upload-name {
  max-width: 100%;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--blue-dark);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-add-reciption-box__upload-name[hidden] {
  display: none;
}
