/* ============================================================
   安全服务页（漏洞修复 security.html / SSL 证书 ssl.html）专属样式
   基础组件复用全局：layout.css / components.css / pages.css /
   system-dev.css（geo-compare、promise-bar、mode-tag、selfcheck-verdict 等）
   本文件只放安全服务页独有的区块样式
   ============================================================ */

/* ---------- 漏洞修复：服务清单表 ---------- */
.sec-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: #ffffff;
}
.sec-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}
.sec-table thead th {
    padding: 14px 18px;
    font-size: 14.5px;
    font-weight: 700;
    text-align: left;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    white-space: nowrap;
}
.sec-table tbody td {
    padding: 12px 18px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
}
.sec-table tbody tr:last-child td { border-bottom: none; }
.sec-table tbody tr:not(.group-row):hover td { background: var(--primary-lighter); }
.sec-table .group-row td {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
    background: var(--primary-lighter);
    border-bottom: 2px solid var(--gray-200);
}
.sec-table .group-row + tr td {
    border-top: 1px solid var(--gray-100);
}
.sec-table .hl-row td {
    background: #fffbeb;
    color: var(--gray-900);
    font-weight: 600;
    border-top: 2px solid #fde68a;
}
.sec-table-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--gray-500);
    text-align: center;
}

/* ---------- 漏洞修复：处置时间轴 ---------- */
.sec-timeline {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    padding-left: 130px;
}
.sec-timeline::before {
    content: "";
    position: absolute;
    left: 118px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--gray-200);
}
.tl-item {
    position: relative;
    margin-bottom: 22px;
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 20px 24px;
    transition: box-shadow 0.25s ease;
}
.tl-item:hover {
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.1);
}
.tl-item::before {
    content: "";
    position: absolute;
    left: -17px;
    top: 26px;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--primary);
}
.tl-time {
    position: absolute;
    left: -130px;
    top: 18px;
    width: 100px;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-dark);
    background: var(--primary-light);
    border-radius: 8px;
    padding: 7px 0;
}
.tl-body h4 {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}
.tl-body p {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--gray-600);
}
.tl-body em {
    font-style: normal;
    color: var(--primary-dark);
}

/* ---------- 漏洞修复：真实案例 ---------- */
.case-card {
    max-width: 860px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(14, 165, 233, 0.08);
}
.case-head {
    padding: 18px 28px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.case-tag {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}
.case-body {
    padding: 24px 28px 6px;
}
.case-body p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--gray-700);
    margin-bottom: 14px;
}
.case-body strong { color: var(--gray-900); }
.case-deliver {
    margin: 8px 28px 24px;
    padding: 14px 18px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--primary-lighter);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
    .sec-timeline { padding-left: 0; padding-top: 8px; }
    .sec-timeline::before { left: 10px; top: 14px; bottom: 14px; }
    .tl-item { padding: 16px 18px 16px 34px; margin-left: 24px; }
    .tl-item::before { left: -20px; top: 22px; }
    .tl-time {
        position: static;
        display: inline-block;
        width: auto;
        padding: 4px 12px;
        margin-bottom: 10px;
        font-size: 13.5px;
    }
    .case-body, .case-deliver { margin-left: 18px; margin-right: 18px; padding-left: 0; padding-right: 0; }
}
