/* CSS变量已移至 common/variables.css */
/* 基础重置已移至 common/common.css */

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    padding-bottom: 100px;
    min-height: 100vh;
}

/* 加载动画已移至 common/common.css */

/* 顶部Header样式已移至 common/header.css 统一管理 */
/* 钱包页特定样式 */
.header {
    padding: 15px 20px 12px;
}
.header .logo.center {
    flex: 1;
    text-align: center;
}

/* 欢迎语 */
.welcome-section {
    padding: 8px 20px 12px;
    animation: fadeInDown 0.6s ease-out;
}
.welcome-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
}
.welcome-section .highlight {
    color: var(--primary-red);
}
.welcome-section .subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* 主余额卡片 */
.balance-container {
    padding: 10px 20px 15px;
}
.main-card {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--deep-red) 100%);
    border-radius: 20px;
    padding: 25px;
    color: white;
    box-shadow: 0 15px 35px rgba(236, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}
.main-card::before {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 180px;
    height: 180px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.main-card::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.main-card .card-label {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
/* 金额和提现按钮容器 */
.amount-withdraw-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
    position: relative;
    z-index: 1;
}
.main-card .amount {
    font-size: 2rem;
    font-weight: 700;
    flex: 1;
    margin-bottom: 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.main-card .amount .currency {
    font-size: 1rem;
    font-weight: 400;
    margin-right: 5px;
}
/* 内联提现按钮样式 - 金色渐变，缩小尺寸 */
.withdraw-btn-inline {
    flex-shrink: 0;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    border-radius: 14px;
    padding: 10px 14px;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
    animation: pulse-glow 2s ease-in-out infinite;
    display: flex;
    align-items: center;
}
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6), 0 3px 10px rgba(0, 0, 0, 0.3);
    }
}
.withdraw-btn-inline:hover {
    background: linear-gradient(135deg, #FFE44D 0%, #FFB84D 50%, #FF9933 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 22px rgba(255, 215, 0, 0.6), 0 3px 10px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}
.withdraw-btn-inline:active {
    transform: scale(0.95);
}
.withdraw-btn-inline .withdraw-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.8);
    font-size: 1.3rem;
    color: #FF8C00;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.withdraw-btn-inline:hover .withdraw-icon {
    transform: rotate(5deg) scale(1.08);
    color: #FF6600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.9);
}
.withdraw-btn-inline span {
    font-size: 0.85rem;
    font-weight: 800;
    color: white;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
}
.main-card .info-row {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}
.main-card .info-item {
    text-align: center;
}
.main-card .info-item .label {
    opacity: 0.8;
    font-size: 0.75rem;
    margin-bottom: 5px;
}
.main-card .info-item .value {
    font-weight: 600;
    font-size: 1rem;
}
.main-card .info-item .status-ok {
    color: #4ade80;
}

/* 快捷操作按钮 */
.quick-actions {
    display: flex;
    justify-content: space-around;
    padding: 25px 20px;
    margin-top: 20px;
}
.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.2s;
    cursor: pointer;
}
.action-item:active {
    transform: scale(0.92);
}
.icon-circle {
    width: 58px;
    height: 58px;
    background: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--card-shadow);
    color: var(--primary-red);
    font-size: 1.3rem;
}
.action-item span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
}



/* 交易记录 */
.history-section {
    padding: 0 20px;
    /* 默认显示，如果没有数据则通过JavaScript隐藏 */
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.section-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}
.section-header a {
    color: var(--primary-red);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}
.tx-list {
    min-height: 100px;
}
/* 交易卡片样式（参考交易流水.txt） */
.tx-card {
    background: white;
    padding: 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #f5f5f5;
    transition: background-color 0.2s, transform 0.1s;
}
.tx-card:active {
    background-color: #f9fafb;
    transform: scale(0.99);
}
.tx-card.cursor-pointer {
    cursor: pointer;
}
.tx-card.cursor-default {
    cursor: default;
}

/* 图标容器 */
.tx-icon-wrapper {
    flex-shrink: 0;
}
.tx-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.tx-icon.bg-green {
    background: #dcfce7;
    color: #16a34a;
}
.tx-icon.bg-blue {
    background: #dbeafe;
    color: #2563eb;
}
.tx-icon.bg-red {
    background: #fee2e2;
    color: #dc2626;
}
.tx-icon.bg-orange {
    background: #fed7aa;
    color: #ea580c;
}
.tx-icon.bg-yellow {
    background: #fef3c7;
    color: #f59e0b;
}

/* 交易详情 */
.tx-details {
    flex: 1;
    min-width: 0;
}
.tx-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.tx-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1f2937;
}
.tx-name-failed {
    color: #dc2626;
}
.tx-category {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 2px;
    line-height: 1.4;
}
.tx-balance-change {
    font-size: 0.7rem;
    color: #9ca3af;
    margin-top: 4px;
    line-height: 1.4;
}
.status-desc {
    font-size: 10px;
    color: #f87171;
    margin-top: 2px;
    line-height: 1.4;
}
.status-badge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}
.status-badge.failed {
    background: #fee2e2;
    color: #dc2626;
}

/* 金额和时间 */
.tx-value-wrapper {
    text-align: right;
    flex-shrink: 0;
}
.tx-value {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.tx-value.plus {
    color: #16a34a;
}
.tx-value.minus {
    color: #1f2937;
}
.tx-value.failed {
    color: #9ca3af;
}
.tx-amount-failed {
    text-decoration: line-through;
    text-decoration-color: #dc2626;
    color: #9ca3af;
}

/* 金额样式（订单映射专用） */
.tx-value.income {
    color: #2ecc71;
}
.tx-value.pending {
    color: #1f2937;
    font-weight: 600;
}
.tx-value.failed {
    color: #dc2626;
    font-weight: 600;
}
.tx-value.strike {
    text-decoration: line-through;
    text-decoration-color: #dc2626;
}
.tx-value.expense {
    color: #dc3545;
}
.tx-date {
    font-size: 10px;
    color: #9ca3af;
    margin-top: 4px;
}
.empty-list {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}
.empty-list i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.3;
    display: block;
}

/* 底部导航样式已移至 common/navigation.css 统一管理 */

/* 弹窗 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: flex-end;
    justify-content: center;
}
.modal-overlay.show {
    display: flex;
}
.modal-content {
    background: white;
    width: 100%;
    max-height: 60vh;
    border-radius: 24px 24px 0 0;
    padding: 25px;
    animation: slideUp 0.3s ease-out;
    overflow-y: auto;
}
.modal-content.modal-full {
    max-height: 85vh;
}
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.modal-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333 !important;
}
.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f1f1;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.input-group {
    margin-bottom: 20px;
}
.input-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 10px;
}
.amount-input {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #e9ecef;
    padding: 10px 0;
}
.amount-input .symbol {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin-right: 10px;
}
.amount-input input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
}
.amount-input input::placeholder {
    color: #ddd;
}
.balance-tip {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}
.balance-tip .all-btn {
    color: var(--primary-red);
    font-weight: 600;
    cursor: pointer;
}
.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--deep-red) 100%);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}
.submit-btn:active {
    transform: scale(0.98);
}
.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* 借款详情 */
.loan-hero {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--deep-red) 100%);
    border-radius: 16px;
    padding: 20px;
    color: white;
    margin-bottom: 20px;
}
.loan-hero .label {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 8px;
}
.loan-hero .amount {
    font-size: 2rem;
    font-weight: 700;
}
.loan-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.loan-info-item .info-label {
    font-size: 0.75rem;
    opacity: 0.8;
}
.loan-info-item .info-value {
    font-weight: 600;
    margin-top: 3px;
}
.loan-detail-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
}
.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.detail-row:last-child {
    border-bottom: none;
}
.detail-row .label {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.detail-row .value {
    font-weight: 600;
}
.detail-row .value.highlight {
    color: var(--primary-red);
}

/* 账单筛选 */
.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}
.filter-tabs::-webkit-scrollbar {
    display: none;
}
.filter-tab {
    padding: 8px 18px;
    background: #f1f1f1;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}
.filter-tab.active {
    background: var(--primary-red);
    color: white;
}
.bill-list {
    max-height: 50vh;
    overflow-y: auto;
}
.bill-card {
    background: #f8f9fa;
    padding: 14px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.bill-card .tx-icon {
    width: 40px;
    height: 40px;
    margin-right: 12px;
}
.bill-card .tx-details {
    flex: 1;
    min-width: 0;
}
.bill-card .tx-details .name {
    font-size: 14px;
    font-weight: 600;
    color: #333 !important;
    display: block;
    margin-bottom: 4px;
}
.bill-card .tx-details .category {
    font-size: 12px;
    color: #666 !important;
}
.bill-amount {
    text-align: right;
}
.bill-amount .value {
    font-weight: 700;
    display: block;
    font-size: 14px;
    color: #333 !important;
}
.bill-amount .value.plus {
    color: #28a745 !important;
}
.bill-amount .value.minus {
    color: #dc3545 !important;
}
.bill-amount .balance {
    font-size: 11px;
    color: #999 !important;
    margin-top: 2px;
}

/* Toast样式已移至 common/common.css */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 空状态样式 */
.empty-list {
    text-align: center;
    padding: 40px 20px;
    color: #666 !important;
}
.empty-list i {
    font-size: 48px;
    color: #ccc !important;
    margin-bottom: 16px;
    display: block;
}
.empty-list p {
    font-size: 14px;
    color: #666 !important;
    margin: 0;
}

/* 交易详情页样式 - 银行转账风格 */
.tx-detail-content {
    padding: 0;
    color: #333 !important;
}
.tx-detail-content * {
    color: inherit !important;
}
.tx-detail-content h1, .tx-detail-content h2, .tx-detail-content h3, .tx-detail-content h4, .tx-detail-content h5, .tx-detail-content h6 {
    color: #333 !important;
}
.tx-detail-content p, .tx-detail-content span, .tx-detail-content div {
    color: #333 !important;
}
.detail-status {
    text-align: center;
    padding: 30px 20px 20px;
    border-radius: 16px;
    margin-bottom: 20px;
}
.detail-status.status-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}
.detail-status.status-fail {
    background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
    color: white;
}
.detail-status.status-pending {
    background: linear-gradient(135deg, #ffc107 0%, #f39c12 100%);
    color: white;
}
.detail-status .status-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.8rem;
}
.detail-status .status-text {
    font-size: 1.1rem;
    font-weight: 600;
}
.detail-amount {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
}
.detail-amount.amount-plus {
    color: #28a745;
}
.detail-amount.amount-minus {
    color: var(--text-main);
}
.detail-card {
    background: #f8f9fa;
    border-radius: 16px;
    overflow: hidden;
}
.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}
.detail-item:last-child {
    border-bottom: none;
}
.detail-item .item-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.detail-item .item-value {
    font-weight: 600;
    font-size: 0.95rem;
    text-align: right;
    max-width: 60%;
    word-break: break-all;
}


/* 失败详情样式 */
.failure-detail-content {
    padding: 0;
}
.failure-receipt {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}
.failure-receipt h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1rem;
}
.receipt-image-container {
    text-align: center;
    margin-bottom: 10px;
}
.receipt-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s;
}
.receipt-image:hover {
    transform: scale(1.02);
}
.image-error {
    padding: 40px;
    text-align: center;
    color: #666;
    background: #f1f1f1;
    border-radius: 8px;
    border: 2px dashed #ddd;
}
.receipt-note {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin: 10px 0 0 0;
}

/* 图片预览 */
.image-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.image-preview-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}
.preview-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
}
.preview-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
}

/* 银行风格详情弹窗 */
.modal-content.modal-receipt {
    max-height: 90vh;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
}

/* 状态横幅 - 红色背景，白色字体 */
.receipt-status-banner {
    background: #dc2626;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.receipt-status-text {
    flex: 1;
}

.receipt-status-text h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.receipt-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    font-size: 16px;
    transition: background 0.2s;
}

.receipt-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 主体内容 */
.receipt-content-body {
    padding: 32px;
    max-height: calc(90vh - 80px);
    overflow-y: auto;
}

/* 金额区域 */
.receipt-amount-section {
    text-align: center;
    padding: 32px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 12px;
    margin-bottom: 32px;
    border: 2px dashed #d1d5db;
}

.receipt-amount-label {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
    font-weight: 500;
}

.receipt-amount-value {
    font-size: 48px;
    font-weight: 800;
    color: #16a34a;
    margin-bottom: 12px;
    font-family: 'DIN Alternate', Arial, sans-serif;
}

.receipt-status-name {
    font-size: 16px;
    color: #dc2626;
    font-weight: 600;
}

/* 转账凭证图片区域 */
.receipt-voucher-section {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    position: relative;
}

.receipt-voucher-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.receipt-voucher-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
}

.receipt-voucher-title i {
    color: #3b82f6;
}

.receipt-voucher-actions {
    display: flex;
    gap: 8px;
}

.receipt-voucher-btn {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.receipt-voucher-btn:hover {
    background: #f3f4f6;
    border-color: #3b82f6;
    color: #3b82f6;
}

/* 凭证图片容器 - 拉高占位 */
.receipt-voucher-container {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    min-height: 60vh;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.receipt-voucher-placeholder {
    text-align: center;
    color: #9ca3af;
}

.receipt-voucher-placeholder i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
    display: block;
}

.receipt-voucher-placeholder span {
    font-size: 14px;
    display: block;
}

.receipt-voucher-image {
    max-width: 100%;
    max-height: calc(60vh - 40px);
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: none;
    cursor: zoom-in;
}

.receipt-voucher-image.show {
    display: block;
}

/* 详细信息列表 */
.receipt-detail-section {
    background: #f9fafb;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.receipt-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.receipt-section-title i {
    color: #3b82f6;
}

.receipt-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
}

.receipt-detail-row:last-child {
    border-bottom: none;
}

.receipt-row-label {
    color: #6b7280;
    font-weight: 500;
    min-width: 100px;
}

.receipt-row-value {
    color: #111827;
    font-weight: 600;
    text-align: right;
    flex: 1;
}

.receipt-status-failed {
    color: #dc2626 !important;
    font-weight: 700 !important;
}

.receipt-amount-highlight {
    color: #16a34a !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

/* 错误提示 */
.receipt-error-box {
    background: #fef2f2;
    border-left: 4px solid #dc2626;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.receipt-error-title {
    color: #dc2626;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.receipt-error-text {
    color: #444;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* 银行风格图片预览 */
.receipt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.receipt-image-preview-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.receipt-preview-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.receipt-preview-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    font-size: 16px;
}

.receipt-preview-close:hover {
    background: rgba(255, 255, 255, 1);
}

/* 响应式适配 */
@media (max-width: 768px) {
    .receipt-content-body {
        padding: 20px;
    }
    
    .receipt-amount-value {
        font-size: 36px;
    }
    
    .receipt-voucher-container {
        min-height: 150px;
    }
    
    .receipt-status-banner {
        padding: 15px 20px;
    }
    
    .receipt-voucher-section {
        padding: 16px;
    }
    
    .receipt-detail-section {
        padding: 16px;
    }
}