* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: #0d0d0f;
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px 4px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.status-icons {
  display: flex;
  gap: 6px;
  font-size: 11px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 12px;
}

.header .back,
.header .menu {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1c1c1e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
}

.header .url {
  font-size: 14px;
  color: #8e8e93;
  display: flex;
  align-items: center;
  gap: 4px;
}

.header .lock {
  font-size: 12px;
}

.title {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  margin: 16px 0 8px;
  letter-spacing: -0.3px;
}

.to {
  text-align: center;
  font-size: 13px;
  color: #8e8e93;
  padding: 0 24px;
  word-break: break-all;
  line-height: 1.4;
}

.amount-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 16px;
  min-height: 160px;
}

.amount {
  font-size: 64px;
  font-weight: 300;
  letter-spacing: -2px;
  line-height: 1;
}

.usd {
  font-size: 16px;
  color: #8e8e93;
  margin-top: 10px;
}

.token-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 360px;
  margin: 8px auto 20px;
  padding: 0 20px;
}

.token {
  display: flex;
  align-items: center;
  gap: 12px;
}

.token-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #26a17b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}

.token .name {
  font-size: 16px;
  font-weight: 500;
}

.token .price {
  font-size: 13px;
  color: #8e8e93;
  margin-top: 2px;
}

.max-btn {
  background: #2c2c2e;
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.max-btn:active {
  background: #3a3a3c;
}

.keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 16px;
  padding: 0 12px;
}

.key {
  height: 56px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 28px;
  font-weight: 300;
  border-radius: 12px;
  cursor: pointer;
}

.key:active {
  background: #1c1c1e;
}

.status {
  text-align: center;
  font-size: 13px;
  color: #8e8e93;
  min-height: 22px;
  margin-bottom: 8px;
  padding: 0 16px;
}

.review {
  margin: 0 16px 28px;
}

.review button {
  width: 100%;
  height: 56px;
  background: linear-gradient(90deg, #5b5bff 0%, #7b7bff 100%);
  border: none;
  border-radius: 28px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: -0.2px;
}

.review button:active {
  opacity: 0.9;
}

.review button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
