.header {
  height: 68px;
}

.header-content {
  height: 100%;
}

.local-account-block {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 18px 0 0;
}

.local-cart-button,
.local-email-button {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.local-cart-button {
  position: relative;
  width: 42px;
  height: 42px;
  justify-content: center;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  transition: transform .18s ease;
  transform-origin: center;
}

.local-cart-button:hover {
  transform: scale(.92);
}

.local-cart-button img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.local-email-button {
  max-width: 38vw;
  font-size: 20px;
  font-weight: 400;
  color: var(--black);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.local-logout-button.button {
  min-width: 128px;
  height: 46px;
  margin: 0;
  font-size: 18px;
  background: #fff;
}

@media screen and (max-width: 760px) {
  .header {
    height: 68px;
    overflow: visible;
  }

  body.local-user-authenticated .header-content {
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 0 12px;
  }

  body:not(.local-user-authenticated) .header-content {
    display: grid;
    grid-template-columns: 130px minmax(106px, 1fr) 130px;
    align-items: center;
    justify-content: normal;
    gap: 0;
    min-width: 0;
    padding: 0 24px;
  }

  body:not(.local-user-authenticated) #openSignup {
    justify-self: start;
    margin: 0;
    white-space: nowrap;
  }

  body:not(.local-user-authenticated) #openLogin {
    justify-self: center;
    margin: 0;
    white-space: nowrap;
  }

  .local-account-block {
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
    margin: 0;
  }

  .local-cart-button {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .local-email-button {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    font-size: 19px;
  }

  .local-logout-button.button {
    flex: 0 0 96px;
    min-width: 96px;
    width: 96px;
    height: 42px;
    padding: 0;
    font-size: 17px;
  }

  body.local-user-authenticated .language-dropdown {
    flex: 0 0 58px;
    min-width: 58px !important;
    color: var(--black);
  }

  body:not(.local-user-authenticated) .language-dropdown {
    justify-self: end;
    width: 100px;
    min-width: 100px !important;
    color: var(--black);
  }

  body.local-user-authenticated .language-dropdown__preview {
    height: 42px;
    padding: 0 4px !important;
    align-items: center;
    justify-content: center !important;
  }

  body:not(.local-user-authenticated) .language-dropdown__preview {
    height: 58px;
    padding: 0 !important;
    align-items: center;
    justify-content: flex-end !important;
  }

  body.local-user-authenticated .language-dropdown__preview span {
    margin: 0 8px 0 0 !important;
    font-size: 18px;
  }

  body:not(.local-user-authenticated) .language-dropdown__preview span {
    margin: 0 16px 0 0 !important;
    font-size: 24px;
  }

  body.local-user-authenticated .language-dropdown__preview .arrow-container {
    width: 12px !important;
    height: 12px !important;
    margin: 0 !important;
  }

  body:not(.local-user-authenticated) .language-dropdown__preview .arrow-container {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
  }
}

@media screen and (max-width: 420px) {
  body.local-user-authenticated .header-content {
    gap: 7px;
    padding: 0 8px;
  }

  body:not(.local-user-authenticated) .header-content {
    grid-template-columns: 112px minmax(86px, 1fr) 76px;
    padding: 0 16px;
  }

  body:not(.local-user-authenticated) #openSignup {
    padding: 0 8px;
  }

  body:not(.local-user-authenticated) #openLogin {
    padding: 0 8px;
  }

  .local-account-block {
    gap: 7px;
  }

  .local-cart-button {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .local-email-button {
    font-size: 16px;
  }

  .local-logout-button.button {
    flex-basis: 78px;
    min-width: 78px;
    width: 78px;
    height: 38px;
    font-size: 15px;
  }

  body.local-user-authenticated .language-dropdown {
    flex-basis: 48px;
    min-width: 48px !important;
  }

  body:not(.local-user-authenticated) .language-dropdown {
    width: 76px;
    min-width: 76px !important;
  }

  body:not(.local-user-authenticated) .language-dropdown__preview {
    height: 44px;
  }

  body.local-user-authenticated .language-dropdown__preview span {
    margin-right: 5px !important;
    font-size: 16px;
  }

  body:not(.local-user-authenticated) .language-dropdown__preview span {
    margin-right: 10px !important;
    font-size: 20px;
  }

  body:not(.local-user-authenticated) .language-dropdown__preview .arrow-container {
    width: 14px !important;
    height: 14px !important;
  }
}

.topup-modal {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  background: rgba(0, 0, 0, .6);
  opacity: 0;
  transition: opacity .22s ease;
}

.topup-modal__content {
  position: relative;
  width: min(456px, calc(100vw - 28px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 48px 67px 48px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, .4);
  opacity: 0;
  transform: translateY(14px) scale(.985);
  transition: opacity .24s ease, transform .24s ease;
}

.topup-modal.is-visible,
.inactive-modal.is-visible {
  opacity: 1;
}

.topup-modal.is-visible .topup-modal__content,
.inactive-modal.is-visible .inactive-modal__content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.topup-modal__close {
  position: absolute;
  top: 26px;
  right: 18px;
  width: 40px;
  height: 40px;
  transition: transform .25s ease;
}

.topup-modal__close:before,
.topup-modal__close:after {
  content: "";
  position: absolute;
  top: 18px;
  left: 3px;
  width: 34px;
  height: 5px;
  background: var(--orange);
  border-radius: 3px;
  transition: background-color .25s ease;
}

.topup-modal__close:before {
  transform: rotate(45deg);
}

.topup-modal__close:after {
  transform: rotate(-45deg);
}

.topup-modal__close:hover {
  transform: rotate(90deg);
}

.topup-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  max-width: 322px;
  margin: 0 auto;
}

.topup-form__title {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

.topup-form__description {
  margin: 36px 0 0;
  color: var(--black);
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

.topup-form__field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 11px;
}

.topup-form__field label,
.topup-form__field legend {
  margin-bottom: 5px;
  font-size: 18px;
  font-weight: 400;
}

.topup-form__field .input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--gray-border);
  border-radius: 5px;
  font-size: 18px;
  color: var(--black);
}

.topup-form__field .input::placeholder {
  color: #bdbdbd;
  opacity: 1;
}

.topup-form__hint {
  display: none;
}

.topup-payment-select {
  appearance: none;
  background: #fff;
}

.topup-form__error {
  min-height: 20px;
  margin: -6px 0 18px;
  color: var(--danger);
  font-size: 16px;
}

.topup-form__status {
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid var(--gray-border);
  border-radius: 5px;
  background: #fafafa;
  font-size: 14px;
  line-height: 20px;
}

.topup-form__status strong {
  color: var(--orange);
  font-weight: 700;
}

.topup-form__actions {
  display: block;
  margin-top: 8px;
}

.topup-form__actions .button {
  width: 100%;
  min-height: 38px;
  margin: 0;
  border-radius: 5px;
  font-size: 16px;
}

.inactive-modal {
  position: fixed;
  inset: 0;
  z-index: 1002;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  background: rgba(0, 0, 0, .6);
  opacity: 0;
  transition: opacity .22s ease;
}

.inactive-modal__content {
  position: relative;
  width: min(456px, calc(100vw - 28px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 58px 52px 46px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, .4);
  text-align: center;
  opacity: 0;
  transform: translateY(14px) scale(.985);
  transition: opacity .24s ease, transform .24s ease;
}

.inactive-modal__close {
  position: absolute;
  top: 22px;
  right: 18px;
  width: 40px;
  height: 40px;
  transition: transform .25s ease;
}

.inactive-modal__close:before,
.inactive-modal__close:after {
  content: "";
  position: absolute;
  top: 18px;
  left: 3px;
  width: 34px;
  height: 5px;
  background: var(--orange);
  border-radius: 3px;
}

.inactive-modal__close:before {
  transform: rotate(45deg);
}

.inactive-modal__close:after {
  transform: rotate(-45deg);
}

.inactive-modal__close:hover {
  transform: rotate(90deg);
}

.inactive-modal__title {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 28px;
  font-weight: 700;
  text-align: center;
}

.inactive-modal__text {
  margin: 0 auto 12px;
  color: var(--black);
  font-size: 20px;
  font-weight: 600;
  line-height: 26px;
  text-align: center;
}

.inactive-modal__topup.button {
  width: 100%;
  min-height: 42px;
  margin: 18px 0 0;
  border-radius: 5px;
  font-size: 18px;
}

@media screen and (max-width: 760px) {
  .topup-modal__content {
    width: min(456px, calc(100vw - 28px));
    padding: 54px 24px 42px;
  }

  .topup-modal__close {
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
  }

  .topup-modal__close:before,
  .topup-modal__close:after {
    top: 17px;
    left: 4px;
    width: 30px;
    height: 5px;
  }

  .topup-form__field label,
  .topup-form__field legend {
    font-size: 18px;
  }

  .topup-form__field .input {
    height: 42px;
    padding: 0 12px;
    font-size: 18px;
  }

  .topup-form__actions .button {
    min-height: 42px;
    font-size: 17px;
  }

  .topup-form__description {
    margin-top: 32px;
    font-size: 18px;
    line-height: 23px;
  }

  .inactive-modal__content {
    width: min(456px, calc(100vw - 28px));
    padding: 58px 28px 42px;
  }

  .inactive-modal__title {
    font-size: 26px;
  }

  .inactive-modal__text {
    font-size: 18px;
    line-height: 24px;
  }
}

@media screen and (max-width: 420px) {
  .topup-modal {
    align-items: center;
    padding: 16px;
  }

  .topup-modal__content {
    width: min(340px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    padding: 48px 18px 32px;
  }

  .topup-form {
    max-width: none;
  }

  .topup-form__field label,
  .topup-form__field legend {
    font-size: 17px;
  }

  .topup-form__field .input {
    height: 40px;
    font-size: 17px;
  }

  .topup-payment-select {
    font-size: 15px !important;
  }

  .topup-form__actions .button {
    min-height: 40px;
    font-size: 16px;
  }

  .topup-form__description {
    margin-top: 28px;
    font-size: 16px;
    line-height: 20px;
  }

  .inactive-modal {
    align-items: flex-start;
    padding: 16px 10px;
  }

  .inactive-modal__content {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 32px);
    padding: 56px 18px 34px;
  }

  .inactive-modal__title {
    font-size: 24px;
  }

  .inactive-modal__text {
    font-size: 16px;
    line-height: 21px;
  }

  .inactive-modal__topup.button {
    min-height: 40px;
    font-size: 16px;
  }
}

body.account-dashboard-active .main-content {
  display: grid;
  grid-template-columns: 310px minmax(0, 900px);
  gap: 20px;
  width: calc(100% - 48px);
  max-width: 1270px;
  margin: 5px auto 116px;
  align-items: start;
}

body.account-dashboard-active .default {
  min-height: calc(100vh - 68px);
  display: flex;
  flex-direction: column;
}

body.account-dashboard-active footer[data-v-046e0130] {
  height: 56px;
  padding: 0;
  margin-top: auto;
  line-height: 56px;
  background: #fff;
  font-size: 16px;
  text-align: center;
  flex-shrink: 0;
}

body.account-dashboard-active .main-content > .left-menu,
body.account-dashboard-active .main-content > main,
body.account-dashboard-active .account-dashboard {
  min-width: 0;
  width: 100%;
}

body.account-dashboard-active .left-menu .content_block,
body.account-dashboard-active .left-menu .generator-menu {
  width: 100%;
  max-width: none;
}

body.account-dashboard-active .left-menu .logo_block {
  display: flex;
  height: 120px;
  margin-bottom: 20px;
}

body.account-dashboard-active .left-menu .logo_block svg {
  width: 132px;
  height: auto;
}

body.account-dashboard-active .left-menu .generator-menu {
  min-height: 600px;
  height: 600px;
  padding: 12px 14px;
  border-radius: 10px;
}

.account-summary {
  display: grid;
  min-height: 124px;
  grid-template-columns: 190px 112px minmax(260px, 1fr) 148px;
  grid-template-rows: repeat(2, auto);
  align-items: center;
  gap: 13px 18px;
  padding: 15px;
  margin: 0 0 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px #7d7d7d1a;
}

.account-balance-line,
.account-referral-link,
.account-referral-balance {
  display: flex;
  align-items: center;
  min-width: 0;
  white-space: nowrap;
}

.account-balance-line {
  grid-column: 1;
  grid-row: 1 / 3;
  gap: 12px;
}

.account-referral-link {
  grid-column: 3 / 5;
  grid-row: 1;
  gap: 9px;
}

.account-referral-balance {
  grid-column: 3;
  grid-row: 2;
  gap: 12px;
  justify-self: start;
}

.account-balance-line strong,
.account-referral-balance strong {
  color: var(--orange);
  font-size: 22px;
  font-weight: 700;
}

.account-money {
  font-size: 22px;
  font-weight: 500;
  white-space: nowrap;
}

.account-topup.button,
.account-withdraw.button {
  margin: 0;
  font-size: 17px;
  color: #fff;
  background: var(--orange);
  white-space: nowrap;
}

.account-topup.button {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 112px;
  height: 52px;
  padding: 0 14px;
}

.account-referral-link input {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 2px solid var(--orange);
  border-radius: 6px;
  font-size: 17px;
}

.account-percent {
  color: var(--orange);
  font-size: 18px;
  font-weight: 700;
}

.account-withdraw.button {
  grid-column: 4;
  grid-row: 2;
  width: 148px;
  height: 36px;
  justify-self: start;
}

.account-panel {
  min-height: 600px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px #7d7d7d1a;
  overflow: hidden;
}

.account-tabs {
  height: 52px;
  display: grid;
  grid-template-columns: 130px 12px 130px 1fr 133px;
  align-items: stretch;
  background: var(--background, #f4f4f4);
}

.account-tab {
  border: 0;
  background: #c9c9c9;
  border-radius: 7px 7px 0 0;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.account-tab:nth-of-type(2) {
  grid-column: 3;
}

.account-tabs span {
  grid-column: 4;
}

.account-tab:nth-of-type(3) {
  grid-column: 5;
}

.account-tab.active {
  background: #fff;
  color: var(--orange);
}

.account-empty {
  min-height: 549px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9c9c9;
  font-size: 54px;
  font-weight: 700;
}

body.account-dashboard-active .generator-menu__header {
  font-size: 22px;
  margin-bottom: 16px;
}

body.account-dashboard-active .generator-menu__input {
  height: 54px;
  margin-bottom: 22px;
}

body.account-dashboard-active .generator-menu__type-button {
  min-height: 58px;
  margin-top: 13px;
}

body.account-dashboard-active .generator-menu__type-icon {
  min-width: 58px;
}

body.account-dashboard-active .generator-menu__type-content h3,
body.account-dashboard-active .generator-menu__type-content h4 {
  font-size: 17px;
}

body.account-dashboard-active .generator-menu__type-content .arrow {
  width: 15px;
  height: 19px;
}

@media screen and (max-width: 1100px) {
  body.account-dashboard-active .main-content {
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 12px;
    width: calc(100% - 24px);
    margin-top: 5px;
    margin-bottom: 140px;
  }

  body.account-dashboard-active .left-menu .logo_block {
    height: 112px;
    margin-bottom: 14px;
  }

  body.account-dashboard-active .left-menu .logo_block svg {
    width: 112px;
    height: auto;
  }

  body.account-dashboard-active .left-menu .generator-menu {
    min-height: 560px;
    height: 560px;
    padding: 12px 10px;
  }

  body.account-dashboard-active .generator-menu__header {
    font-size: 18px;
    margin-bottom: 10px;
  }

  body.account-dashboard-active .generator-menu__input {
    height: 42px;
    margin-bottom: 10px;
  }

  body.account-dashboard-active .generator-menu__type-button {
    min-height: 52px;
    margin-top: 9px;
  }

  body.account-dashboard-active .generator-menu__type-icon {
    min-width: 52px;
  }

  body.account-dashboard-active .generator-menu__type-content {
    padding: 7px 9px;
  }

  body.account-dashboard-active .generator-menu__type-content h3,
  body.account-dashboard-active .generator-menu__type-content h4 {
    font-size: 18px;
  }

  .account-summary {
    grid-template-columns: 130px 78px minmax(135px, 1fr) 92px;
    min-height: 112px;
    gap: 9px 9px;
    padding: 15px;
    margin-bottom: 14px;
  }

  .account-balance-line,
  .account-referral-balance {
    gap: 8px;
  }

  .account-balance-line strong,
  .account-referral-balance strong,
  .account-money {
    font-size: 16px;
  }

  .account-topup.button {
    width: 78px;
    height: 44px;
    padding: 0 8px;
    font-size: 13px;
  }

  .account-withdraw.button {
    width: 92px;
    height: 34px;
    padding: 0 8px;
    font-size: 13px;
  }

  .account-referral-link input {
    height: 36px;
    padding: 0 10px;
    font-size: 14px;
  }

  .account-percent {
    font-size: 14px;
  }

  .account-panel {
    min-height: 560px;
  }

  .account-tabs {
    height: 52px;
    grid-template-columns: minmax(90px, 16%) 12px minmax(110px, 16%) 1fr minmax(110px, 16%);
  }

  .account-tab {
    font-size: 18px;
  }

  .account-empty {
    min-height: 508px;
    font-size: 38px;
  }
}

@media screen and (max-width: 760px) {
  body.account-dashboard-active .main-content {
    grid-template-columns: 1fr;
    gap: 14px;
    width: calc(100% - 20px);
    margin-top: 5px;
    margin-bottom: 80px;
  }

  body.account-dashboard-active .left-menu .logo_block {
    height: 108px;
    margin-bottom: 12px;
  }

  body.account-dashboard-active .left-menu .logo_block svg {
    width: 108px;
  }

  body.account-dashboard-active .left-menu .generator-menu {
    min-height: fit-content;
    height: fit-content;
    padding: 12px 10px;
  }

  body.account-dashboard-active .generator-menu__header {
    font-size: 18px;
    margin-bottom: 8px;
  }

  body.account-dashboard-active .generator-menu__input {
    height: 40px;
    padding-left: 10px;
  }

  body.account-dashboard-active .generator-menu__type-button {
    min-height: 48px;
    margin-top: 8px;
  }

  body.account-dashboard-active .generator-menu__type-icon {
    min-width: 48px;
    padding: 4px;
  }

  body.account-dashboard-active .generator-menu__type-content {
    padding: 6px 9px;
  }

  body.account-dashboard-active .generator-menu__type-content h3,
  body.account-dashboard-active .generator-menu__type-content h4 {
    font-size: 16px;
  }

  body.account-dashboard-active .generator-menu__type-content .arrow {
    width: 12px;
    height: 15px;
  }

  .account-summary {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    gap: 12px 10px;
    padding: 16px;
    margin-bottom: 14px;
    border-radius: 8px;
  }

  .account-balance-line {
    grid-column: 1;
    grid-row: 1;
  }

  .account-topup.button {
    grid-column: 2;
    grid-row: 1;
  }

  .account-referral-link {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .account-referral-balance {
    grid-column: 1;
    grid-row: 3;
  }

  .account-withdraw.button {
    grid-column: 2;
    grid-row: 3;
  }

  .account-balance-line,
  .account-referral-balance,
  .account-referral-link {
    gap: 7px;
  }

  .account-balance-line strong,
  .account-referral-balance strong,
  .account-money {
    font-size: 16px;
  }

  .account-topup.button {
    width: 78px;
    height: 40px;
    padding: 0 6px;
    font-size: 14px;
  }

  .account-referral-link input {
    height: 38px;
    padding: 0 9px;
    border-width: 2px;
    border-radius: 4px;
    font-size: 14px;
  }

  .account-percent {
    font-size: 14px;
  }

  .account-withdraw.button {
    width: 92px;
    height: 36px;
    padding: 0 9px;
    font-size: 13px;
  }

  .account-panel {
    min-height: 430px;
    border-radius: 8px;
  }

  .account-tabs {
    height: 46px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 4px;
    background: var(--background, #f4f4f4);
  }

  .account-tabs span {
    display: none;
  }

  .account-tab:nth-of-type(2),
  .account-tab:nth-of-type(3) {
    grid-column: auto;
  }

  .account-tab {
    font-size: 14px;
  }

  .account-empty {
    min-height: 384px;
    padding: 12px;
    text-align: center;
    font-size: 28px;
  }
}

@media screen and (max-width: 420px) {
  .account-summary {
    padding: 12px;
    gap: 10px 8px;
  }

  .account-balance-line strong,
  .account-referral-balance strong,
  .account-money {
    font-size: 14px;
  }

  .account-referral-link input {
    font-size: 12px;
  }

  .account-withdraw.button {
    width: 76px;
  }

  .account-topup.button {
    width: 74px;
    font-size: 13px;
  }
}

.payment-page,
.admin-page {
  min-height: 100vh;
  background: #f4f6f8;
  color: #1f2933;
}

.payment-page__header,
.admin-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.payment-page__logo {
  font-size: 24px;
  font-weight: 700;
  color: #1f2933;
  text-decoration: none;
}

.payment-page__main,
.admin-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
}

.payment-page__card,
.admin-page__card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  margin-bottom: 24px;
}

.payment-page__title,
.admin-page__card h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.payment-page__intro,
.payment-page__hint,
.payment-page__instructions {
  color: #52606d;
  line-height: 1.5;
}

.payment-page__summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.payment-page__summary dt {
  font-size: 13px;
  color: #7b8794;
  margin-bottom: 4px;
}

.payment-page__summary dd {
  margin: 0;
  font-weight: 600;
}

.payment-page__address-block label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.payment-page__address {
  word-break: break-all;
  padding: 14px 16px;
  border-radius: 8px;
  background: #f0f4f8;
  font-family: monospace;
}

.payment-page__address--empty {
  color: #b91c1c;
}

.payment-page__field,
.admin-page__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.payment-page__field .input,
.admin-page__field .input,
.admin-page__textarea {
  width: 100%;
  box-sizing: border-box;
}

.payment-page__error,
.admin-page__error {
  color: #e53935;
  min-height: 20px;
}

.admin-page__message {
  color: #059669;
  min-height: 20px;
}

.admin-page__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-page__table-wrap {
  overflow-x: auto;
}

.admin-page__table {
  width: 100%;
  border-collapse: collapse;
}

.admin-page__table th,
.admin-page__table td {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
}

.admin-page__hash {
  max-width: 220px;
  word-break: break-all;
  font-family: monospace;
  font-size: 12px;
}

.admin-page__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-page__empty {
  color: #7b8794;
}

/* ── BTCPay-style payment checkout ── */
.payment-checkout {
  --payment-page-bg: #F8F9FA;
  --payment-card-bg: #ffffff;
  --payment-orange: #FF8200;
  --payment-orange-h: #d96d00;
  --payment-text: #1a1a1a;
  --payment-muted: #8e8e93;
  --payment-border: #e5e5ea;
  --payment-pill-off-border: #d1d1d6;

  font-family: 'Inter', system-ui, sans-serif;
  background: var(--payment-page-bg);
  color: var(--payment-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 16px 32px;
  margin: 0;
}

.payment-checkout__site-name {
  font-size: 22px;
  font-weight: 600;
  color: var(--payment-text);
  margin: 0 0 24px;
  letter-spacing: -.1px;
}

.payment-checkout__card {
  width: 100%;
  max-width: 352px;
  min-height: 656px;
  background: var(--payment-card-bg);
  border-radius: 8px;
  padding: 26px 22px 22px;
  box-shadow: 0 4px 40px rgba(0, 0, 0, .08), 0 1px 4px rgba(0, 0, 0, .04);
  display: flex;
  flex-direction: column;
  transform: scale(1.05);
  transform-origin: top center;
}

.payment-checkout__amount-row {
  text-align: center;
  margin-bottom: 24px;
}

.payment-checkout__amount-value {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.5px;
  color: var(--payment-text);
  line-height: 1.15;
}

.payment-checkout__view-details {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 25px;
  color: var(--payment-orange);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  background: none;
  border: none;
  font-family: inherit;
  transition: opacity .18s;
}

.payment-checkout__view-details:hover {
  opacity: .75;
}

.payment-checkout__details-panel {
  display: none;
  margin-top: 14px;
  text-align: left;
}

.payment-checkout__details-panel--open {
  display: block;
}

.payment-checkout__details-sep {
  height: 1px;
  background: var(--payment-border);
  margin-bottom: 18px;
}

.payment-checkout__details-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--payment-border);
}

.payment-checkout__details-row:last-child {
  border-bottom: none;
}

.payment-checkout__details-key {
  font-size: 15px;
  font-weight: 400;
  color: var(--payment-muted);
  flex-shrink: 0;
}

.payment-checkout__details-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--payment-text);
  text-align: right;
  margin-left: 16px;
}

.payment-checkout__pay-with-label {
  text-align: center;
  font-size: 13.5px;
  color: var(--payment-muted);
  font-weight: 500;
  margin: 0 0 12px;
}

.payment-checkout__coin-pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.payment-checkout__coin-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid var(--payment-pill-off-border);
  background: #ffffff;
  font-size: 14px;
  font-weight: 400;
  color: var(--payment-orange);
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
  font-family: inherit;
}

.payment-checkout__coin-pill--active {
  background: var(--payment-orange);
  border-color: var(--payment-orange);
  color: #000;
  font-weight: 500;
}

.payment-checkout__coin-pill:not(.payment-checkout__coin-pill--active):hover {
  border-color: var(--payment-orange);
  background: rgba(247, 147, 26, .04);
}

.payment-checkout__qr-container {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.payment-checkout__qr-wrap {
  position: relative;
  width: 288px;
  height: 288px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid var(--payment-border);
}

.payment-checkout__qr-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: #f9f9f9;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  z-index: 1;
}

.payment-checkout__qr-wrap--loading::before {
  opacity: 1;
}

.payment-checkout__qr-wrap--loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 3px solid var(--payment-border);
  border-top-color: var(--payment-orange);
  border-radius: 50%;
  animation: payment-checkout-spin .7s linear infinite;
  z-index: 2;
}

@keyframes payment-checkout-spin {
  to { transform: rotate(360deg); }
}

.payment-checkout__qr-img {
  width: 288px;
  height: 288px;
  display: block;
  border-radius: 4px;
}

.payment-checkout__qr-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 51px;
  height: 51px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: var(--payment-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}

.payment-checkout__qr-logo--usdt {
  background: #26a17b;
}

.payment-checkout__qr-logo--ltc {
  background: #bebebe;
  color: #555;
}

.payment-checkout__address-section {
  margin-top: auto;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.payment-checkout__address-label-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8e8e93;
  margin-bottom: 12px;
}

.payment-checkout__address-row {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 305px;
}

.payment-checkout__address-display {
  font-size: 14px;
  font-weight: 500;
  color: var(--payment-text);
  cursor: default;
  user-select: all;
  font-family: inherit;
  white-space: nowrap;
  overflow: hidden;
  min-width: 0;
}

.payment-checkout__copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #8e8e93;
  padding: 2px;
  transition: color .15s;
  flex-shrink: 0;
}

.payment-checkout__copy-btn:hover {
  color: var(--payment-text);
}

.payment-checkout__copy-btn--copied {
  color: #34c759;
}

.payment-checkout__copy-btn svg {
  width: 18px;
  height: 18px;
}

.payment-checkout__pay-btn {
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding: 0;
  background: var(--payment-orange);
  border: none;
  border-radius: 50px;
  color: #000 !important;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  letter-spacing: .1px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: background .18s, transform .1s;
}

.payment-checkout__pay-btn:hover {
  background: var(--payment-orange-h);
}

.payment-checkout__pay-btn:active {
  transform: scale(.98);
}

.payment-checkout__pay-btn--copied {
  background: #34c759 !important;
  box-shadow: 0 4px 18px rgba(52, 199, 89, .4);
}

.payment-checkout__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}

.payment-checkout__contact-link {
  font-size: 14px;
  color: #adb5bd;
  text-decoration: none;
  font-weight: 300;
  letter-spacing: .1px;
  transition: opacity .18s;
}

.payment-checkout__contact-link:hover {
  opacity: .7;
}

.payment-checkout__lang-select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23adb5bd' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1px solid #d1d1d6;
  border-radius: 6px;
  padding: 6px 28px 6px 12px;
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  outline: none;
  transition: border-color .18s;
}

.payment-checkout__lang-select:hover {
  border-color: #adb5bd;
}

.payment-checkout__toast {
  position: fixed;
  bottom: 10px;
  right: 30px;
  background-color: #e53935;
  color: #fff;
  padding: 22px 30px;
  border-radius: 12px;
  font-size: 16px;
  max-width: 360px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
  opacity: 0;
  transform: translateX(100%);
  transition: opacity .5s ease, transform .5s ease;
  z-index: 9999;
}

.payment-checkout__toast--visible {
  opacity: 1;
  transform: translateX(0);
}

.payment-checkout__toast--success {
  background-color: #3fc763;
}

@media (max-width: 480px) {
  .payment-checkout__card {
    padding: 21px 14px 18px;
    border-radius: 10px;
  }

  .payment-checkout__amount-value {
    font-size: 19px;
  }

  .payment-checkout__qr-img,
  .payment-checkout__qr-wrap {
    width: 240px;
    height: 240px;
  }

  .payment-checkout__qr-logo {
    width: 43px;
    height: 43px;
    font-size: 21px;
  }
}
