/* ============================================================
   投资沧州·云向导 - 证照云管家子页面样式
   （页面横幅/面包屑/徽章/空提示/富文本等公共样式复用 guide.css）
   ============================================================ */

/* ---------------- 证照类型 ---------------- */
.license-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.license-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(30, 80, 180, .08);
    padding: 26px 16px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform .2s, box-shadow .2s;
}

.license-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(30, 80, 180, .16); }

.license-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #e9f1fe;
    color: #2f6fe8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.license-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
}

.license-code { font-size: 12px; color: #9aa3b5; }

.license-card .badge i { margin-right: 4px; font-size: 11px; }

/* ---------------- 个转企续航 ---------------- */
.transfer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.transfer-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(30, 80, 180, .08);
    padding: 22px 24px;
}

.transfer-head { display: flex; align-items: center; gap: 12px; }

.transfer-head .badge { margin-left: auto; }

.transfer-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #e9f1fe;
    color: #2f6fe8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.transfer-name { font-size: 15px; font-weight: 600; color: #333; }

.transfer-type { font-size: 13px; color: #8a93a6; margin-top: 3px; }

.transfer-body { margin-top: 14px; border-top: 1px solid #f0f2f7; padding-top: 14px; }

/* ---------------- 见面人详情分节 ---------------- */
.meet-section { margin-top: 24px; }

.meet-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 3px solid #2f6fe8;
    line-height: 1.4;
}

.meet-section h3 i { margin-right: 8px; color: #2f6fe8; font-size: 15px; }

.meet-warn h3 { border-left-color: #f59e0b; }

.meet-warn h3 i { color: #f59e0b; }

.meet-warn { background: #fffbeb; border: 1px solid #fde9b8; border-radius: 8px; padding: 16px 18px; }

.meet-tips h3 { border-left-color: #10b981; }

.meet-tips h3 i { color: #10b981; }

.meet-tips { background: #ecfdf5; border: 1px solid #c6f2de; border-radius: 8px; padding: 16px 18px; }

.meet-standard h3 { border-left-color: #8b5cf6; }

.meet-standard h3 i { color: #8b5cf6; }

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

@media (max-width: 560px) {
    .license-grid { grid-template-columns: 1fr; }
}

/* ---- chart cards (pure CSS bars) ---- */
.chart-card {
    background: #fff;
    border: 1px solid #eef2f8;
    border-radius: 12px;
    padding: 22px 24px;
    height: 100%;
    box-sizing: border-box;
}

.chart-title {
    font-size: 16px;
    font-weight: 600;
    color: #2a3550;
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-title i { color: #2f6fe8; }

/* stacked bar */
.stack-bar {
    display: flex;
    height: 18px;
    border-radius: 9px;
    overflow: hidden;
    background: #f0f3f9;
    margin-bottom: 18px;
}

.stack-bar .seg { display: block; height: 100%; }
.seg-green { background: #28a745; }
.seg-orange { background: #f0932b; }
.seg-red { background: #e5382e; }

/* legend rows */
.legend-rows { display: flex; flex-direction: column; gap: 10px; }

.legend-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #2a3550;
}

.legend-row b { font-size: 16px; margin-left: auto; }
.legend-row em { font-style: normal; font-size: 12px; color: #8893a7; width: 52px; text-align: right; }

.dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.dot-green { background: #28a745; }
.dot-orange { background: #f0932b; }
.dot-red { background: #e5382e; }

.legend-name { min-width: 60px; }

/* horizontal bar rows */
.bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 0;
}

.bar-name {
    flex-shrink: 0;
    width: 150px;
    font-size: 13px;
    color: #4a5568;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bar-track {
    flex: 1;
    height: 14px;
    border-radius: 7px;
    background: #f0f3f9;
    overflow: hidden;
}

.bar-fill {
    display: block;
    height: 100%;
    border-radius: 7px;
    background: linear-gradient(90deg, #2f6fe8, #5ba3f5);
    min-width: 2px;
}

.bar-fill.fill-blue { background: linear-gradient(90deg, #17a2b8, #4fc3d8); }

.bar-num {
    flex-shrink: 0;
    width: 36px;
    text-align: right;
    font-size: 14px;
    color: #2a3550;
}

/* two-column layout for industry bars on wide screens */
.bar-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
}

@media (max-width: 900px) {
    .bar-cols { grid-template-columns: 1fr; }
    .bar-name { width: 120px; }
}
