* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #eef2f6;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 12px 10px 20px 10px;
    color: #1a2b3e;
}

.mobile-container {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
}

.report-card {
    background-color: #ffffff;
    border-radius: 28px;
    box-shadow: 0 15px 30px -10px rgba(0, 20, 40, 0.2);
    overflow: hidden;
    border: 1px solid #dee7f0;
    width: 100%;
}

/* 头部 ———— 背景图 + 无遮罩，文字白色 */
.report-header {
    padding: 30px 18px 16px 18px;
    border-bottom: 1px solid #e4eaf2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: #2b4b6f;
}

/* 标题与logo同一行 */
.header-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 12px;
}

.logo-svg {
    width: 60px;
    height: auto;
    display: block;
    flex-shrink: 0;
}

.logo-svg svg {
    width: 100%;
    height: auto;
    display: block;
}

.header-brand h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #ffffff;
    line-height: 1;
    margin: 0;
    text-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

/* 报告生成时间 */
.report-time-row {
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    text-align: right;
    width: 100%;
    display: block;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.report-time-row span {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-left: 4px;
    font-weight: 600;
    color: #ffffff;
}

/* 项目标识色块 */
.project-badge {
    background-color: white;
    color: #1a2b3e;
    font-size: 22px;
    font-weight: 600;
    padding: 8px 40px;
    border-radius: 40px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    letter-spacing: 0.5px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    top: -20px;
    margin-bottom: -20px;
    z-index: 10;
    backdrop-filter: blur(2px);
}

/* 通用区块样式 */
.section {
    padding: 20px 12px 18px 12px;
    border-bottom: 1px solid #eaeff5;
}

.section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #0a2540;
    padding-left: 12px;
    border-left: 6px solid #2b6ed7;
    margin-bottom: 20px;
}

/* 标段标题 - 跨层效果 + 居中 */
.section-subhead-overlay {
    background: #e3ecf7;
    color: #13324b;
    font-size: 16px;
    font-weight: 600;            
    padding: 8px 24px;
    border-radius: 30px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    letter-spacing: 0.5px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    margin-bottom: -24px;
    z-index: 15;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    white-space: nowrap;
}

/* 卡片样式 */
.funds-card {
    font-size: 13px;
    font-weight: 300;
    background-color: #f5f7fa;
    border-radius: 8px;
    padding: 16px 16px;
    margin: 16px 0 18px 0;
    border: 1px solid #c9dcf2;
}

.funds-card-title {
    font-weight: 600;
    font-size: 16px;
}

.funds-card-subtitle {
    font-size: 12px;
    margin-top: 16px;
    color: #777777;
    display: flex;
    align-items: center;
    width: 100%;
}

.funds-card-text {
    margin-top: 4px;
    font-weight: 600;
    font-size: 12px;
    display: flex;
    align-items: center;
    width: 100%;  
}

.funds-card-number {
    background: #23496b;
    color: #f5f7fa;
    font-size: 15px;
    font-weight: 800;            
    padding: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    letter-spacing: 0.5px;
    float: left;
    position: relative;
    top: 10px;
    margin-bottom: -8px;
    z-index: 15;
    white-space: nowrap;
}

.funds-card-subhead-overlay {
    background: #f5f7fa;
    color: #23496b;
    font-size: 15px;
    font-weight: 800;            
    padding: 8px 24px;
    border-radius: 30px;
    display: block;
    width: fit-content;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    letter-spacing: 0.5px;
    position: relative;
    top: 10px;
    margin-bottom: -8px;
    z-index: 15;
    white-space: nowrap;
}

.amount-unit {
    font-size: 10px;
    margin-left: 1px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.tag {
    background-color: #e6f0fc;
    color: #105183;
    font-size: 11px;
    font-weight: 300;
    padding: 2px 6px;
    border-radius: 30px;
    border: 1px solid #bdd3f0;
}

.tag.small-biz {
    background-color: #e0f0ea;
    color: #146b5e;
    border-color: #abddd2;
}

.bd-block {
    margin-top: 0px;
}

.contract-badge {
    background-color: #26804e;
    color: white;
    font-size: 10px;
    font-weight: 300;
    padding: 3px 12px;
    border-radius: 40px;
    display: inline-block;
}

.col-label-2 {
    flex: 1;
    text-align: center;
}

.col-label-32 {
    flex: 2;
}

.col-label {
    flex: 1;
}

.detail-item {
    background-color: white;
    border-radius: 18px;
    padding: 14px 14px;
    margin-top: 12px;
    border: 1px solid #d3e2f2;
}

.batch-detail {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14.5px;
}

.batch-detail .row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.light-hr {
    height: 1px;
    background: linear-gradient(to right, #b7cfec, transparent);
    margin: 14px 0 8px 0;
}

/* 进度条 - 简化版 */
.progress-simple {
    margin: 16px 0;
}

.progress-simple-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 300;
    color: #777777;
    font-size: 12px;
}

.progress-simple-header .total {
    font-weight: 300;
    color: #777777;
    font-size: 12px;
}

.progress-simple-bar {
    height: 16px;
    background: #e9ecef;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 12px;
    display: flex;
}

.progress-simple-segment {
    height: 100%;
}

.progress-simple-legend {
    display: flex;
    gap: 16px;
    font-weight: 300;
    color: #777777;
    font-size: 12px;
    flex-wrap: wrap;
}

.progress-simple-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.progress-simple-color {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

/* 带标注的授信额度进度条 */
.credit-progress-labeled {
    margin: 16px 0 24px 0;
    position: relative;
}

.credit-progress-labeled .header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
}

.credit-progress-labeled .header .label {
    font-weight: 300;
    font-size: 12px;
    color: #777777;
}

.credit-progress-labeled .bar-container {
    position: relative;
    margin-bottom: 30px;
}

.credit-progress-labeled .bar {
    height: 16px;
    background: #e9ecef;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.credit-progress-labeled .used {
    height: 100%;
    background: #2270c5;
    border-radius: 20px 0 0 20px;
    position: relative;
}

.credit-progress-labeled .percentage-at-end {
    position: absolute;
    top: 50%;
    z-index: 20;
    font-weight: 800;
    font-size: 10px;
    white-space: nowrap;
    line-height: 1;
    right: 0;
    transform: translate(0, -50%);
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    padding-right: 4px;
    opacity: calc(1 - max(0, min(1, calc(20 - var(--progress-width)))));
}

.credit-progress-labeled .percentage-at-end[data-position="outside"] {
    right: auto;
    left: 100%;
    transform: translate(4px, -50%);
    color: #2270c5;
    text-shadow: none;
    padding: 2px 6px;
    opacity: max(0, min(1, calc(20 - var(--progress-width))));
}

.credit-progress-labeled .percentage-at-end .amount-unit {
    font-size: 8px;
    margin-left: 1px;
    color: white;
}

.credit-progress-labeled .percentage-at-end[data-position="outside"] .amount-unit {
    color: #2270c5;
}

.credit-progress-labeled .marker-line {
    position: absolute;
    width: 1px;
    height: 24px;
    background: transparent;
}

.credit-progress-labeled .marker-line::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -1px;
    width: 1px;
    height: 24px;
    background: #2271c5;
    z-index: 15;
}

.credit-progress-labeled .marker-label {
    position: absolute;
    top: 32px;
    font-size: 12px;
    color: #777777;
    white-space: nowrap;
    left: max(0px, min(calc(var(--marker-pos) - 25%), calc(100% - var(--label-width, 120px))));
    transform: none;
    max-width: min(200px, 80%);
}

.credit-progress-labeled .amount-unit {
    font-size: 10px;
    color: #777777;
    margin-left: 2px;
}

/* 中间纯白区域，只放置两个按钮（竖向排列） */
.button-section {
    padding: 80px 64px 400px 64px;
    margin-top: -28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 64px;
    /* 背景图设置 */
    background-image: url('../images/button-bg.jpeg');  /* 替换为您的背景图文件名 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* 添加圆角 */
    border-radius: 30px;
    
    /* 为了确保按钮文字可读，可以添加一个半透明遮罩层 */
    position: relative;
    z-index: 1;
}

/* 如果需要半透明遮罩层让按钮更清晰 */
.button-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(1, 1, 1, 0.3);  /* 半透明白色遮罩 */
    z-index: -1;
}

.glass-btn {
    width: 100%;
    
    /* 更精致的渐变背景 */
    background: linear-gradient(145deg, 
        rgba(255,255,255,0.12) 0%, 
        rgba(255,255,255,0.04) 50%,
        rgba(255,255,255,0.02) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    
    /* 更精致的边框 */
    border: 1px solid rgba(255,255,255,0.18);
    border-top-color: rgba(255,255,255,0.25);
    border-left-color: rgba(255,255,255,0.22);
    border-right-color: rgba(255,255,255,0.12);
    border-bottom-color: rgba(255,255,255,0.08);
    
    border-radius: 60px;
    
    /* 多层阴影 */
    box-shadow: 
        0 10px 25px -12px rgba(0,0,0,0.4),
        0 0 0 1px rgba(255,255,255,0.05) inset;
    
    /* 文字样式 */
    color: rgba(255,255,255,0.95);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
    
    padding: 1.3rem 0.8rem;
    text-align: center;
    line-height: 1.3;
    word-break: keep-word;
    
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.2, 0.9, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
    
    position: relative;
    z-index: 5;
    
    /* 可选：添加微光动画 */
    overflow: hidden;
}

/* 悬浮效果 */
.glass-btn:hover {
    background: linear-gradient(145deg, 
        rgba(255,255,255,0.15) 0%, 
        rgba(255,255,255,0.06) 50%,
        rgba(255,255,255,0.03) 100%);
    border-color: rgba(255,255,255,0.25);
    border-top-color: rgba(255,255,255,0.32);
    border-left-color: rgba(255,255,255,0.28);
    box-shadow: 
        0 15px 30px -12px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.1) inset;
    transform: translateY(-2px);
}

/* 点击效果 */
.glass-btn:active {
    transform: scale(0.97);
    background: linear-gradient(145deg, 
        rgba(255,255,255,0.08) 0%, 
        rgba(255,255,255,0.02) 50%,
        rgba(255,255,255,0.01) 100%);
    box-shadow: 
        0 5px 15px -10px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.03) inset;
    transition: all 0.1s ease;
}

/* 可选：添加微光移动效果 */
.glass-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.1), 
        transparent);
    transition: left 0.8s ease;
    pointer-events: none;
    border-radius: 60px;
}

.glass-btn:hover::before {
    left: 100%;
}

/* 图标基础样式 */
[class^="status-"], [class*=" status-"] {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

/* 状态图标 - 使用相对路径引用外部SVG文件 */
.status-success {
    background-image: url('../icons/status-success.svg');
}

.status-error {
    background-image: url('../icons/status-error.svg');
}

.status-warning {
    background-image: url('../icons/status-warning.svg');
}

/* 所有图标的基础样式 */
[class^="icon-"], [class*=" icon-"] {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

/* 下载图标 - 使用相对路径引用外部SVG文件 */
.icon-download-blue {
    background-image: url('../icons/icon-download-blue.svg');
}

.icon-download-gray {
    background-image: url('../icons/icon-download-gray.svg');
}

.icon-download-white {
    background-image: url('../icons/icon-download-white.svg');
}

/* 图标尺寸变体 */
.status-success.small, .status-error.small, .status-warning.small,
.icon-download-blue.small, .icon-download-gray.small, .icon-download-white.small {
    width: 16px;
    height: 16px;
}

.status-success.large, .status-error.large, .status-warning.large,
.icon-download-blue.large, .icon-download-gray.large, .icon-download-white.large {
    width: 24px;
    height: 24px;
}