/* css/style.css */
/* 基础样式 */

/* 图标字体（简化版） */
.icon-notification:before { content: "🔔"; }
.icon-eye:before { content: "👁️"; }
.icon-eye-off:before { content: "👁️‍🗨️"; }
.icon-chevron-down:before { content: "▼"; }
.icon-chevron-up:before { content: "▲"; }
.icon-plus:before { content: "➕"; }
.icon-search:before { content: "🔍"; }
.icon-settings:before { content: "⚙️"; }
.icon-user:before { content: "👤"; }
.icon-wallet:before { content: "💰"; }
.icon-card:before { content: "💳"; }
.icon-chart:before { content: "📈"; }
.icon-home:before { content: "🏠"; }

/* 工具类 */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-primary { color: #09bb8a; }
.text-secondary { color: #061237; }
.text-light { color: #83899b; }
.text-white { color: #ffffff; }
.text-error { color: #f56c6c; }
.text-success { color: #09bb8a; }
.text-warning { color: #f9ae3d; }

.bg-primary { background-color: #09bb8a; }
.bg-secondary { background-color: #061237; }
.bg-light { background-color: #f7f9fc; }
.bg-white { background-color: #ffffff; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

.p-4 { padding: 1rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.m-4 { margin: 1rem; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }

.rounded { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }

/* 动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInLeft {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.animate-fadeIn { animation: fadeIn 0.5s ease-out; }
.animate-slideUp { animation: slideUp 0.5s ease-out; }
.animate-slideInLeft { animation: slideInLeft 0.5s ease-out; }
.animate-slideInRight { animation: slideInRight 0.5s ease-out; }
.asset-container {
  width: 100%;
  background: #09bb8a;
  border-radius: 20px;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.asset-left {
  color: #fff;
}

.asset-amount {
     position: relative; 
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 5px;
}
.currency-dropdown {
    position: absolute;
    top: 100%;
    left: 99px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 100;
    display: none;
    min-width: 10px;
    margin-top: 4px;
}

.currency-option {
    padding: 8px 16px;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.currency-option:hover {
    background-color: var(--bg-light);
    color: var(--primary-color) !important;
}
.currency {
  font-size: 15px;
  margin-left: 5px;
  font-weight: 500;
  color: #fff;
}
.dropdown-icon {
     cursor: pointer;
  margin-left: 5px;
  font-family: "iconfont"; /* 确保引入正确的字体文件 */
}

.dropdown-icon:before {
  content: "\e630";
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s;
}

.dropdown-icon:hover:before {
  color: #fff;
}

.asset-label {
  font-size: 14px;
  font-weight: 400;
}
.eye-icon {
  margin-left: 5px;
  font-family: "iconfont"; /* 确保引入正确的字体文件 */
}

.eye-icon:before {
  content: "\e644";
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s;
}

.eye-icon:hover:before {
  color: #fff;
}

.asset-right {
  display: flex;
  align-items: center;
}

.asset-right img {
  width: 28px;
  height: 28px;
  vertical-align: middle;
}


.tabbar {
  display: flex;
  background-color: #fff;
  box-shadow: 0 -10px 50px rgba(0,0,0,.05);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
}

.tabbar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.tabbar-item.active .tabbar-icon {
  color: #061237;
}

.tabbar-item.active .tabbar-label {
  color: #061237;
}

.tabbar-item:not(.active) .tabbar-icon,
.tabbar-item:not(.active) .tabbar-label {
  color: #83899b;
}

.tabbar-icon {
  font-family: "iconfont";
  font-size: 26px;
  margin-bottom: 2px;
}

.tabbar-label {
  font-size: 12px;
  font-family: PingFang SC, Microsoft Yahei, sans-serif;
}