/* 法律体检公共样式 - 参考2026.css风格 */

/* 颜色主题变量 */
:root {
    --primary-color: #47b2e4;
    --secondary-color: #37517e;
    --accent-color: #667eea;
    --gradient-color: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --text-color: #333;
    --text-muted: #5e6c84;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
    --border-radius: 10px;
}

/* 为什么需要法律体检？区域样式 */
#legal-health-index .text-center.mt-6.mb-6 {
    margin-top: 4rem !important;
    margin-bottom: 3rem !important;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* 首页卡片样式 */
.legal-health-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #e8ecef;
}

.legal-health-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.legal-health-card .card-header {
    border: none;
    background: var(--gradient-color);
    padding: 1rem 1.5rem;
}

.legal-health-card .card-header h5 {
    font-weight: 700;
    font-size: 1.1rem;
}

/* 问卷页面样式 */
.question-page {
    display: none;
}

.question-page.active {
    display: block;
}

.page-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}

.page-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #e8ecef;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-dot.active {
    background: var(--gradient-color);
    width: 24px;
    border-radius: 6px;
}

.progress-sticky {
    position: relative;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

/* 企业信息输入框样式 */
.card-header.bg-primary {
    background: var(--gradient-color) !important;
    border: none !important;
}

.card-header.bg-primary h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

.card-body .form-label {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.35rem;
}

.card-body .row {
    margin-bottom: 0.5rem;
}

.card-body .mb-3 {
    margin-bottom: 0.75rem !important;
}

.card-body .form-control {
    border: 1px solid #e8ecef;
    border-radius: var(--border-radius);
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    line-height: 1.4;
    height: auto;
    transition: all 0.3s ease;
}

.card-body .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

.card-body .form-control::placeholder {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.card-body .text-danger {
    color: #dc2626 !important;
}

/* 提交加载动画 */
.submit-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(55, 81, 126, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.submit-overlay.show {
    opacity: 1;
    visibility: visible;
}

.submit-dialog {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.submit-dialog h4 {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.submit-dialog p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.submit-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e8ecef;
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 移动端适配 */
.mobile-mode #main-header,
.mobile-mode #main-footer {
    display: none !important;
}

.mobile-mode .inner-page {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--gradient-color);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 700;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-mode .mobile-header {
    display: block;
}

.mobile-mode section {
    margin-top: 60px;
}

/* 题目样式 */
.question-item {
    transition: all 0.3s ease;
    border-radius: 8px;
}

.question-item:hover {
    background-color: #f8f9fa;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.question-item .d-flex {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.question-item .d-flex.align-items-start {
    align-items: center;
}

.question-item .d-flex .badge {
    margin-top: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 导航卡片样式 */
#navigationCard {
    border: none !important;
    box-shadow: none !important;
}

#navigationCard .card-body {
    padding: 1rem;
}

#navigationCard .row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
    flex-wrap: nowrap;
}

#navigationCard .col-6 {
    flex: 0 0 auto;
    width: auto;
}

#navigationCard .btn {
    min-width: 80px;
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
    max-width: 120px;
    white-space: nowrap;
}

#navigationCard .btn-lg {
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
}

.category-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: var(--gradient-color);
    color: white;
    border-radius: 4px;
}

/* 选项列表样式 */
.options-list {
    margin-top: 0.5rem !important;
    padding-left: 1rem !important;
}

.options-list .form-check {
    margin-bottom: 0.5rem !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: none !important;
}

/* 移除label里面的span和i标签 */
.options-list .form-check-label span {
    display: none !important;
}

.options-list .form-check-label i {
    display: none !important;
}

/* 隐藏第一个div下的第三个span标签（风险等级标签） */
.question-item .d-flex > span:nth-child(3) {
    display: none !important;
}

/* 调整form-check-input间距 */
.options-list .form-check-input {
    margin-right: 0.5rem !important;
    margin-top: 0.1rem !important;
}

/* 隐藏页码显示 */
.question-page .card-header {
    display: none !important;
}

.form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* 报告页面样式 - 参考专业法律体检报告样式 */
.report-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem 4rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-radius: 0;
    position: relative;
}

/* 报告头部 */
.report-header {
    text-align: center;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 3px solid #dc2626;
}

.report-logo {
    height: 60px;
    margin-bottom: 1.5rem;
}

.report-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.report-meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.report-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.report-meta-item strong {
    color: #333;
}

/* 章节标题 */
.report-section {
    margin-bottom: 3rem;
}

.section-header-orange {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    gap: 0.5rem;
    border-bottom: 2px solid rgb(220, 38, 38);
}

.section-header-orange .section-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: rgb(220, 38, 38);
    line-height: 1;
    margin: 0px;
}

.section-header-orange .section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: rgb(220, 38, 38);
    line-height: 1;
    margin: 0px;
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 1.5rem 0 0.75rem;
    padding-left: 0.75rem;
    border-left: 3px solid #dc2626;
}

/* 引言部分 */
.report-intro p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1rem;
    text-indent: 2em;
}

.report-intro h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 1.5rem 0 0.75rem;
}

/* 风险级别表格 */
.risk-level-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.875rem;
}

.risk-level-table thead {
    background: #ea580c;
    color: white;
}

.risk-level-table thead th {
    padding: 0.875rem 0.75rem;
    text-align: left;
    font-weight: 600;
    border: none;
}

.risk-level-table tbody td {
    padding: 0.875rem 0.75rem;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
    vertical-align: middle;
}

.risk-level-table tbody tr:hover {
    background: #f9fafb;
}

.risk-level-table .level-col {
    width: 140px;
    font-weight: 500;
}

.risk-level-table .score-col {
    width: 100px;
    font-weight: 600;
    color: #ea580c;
}

.risk-level-table .desc-col {
    width: auto;
}

.risk-level-table .star-row {
    color: #ea580c;
    font-size: 0.9rem;
}

/* 综合评分展示框 */
.score-display-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.score-label-top {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.25rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.score-value-large {
    font-size: 4rem;
    font-weight: 700;
    color: #f59e0b;
    line-height: 1;
    margin-bottom: 1.25rem;
    font-family: 'DIN', 'Arial', sans-serif;
}

.score-stars {
    margin-bottom: 1rem;
}

.score-stars .star {
    font-size: 1.25rem;
    color: #d1d5db;
    margin: 0 2px;
}

.score-stars .star.filled {
    color: #f59e0b;
}

.risk-level-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: #f59e0b;
    margin-bottom: 1rem;
}

.score-meta {
    font-size: 0.75rem;
    color: #9ca3af;
    letter-spacing: 0.5px;
}

/* 各模块得分详情 */
.module-progress-section {
    margin-top: 2rem;
}

.module-progress-section h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1.5rem;
    padding-left: 0.75rem;
    border-left: 3px solid #ea580c;
    display: flex;
    align-items: center;
}

.module-progress-item {
    margin-bottom: 1.25rem;
}

.module-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.module-progress-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b5563;
}

.module-progress-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.module-progress-bar {
    width: 100%;
    height: 10px;
    background: #f3f4f6;
    border-radius: 5px;
    overflow: hidden;
}

.module-progress-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.8s ease;
}

.module-progress-fill.good {
    background: #10b981;
}

.module-progress-fill.warning {
    background: #f59e0b;
}

.module-progress-fill.danger {
    background: #ef4444;
}

/* 风险表格 */
.risk-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.875rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.risk-table thead {
    background: #ea580c;
    color: white;
}

.risk-table thead th {
    padding: 0.875rem 0.75rem;
    text-align: left;
    font-weight: 600;
    border: 1px solid #ea580c;
}

.risk-table tbody td {
    padding: 0.875rem 0.75rem;
    border: 1px solid #e5e7eb;
    color: #374151;
    vertical-align: middle;
}

.risk-table tbody tr {
    background: white;
}

.risk-table tbody tr:hover {
    background: #f9fafb;
}

.risk-table .seq-cell {
    width: 60px;
    text-align: center;
    font-weight: 600;
}

.risk-table .module-cell {
    width: 120px;
    font-weight: 500;
}

.risk-table .question-cell {
    width: auto;
}

.risk-table .level-cell {
    width: 80px;
    text-align: center;
}

.risk-table .status-cell {
    width: 150px;
}

/* 风险等级徽章 */
.risk-badge-table {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.risk-badge-table.high {
    background: #dc2626;
}

.risk-badge-table.medium {
    background: #f59e0b;
}

.risk-badge-table.low {
    background: #10b981;
}

/* 评估标准 */
.assessment-standards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.standard-item {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.standard-item.low {
    background: #dcfce7;
    border: 1px solid #86efac;
}

.standard-item.medium {
    background: #fef3c7;
    border: 1px solid #fcd34d;
}

.standard-item.high {
    background: #fee2e2;
    border: 1px solid #fca5a5;
}

.standard-score {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.standard-item.low .standard-score {
    color: #16a34a;
}

.standard-item.medium .standard-score {
    color: #d97706;
}

.standard-item.high .standard-score {
    color: #dc2626;
}

.standard-desc {
    font-size: 0.85rem;
    color: #6b7280;
}

/* 分数展示 */
.score-display {
    text-align: center;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 12px;
    margin: 2rem 0;
}

.score-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.score-circle.low {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.score-circle.medium {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.score-circle.high {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.score-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.score-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.25rem;
}

.risk-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
}

.risk-badge.low {
    background: #dcfce7;
    color: #16a34a;
}

.risk-badge.medium {
    background: #fef3c7;
    color: #d97706;
}

.risk-badge.high {
    background: #fee2e2;
    color: #dc2626;
}

.score-comment {
    font-size: 0.95rem;
    color: #6b7280;
    margin-top: 1rem;
    line-height: 1.6;
}

/* 模块得分表格 */
.module-scores-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.module-scores-table thead {
    background: #f9fafb;
}

.module-scores-table th {
    padding: 0.875rem 1rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
}

.module-scores-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
}

.module-scores-table tbody tr:hover {
    background: #f9fafb;
}

.module-scores-table tbody tr:last-child td {
    border-bottom: none;
}

.score-cell {
    font-weight: 600;
}

.score-cell.good {
    color: #16a34a;
}

.score-cell.warning {
    color: #d97706;
}

.score-cell.danger {
    color: #dc2626;
}

/* 风险等级标签 */
.risk-level-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.risk-level-badge.low {
    background: #dcfce7;
    color: #16a34a;
}

.risk-level-badge.medium {
    background: #fef3c7;
    color: #d97706;
}

.risk-level-badge.high {
    background: #fee2e2;
    color: #dc2626;
}

/* 风险项 */
.risk-item {
    background: #fff;
    border-left: 4px solid #dc2626;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.risk-item-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.risk-question {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.5;
}

.risk-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 0.75rem;
    font-size: 0.875rem;
}

.risk-detail-item {
    display: flex;
    gap: 0.5rem;
}

.risk-detail-label {
    color: #6b7280;
    white-space: nowrap;
}

.risk-detail-value {
    color: #374151;
}

/* 整改建议卡片 */
.suggestion-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #ea580c;
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.875rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.suggestion-card:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.suggestion-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.625rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.suggestion-card-icon {
    font-size: 1.25rem;
    color: #ea580c;
    flex-shrink: 0;
}

.suggestion-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.suggestion-card-content {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.6;
    padding-left: 1.75rem;
}

/* 法律依据 */
.law-reference {
    background: #f9fafb;
    padding: 1rem 1.25rem;
    border-radius: 6px;
    margin-top: 1rem;
    border-left: 3px solid #3b82f6;
}

.law-reference-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.law-reference-content {
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.6;
}

/* 整改建议 */
.suggestion-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.suggestion-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #3b82f6;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50%;
    flex-shrink: 0;
}

.suggestion-content {
    flex: 1;
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.7;
}

/* 法律依据列表 */
.law-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.law-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.law-item:last-child {
    border-bottom: none;
}

.law-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.law-content {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.8;
    padding-left: 1.5rem;
}

/* 免责声明 */
.disclaimer-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.disclaimer-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.disclaimer-content {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.8;
}

.disclaimer-content p {
    margin-bottom: 0.75rem;
}

.disclaimer-content p:last-child {
    margin-bottom: 0;
}

/* 报告尾部 */
.report-footer {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 2px solid #e5e7eb;
}

.report-footer p {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

/* 打印按钮 */
.print-btn {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 1000;
}

.print-btn .btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

.print-btn .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* 模块评估结果卡片 */
.module-result-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.module-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.module-result-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.module-result-score {
    font-size: 1.125rem;
    font-weight: 700;
}

.module-result-score.good {
    color: #16a34a;
}

.module-result-score.warning {
    color: #d97706;
}

.module-result-score.danger {
    color: #dc2626;
}

.module-result-body {
    padding: 1.25rem;
}

.module-result-empty {
    color: #6b7280;
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem;
}

/* 风险项列表 */
.risk-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.risk-items-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.6;
}

.risk-items-list li:last-child {
    border-bottom: none;
}

/* 响应式 */
@media (max-width: 768px) {
    .report-container {
        padding: 1.5rem;
    }

    .report-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .assessment-standards {
        grid-template-columns: 1fr;
    }

    .risk-details {
        grid-template-columns: 1fr;
    }

    .print-btn {
        position: static;
        margin-bottom: 1rem;
    }

    .score-circle {
        width: 140px;
        height: 140px;
    }

    .score-value {
        font-size: 2.5rem;
    }
}

@media print {
    .print-btn {
        display: none;
    }
    .report-container {
        box-shadow: none;
        padding: 0;
        max-width: 100%;
    }
    .submit-overlay {
        display: none !important;
    }
    .breadcrumbs {
        display: none !important;
    }
    /* 打印时隐藏顶部导航栏 */
    #header {
        display: none !important;
    }
    .sticky-menu {
        display: none !important;
    }
    /* 打印时隐藏底部footer */
    .footer-admin,
    .footer-dark,
    .footer {
        display: none !important;
    }
    /* 打印时隐藏回到顶部按钮 */
    .back-to-top {
        display: none !important;
    }
    /* 打印时隐藏页面装饰元素 */
    .hero,
    .hero-carousel {
        display: none !important;
    }
    /* 打印时调整容器样式 */
    #layoutSearchContent {
        margin-top: 0 !important;
        padding: 0 !important;
    }
    body {
        margin: 0;
        padding: 0;
    }
}
