/* ========== 解决方案页面样式 ========== */

/* 覆盖Banner主题色 - 青色（清新专业） */
:root {
    --solution-primary: #0ea5e9;
    --solution-primary-light: #38bdf8;
    --solution-primary-lighter: #7dd3fc;
    --solution-primary-bg: #f0f9ff;
    --banner-gradient: linear-gradient(135deg, #0369a1 0%, #0ea5e9 50%, #0284c7 100%);
    --banner-glow-color: rgba(14, 165, 233, 0.25);
    --banner-btn-primary-bg: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    --banner-btn-primary-shadow: rgba(14, 165, 233, 0.35);
    --banner-btn-primary-shadow-hover: rgba(14, 165, 233, 0.45);
}
.btn-primary:hover{
    color:#fff;
}
/* 页面特定Banner背景（带图片） */
.solution-banner {
    background: 
        linear-gradient(135deg, rgba(30, 58, 138, 0.92) 0%, rgba(30, 64, 175, 0.88) 50%, rgba(37, 99, 235, 0.85) 100%),
        url('/public/images/banner-solution.jpeg') center/cover no-repeat;
}

/* 解决方案分类 */
.solution-categories {
    padding: 60px 0;
    background: white;
}

/* ========== 美化section-title ========== */
.section-title {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
    padding-left: 0;
}

.section-title::before {
    display: none;
}

.section-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--solution-primary), var(--solution-primary-light));
    border-radius: 2px;
}

.section-title p {
    font-size: 15px;
    color: #64748b;
    margin-top: 16px;
}

/* ========== 筛选区样式 ========== */
.filter-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    border: 1px solid #f1f5f9;
}

.filter-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    flex-shrink: 0;
    width: 80px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    padding-top: 8px;
}

.filter-options {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-option {
    padding: 6px 16px;
    font-size: 13px;
    color: #64748b;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.filter-option:hover {
    color: var(--solution-primary);
    border-color: var(--solution-primary-light);
    background: var(--solution-primary-bg);
}

.filter-option.active {
    color: white;
    background: var(--solution-primary);
    border-color: var(--solution-primary);
    font-weight: 500;
}

/* 筛选区响应式 */
@media (max-width: 768px) {
    .filter-section {
        padding: 16px;
    }
    
    .filter-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .filter-label {
        width: auto;
        padding-top: 0;
    }
    
    .filter-options {
        gap: 8px;
    }
    
    .filter-option {
        padding: 5px 12px;
        font-size: 12px;
    }
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.category-tab {
    padding: 12px 28px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 30px;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.category-tab:hover {
    background: #f1f5f9;
}

.category-tab.active {
    background: var(--solution-primary);
    border-color: var(--solution-primary);
    color: white;
}

/* 解决方案卡片 */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.view-more-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.solution-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s;
}

.solution-card:hover {
    border-color: var(--solution-primary-light);
    box-shadow: 0 12px 40px rgba(30, 64, 175, 0.12);
    transform: translateY(-4px);
}

.solution-image {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.solution-card:hover .solution-image img {
    transform: scale(1.05);
}

.solution-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    background: rgba(30, 64, 175, 0.9);
    color: white;
    border-radius: 4px;
    font-size: 12px;
}

.solution-body {
    padding: 24px;
}

.solution-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.solution-body p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.solution-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.solution-tag {
    padding: 4px 12px;
    background: var(--solution-primary-bg);
    color: var(--solution-primary);
    border-radius: 20px;
    font-size: 12px;
}

.solution-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #f1f5f9;
    border-radius: 8px;
    overflow: hidden;
}

.solution-stat {
    padding: 12px;
    text-align: center;
    background: white;
}

.solution-stat .value {
    font-size: 16px;
    font-weight: 600;
    color: var(--solution-primary);
}

.solution-stat .label {
    font-size: 11px;
    color: #94a3b8;
}

.solution-footer {
    padding: 16px 24px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.solution-provider {
    display: flex;
    align-items: center;
    gap: 10px;
}

.provider-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    overflow: hidden;
}

.provider-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.provider-name {
    font-size: 13px;
    color: #475569;
}

.btn-view {
    padding: 8px 20px;
    background: var(--solution-primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-view:hover {
    background: #0284c7;
}

/* 服务商推荐 */
.provider-section {
    padding: 60px 0;
    background: #f8fafc;
}

.provider-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.provider-card {
    display: block;
    background: white;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
    text-decoration: none;
}

.provider-card:hover {
    border-color: var(--solution-primary-light);
}

.provider-logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto 16px;
}

.provider-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.provider-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.provider-card .type {
    font-size: 12px;
    color: var(--solution-primary);
    margin-bottom: 12px;
}

.provider-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.provider-tag {
    padding: 3px 10px;
    background: var(--solution-primary-bg);
    color: var(--solution-primary);
    border-radius: 20px;
    font-size: 11px;
}

/* 响应式 */
@media (max-width: 1200px) {
    .solution-grid { grid-template-columns: repeat(2, 1fr); }
    .provider-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .solution-grid { grid-template-columns: 1fr; }
    .provider-grid { grid-template-columns: 1fr; }
    .category-tabs { flex-wrap: wrap; }
}

/* ========== 申请入驻弹窗样式 ========== */
/* 弹窗覆盖层 - 必须使用fixed定位覆盖全屏 */
.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.apply-join-modal {
    max-width: 720px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
}

.apply-join-modal .modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.apply-join-modal .modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

.apply-join-modal .modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.apply-join-modal .modal-close:hover {
    background: #e2e8f0;
}

.apply-join-modal .modal-close svg {
    width: 20px;
    height: 20px;
    color: #64748b;
}

.apply-join-modal .modal-body {
    padding: 28px;
}

.form-section {
    margin-bottom: 28px;
}

.form-section:last-of-type {
    margin-bottom: 24px;
}

.form-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 3px solid var(--solution-primary);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.form-group label .required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #1e293b;
    transition: all 0.2s;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--solution-primary-light);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 14px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    transition: all 0.2s;
}

.checkbox-item:hover {
    background: #f1f5f9;
}

.checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--solution-primary);
}

.checkbox-item input[type="checkbox"]:checked + span {
    color: var(--solution-primary);
    font-weight: 500;
}

.file-upload-area {
    position: relative;
}

.file-upload-area input[type="file"] {
    display: none;
}

.file-upload-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    background: #f9fafb;
}

.file-upload-btn:hover {
    border-color: var(--solution-primary-light);
    background: var(--solution-primary-bg);
}

.file-upload-btn svg {
    width: 32px;
    height: 32px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.file-upload-btn span {
    font-size: 14px;
    color: #6b7280;
}

.file-list {
    margin-top: 12px;
}

.file-list .file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 6px;
    margin-bottom: 8px;
}

.file-list .file-item .file-name {
    font-size: 13px;
    color: #374151;
}

.file-list .file-item .file-remove {
    color: #ef4444;
    cursor: pointer;
    font-size: 12px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.btn-cancel {
    padding: 10px 24px;
    background: #f1f5f9;
    color: #64748b;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cancel:hover {
    background: #e2e8f0;
}

.btn-submit {
    padding: 10px 28px;
    background: var(--solution-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit:hover {
    background: #0284c7;
}

/* ========== 方案详情页专用样式 ========== */
.detail-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    padding: 100px 0 30px;
}

.detail-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.detail-info {
    padding-right: 20px;
}

.detail-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.3;
}

.detail-desc {
    font-size: 16px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 24px;
}

.detail-actions {
    display: flex;
    gap: 16px;
}

.btn-interest {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--solution-primary) 0%, var(--solution-primary-light) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-interest:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.35);
}

.btn-interest svg {
    width: 20px;
    height: 20px;
}

.detail-image {
    position: relative;
}

.detail-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.detail-image::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--solution-primary) 0%, var(--solution-primary-light) 100%);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.15;
}

/* 面包屑 */
.breadcrumb {
    padding: 16px 0;
    background: white;
    border-bottom: 1px solid #f1f5f9;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-item {
    color: #64748b;
}

.breadcrumb-item a {
    color: var(--solution-primary-light);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #cbd5e1;
}

.breadcrumb-item.current {
    color: #1e293b;
}

/* 基础信息 */
.basic-info {
    padding: 40px 0;
    background: white;
}

.info-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.info-card-title h3::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 50%;
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, var(--solution-primary) 0%, var(--solution-primary-light) 100%);
    border-radius: 2px;
    transform: translateY(-50%);
}

.info-card-title {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
}

.info-card-title h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    position:relative;
}

.info-card-title span {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-grid {
    display: grid;
    gap: 20px;
}

.info-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    align-items: start;
}

.info-label {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 500;
}

.info-value {
    font-size: 14px;
    color: #1e293b;
    line-height: 1.6;
}

.info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.info-tag {
    padding: 4px 12px;
    background: var(--solution-primary-bg);
    color: var(--solution-primary);
    border-radius: 20px;
    font-size: 12px;
}

/* 产品详情区域 */
.product-detail-section {
    padding: 48px 0;
    background: #f8fafc;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
}

.main-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.content-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
}

.provider-logo-large {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
}

.provider-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.provider-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.provider-badges {
    display: flex;
    gap: 8px;
}

.badge {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

.badge-certified {
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.badge-count {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.content-body h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.content-section {
    margin-bottom: 32px;
}

.content-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 3px solid var(--solution-primary-light);
}

.content-section p {
    font-size: 15px;
    color: #475569;
    line-height: 1.8;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 10px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--solution-primary-bg) 0%, #dbeafe 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-text h5 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

/* 侧边栏 */
.sidebar {
    position: sticky;
    top: 100px;
}

.recommend-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.recommend-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.recommend-card {
    display: block;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 16px;
    text-decoration: none;
    transition: all 0.3s;
}

.recommend-card:hover {
    background: var(--solution-primary-bg);
    transform: translateX(4px);
}

.recommend-card:last-child {
    margin-bottom: 0;
}

.recommend-image {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

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

.recommend-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.recommend-card p {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
}

/* 意向弹窗 */
.interest-modal .modal-content {
    max-width: 480px;
}

.interest-form {
    padding: 0;
}

.interest-form .form-group {
    margin-bottom: 16px;
}

.interest-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.interest-form input,
.interest-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
}

.interest-form input:focus,
.interest-form textarea:focus {
    outline: none;
    border-color: var(--solution-primary-light);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 发布项目弹窗 */
#publishModal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1000;
}

#publishModal .modal-overlay {
    position: absolute !important;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1;
}

#publishModal .modal-content {
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2;
    position: relative;
}

.publish-form {
    padding: 0;
}

.publish-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.publish-form .form-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin: 20px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.publish-form .label-tip {
    font-weight: 400;
    color: #9ca3af;
    font-size: 12px;
}

/* 复选框组 */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.checkbox-item:hover {
    border-color: var(--solution-primary-light);
    background: #f0f9ff;
}

.checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--solution-primary);
}

.checkbox-item span {
    font-size: 13px;
    color: #4b5563;
}

.custom-input-wrap {
    margin-top: 10px;
}

.custom-tag-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px dashed #d1d5db;
    border-radius: 6px;
    font-size: 13px;
    background: #fafafa;
    transition: all 0.2s;
}

.custom-tag-input:focus {
    outline: none;
    border-color: var(--solution-primary);
    border-style: solid;
    background: white;
}

.custom-tag {
    position: relative;
}

.custom-tag .remove-tag {
    margin-left: 4px;
    color: #9ca3af;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.2s;
}

.custom-tag .remove-tag:hover {
    color: #ef4444;
}

/* 咨询服务弹窗 */
.consult-modal .modal-content {
    max-width: 560px;
}

.consult-service-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.consult-service-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.consult-service-item:hover {
    background: #f0f9ff;
    border-color: var(--solution-primary-light);
    transform: translateX(4px);
}

.consult-service-item .service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    color: var(--solution-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.consult-service-item .service-info {
    flex: 1;
}

.consult-service-item .service-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.consult-service-item .service-info p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.consult-service-item .service-arrow {
    color: #9ca3af;
}

/* 咨询申请弹窗 */
.consult-apply-modal .modal-content {
    max-width: 520px;
}

.consult-form {
    padding: 0;
}

.consult-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* 政策计算器弹窗 */
.policy-calc-modal .modal-content {
    max-width: 600px;
}

.policy-calc-intro {
    text-align: center;
    margin-bottom: 20px;
}

.policy-calc-intro p {
    color: #6b7280;
    font-size: 14px;
}

.policy-calc-form {
    padding: 0;
}

.policy-result {
    padding: 20px 0;
}

.result-header {
    text-align: center;
    margin-bottom: 20px;
}

.result-header h4 {
    font-size: 16px;
    color: #1f2937;
    margin: 0;
}

.result-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
}

.result-icon {
    font-size: 24px;
}

.result-content h5 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 4px;
}

.result-content p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.result-action {
    text-align: center;
    margin-top: 20px;
}

/* 预约成功提示弹窗 */
.success-tip-modal .modal-content {
    max-width: 400px;
    text-align: center;
    padding: 40px;
}

.success-tip-content .success-icon {
    color: #10b981;
    margin-bottom: 16px;
}

.success-tip-content h3 {
    font-size: 20px;
    color: #1f2937;
    margin: 0 0 12px;
}

.success-tip-content p {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 24px;
}

/* 进度查询弹窗 */
.progress-query-modal .modal-content {
    max-width: 500px;
}

.progress-query-form {
    padding: 0;
}

.progress-timeline {
    padding: 20px 0;
}

.timeline-item {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    position: relative;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 36px;
    width: 2px;
    height: calc(100% - 24px);
    background: #e5e7eb;
}

.timeline-item.completed:not(:last-child)::before {
    background: #10b981;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #e5e7eb;
    flex-shrink: 0;
    margin-top: 4px;
}

.timeline-item.completed .timeline-dot {
    background: #10b981;
}

.timeline-item.active .timeline-dot {
    background: #0ea5e9;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2);
}

.timeline-content h5 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 4px;
}

.timeline-item .timeline-content p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.timeline-item.completed .timeline-content p {
    color: #10b981;
}

.timeline-item.active .timeline-content p {
    color: #0ea5e9;
}

/* 项目详情弹窗 */

.project-detail-content {
    padding: 0;
}

.project-detail-content .modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.project-detail-content .modal-body {
    padding: 24px;
}

.detail-header {
    margin-bottom: 20px;
}

.detail-section {
    margin-bottom: 24px;
}

.detail-section h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 12px;
}

.detail-section p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-item .label {
    font-size: 13px;
    color: #9ca3af;
}

.detail-item .value {
    font-size: 14px;
    color: #1f2937;
    font-weight: 500;
}

.detail-actions {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.detail-actions .btn-primary {
    padding: 12px 32px;
    font-size: 15px;
}

/* 响应式 */
@media (max-width: 1024px) {
    .product-detail-content {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .detail-hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .detail-info {
        padding-right: 0;
    }
    
    .detail-title {
        font-size: 24px;
    }
    
    .detail-image img {
        height: 280px;
    }
    
    .info-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    
    .main-content {
        padding: 24px;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }

    /* 模态框移动端适配 */
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .publish-form .form-row {
        grid-template-columns: 1fr;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .detail-title {
        font-size: 20px;
    }

    .detail-image img {
        height: 200px;
    }

    .main-content {
        padding: 16px;
    }

    .content-body h3 {
        font-size: 18px;
    }

    .apply-join-modal .modal-header {
        padding: 16px 20px;
    }

    .apply-join-modal .modal-body {
        padding: 16px;
    }

    .checkbox-group {
        flex-direction: column;
    }
}
