/* OKX Wallet 样式 */

.okx-wallet-container {
    width: 100%;
    background-color: #FFFFFF;
    min-height: auto;
    height: fit-content;
    position: relative;
    padding-bottom: 80px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.okx-wallet-container.dark-mode {
    background-color: #0A0A0A;
    color: #FFFFFF;
}

/* 内容区域 */
.okx-content {
    padding: 16px;
    background-color: #FFFFFF;
}

.okx-wallet-container.dark-mode .okx-content {
    background-color: #0A0A0A;
}

/* 总价值区域 */
.okx-total-value-section {
    position: relative;
    margin-bottom: 24px;
}

.okx-total-value-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.okx-total-value-label {
    font-size: 14px;
    color: #666666;
    font-weight: 400;
}

.okx-wallet-container.dark-mode .okx-total-value-label {
    color: #CCCCCC;
}

.okx-eye-icon {
    font-size: 18px;
    color: #666666;
    cursor: pointer;
}

.okx-wallet-container.dark-mode .okx-eye-icon {
    color: #CCCCCC;
}

.okx-total-value-display {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 8px;
    position: relative;
}

.okx-total-value-left {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.okx-total-value-main {
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
}

.okx-wallet-container.dark-mode .okx-total-value-main {
    color: #FFFFFF;
}

.okx-total-value-hidden {
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    letter-spacing: 4px;
}

.okx-wallet-container.dark-mode .okx-total-value-hidden {
    color: #FFFFFF;
}

.okx-currency-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.okx-currency-text {
    font-size: 16px;
    font-weight: 500;
    color: #000000;
}

.okx-wallet-container.dark-mode .okx-currency-text {
    color: #FFFFFF;
}

.okx-currency-arrow {
    font-size: 12px;
    color: #666666;
}

.okx-wallet-container.dark-mode .okx-currency-arrow {
    color: #CCCCCC;
}

.okx-today-change {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
}

.okx-today-change-label {
    color: #999999;
    font-weight: 400;
}

.okx-wallet-container.dark-mode .okx-today-change-label {
    color: #999999;
}

.okx-today-change-value {
    font-weight: 500;
}

.okx-today-change-value.positive {
    color: #00C853;
}

.okx-today-change-value.negative {
    color: #FF3D00;
}

.okx-change-arrow {
    font-size: 12px;
    color: #999999;
    margin-left: auto;
}

.okx-wallet-container.dark-mode .okx-change-arrow {
    color: #999999;
}

.okx-chart-placeholder {
    width: 60px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

/* 操作按钮 */
.okx-action-buttons {
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
    margin-bottom: 24px;
}

.okx-action-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.okx-action-button-icon {
    width: 56px;
    height: 56px;
    border-radius: 28px;
    background-color: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 20px;
}

.okx-wallet-container.dark-mode .okx-action-button-icon {
    background-color: #1A1A1A;
    color: #FFFFFF;
}

.okx-action-button-text {
    font-size: 12px;
    color: #000000;
    font-weight: 500;
}

.okx-wallet-container.dark-mode .okx-action-button-text {
    color: #FFFFFF;
}

/* 分配区域 */
.okx-allocation-section {
    margin-bottom: 24px;
}

.okx-allocation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.okx-allocation-title {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
}

.okx-wallet-container.dark-mode .okx-allocation-title {
    color: #FFFFFF;
}

.okx-allocation-toggle {
    font-size: 14px;
    color: #666666;
    cursor: pointer;
}

.okx-wallet-container.dark-mode .okx-allocation-toggle {
    color: #CCCCCC;
}

.okx-allocation-divider {
    height: 2px;
    background-color: #FF9800;
    margin-bottom: 12px;
}

.okx-allocation-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.okx-allocation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.okx-allocation-item-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.okx-allocation-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
}

.okx-allocation-item-label {
    font-size: 15px;
    font-weight: 500;
    color: #000000;
}

.okx-wallet-container.dark-mode .okx-allocation-item-label {
    color: #FFFFFF;
}

.okx-allocation-item-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.okx-allocation-item-value {
    font-size: 15px;
    font-weight: 500;
    color: #000000;
}

.okx-wallet-container.dark-mode .okx-allocation-item-value {
    color: #FFFFFF;
}

.okx-allocation-arrow {
    font-size: 12px;
    color: #999999;
}

.okx-wallet-container.dark-mode .okx-allocation-arrow {
    color: #999999;
}

/* 资产区域 */
.okx-assets-section {
    margin-bottom: 24px;
}

.okx-assets-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.okx-assets-title-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.okx-assets-title {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
}

.okx-wallet-container.dark-mode .okx-assets-title {
    color: #FFFFFF;
}

.okx-assets-info {
    font-size: 14px;
    color: #666666;
    cursor: pointer;
}

.okx-wallet-container.dark-mode .okx-assets-info {
    color: #CCCCCC;
}

.okx-hide-small-assets {
    display: flex;
    align-items: center;
    gap: 6px;
}

.okx-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.okx-checkbox-label {
    font-size: 14px;
    color: #666666;
    cursor: pointer;
}

.okx-wallet-container.dark-mode .okx-checkbox-label {
    color: #CCCCCC;
}

.okx-assets-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.okx-asset-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #E0E0E0;
}

.okx-wallet-container.dark-mode .okx-asset-item {
    border-bottom-color: #333333;
}

.okx-asset-item:last-child {
    border-bottom: none;
}

.okx-asset-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.okx-asset-icon {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.okx-asset-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.okx-asset-icon-fallback {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
}

.okx-asset-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.okx-asset-symbol {
    font-size: 16px;
    font-weight: 500;
    color: #000000;
}

.okx-wallet-container.dark-mode .okx-asset-symbol {
    color: #FFFFFF;
}

.okx-asset-amount {
    font-size: 14px;
    color: #666666;
}

.okx-wallet-container.dark-mode .okx-asset-amount {
    color: #999999;
}

.okx-asset-right {
    text-align: right;
}

.okx-asset-value {
    font-size: 16px;
    font-weight: 500;
    color: #000000;
}

.okx-wallet-container.dark-mode .okx-asset-value {
    color: #FFFFFF;
}

/* 底部导航栏 */
.okx-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0 4px;
    background-color: #FFFFFF;
    border-top: 1px solid #E0E0E0;
}

.okx-wallet-container.dark-mode .okx-bottom-nav {
    background-color: #0A0A0A;
    border-top-color: #333333;
}

.okx-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    cursor: pointer;
    position: relative;
    padding-top: 4px;
}

.okx-nav-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.okx-wallet-container.dark-mode .okx-nav-icon-wrapper {
    background-color: #FFFFFF;
}

.okx-nav-icon {
    font-size: 20px;
    color: #999999;
    margin-bottom: 4px;
}

.okx-nav-item.active .okx-nav-icon-wrapper {
    display: flex;
}

.okx-nav-item.active .okx-nav-icon-wrapper .okx-nav-icon {
    color: #000000;
}

.okx-wallet-container.dark-mode .okx-nav-item.active .okx-nav-icon-wrapper .okx-nav-icon {
    color: #000000;
}

.okx-nav-item:not(.active) .okx-nav-icon-wrapper {
    display: none;
}

.okx-nav-item:not(.active) .okx-nav-icon {
    display: block;
}

.okx-nav-item.active .okx-nav-icon:not(.okx-nav-icon-wrapper .okx-nav-icon) {
    display: none;
}

.okx-nav-text {
    font-size: 10px;
    color: #999999;
    font-weight: 400;
}

.okx-nav-item.active .okx-nav-text {
    color: #000000;
    font-weight: 600;
}

.okx-wallet-container.dark-mode .okx-nav-item.active .okx-nav-text {
    color: #FFFFFF;
}
