
* { box-sizing: border-box; }



body {

  margin: 0;

  background: #f5f6f8;

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;

  color: #111;

  min-height: 100vh;

  display: flex;

  align-items: flex-start;

  justify-content: center;

  padding-top: 56px;

}



.app-container,

.container {

  width: 100%;

  max-width: 420px;

  margin: 0 auto;

  padding: 0 16px 40px;

}



/* 卡片通用 */

.card {

  background: #fff;

  border-radius: 16px;

  padding: 20px 18px;

  box-shadow: 0 4px 18px rgba(0,0,0,0.06);

  margin-bottom: 48px;

}



.section {
  margin-top: 28px;
}

.section label {

  display: flex;

  font-size: 14px;

  color: #666;

  margin-bottom: 10px;

  font-weight: 500;

}



#addressInput,

#amountInput {

  width: 100%;

  padding: 16px;

  border: 1.5px solid #e8e8e8;

  border-radius: 12px;

  

  background: #f8f9fa;

  outline: none;

}



#addressInput:focus,

#amountInput:focus {

  border-color: #ccc;

}



.amount-input {

  display: flex;

  align-items: center;

  gap: 10px;

}



.amount-input input {

  flex: 1;

}



#maxBtn {

  border: none;

  background: #f0f0f0;

  color: #333;

  border-radius: 10px;

  padding: 10px 16px;

  font-size: 14px;

  cursor: pointer;

  font-weight: 600;

}



/* USDT 余额行 */

.token-select {

  margin-top: 14px;

  display: flex;

  align-items: center;

  gap: 10px;

  font-size: 15px;

  color: #333;

}



.token-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  box-sizing: border-box;
}



#balanceVal {

  margin-left: auto;

  color: #888;

  font-size: 14px;

}



/* 确认付款按钮 —— 浅蓝色 */

.confirm-btn {

  margin-top: 28px;

  width: 100%;

  padding: 18px;

  border: none;

  border-radius: 14px;

  background: #4f95ff;

  color: #fff;

  font-size: 18px;

  font-weight: 700;

  cursor: pointer;

}



.confirm-btn:disabled {

  opacity: 0.55;

  cursor: not-allowed;

}



.status-bar {

  display: none;

  margin-top: 14px;

  padding: 12px 14px;

  border-radius: 10px;

  font-size: 14px;

  line-height: 1.4;

}



.status-bar.show {

  display: flex;

}



.status-bar.info {

  background: #eff6ff;

  color: #1d4ed8;

}



.status-bar.success {

  background: #ecfdf5;

  color: #047857;

}



.status-bar.error {

  background: #fef2f2;

  color: #b91c1c;

}



/* 手机端 */

@media (max-width: 480px) {

  body {

    padding-top: 32px;

  }

  .card {

    border-radius: 14px;

    padding: 18px 16px;

    margin-bottom: 28px;

  }

  .confirm-btn {

    margin-top: 24px;

  }

}




/* 让卡片区域占满高度，按钮贴到底部 */

.app-container,

.container {

  min-height: calc(100vh - 56px);

  display: flex;

  flex-direction: column;

}



.confirm-btn {

  margin-top: auto;

}



/* USDT 余额行 —— 浅蓝白背景 */

.token-select {

  background: #eef5ff;

  border-radius: 12px;

  padding: 14px 16px;

}

