/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    background: #f5f5f5;
}

.container {
    display: flex;
    padding: 20px;
    gap: 20px;
}

/* 预览区样式 */
.preview-area {
    width: 385px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    height: auto;
    min-height: 100vh;
}

.preview-container {
    width: 385px;
    background: #FFFFFF;
    height: auto;
    min-height: 100vh;
}

/* 顶部导航栏 */
.nav-bar {
    height: 44px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    position: relative;
}

.back-arrow {
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTIuNSA0TDcgOS41TDEyLjUgMTUiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==');
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
}

.action-buttons {
    position: absolute;
    right: 16px;
    display: flex;
    gap: 20px;
}

.action-button {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
}

.download-btn {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTAgMkM1LjU4IDIgMiA1LjU4IDIgMTBDMiAxNC40MiA1LjU4IDE4IDEwIDE4QzE0LjQyIDE4IDE4IDE0LjQyIDE4IDEwQzE4IDUuNTggMTQuNDIgMiAxMCAyWk0xMSAxMVY3SDlWMTFINi41TDEwIDE0LjVMMTMuNSAxMUgxMVoiIGZpbGw9IiM5QTlBOUEiLz48L3N2Zz4=');
}

.delete-btn {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTUgNEg1VjE2QzUgMTcuMSA1LjkgMTggNyAxOEgxM0MxNC4xIDE4IDE1IDE3LjEgMTUgMTZWNFpNMTYgMkg0VjRIMTZWMloiIGZpbGw9IiM5QTlBOUEiLz48L3N2Zz4=');
}

.mail-btn {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTYgNEg0QzIuOSA0IDIgNC45IDIgNlYxNEMyIDE1LjEgMi45IDE2IDQgMTZIMTZDMTcuMSAxNiAxOCAxNS4xIDE4IDE0VjZDMTggNC45IDE3LjEgNCAxNiA0Wk0xNiA2TDEwIDEwTDQgNkgxNlpNNCAxNFY3LjVMOS42IDExLjFDOS44IDExLjMgMTAuMiAxMS4zIDEwLjQgMTEuMUwxNiA3LjVWMTRINFoiIGZpbGw9IiM5QTlBOUEiLz48L3N2Zz4=');
}

.more-btn {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTAgNkM5LjQgNiA5IDYuNCA5IDdDOSA3LjYgOS40IDggMTAgOEMxMC42IDggMTEgNy42IDExIDdDMTEgNi40IDEwLjYgNiAxMCA2Wk0xMCA5QzkuNCA5IDkgOS40IDkgMTBDOSAxMC42IDkuNCAxMSAxMCAxMUMxMC42IDExIDExIDEwLjYgMTEgMTBDMTEgOS40IDEwLjYgOSAxMCA5Wk0xMCAxMkM5LjQgMTIgOSAxMi40IDkgMTNDOSAxMy42IDkuNCAxNCAxMCAxNEMxMC42IDE0IDExIDEzLjYgMTEgMTNDMTEgMTIuNCAxMC42IDEyIDEwIDEyWiIgZmlsbD0iIzlBOUE5QSIvPjwvc3ZnPg==');
}

/* 状态栏 */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 45px;
    padding: 0 16px;
    background: #FFFFFF;
    border-bottom: 1px solid #F5F5F5;
}

.time {
    font-size: 16px;
    font-family: 'SF-Pro-Text-Medium', sans-serif;
    font-weight: 600;
    color: #000000;
    width: 67px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    display: inline-block;
    border-radius: 11px;
}

.status-icons {
    display: flex;
    align-items: center;
    width: 71px;
    height: 16px;
    margin: 0 14px 0 0;
}

/* 状态栏图标样式 */
.sim-signal {
    width: 20px;
    height: 14px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.network-status {
    width: 18px;
    height: 16px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.battery-status {
    width: 25px;
    height: 16px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 提示栏 */
.notification-bar {
    height: 22px;
    margin-top: 10px;
}

.notification-bar img {
    width: 385px;
    height: 22px;
    display: block;
}

/* 名称栏 */
.title-bar {
    display: flex;
    align-items: center;
    padding: 15px 16px;
    position: relative;
    border-bottom: 1px solid #F5F5F5;
}

.title-text {
    font-size: 20px;
    color: #121214;
    margin: 12px 0px 0px;
    font-family: 'okx3', sans-serif;
    font-weight: 800;
}

.inbox-tag {
    width: 43px;
    height: 17px;
    color: #242424;
    font-size: 11px;
    font-family: 'okx3', sans-serif;
    background: #EEEEEE;
    margin: 12px 0 0 7px;
    padding: 1px 5px;
    line-height: 15px;
}

.right-icon {
    width: 19px;
    height: 18px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOSAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNOS41IDIuMjVMOC4xNTYyNSA2LjI4MTI1SDMuOTM3NUw3LjM0Mzc1IDguODEyNUw2LjA2MjUgMTIuODQzOEw5LjUgMTAuMzEyNUwxMi45Mzc1IDEyLjg0MzhMMTEuNjU2MiA4LjgxMjVMMTUuMDYyNSA2LjI4MTI1SDEwLjg0MzhMOS41IDIuMjVaIiBzdHJva2U9IiM5QTlBOUEiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4=');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

/* 图片栏1 */
.image-bar-1 {
    width: 385px;
    height: 40px;
    margin: 15px 0;
    position: relative;
}

.image-bar-1 img {
    width: 100%;
    height: 100%;
}

.date-text {
    position: absolute;
    left: 101px;
    top: -3px;
    color: #7D7E80;
    font-size: 11px;
    font-family: 'okx3', sans-serif;
}

/* 图片栏2 */
.image-bar-2 {
    width: 385px;
    height: 38px;
    margin: 15px 0;
}

.image-bar-2 img {
    width: 100%;
    height: 100%;
}

/* 文字区块1 */
.text-block-1 {
    padding: 0 16px 0 40px;
    margin-top: 15px;
}

.main-title {
    color: #000000E6;
    font-size: 15px;
    font-family: 'okx3', sans-serif;
    margin: 0;
    font-weight: 800;
    line-height: 1.2;
}

.transaction-info {
    color: #000000E6;
    font-size: 13px;
    font-family: 'okx1', sans-serif;
    margin: 8px 0 0 0;
    font-weight: 800;
    line-height: 1.2;
}

/* 金額顯示樣式 */
.transaction-info .amount {
    color: #000000E6;
    font-size: 13px;
    font-family: 'okx1', sans-serif;
    font-weight: 800;
    display: inline;
}

.transaction-info .transaction-time {
    color: #000000E6;
    font-size: 13px;
    font-family: 'okx1', sans-serif;
    font-weight: 800;
    display: inline;
}

.details-title {
    color: #000000;
    font-size: 13px;
    font-family: "Microsoft YaHei", sans-serif;
    margin: 8px 0 0;
    font-weight: normal;
    line-height: 1.2;
}

/* 文字区块2 */
.text-block-2 {
    width: 315px;
    margin: 15px auto 0;
    background: #F7F7F7;
    padding: 12px 16px;
}

.detail-item {
    display: flex;
    margin-bottom: 10px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item .label {
    width: 123px;
    font-size: 11px;
    color: #2A2A2A;
    font-family: 'okx1', sans-serif;
    flex-shrink: 0;
}

.detail-item .value {
    font-size: 11px;
    color: #000000;
    font-family: 'okx1', sans-serif;
    word-break: break-all;
    flex: 1;
    font-weight: 800;
}

.txid-value {
    word-break: break-all;
    text-align: left;
    font-weight: 800;
    color: #000000;
}

/* 文字区块3 */
.text-block-3 {
    width: 315px;
    margin: 70px 0px 0px 40px;
    position: relative;
}

.team-name {
    color: rgba(0,0,0,0.9);
    font-size: 13px;
    text-align: left;
    font-family: 'okx1', sans-serif;
}

.dashed-line {
    width: 100%;
    height: 1px;
    border-top: 1px dashed rgba(0,0,0,0.9);
    margin: 56px 0 0;
}

.desc-text {
    color: #9A9A9A;
    font-size: 12px;
    line-height: 15px;
    font-family: 'okx1', sans-serif;
    margin-top: 15px;
    text-align: left;
    padding-left: 0;
    margin-left: 0;
}

/* 文字区块4 */
.text-block-4 {
    width: 315px;
    margin: 15px 0 0 40px;
}

.notice {
    color: #9A9A9A;
    font-size: 12px;
    font-family: 'okx1', sans-serif;
    line-height: 1.5;
}

.help-text {
    color: #9A9A9A;
    font-size: 12px;
    font-family: 'okx1', sans-serif;
    line-height: 1;
    margin-top: 0;
    white-space: normal;
    word-break: break-word;
}

/* 文字区块5 */
.text-block-5 {
    width: 315px;
    margin: 42px auto;
    padding: 12px 0;
    text-align: center;
    background-color: #F7F7F7;
    position: relative;
}

.text-block-5::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 143px;
    height: 4px;
    background-color: #000000;
    border-radius: 2px;
}

.text-block-5 div {
    color: #9E9E9E;
    font-size: 11px;
    font-family: 'okx3', "Microsoft YaHei", sans-serif;
    line-height: 1.5;
}

/* 编辑区样式 */
.edit-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.edit-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.edit-content {
    display: flex;
    gap: 20px;
}

.left-panel,
.right-panel {
    width: 500px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.edit-group {
    margin-bottom: 15px;
}

.edit-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.edit-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

select.edit-input {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 32px;
}

.edit-input:focus,
select.edit-input:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24,144,255,0.2);
}

.save-btn {
    width: 100%;
    padding: 10px;
    background: #1890ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: auto;
}

.save-btn:hover {
    background: #40a9ff;
}

/* 字体定义 */
@font-face {
    font-family: 'okx1';
    src: url('../assets/fonts/okx1.woff2') format('woff2'),
         url('../assets/fonts/okx1.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'okx3';
    src: url('../assets/fonts/okx3.woff2') format('woff2'),
         url('../assets/fonts/okx3.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SF-Pro-Text-Medium';
    src: url('../assets/fonts/SF-Pro-Text-Medium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* 辅助按钮样式 */
.utility-btn {
    margin-left: 10px;
    padding: 4px 8px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.utility-btn:hover {
    background: #e0e0e0;
    color: #333;
}

/* 时间状态样式 */
.time.green {
    color: #FFFFFF;
    font-family: 'SF-Pro-Text-Medium', sans-serif;
    font-size: 16px;
    font-weight: 600;
    background: #30D158;
    margin: 0;
    width: 67px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    border-radius: 11px;
}

.time.blue {
    color: #FFFFFF;
    font-family: 'SF-Pro-Text-Medium', sans-serif;
    font-size: 16px;
    font-weight: 600;
    background: #0A84FF;
    margin: 0;
    width: 67px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    border-radius: 11px;
}

.time.yellow {
    color: #FFFFFF;
    font-family: 'SF-Pro-Text-Medium', sans-serif;
    font-size: 16px;
    font-weight: 600;
    background: #FF9F0A;
    margin: 0;
    width: 67px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    border-radius: 11px;
}

/* 保存按钮提示 */
.save-btn {
    width: 100%;
    padding: 10px;
    background: #1890ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: auto;
}

.save-btn:hover {
    background: #40a9ff;
}

/* Tx ID 输入框特殊样式 */
#txId {
    height: 60px;
    white-space: normal;
    word-break: break-all;
    line-height: 1.4;
    padding: 8px 12px;
    resize: none;
}

/* 多语言选择框样式 */
.language-select {
    width: 100%;
    margin-bottom: 15px;
}

.language-select select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    background-color: #fff;
    cursor: pointer;
}

.language-select select:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24,144,255,0.2);
}

.language-select label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

/* 状态栏图标样式 */
.sim-signal {
    width: 22px;
    height: 15px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

/* 网络状态图标 */
.network-status {
    width: 22px;
    height: 15px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

/* 电池状态图标 */
.battery-status {
    width: 30px;
    height: 15px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
} 