/* Geometric typography and one consistent picker on desktop and Telegram. */
.brand,
.mobile-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: -1.2px;
}
.page-heading h1 {
  font-style: normal;
  font-size: 33px;
  font-weight: 450;
  letter-spacing: -1.4px;
  line-height: 1.3;
}
.modal-header h2 {
  font-style: normal;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.45;
  min-width: 0;
}
.modal-header > .icon-button {
  flex-shrink: 0;
}
.big-input input,
.total-amount,
.stat-value {
  font-family: var(--font-ui);
}
.bank-icon.freedom {
  background: transparent;
  border-radius: 0;
}
.freedom-mark {
  width: 26px;
  height: 30px;
  object-fit: contain;
  display: block;
}
.select-control {
  position: relative;
  width: 100%;
  min-width: 0;
}
.select-native {
  display: none !important;
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  border: 0 !important;
  clip-path: inset(50%) !important;
  pointer-events: none !important;
  overflow: hidden !important;
}
.select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  background: #fff;
  border: 1px solid #dfe5d7;
  color: var(--ink);
  border-radius: 11px;
  padding: 10px 12px;
  text-align: left;
  font-size: 14px;
  font-weight: 400;
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    background 0.18s;
}
.select-trigger:hover {
  border-color: #b8c6a6;
  background: #fdfefb;
}
.select-trigger:focus-visible,
.select-trigger[aria-expanded="true"] {
  outline: 0;
  border-color: #9ab37b;
  box-shadow: 0 0 0 3px #a5bb761a;
}
.select-trigger:disabled {
  background: #eff3e8;
  color: #8b947e;
  cursor: default;
  opacity: 1;
}
.select-display {
  min-width: 0;
  display: flex;
  gap: 9px;
  align-items: center;
  flex: 1;
}
.select-value-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.select-chevron {
  display: flex;
  flex-shrink: 0;
  color: #919b85;
  transition: transform 0.2s;
}
.select-chevron svg {
  width: 15px;
  height: 15px;
}
.select-trigger[aria-expanded="true"] .select-chevron {
  transform: rotate(180deg);
}
.currency-symbol {
  display: inline-flex;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #edf1e5;
  color: #71875b;
  font-family: var(--font-ui);
  font-size: 14px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 500;
}
.currency-symbol[data-currency="RSD"] {
  font-size: 10px;
  letter-spacing: -0.4px;
}
.select-menu {
  position: fixed;
  z-index: 220;
  background: #fffffff7;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid #e2e7d9;
  border-radius: 15px;
  padding: 5px;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow:
    0 12px 40px #26331a1a,
    0 3px 8px #26331a08;
  animation: picker-in 0.14s ease-out;
  scrollbar-width: thin;
}
@keyframes picker-in {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  min-height: 43px;
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 14px;
  cursor: pointer;
  color: #4d5546;
}
.select-option:hover,
.select-option.highlighted {
  background: #f0f5e7;
}
.select-option.selected {
  color: #344e25;
  background: #edf4e1;
}
.select-option[aria-disabled="true"] {
  opacity: 0.4;
  cursor: default;
}
.select-option-content {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.select-option-content .select-value-text {
  white-space: normal;
  line-height: 1.4;
}
.select-option-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  flex-shrink: 0;
  color: #6e8b49;
}
.select-option-check svg {
  width: 16px;
  height: 16px;
}
.select-currency-code {
  margin-left: auto;
  color: #8c957f;
  font-size: 11px;
  font-weight: 500;
}
.select-option-content .currency-symbol {
  width: 28px;
  height: 28px;
}
.top-actions .pill {
  padding: 0;
  border: 0;
  background: none;
}
.top-actions .select-wrap {
  display: block;
  width: auto;
}
.top-actions .select-trigger {
  min-height: 39px;
  border-radius: 22px;
  padding: 7px 10px;
  min-width: 105px;
  font-size: 12px;
  gap: 8px;
  background: #ffffffb8;
}
.top-actions .select-display {
  gap: 6px;
}
.top-actions .currency-symbol {
  width: 21px;
  height: 21px;
  font-size: 12px;
}
.top-actions .currency-symbol[data-currency="RSD"] {
  font-size: 9px;
}
.top-actions .select-chevron svg {
  width: 13px;
  height: 13px;
}
.amount-entry {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 9px;
  margin-bottom: 9px;
}
.amount-entry > input {
  width: 190px;
  max-width: calc(100% - 114px);
  min-width: 0;
  padding: 5px 0;
  text-align: right;
  font-size: 48px;
}
.amount-currency-picker {
  flex-shrink: 0;
  min-width: 102px;
  text-align: left;
}
.amount-currency-picker .field {
  gap: 0;
}
.amount-currency-picker label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.amount-currency-picker .select-trigger {
  border-radius: 22px;
  min-height: 40px;
  padding: 7px 9px;
  font-size: 13px;
  background: #f0f4e8;
  border-color: #e4ebd9;
}
.amount-currency-picker .select-display {
  gap: 6px;
}
.amount-currency-picker .currency-symbol {
  width: 21px;
  height: 21px;
  font-size: 13px;
  background: #e3ebd5;
}
.amount-currency-picker .currency-symbol[data-currency="RSD"] {
  font-size: 9px;
}
.fixed-currency {
  font-size: 17px;
  color: #849272;
}
.big-input {
  margin-bottom: 19px;
}
.transfer-details {
  border: 1px solid #e3e9d9;
  border-radius: 12px;
  margin-top: 16px;
  background: #f7f9f2;
  padding: 12px 14px;
}
.transfer-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #71815e;
  font-size: 13px;
  cursor: pointer;
  list-style: none;
}
.transfer-details summary::-webkit-details-marker {
  display: none;
}
.transfer-details summary svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s;
}
.transfer-details[open] summary svg {
  transform: rotate(180deg);
}
.transfer-details p {
  color: #8a9778;
  font-size: 12px;
  line-height: 1.6;
  margin: 11px 0 13px;
}
.legacy-receipt {
  font-size: 11px;
  color: #8b967e;
  line-height: 1.6;
  margin: 13px 0 0;
}
@media (max-width: 680px) {
  .mobile-brand {
    font-size: 20px;
    letter-spacing: -1px;
    gap: 8px;
  }
  .page-heading h1 {
    font-size: 26px;
    letter-spacing: -1.15px;
  }
  .page-heading p {
    font-size: 12px;
    max-width: 235px;
  }
  .modal-header h2 {
    font-size: 18px;
  }
  .top-actions .select-trigger {
    min-height: 34px;
    min-width: 96px;
    padding: 5px 8px;
    font-size: 11px;
  }
  .select-trigger {
    font-size: 15px;
    min-height: 46px;
  }
  .select-option {
    font-size: 15px;
    min-height: 46px;
  }
  .select-menu {
    max-width: calc(100vw - 24px);
    border-radius: 15px;
  }
  .amount-entry {
    gap: 12px;
  }
  .amount-entry > input {
    font-size: 46px;
    max-width: calc(100% - 110px);
  }
  .amount-currency-picker {
    min-width: 98px;
  }
  .amount-currency-picker .select-trigger {
    min-height: 39px;
    font-size: 12px;
  }
  .transfer-details {
    padding: 12px;
  }
}
@media (max-width: 350px) {
  .mobile-brand {
    font-size: 18px;
  }
  .page-heading h1 {
    font-size: 23px;
  }
  .modal-header h2 {
    font-size: 16px;
  }
  .amount-entry > input {
    font-size: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .select-menu {
    animation: none;
  }
  .select-chevron {
    transition: none;
  }
}
