/* 顶部搜索区域渐变背景 */
.hero-section {
    background: linear-gradient(135deg, #1A2575 0%, #755AC8 46%, #FF6B6B 100%);
    padding: 100px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(26, 37, 117, 0.15) 0%, rgba(117, 90, 200, 0.15) 50%, rgba(255, 107, 107, 0.15) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* 搜索框样式优化 */
.search-box {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    height: 60px;
    width: 60%;
    font-size: 18px;
    border: none;
    border-radius: 30px !important;
    padding-left: 25px;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    transition: all 0.3s ease;
}

.search-input:focus {
    background: #ffffff;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.25);
}

/* 搜索下拉框样式优化 */
.search-box .form-select {
    height: 60px;
    width: 120px;
    font-size: 18px;
    border: none;
    background: rgba(255, 255, 255, 0.95) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23333' d='M8 11L3 6h10z'/%3E%3C/svg%3E") no-repeat right 15px center;
    background-size: 12px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    transition: all 0.3s ease;
    padding: 0 35px 0 15px;
    border-radius: 30px !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.search-box .form-select:focus {
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23333' d='M8 11L3 6h10z'/%3E%3C/svg%3E") no-repeat right 15px center;
    background-size: 12px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.25);
    border: none;
    outline: none;
}

.search-btn {
    min-width: 120px;
    font-size: 18px;
    background: linear-gradient(135deg, #1A2575 0%, #755AC8 100%);
    color: white !important;
    border: none;
    border-radius: 30px !important;
    padding: 10px 30px;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: linear-gradient(135deg, #1A2575 0%, #FF6B6B 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 报告列表头部样式 */
.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.report-tabs {
    display: flex;
    gap: 10px;
}

.report-tab {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.report-tab:hover {
    background: linear-gradient(135deg, #1A2575 0%, #FF6B6B 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.report-tab.active {
    background: linear-gradient(135deg, #1A2575 0%, #FF6B6B 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.filter-wrapper {
    position: relative;
}

.filter-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.filter-button:hover {
    background: linear-gradient(135deg, #1A2575 0%, #FF6B6B 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.filter-button.active {
    background: linear-gradient(135deg, #1A2575 0%, #FF6B6B 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* 筛选浮层样式 */
.filter-overlay {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 300px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.filter-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 筛选标签样式优化 */
.filter-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 25px;
    border-radius: 15px;
}

.filter-title {
    color: #2d3436;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e0e0;
    position: relative;
}

.filter-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #1A2575 0%, #755AC8 100%);
}

.filter-tag {
    display: inline-block;
    padding: 8px 18px;
    margin: 4px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.filter-tag:hover {
    background: linear-gradient(135deg, #1A2575 0%, #FF6B6B 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.filter-tag.active {
    background: linear-gradient(135deg, #1A2575 0%, #FF6B6B 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* 报告网格布局样式 */
.report-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

/* 报告卡片样式优化 */
.report-card {
    display: flex;
    flex-direction: column;
    border: none;
    border-radius: 15px;
    padding: 15px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.report-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1A2575 0%, #755AC8 100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.report-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.report-card:hover::before {
    opacity: 1;
}

.report-image {
    width: 100%;
    height: 160px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.report-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.report-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.report-title {
    font-size: 16px;
    color: #2d3436;
    margin-bottom: 8px;
    font-weight: 600;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.report-card:hover .report-title {
    background: linear-gradient(90deg, #1A2575 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.report-subtitle {
    font-size: 14px;
    color: #636e72;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.report-date {
    font-size: 12px;
    color: #b2bec3;
    margin-bottom: 0;
}

/* 自定义模态窗口样式 */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-modal.show {
    opacity: 1;
}

.custom-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 2% auto;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.custom-modal.show .custom-modal-content {
    transform: translateY(0);
}

.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.custom-modal-header h5 {
    margin: 0;
    color: #2d3436;
    font-weight: 600;
    font-size: 1.25rem;
    flex-grow: 1;
    text-align: center;
}

.custom-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #636e72;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.custom-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: #2d3436;
}

.custom-modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.custom-modal-footer {
    padding: 20px;
    border-top: 2px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.custom-btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-btn-secondary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.custom-btn-secondary:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.custom-btn-primary {
    background: linear-gradient(135deg, #1A2575 0%, #755AC8 100%);
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.custom-btn-primary:hover {
    background: linear-gradient(135deg, #1A2575 0%, #FF6B6B 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* 底部区域样式优化 */
.footer {
    background: linear-gradient(135deg, #1A2575 0%, #755AC8 100%);
    color: white;
    padding: 60px 0 40px;
    margin-top: 40px;
}

.footer h5 {
    font-size: 18px;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    padding-bottom: 15px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #1A2575 0%, #FF6B6B 100%);
}

.qr-code {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 10px;
    margin: 15px auto;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-info {
    color: #b2bec3;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.contact-info:hover {
    color: #dfe6e9;
}

.copyright {
    font-size: 14px;
    color: #b2bec3;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 加载更多按钮样式 */
.btn-outline-secondary {
    border: 2px solid #1A2575;
    color: #1A2575;
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background: linear-gradient(135deg, #1A2575 0%, #FF6B6B 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.search-box .input-group>*:not(:last-child) {
    margin-right: 5px;
}

/* 报告详情页样式 */

.report-detail-header {
    background: linear-gradient(135deg, #1A2575 0%, #755AC8 46%, #FF6B6B 100%);
    padding: 60px 0;
    color: white;
    position: relative;
}

.report-content-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 30px 0;
    text-align: center;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.report-detail-content {
    padding: 40px 0;
    background: #f8f9fa;
}

.report-info {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.report-meta {
    display: flex;
    gap: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    justify-content: center;
}

.report-description {
    color: #636e72;
    line-height: 1.8;
    margin-bottom: 30px;
}

.report-pages {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.page-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    width: 100%;
}

.page-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-image-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.page-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.page-image-container:hover {
    box-shadow: 0 0 30px rgba(26, 37, 117, 0.3),
        0 0 30px rgba(117, 90, 200, 0.3),
        0 0 30px rgba(255, 107, 107, 0.3);
}

.page-number {
    padding: 15px;
    text-align: center;
    color: #636e72;
    font-weight: 500;
    background: white;
    border-top: 1px solid #eee;
}

.download-section {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.download-btn {
    display: inline-block;
    padding: 10px 25px;
    background: white;
    color: #1A2575;
    border: 2px solid #1A2575;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.download-btn:hover {
    background: linear-gradient(135deg, #1A2575 0%, #755AC8 100%);
    color: white;
    border-color: transparent;
}

.breadcrumb {
    margin-bottom: 0;
    padding: 10px 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.8);
}

/* 报告详情页样式结束 */
/* 图表网格样式 */
.chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.chart-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
    cursor: pointer;
}

.chart-card:hover {
    transform: translateY(-5px);
}

.chart-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.chart-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chart-content {
    padding: 1rem;
}

.chart-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.chart-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.chart-report {
    font-size: 0.8rem;
    color: #999;
    margin: 0;
}

/* 模态窗口样式 */
.chart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    padding: 20px;
}

.chart-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 1140px;
    /* 与Bootstrap container的最大宽度一致 */
    margin: 0 auto;
    max-height: 90vh;
    position: relative;
    overflow: auto;
}

.close-button {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    padding: 5px;
    z-index: 1;
}

.close-button:hover {
    color: #000;
}

.modal-image {
    text-align: center;
    margin-bottom: 20px;
}

.modal-image img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.modal-info {
    padding: 0 20px;
}

.modal-info h3 {
    margin-bottom: 10px;
    color: #333;
}

.modal-info p {
    color: #666;
    margin: 0;
}
.hero-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #6f42c1, #8a5cd1);
}
.search-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.input-group {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 5px 15px;
    border-radius: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.search-input {
    flex: 1;
    height: 45px;
    border: none;
    outline: none;
    padding: 0 15px;
    font-size: 16px;
    background: transparent;
}
.search-input:focus {
    outline: none;
}
.form-check-inline {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.form-check-inline:hover {
    background: rgba(111, 66, 193, 0.1);
}
.form-check-input {
    margin: 0;
    margin-right: 5px;
    cursor: pointer;
}
.form-check-label {
    margin: 0;
    font-size: 15px;
    color: #495057;
    cursor: pointer;
}
.search-btn {
    height: 40px;
    padding: 0 25px;
    background: #6f42c1;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 15px;
    transition: all 0.3s ease;
}
.search-btn:hover {
    background: #8a5cd1;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}