/* 字体声明 */
@font-face {
    font-family: 'SFProTextMmedium';
    src: url('/pages/submenu/TronLink錢包2/餘額/fonts/SF-Pro-Text-Medium.otf');
}

@font-face {
    font-family: 'TronLink7';
    src: url('/pages/submenu/TronLink錢包2/餘額/fonts/TronLink7.woff2');
}

@font-face {
    font-family: 'TronLink8';
    src: url('/pages/submenu/TronLink錢包2/餘額/fonts/TronLink8.woff2');
}

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f5f5;
}

/* 容器布局 */
.container {
    display: flex;
    padding: 20px;
    gap: 20px;
    min-height: 100vh;
}

/* 预览区域样式 */
.preview-section {
    width: 385px;
    height: 808.88px;
    background: #fff;
    position: relative;
}

.phone-frame {
    width: 100%;
    height: 100%;
    background: #fff;
    position: relative;
}

/* 状态栏样式 */
.status-bar {
    width: 385px;
    height: 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.time {
    width: 67px;
    height: 22px;
    margin: 0 0 0 21px;
    font-family: 'SFProTextMmedium';
    font-size: 16px;
    color: #000000;
    display: flex;
    align-items: center;
}

.status-icons {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-right: 15px;
    transform: translateX(-15px);
}

.signal, .wifi, .battery {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.signal {
    width: 20px;
    height: 14px;
}

.wifi {
    width: 18px;
    height: 16px;
}

.battery {
    width: 25px;
    height: 14px;
}

/* 钱包信息区域 */
.wallet-info {
    width: 385px;
}

.wallet-header {
    width: 385px;
    height: 45px;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.wallet-title {
    display: flex;
    flex-direction: column;
}

.wallet-title span:first-child {
    width: 168.56px;
    height: 21px;
    font-family: 'TronLink7';
    font-size: 17px;
    color: #000000;
    display: flex;
    align-items: center;
}

.wallet-title span:first-child::after {
    content: '';
    display: inline-block;
    width: 11px;
    height: 12px;
    background: url('/pages/submenu/TronLink錢包2/餘額/images/1-1.png') no-repeat;
    background-size: contain;
    margin-left: 5px;
}

.mainnet {
    width: 168.56px;
    height: 13px;
    margin: 2px 0 0;
    font-family: 'TronLink8';
    font-size: 11px;
    color: #7A7D86;
}

.wallet-actions {
    width: 54px;
    height: 16px;
    background: url('/pages/submenu/TronLink錢包2/餘額/images/icon01.png') no-repeat;
    background-size: contain;
}

.action-icon {
    width: 24px;
    height: 24px;
    background-size: contain;
}

/* 余额卡片样式 */
.balance-card {
    width: 385px;
    height: 120px;
    margin: 0;
    background: url('/pages/submenu/TronLink錢包2/餘額/images/img-bg.png') no-repeat;
    background-size: 385px 120px;
    padding: 20px;
    color: #fff;
    position: relative;
}

.balance-amount {
    width: 234.64px;
    height: 33px;
    display: flex;
    align-items: center;
}

.amount {
    font-family: 'TronLink8';
    font-size: 27px;
    color: #FFFFFF;
}

.currency {
    font-family: 'TronLink8';
    font-size: 27px;
    color: #FFFFFF;
    margin-left: 5px;
}

.balance-value {
    width: 234.64px;
    height: 17px;
    margin: 5px 0 0;
    font-family: 'TronLink8';
    font-size: 14px;
    color: #FFFFFF;
}

.wallet-address {
    width: 234.64px;
    height: 13px;
    margin: 15px 0 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.wallet-address span {
    font-family: 'TronLink8';
    font-size: 11px;
    color: #D5E1FF;
}

.copy-icon {
    width: 10px;
    height: 10px;
    background: url('/pages/submenu/TronLink錢包2/餘額/images/1-2.png') no-repeat;
    background-size: contain;
}

/* 状态条容器 */
.status-bars {
    width: 356px;
    height: 59px;
    margin: -7px 14.5px 0;
    padding: 15px 14px;
    background: #242C41;
}

.status-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.energy-bar, .bandwidth-bar {
    width: 154px;
}

.status-text {
    width: 154px;
    height: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.label {
    font-family: 'TronLink8';
    font-size: 12px;
    color: #DBE3F0;
}

.value {
    font-family: 'TronLink8';
    font-size: 12px;
    display: flex;
    align-items: center;
}

.value .current {
    color: #DBE3F0;
}

.value .separator {
    color: #DBE3F0;
    margin: 0 1px;
}

.value .total {
    color: #6A7287;
}

.value::after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 6.33px;
    background: url('/pages/submenu/TronLink錢包2/餘額/images/1-4.png') no-repeat;
    background-size: contain;
    margin-left: 2px;
}

.bar {
    width: 154px;
    height: 5px;
}

.energy-bar .bar {
    background: #4D4842;
}

.bandwidth-bar .bar {
    background: #4D4842;
}

.energy-bar .progress {
    width: 0%;
    height: 100%;
    background: #53C0A9;
}

.bandwidth-bar .progress {
    width: 100%;
    height: 100%;
    background: #53C0A9;
}

/* 功能按钮区 */
.action-buttons {
    width: 385px;
    height: 140px;
    background: url('/pages/submenu/TronLink錢包2/餘額/images/img01-zh.png') no-repeat;
    background-size: 385px 140px;
    margin-bottom: 10px;
}

.action-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.action-button .icon {
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
}

/* 资产列表样式 */
.assets-section {
    margin: 0;
}

.assets-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.asset-item {
    width: 345px;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0 20px;
    position: relative;
}

.asset-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 365px;
    height: 1px;
    background-color: #F5F5F5;
}

.asset-icon {
    width: 30px;
    height: 26px;
    background: url('/pages/submenu/TronLink錢包2/餘額/images/icon-trx.png') no-repeat;
    background-size: contain;
    margin-right: 15px;
}

.asset-info {
    flex: 1;
}

.asset-name {
    width: 80px;
    height: 17px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.token-name {
    width: auto;
    min-width: 27.02px;
    font-family: 'TronLink7';
    font-size: 14px;
    color: #000000E6;
}

.flag {
    width: 13px;
    height: 9.66px;
    background: url('/pages/submenu/TronLink錢包2/餘額/images/1-3.png') no-repeat;
    background-size: contain;
    margin-left: 2px;
}

.asset-price {
    width: 58.23px;
    height: 15px;
    font-family: 'TronLink8';
    font-size: 12px;
    color: #A8AAB6;
}

.asset-amount {
    text-align: right;
    padding-right: 0;
    margin-right: -20px;
}

.asset-amount .amount {
    width: 13.92px;
    height: 17px;
    font-family: 'TronLink7';
    font-size: 14px;
    color: #000000E6;
}

.asset-amount .value {
    width: 13.92px;
    height: 15px;
    margin: 3px 0 0;
    font-family: 'TronLink8';
    font-size: 12px;
    color: #000000E6;
}

/* 底部导航 */
.bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: url('/pages/submenu/TronLink錢包2/餘額/images/img-footer-zh.png') no-repeat;
    background-size: 100% 60px;
}

.nav-item {
    display: none;
}

/* 编辑区域样式 */
.edit-section-1 {
    width: 500px;
    height: 900px;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.save-button {
    width: 88px;
    height: 32px;
    background: #409EFF;
    border-radius: 4px;
    padding: 8px 15px;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 15px;
}

.edit-group {
    margin-bottom: 10px;
}

.edit-group label {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    color: #333;
}

.edit-group input {
    width: 100%;
    height: 28px;
    padding: 0 8px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 13px;
}

.token-edit-section {
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.token-item {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
}

.token-item h4 {
    margin: 0 0 8px 0;
    font-size: 13px;
}

.token-row {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
    align-items: center;
}

.token-input {
    width: 100px;
    flex: none;
    height: 28px;
    padding: 0 8px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 13px;
}

.token-order {
    width: 50px;
    height: 28px;
    padding: 0 5px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 13px;
}

.token-visibility {
    height: 28px;
    padding: 0 5px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 13px;
    width: 60px;
}

.edit-section-2 {
    width: 500px;
    height: 900px;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.edit-section-2 select {
    width: 100%;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    color: #606266;
    background-color: #fff;
    cursor: pointer;
}

/* 時間狀態樣式 */
.time.status-none {
    background: transparent;
}

.time.status-green {
    color: #FFFFFF;
    font-family: 'SFProTextMedium';
    font-size: 16px;
    background: #30D158;
    margin: 0;
    padding: 2px 8px;
    border-radius: 15px;
}

.time.status-blue {
    color: #FFFFFF;
    font-family: 'SFProTextMedium';
    font-size: 16px;
    background: #0A84FF;
    margin: 0;
    padding: 2px 8px;
    border-radius: 15px;
}

.time.status-yellow {
    color: #FFFFFF;
    font-family: 'SFProTextMedium';
    font-size: 16px;
    background: #FF9F0A;
    margin: 0;
    padding: 2px 8px;
    border-radius: 15px;
} 