﻿
.content {
    position: relative;
}
    .content::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 28%;
        height: 48%; /* 占容器高度的45% */
        max-height: 48%;
        background: url(images/building-bg.png) right top no-repeat;
        background-size: contain; /* 保持图片比例 */
        background-position: right top;
        pointer-events: none; /* 让点击事件穿透 */
        z-index: 1;
    }
    .content > * {
        position: relative;
        z-index: 2;
    }
.intel-content {
    width: calc(78%);
    height: auto;
    margin: 20px 20px 0px 40px;
    flex-direction: row; /* 明确指定横向排列 */
}
.details-content {
    width: 100%;
}
.intel-div {
    position: relative; /* 创建定位上下文 */
    width: 28%;
    max-width: 420px;
    height: 240px;
    display: inline-flex;
    flex-direction: column; /* 改为垂直排列 */
    margin-top: 40px;
    margin-left: 40px;
    background: rgba(199,233,255,0.2);
    box-shadow: inset 0px 0px 17px 0px #FFFFFF;
    border-radius: 29px;
    border: 1px solid #D1ECFF;
    overflow: visible; /* 允许内容超出 */
}
    .intel-div:first-child {
        margin-left: 0px;
    }
    .intel-active {
        background: rgba(132,169,255,0.2);
        border: 1px solid #7230ff;
    }
.intel-booking {
    position: absolute; /* 绝对定位 */
    width: 256px;
    height: 256px;
    right: 0; /* 右侧对齐 */
    top: 0; /* 顶部对齐 */
    background: url(images/document.png) center/contain no-repeat;
    transform: translate(40px, -90px); /* 向右上方偏移，可能超出容器 */
}
.intel-parse {
    position: absolute; /* 绝对定位 */
    width: 256px;
    height: 256px;
    right: 0; /* 右侧对齐 */
    top: 0; /* 顶部对齐 */
    background: url(images/parse.png) center/contain no-repeat;
    transform: translate(40px, -90px); /* 向右上方偏移，可能超出容器 */
}
.intel-invitation {
    position: absolute; /* 绝对定位 */
    width: 256px;
    height: 256px;
    right: 0; /* 右侧对齐 */
    top: 0; /* 顶部对齐 */
    background: url(images/invitation.png) center/contain no-repeat;
    transform: translate(40px, -90px); /* 向右上方偏移，可能超出容器 */
}
.intel-circle {
    position: absolute;
    width: 36px;
    height: 36px;
    right: 20px;
    bottom: 36px;
    background: url(images/circle-up.png) center/contain no-repeat;
}
.intel-active .intel-circle {
    background: url(images/circle-down.png) center/contain no-repeat;
}
.intel-title {
    position: absolute;
    top: 80px;
    left: 24px;
    font-size: 30px;
    font-weight: bold;
    color: #101764;
    margin: 0; /* 清除默认边距 */
}
.intel-desc {
    position: absolute;
    top: 130px; /* 80px + 20px + 20px(字体大致高度) */
    left: 24px;
    right: 68px;
    font-size: 18px;
    font-weight: normal;
    color: #000000;
    margin: 0; /* 清除默认边距 */
}
.intel-details {
    width: calc(100% - 80px);
    height: auto;
    margin: 20px 40px 0px 40px;
}
.details-labels {
    height: 54px;
    background: rgba(199,233,255,0.2);
    box-shadow: inset 0px 0px 17px 0px #FFFFFF;
    border-radius: 29px 29px 29px 29px;
    border: 1px solid #D1ECFF;
    padding: 2px 6px;
    display: inline-flex;
    width: auto;
    flex-direction: row; /* 明确指定横向排列 */
    flex-wrap: nowrap; /* 禁止换行 */
    white-space: nowrap; /* 防止内部文本换行 */
    align-items: center;
}
.details-label {
    height: 42px;
    font-size: 18px;
    padding: 2px 40px;
    color: #666666;
    background-color: transparent;
    display: inline-flex; /* 使用内联flex布局 */
    flex-shrink: 0; /* 禁止收缩 */
    align-items: center;
    cursor: pointer;
}
    .details-label:hover {
        color: #005EFF;
    }
.details-active {
    color: #FFFFFF !important;
    background: linear-gradient( 180deg, #0043FF 0%, #005EFF 100%);
    border-radius: 200px 200px 200px 200px;
}

.details-products {
    margin-top: 20px;
    width: 100%;
    height: auto;
    /*max-height: 360px;*/
    background-color: transparent;
    flex-direction: row; /* 明确指定横向排列 */
    flex-wrap: wrap; /* 允许换行 */
    display: flex; /* 使用flex布局 */
    gap: 20px; /* 统一设置间距 */
    overflow-y: auto; /* 添加横向滚动以防内容过多 */
    scrollbar-width: none; /* 隐藏滚动条 */
    -ms-overflow-style: none;
}
    .details-products::-webkit-scrollbar {
        display: none; /* 隐藏Webkit滚动条 */
    }
.details-product {
    flex: 0 1 calc((100% - 40px) / 3);
    min-width: 320px;
    max-width: 480px;
    /*width: 480px;*/
    height: 160px;
    background-color: rgba(255,255,255,0.8);
    box-shadow: inset 0px 0px 17px 0px #FFFFFF;
    border-radius: 20px;
    display: inline-flex; /* 使用内联flex布局 */
    flex-shrink: 0; /* 禁止收缩 */
    backdrop-filter: blur(2px);
    cursor: pointer;
}
.details-product-normal {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: url(images/product-normal.png) right top no-repeat;
    position: relative; /* 创建定位上下文 */
}
.details-product-free {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: url(images/product-free.png) right top no-repeat;
    position: relative; /* 创建定位上下文 */
}
.details-product .product-price {
    position: absolute;
    font-size: 16px;
    font-weight: bold;
    color: #FFFFFF;
    right: 0; /* 右侧对齐 */
    top: 0; /* 顶部对齐 */
    width: 100px;
    height: 30px;
    display: flex; /* 使用flex布局实现居中 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
}
.details-product-free .product-price {
    width: 80px;
}
.details-product .product-1ico {
    position: absolute;
    color: #FFFFFF;
    width: 36px;
    height: 36px;
    left: 56px; /* 右侧对齐 */
    top: 30px; /* 顶部对齐 */
    background: url(images/product-1.png) center/contain no-repeat;
}
.details-product .product-2ico {
    position: absolute;
    color: #FFFFFF;
    width: 36px;
    height: 36px;
    left: 56px; /* 右侧对齐 */
    top: 30px; /* 顶部对齐 */
    background: url(images/product-2.png) center/contain no-repeat;
}
.details-product .product-3ico {
    position: absolute;
    color: #FFFFFF;
    width: 36px;
    height: 36px;
    left: 56px; /* 右侧对齐 */
    top: 30px; /* 顶部对齐 */
    background: url(images/product-3.png) center/contain no-repeat;
}
.details-product .product-4ico {
    position: absolute;
    color: #FFFFFF;
    width: 36px;
    height: 36px;
    left: 56px; /* 右侧对齐 */
    top: 30px; /* 顶部对齐 */
    background: url(images/product-4.png) center/contain no-repeat;
}
.details-product .product-5ico {
    position: absolute;
    color: #FFFFFF;
    width: 36px;
    height: 36px;
    left: 56px; /* 右侧对齐 */
    top: 30px; /* 顶部对齐 */
    background: url(images/product-5.png) center/contain no-repeat;
}
.details-product .product-checkbox {
    position: absolute;
    left: 30px; /* 右侧对齐 */
    top: 32px; /* 顶部对齐 */
    width: 22px; /* 自定义大小 */
    height: 22px; /* 自定义大小 */
    border-radius: 50%; /* 圆形 */
    appearance: none; /* 移除默认样式 */
    -webkit-appearance: none; /* Safari兼容 */
    border: 2px solid #ccc; /* 边框 */
    background: white;
    cursor: pointer;
}
.product-checkbox:checked {
    background: #0043FF; /* 选中时的背景色 */
    border-color: #0043FF; /* 选中时的边框色 */
}
    .product-checkbox:checked::after {
        content: "✓"; /* 选中时的对勾 */
        color: white;
        font-size: 14px;
        font-weight: bold;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
.details-product .product-title {
    position: absolute;
    color: #000000;
    font-size: 18px;
    font-weight: 800;
    line-height: 36px;
    left: 98px; /* 右侧对齐 */
    top: 25px; /* 顶部对齐 */
}
    .details-product .product-desc {
        position: absolute;
        color: #000000;
        font-size: 14px;
        font-weight: 400;
        line-height: 24px;
        left: 56px; /* 右侧对齐 */
        top: 70px; /* 顶部对齐 */
        margin-right:40px;
    }
.content {
    position: relative; /* 创建定位上下文 */
}
    .content .details-btn {
        width: calc(100% - 20px); /* 减去左右 padding */
        margin-top: 10px;
        display: flex;
        justify-content: center; /* 水平居中 */
        position: sticky; /* 改为 sticky 定位 */
        bottom: 0px; /* 距离底部0px */
        left: 10px; /* 对齐左侧 padding */
        z-index: 2; /* 确保按钮在上层 */
        padding: 10px 0; /* 添加内边距 */
        border-radius: 8px; /* 可选：圆角 */
    }

.details-btn .parse-btn {
    width: 290px;
    height: 58px;
    background: linear-gradient( 180deg, #0043FF 0%, #005EFF 100%);
    font-size: 16px;
    border-radius: 200px;
    display: flex; /* 使用flex布局 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    color: #FFFFFF; /* 添加文字颜色 */
    cursor: pointer;
}

.docparse-close {
    width: 16px;
    height: 16px;
    position: absolute;
    right: 32px;
    top: 34px;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}
.document-div {
    margin-bottom: 20px;
    padding: 0;
    flex-direction: row; /* 明确指定横向排列 */
    display: flex; /* 添加flex布局 */
    flex-direction: row;
    align-items: center; /* 垂直居中 */
    gap: 20px; /* 元素间距 */
}
.document-cust {
    width: 100%;
    min-width: 500px;
    max-width: 700px;
    height: auto;
    /*margin-top: 20px;
    margin-bottom: 20px;*/
    padding: 20px 50px;
    flex-direction: column; /* 明确指定竖向排列 */
    flex-direction: row;
    align-items: center; /* 垂直居中 */
    gap: 20px; /* 元素间距 */
}

.document-cust-box {
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    width: 100%;
    padding: 10px 20px;
}

.document-cust-row {
    display: flex; /* 使用flex布局 */
    justify-content: space-between; /* 左右分布 */
}

.document-cust-title {
    width: 25%;
    text-align: right;
    padding: 6px 20px 6px 4px;
    font-weight: bold;
    font-size: 16px;
    line-height: 2;
    color: #333;
    background-color: transparent;
    display: table-cell;
    vertical-align: middle;
    align-items: center; /* 垂直居中 */
}

.document-cust-value {
    width: 75%;
    text-align: left;
    font-size: 16px;
    line-height: 2;
    color: #0043FF;
    padding: 6px 4px 6px 20px;
    font-weight: bold;
    background-color: transparent;
    display: table-cell;
    vertical-align: middle;
    align-items: center; /* 垂直居中 */
    position: relative; /* 为伪元素定位做准备 */
}

/* 自定义表单元素样式 */
    .document-cust-value select,
    .document-cust-value input[type="text"] {
        padding: 2px 10px;
        border-radius: 4px;
        border: 1px solid #ddd;
        font-size: 16px;
        line-height: 2;
        font-weight: bold;
        background-color: white;
        box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
    }

.document-cust-value select:focus,
.document-cust-value input:focus {
    border-color: #005EFF; /* 选中时边框变蓝 */
    outline: none; /* 移除默认轮廓 */
    box-shadow: 0 0 5px rgba(0, 94, 255, 0.3); /* 可选：添加发光效果 */
}
    .document-cust-value select {
        width: 100%;
        height: 100%;
        padding: 8px 12px;
        border: 1px solid #ddd;
        background-color: white;
        border-radius: 4px;
        text-align: left;
        position: absolute;
        left: 0px;
    }
    .document-cust-value .documenttip {
        color: #333;
    }
.document-tip {
    width: 100%;
    height: 24px;
    display: flex; /* 使用flex布局 */
    flex-direction: row; /* 明确指定横向排列 */
    justify-content: center; /* 左右分布 */
    align-items: center; /* 垂直居中 */
}
.document-btn {
    width: 100%;
    height: 58px;
    display: flex; /* 使用flex布局 */
    flex-direction: row; /* 明确指定横向排列 */
    justify-content: center; /* 左右分布 */
    align-items: center; /* 垂直居中 */
    padding: 0px 50px;
    margin: 20px auto;
    margin-top:10px;
}
    .document-btn .subadd-btn {
        width: 220px;
        height: 58px;
        background: linear-gradient( 180deg, #0043FF 0%, #005EFF 100%);
        font-size: 20px;
        border-radius: 200px;
        display: flex; /* 使用flex布局 */
        justify-content: center; /* 水平居中 */
        align-items: center; /* 垂直居中 */
        color: #FFFFFF; /* 添加文字颜色 */
        margin: 0px 20px;
        cursor: pointer;
    }
    .document-btn .subnext-btn {
        border: none;
        width: 220px;
        height: 58px;
        background: linear-gradient( 180deg, #0043FF 0%, #005EFF 100%);
        color: #FFFFFF; /* 添加文字颜色 */
        font-size: 20px;
        border-radius: 200px;
        display: flex; /* 使用flex布局 */
        justify-content: center; /* 水平居中 */
        align-items: center; /* 垂直居中 */
        margin: 0px 20px;
        cursor: pointer;
    }
        .document-btn .subnext-btn:disabled {
            background: #FFFFFF;
            color: #959595; /* disabled时文字颜色置灰 */
            border: 1px solid #959595;
        }

/* select2 相关样式*/
/* 重置select2-search宽度，避免换行 */
.select2-search--dropdown .select2-search__field {
    width: 95%;
}
.document-cust-value .select2-container .selection .select2-selection {
    height: 34px;
}
    .document-cust-value .select2-container .selection .select2-selection .select2-selection__rendered {
        line-height: 34px;
    }


/* 可选：添加一些视觉反馈 */
.product-checkbox:disabled + .product-1ico + .product-title,
.product-checkbox:disabled + .product-1ico + .product-title + .product-desc {
    opacity: 0.5;
    cursor: not-allowed;
}

.product-checkbox:disabled {
    cursor: not-allowed;
}

.details-product {
    transition: opacity 0.3s ease;
}