/* 资采通平台服务协议弹窗 */
.zct-agree-layer .layui-layer-title {
    height: 52px;
    line-height: 52px;
    padding: 0 48px 0 24px;
    background: linear-gradient(90deg, #0f3d7a 0%, #1a56a8 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
}
.zct-agree-layer .layui-layer-setwin {
    top: 16px;
    right: 16px;
}
.zct-agree-layer .layui-layer-setwin .layui-layer-close1 {
    background-position: -149px -31px;
    filter: brightness(10);
}
.zct-agree-layer .layui-layer-content {
    overflow: hidden !important;
    padding: 0 !important;
}
.zct-agree-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #f7f9fc;
}
.zct-agree-head {
    flex-shrink: 0;
    padding: 18px 28px 12px;
    background: #fff;
    border-bottom: 1px solid #e8eef6;
    text-align: center;
}
.zct-agree-head h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #0f2744;
    letter-spacing: 1px;
}
.zct-agree-head .meta {
    margin-top: 8px;
    font-size: 12px;
    color: #94a3b8;
}
.zct-agree-head .party {
    margin-top: 6px;
    font-size: 13px;
    color: #64748b;
}
.zct-agree-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 18px 28px 28px;
    background: #fff;
    margin: 0 16px 0;
    border: 1px solid #e8eef6;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.9;
    color: #334155;
}
.zct-agree-body h3 {
    margin: 20px 0 8px;
    font-size: 15px;
    font-weight: 800;
    color: #0f2744;
    padding-left: 10px;
    border-left: 3px solid #1a56a8;
}
.zct-agree-body h3:first-child { margin-top: 4px; }
.zct-agree-body p { margin: 0 0 8px; text-align: justify; }
.zct-agree-body .emph {
    color: #9a3412;
    background: #fff7ed;
    border: 1px solid #ffedd5;
    border-radius: 6px;
    padding: 10px 12px;
    margin: 12px 0;
    font-size: 13px;
    line-height: 1.7;
}
.zct-agree-foot {
    flex-shrink: 0;
    padding: 14px 20px 18px;
    background: #fff;
    border-top: 1px solid #e8eef6;
    text-align: center;
}
.zct-agree-hint {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 10px;
}
.zct-agree-hint.is-ready { color: #16a34a; }
.zct-agree-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 44px;
    padding: 0 28px;
    border: none;
    border-radius: 8px;
    background: #94a3b8;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: not-allowed;
    transition: background .2s, transform .15s;
}
.zct-agree-btn.is-enabled {
    background: #1a56a8;
    cursor: pointer;
}
.zct-agree-btn.is-enabled:hover {
    background: #154a91;
    transform: translateY(-1px);
}
@media (max-width: 720px) {
    .zct-agree-body { margin: 0 8px; padding: 14px 14px 20px; font-size: 13px; }
    .zct-agree-head { padding: 14px 14px 10px; }
    .zct-agree-btn { min-width: 180px; width: 90%; }
}
