.local-currency-menu.tippy-box {
  background: #2b2d33;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 50px 50px rgba(0, 0, 0, .4);
  box-sizing: content-box;
  color: #cbcdd2;
  left: 0;
  min-width: 240px;
  padding: 0;
  position: fixed;
  top: 0;
  width: 240px;
  z-index: 10020;
}

.local-currency-menu.tippy-box.local-currency-menu--footer {
  border: 1px solid #555860;
}

.local-currency-menu[hidden] {
  display: none !important;
}

.local-currency-menu .tippy-content {
  padding: 0;
}

.local-currency-menu .currency-selector__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
  width: 100%;
}

.local-currency-menu .currency-selector__list-item {
  align-items: center;
  border-radius: 0;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  height: 42px;
  padding: 10px 20px 10px 12px;
}

.local-currency-menu .currency-selector__list-item:hover,
.local-currency-menu .currency-selector__list-item:focus {
  background: rgba(255, 255, 255, .06);
  outline: none;
}

.local-currency-menu .currency-selector__list-item-main {
  align-items: center;
  display: flex;
  gap: 8px;
  min-width: 0;
}

.local-currency-menu .currency-selector__name {
  color: #cbcdd2;
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
}

.local-currency-menu .currency-selector__full-name,
.local-currency-menu .currency-selector__converted {
  color: #82858e;
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
}

.local-currency-menu .currency-selector__converted {
  color: #cbcdd2;
  font-size: 13px;
  line-height: 18px;
  margin-left: 0;
  white-space: normal;
}

.currency-selector__reference[role="button"] {
  cursor: pointer;
}

.local-market-header-balance {
  column-gap: 4px;
}

.local-currency-balance-sums {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}

.local-currency-balance-converted {
  color: #999ca4;
  display: block;
  font-size: 11px;
  line-height: 14px;
  white-space: nowrap;
}

.payment-info__header-info {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
}

.payment-info__converted-total {
  color: #999ca4;
  font-size: 13px;
  line-height: 18px;
  white-space: nowrap;
}

body.local-currency-popup-open {
  overflow: hidden;
}

.local-currency-popup {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  position: fixed;
  z-index: 11000;
}

.local-currency-popup .popup__overlay {
  backdrop-filter: blur(5px);
  background: rgba(5, 6, 8, .76);
  inset: 0;
  position: absolute;
}

.local-currency-popup .popup__content {
  background: #24262b;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .45);
  box-sizing: border-box;
  color: #b2b4bb;
  max-width: calc(100vw - 32px);
  padding: 32px;
  position: relative;
  width: 640px;
  z-index: 1;
}

.local-currency-popup__close {
  align-items: center;
  background: transparent;
  border: 0;
  color: #999ca4;
  cursor: pointer;
  display: flex;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 28px;
  top: 28px;
}

.local-currency-popup .popup__title {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 20px;
  font-weight: 600;
  gap: 16px;
  line-height: 28px;
  padding-right: 42px;
}

.local-currency-popup .how-currencies-work-popup__title-icon {
  align-items: center;
  color: #41d69a;
  display: flex;
  flex: 0 0 40px;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.local-currency-popup .how-currencies-work-popup {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  gap: 12px;
  line-height: 22px;
  margin-top: 28px;
}

.local-currency-popup .how-currencies-work-popup__text {
  display: block;
}

.local-currency-popup .how-currencies-work-popup ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: disc;
  margin: 0 0 4px;
  padding-left: 28px;
}

.local-currency-popup .how-currencies-work-popup li::marker,
.local-currency-popup .how-currencies-work-popup strong {
  color: #ff831f;
  font-weight: 400;
}

.local-currency-popup .ui-button {
  align-items: center;
  background: #ff831f;
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 500;
  height: 46px;
  justify-content: center;
  margin-top: 4px;
  text-transform: uppercase;
  width: 100%;
}

.local-currency-popup .ui-button:hover {
  background: #ff6817;
}

@media (max-width: 640px) {
  .local-currency-menu.tippy-box {
    max-width: calc(100vw - 16px);
    min-width: 0;
    width: 240px;
  }

  .local-currency-popup .popup__content {
    padding: 24px 20px 20px;
    width: calc(100vw - 24px);
  }

  .local-currency-popup__close {
    right: 20px;
    top: 20px;
  }

  .local-currency-popup .popup__title {
    font-size: 18px;
    gap: 12px;
    line-height: 24px;
  }
}
