@font-face {
    font-family: 'SFProTextMedium';
    src: url('/pages/submenu/Bitpie2/餘額/fonts/SF-Pro-Text-Medium.otf') format('opentype');
}

@font-face {
    font-family: 'SFProTextRegular';
    src: url('/pages/submenu/Bitpie2/交易詳情/fonts/SF-Pro-Text-Regular.otf') format('opentype');
}

/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

.container {
    display: flex;
    justify-content: flex-start;
    padding: 20px;
    gap: 20px;
}

/* 预览区域 */
.preview-section {
    width: 385px;
    height: 842px;
    background-color: #ffffff;
    position: relative;
}

/* 灰色背景区块 */
.gray-background {
    width: 385px;
    height: 135px;
    background-color: #f5f5f5;
    position: absolute;
    top: 0;
    left: 0;
}

/* 状态栏区块 */
.status-bar {
    width: 385px;
    height: 45px;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 21px;
    box-sizing: border-box;
}

.time {
    width: 67px;
    height: 22px;
    color: #000000;
    font-family: 'SFProTextMedium';
    font-size: 16px;
    margin: 12px 0 0 21px;
    line-height: 22px;
    text-align: center;
    display: inline-block;
}

/* 头部图片区域 */
.header-image-container {
    width: 385px;
    height: 85px;
    position: relative;
    z-index: 1;
}

.header-image {
    width: 385px;
    height: 16px;
    display: block;
}

/* 状态图标区域 */
.status-icon-container {
    width: 385px;
    height: 52px;
    position: relative;
    text-align: center;
    z-index: 1;
    margin-top: -25px;
}

.status-icon {
    width: 51px;
    height: 52px;
    display: inline-block;
}

/* 状态文字区域 */
.status-text-container {
    width: 385px;
    height: 17px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.status-text {
    display: inline-block;
    width: 39px;
    height: 17px;
    color: #000000E6;
    font-family: "Microsoft YaHei";
    font-size: 13px;
    margin: 7px 0 0;
}

/* 明细金额区域 */
.amount-container {
    width: 385px;
    height: 54px;
    position: relative;
    z-index: 1;
    margin-top: 45px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    justify-content: space-between;
}

.detail-label {
    width: 66px;
    height: 25px;
    color: #AAAAAA;
    font-family: 'SFProTextMedium';
    font-size: 11px;
    line-height: 25px;
    flex: 0 0 66px;
}

.amount-value {
    width: 289px;
    height: 23px;
    color: #1E1E1E;
    font-family: 'SFProTextMedium';
    font-size: 19px;
    line-height: 23px;
    flex: 0 0 289px;
    text-align: left;
}

/* 矿工费区域 */
.fee-container {
    width: 385px;
    height: 54px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    margin-top: -10px;
}

.fee-label {
    width: 66px;
    height: 15px;
    color: #AAAAAA;
    font-family: 'SFProTextMedium';
    font-size: 11px;
}

.fee-right {
    display: flex;
    align-items: center;
    margin-left: 5px;
}

.fee-value {
    color: #1E1E1E;
    font-family: 'SFProTextMedium';
    font-size: 13px;
}

.fee-yuan {
    color: #C8C8C8;
    font-family: 'SFProTextRegular';
    font-size: 9px;
    margin-left: 5px;
}

.down-icon {
    width: 9px;
    height: 5.33px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* 地址区域 */
.address-container {
    width: 385px;
    position: relative;
    z-index: 1;
    padding: 0 20px;
    box-sizing: border-box;
    margin-top: 25px;
}

/* 发送方区域 */
.sender-container {
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.sender-label {
    width: 66px;
    height: 15px;
    color: #AAAAAA;
    font-family: 'SFProTextMedium';
    font-size: 11px;
    flex-shrink: 0;
}

.sender-address {
    flex: 1;
    color: #1E1E1E;
    font-family: 'SFProTextRegular';
    font-size: 13px;
    line-height: 1.4;
    padding-bottom: 15px;
}

.sender-note {
    color: #C8C8C8;
    font-family: 'SFProTextRegular';
    font-size: 9px;
    margin-left: 4px;
}

/* 接收方区域 */
.receiver-container {
    width: 100%;
    display: flex;
    align-items: flex-start;
}

.receiver-label {
    width: 66px;
    height: 15px;
    color: #AAAAAA;
    font-family: 'SFProTextMedium';
    font-size: 11px;
    flex-shrink: 0;
}

.receiver-address {
    flex: 1;
    color: #1E1E1E;
    font-family: 'SFProTextRegular';
    font-size: 13px;
    line-height: 1.4;
    padding-bottom: 15px;
}

.receiver-note {
    color: #C8C8C8;
    font-family: 'SFProTextRegular';
    font-size: 9px;
    margin-left: 4px;
}

/* 交易信息区域 */
.transaction-container {
    width: 355px;
    margin: 40px auto 0;
    position: relative;
}

.transaction-container::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: #F5F5F5;
}

/* 交易ID区域 */
.transaction-id-container {
    width: 355px;
    height: 16px;
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.transaction-id-label {
    width: 66px;
    height: 15px;
    color: #AAAAAA;
    font-family: 'SFProTextMedium';
    font-size: 11px;
    flex-shrink: 0;
}

.transaction-id-value {
    width: 289px;
    color: #1E1E1E;
    font-family: 'SFProTextRegular';
    font-size: 13px;
    margin: 0 0 15px;
    padding: 0 0 15px;
    position: relative;
}

.view-details {
    width: 36px;
    height: 12px;
    color: #C8C8C8;
    font-family: 'SFProTextRegular';
    font-size: 9px;
    position: absolute;
    right: 0;
    top: 0;
}

/* 交易时间区域 */
.transaction-time-container {
    width: 355px;
    height: 15px;
    display: flex;
    align-items: flex-start;
    margin-top: 10px;
}

.transaction-time-label {
    width: 66px;
    height: 15px;
    color: #AAAAAA;
    font-family: 'SFProTextMedium';
    font-size: 11px;
    flex-shrink: 0;
}

.transaction-time-value {
    width: 289px;
    height: 15px;
    color: #1E1E1E;
    font-family: 'SFProTextRegular';
    font-size: 13px;
}

/* 底部黑色实线 */
.bottom-line-container {
    width: 385px;
    height: 35px;
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.bottom-line {
    width: 5px;
    height: 137px;
    background-color: #000000;
    border-radius: 2.5px;
}

.bottom-line:first-child {
    transform: rotate(90deg);
}

.bottom-line:last-child {
    transform: rotate(-90deg);
}

/* 编辑区一 */
.edit-section-1 {
    width: 500px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 保存图片按钮 */
.save-btn {
    width: 88px;
    height: 32px;
    background-color: #409EFF;
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    margin-bottom: 20px;
}

/* 编辑项目通用样式 */
.edit-item {
    margin-bottom: 15px;
}

.edit-item label {
    display: block;
    margin-bottom: 8px;
    color: #333333;
    font-size: 14px;
}

.edit-input {
    width: 100%;
    height: 32px;
    padding: 0 10px;
    border: 1px solid #DCDFE6;
    border-radius: 4px;
    font-size: 14px;
    color: #333333;
    box-sizing: border-box;
}

.edit-select {
    width: 100%;
    height: 32px;
    padding: 0 10px;
    border: 1px solid #DCDFE6;
    border-radius: 4px;
    font-size: 14px;
    color: #333333;
    background-color: #ffffff;
    cursor: pointer;
}

.edit-input:focus,
.edit-select:focus {
    outline: none;
    border-color: #409EFF;
}

/* 编辑区二 */
.edit-section-2 {
    width: 500px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

/* 时间状态背景样式 */
.time.green,
.time.blue,
.time.yellow {
    color: #FFFFFF;
    border-radius: 11px;
}

.time.green {
    background-color: #30D158;
}

.time.blue {
    background-color: #0A84FF;
}

.time.yellow {
    background-color: #FF9F0A;
}

.status-icons {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 14px;
}

.sim-signal-icon {
    width: 20px;
    height: 14px;
    object-fit: contain;
}

.network-icon {
    width: 18px;
    height: 16px;
    object-fit: contain;
}

.battery-icon {
    width: 25px;
    height: 14px;
    object-fit: contain;
} 