body {
  font-family: Arial, sans-serif;
  background: #fff;
  color: #000;
  margin: 0;
  padding: 20px;
  padding-bottom: 80px; /* 为底部导航栏预留空间 */
}

/* 顶部返回栏 */
.mobile-header {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid #ddd;
  background-color: #fff;
}

.mobile-header .back-icon {
  font-size: 20px;
  margin-right: 10px;
  color: #000;
}

.mobile-header h6 {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
}

/* 钱包总览区 */
.wallet-header {
  text-align: center;
  margin-bottom: 20px;
}
.wallet-header .address {
  font-size: 0.9rem;
  color: #666;
}

.wallet-header h4#username {
  font-size: 16px;
  font-weight: normal;
  margin-bottom: 5px;
}

.total-value {
  font-size: 32px;
  font-weight: bold;
  color: #333;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}
.action-buttons button {
  padding: 6px 16px;
  font-size: 0.9rem;
}

/* Token 卡片样式 */
.token-card {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;
  transition: background-color 0.2s;
  cursor: pointer;
}
.token-card:hover {
  background-color: #f1f1f1;
}

.token-info {
  display: flex;
  align-items: center;
}
.token-info img {
  width: 40px;
  height: 40px;
  margin-right: 12px;
}
.token-amount {
  font-size: 0.9rem;
  color: #666;
}
.token-value {
  text-align: right;
  font-weight: bold;
}
.token-change.green {
  color: #28a745;
}
.token-change.red {
  color: #dc3545;
}

/* 输入框统一内边距 */
input.form-control,
select.form-control {
  font-size: 0.95rem;
  padding: 8px 10px;
}

/* 模态框文字兼容性优化 */
.modal-content {
  background-color: #fff;
  color: #000;
}
.modal-header .close {
  color: #000;
}

/* 废弃旧版弹窗样式（如未用可删） */
.withdraw-modal {
  display: none;
}
/* 底部导航栏样式优化 */
.mobile-navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 60px;
  background: #fff;
  border-top: 1px solid #ddd;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  z-index: 999;
  box-sizing: border-box;
}

.nav-create-wrapper {
  position: relative;
  top: -20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-create {
  width: 60px;
  height: 60px;
  background: #28a745;
  color: white;
  font-size: 22px;
  border-radius: 50%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
