/* 全局樣式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'SFProTextMedium';
    src: url('/pages/submenu/TRC20/TRC20交易詳情/fonts/SFProTextMedium.otf') format('opentype');
}

body {
    font-family: 'SFProTextMedium';
    background-color: #f5f5f5;
}

.container {
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

/* 左側預覽圖樣式 */
.preview-section {
    width: 385px;
    height: 842px;
    background-color: #F1F1F1;
    position: relative;
}

.preview-content {
    width: 385px;
    height: 842px;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.preview-content::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 137px;
    height: 5px;
    background-color: #000000;
    border-radius: 2.5px;
    z-index: 100;
}

/* 狀態欄 */
.status-bar {
    width: 385px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.time {
    width: 67px;
    height: 22px;
    margin: 0 0 0 21px;
    color: #000000;
    font-family: 'SFProTextMedium';
    font-size: 16px;
    line-height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    transition: all 0.3s ease;
}

.status-icons {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 21px;
}

.status-icon {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.sim-icon {
    background-image: url(/* SIM卡图标的base64编码 - 在main.js中定义 */);
}

.wifi-icon {
    background-image: url(/* WIFI图标的base64编码 - 在main.js中定义 */);
}

.battery-icon {
    background-image: url(/* 电池图标的base64编码 - 在main.js中定义 */);
}

/* 交易詳情標題 */
.transaction-header {
    width: 385px;
    height: 20px;
    position: relative;
    text-align: center;
}

.header-image {
    width: 385px;
    height: 20px;
    display: block;
}

.header-text {
    width: 64px;
    height: 21px;
    color: #191C1E;
    font-family: 'SFProTextMedium';
    font-size: 16px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    line-height: 20px;
}

/* 成功狀態 */
.success-status {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 35px;
}

.success-image {
    width: 385px;
    height: 40px;
    display: block;
    margin-bottom: 10px;
}

.success-text {
    width: 32px;
    height: 21px;
    color: #53C884;
    font-family: 'SFProTextMedium';
    font-size: 16px;
    text-align: center;
    display: block;
    margin: 0 auto 10px auto;
}

.transaction-time {
    width: 161.22px;
    height: 17px;
    color: #979CAF;
    font-family: 'SFProTextMedium';
    font-size: 13px;
    text-align: center;
    display: block;
    margin: 0 auto;
}

/* 概覽區域 */
.overview {
    width: 385px;
    height: 240px;
    margin: 15px 0 -20px 0;
}

.overview h2 {
    color: #979CAF;
    font-family: 'SFProTextMedium';
    font-size: 12px;
    margin: 0 0 0 16px;
    height: 16px;
    width: 337px;
}

.overview-content {
    width: 353px;
    height: 178px;
    background-color: #FFFFFF;
    margin: 10px 0 0;
    padding: 12px 17px;
}

.account-info {
    width: 319px;
    height: 54px;
    background-color: #F0F1F3;
    padding: 10px;
    margin: 0;
    border-radius: 27px;
}

.account-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.account-item img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.account-details {
    width: 181px;
}

.account-name {
    width: 181px;
    height: 15px;
    color: #979CAF;
    font-family: 'SFProTextRegular';
    font-size: 13px;
}

.address {
    color: #111D4A;
    font-family: 'SFProTextRegular';
    font-size: 13px;
    height: 15px;
    margin: 4px 0 0;
    width: 181.5px;
}

.transfer-amount {
    width: 319px;
    height: 20px;
    margin: 13px 0;
}

.send-text {
    color: rgba(0, 0, 0, 0.9);
    font-family: 'SFProTextMedium';
    font-size: 15px;
}

.amount {
    color: #A0A4B6;
    font-family: 'SFProTextMedium';
    font-size: 15px;
    width: 63.38px;
    height: 18px;
}

.recipient-section {
    display: flex;
    align-items: flex-start;
}

.to-text {
    color: rgba(0, 0, 0, 0.9);
    font-family: 'SFProTextMedium';
    font-size: 15px;
    margin: 20px 30px 0 0;
    height: 20px;
    width: 15px;
}

.recipient {
    width: 247px;
    height: 54px;
    background-color: #F0F1F3;
    padding: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: 27px;
}

.recipient img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.recipient-details {
    display: flex;
    flex-direction: column;
}

.recipient-name {
    color: #979CAF;
    font-family: 'SFProTextRegular';
    font-size: 13px;
    height: 15px;
    width: 164.45px;
    margin-bottom: 4px;
}

.recipient-address {
    color: #111D4A;
    font-family: 'SFProTextRegular';
    font-size: 13px;
    height: 15px;
    width: 181.5px;
}

/* 代幣轉移區域 */
.currency-transfer {
    width: 385px;
    margin: 5px 0;
}

.currency-transfer h2 {
    color: #979CAF;
    font-family: 'SFProTextMedium';
    font-size: 12px;
    margin: 0 0 0 16px;
    height: 16px;
    width: 337px;
}

.transfer-details {
    width: 353px;
    height: 133px;
    background-color: #FFFFFF;
    margin: 10px 0 0;
    padding: 12px 17px;
}

.transfer-item {
    margin-bottom: 20px;
}

.transfer-item-top {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.transfer-item-top-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 5px;
    gap: 10px;
    white-space: nowrap;
}

.transfer-item-bottom {
    display: flex;
    flex-direction: column;
}

.transfer-item-bottom-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 5px;
    gap: 10px;
    white-space: nowrap;
}

.transfer-account-bottom {
    width: 72.16px;
    height: 15px;
    color: #A0A4B6;
    font-family: 'SFProTextRegular';
    font-size: 13px;
    margin-left: -15px;
    display: inline-block;
}

.transfer-address {
    width: 185.02px;
    height: 15px;
    color: #111D4A;
    font-family: 'SFProTextMedium';
    font-size: 13px;
}

.transfer-account {
    width: 71.88px;
    height: 15px;
    color: #A0A4B6;
    font-family: 'SFProTextMedium';
    font-size: 13px;
    display: inline-block;
}

.transfer-amount-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.currency-group {
    display: flex;
    align-items: center;
    position: absolute;
    left: 0;
    top: 10px;
}

.currency-icon {
    width: 17px;
    height: 18px;
}

.currency-text {
    width: 25.56px;
    height: 15px;
    color: rgba(0, 0, 0, 0.9);
    font-family: 'SFProTextRegular';
    font-size: 13px;
    margin: 0 0 0 7px;
}

.amount-negative {
    width: 31.45px;
    height: 15px;
    color: #111D4A;
    font-family: 'SFProTextMedium';
    font-size: 13px;
    text-align: right;
    margin-left: auto;
    margin-top: 10px;
}

.amount-positive {
    width: 33.89px;
    height: 15px;
    color: #4BCE71;
    font-family: 'SFProTextMedium';
    font-size: 13px;
    text-align: right;
    margin-left: auto;
    margin-top: 10px;
}

.transfer-divider {
    width: 168.84px;
    height: 15px;
    color: #111D4A;
    font-family: 'SFProTextMedium';
    font-size: 13px;
}

/* 交易詳情區域 */
.transaction-info {
    width: 385px;
    height: 117px;
    margin: 25px 0;
}

.transaction-info h2 {
    width: 337px;
    height: 16px;
    color: #979CAF;
    font-family: 'SFProTextMedium';
    font-size: 12px;
    margin: 0 0 0 16px;
}

.transaction-info-content {
    width: 353px;
    height: 91px;
    background-color: #FFFFFF;
    margin: 10px 0 0;
    padding: 12px 17px;
    position: relative;
}

.network-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.network-label {
    width: 82px;
    height: 15px;
    color: #A0A4B6;
    font-family: "Microsoft YaHei";
    font-size: 11px;
}

.network-value {
    display: flex;
    align-items: center;
}

.network-icon {
    width: 16px;
    height: 16px;
    margin-right: 4px;
}

.network-name {
    width: 23.09px;
    height: 15px;
    color: rgba(0, 0, 0, 0.9);
    font-family: "Microsoft YaHei";
    font-size: 11px;
}

.initiator-info {
    display: flex;
    align-items: flex-start;
}

.initiator-label {
    width: 82px;
    height: 15px;
    color: #A0A4B6;
    font-family: "Microsoft YaHei";
    font-size: 11px;
}

.initiator-value {
    display: flex;
    align-items: flex-start;
}

.initiator-address {
    width: 220px;
    height: 30px;
    color: #111D4A;
    font-family: "Microsoft YaHei";
    font-size: 11px;
    word-break: break-all;
    margin-right: 5px;
}

.copy-icon {
    width: 13px;
    height: 14px;
    cursor: pointer;
}

/* 編輯區樣式 */
.edit-section-1,
.edit-section-2 {
    width: 500px;
    height: 842px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.edit-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.save-button {
    width: 88px;
    height: 32px;
    background-color: #409EFF;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    padding: 8px 15px;
    font-size: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    color: #606266;
}

.form-control {
    height: 32px;
    padding: 0 12px;
    border: 1px solid #DCDFE6;
    border-radius: 4px;
    font-size: 14px;
}

.form-control:focus {
    border-color: #409EFF;
    outline: none;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23606266' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.762L10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 30px;
}

/* 編輯區二樣式 */
.edit-section-two {
    width: 500px;
    height: 842px;
    background: #ffffff;
    border-radius: 0;
    box-shadow: none;
    border-left: 1px solid #eee;
    padding: 20px;
}

.edit-section-two .form-group {
    margin-bottom: 20px;
}

.edit-section-two label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.edit-section-two select {
    width: 100%;
    height: 32px;
    padding: 0 12px;
    border: 1px solid #DCDFE6;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
    cursor: pointer;
    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;
}

.edit-section-two select:focus {
    outline: none;
    border-color: #409EFF;
}

/* 狀態列樣式 */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.status-bar-time {
    width: 67px;
    height: 22px;
    font-family: 'SFProTextMedium';
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border-radius: 11px;
}

.status-bar-time.none {
    background: transparent;
    color: #000000;
}

.status-bar-time.green {
    background-color: #30D158;
    color: #FFFFFF;
}

.status-bar-time.blue {
    background-color: #0A84FF;
    color: #FFFFFF;
}

.status-bar-time.yellow {
    background-color: #FF9F0A;
    color: #FFFFFF;
}

.status-bar-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sim-signal,
.network-status,
.battery-status {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 保存按鈕樣式 */
.save-button {
    width: 88px;
    height: 32px;
    background: #409EFF;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.save-button:hover {
    background: #66b1ff;
}

/* 狀態欄時間樣式 */
.status-bar .time {
    width: 67px;
    height: 22px;
    margin: 0 0 0 21px;
    color: #000000;
    font-family: 'SFProTextMedium';
    font-size: 16px;
    line-height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    transition: all 0.3s ease;
}

.status-bar .time.green {
    background-color: #30D158;
    color: #FFFFFF;
}

.status-bar .time.blue {
    background-color: #0A84FF;
    color: #FFFFFF;
}

.status-bar .time.yellow {
    background-color: #FF9F0A;
    color: #FFFFFF;
} 