/* ============================================
   查询容器
   ============================================ */
.chc-trainee-query {
    max-width: 1200px;
    margin: 15px auto 30px;
    padding: 0;
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 标题区 */
.chc-trainee-query .chc-header { margin-bottom: 20px; }

.chc-trainee-query .chc-title {
    margin: 0 0 12px;
    padding: 0;
    font-size: 22px;
    font-weight: 700;
    color: #005c53;
    letter-spacing: 0.5px;
    border: none;
}

/* 提示文字 */
    .chc-trainee-query .chc-hint {
        align-items: center;
        margin: 0;
        padding: 12px 0px;
        background: #f0faf7;
        border-left: 4px solid #02A676;
        border-radius: 6px;
        font-size: 14px;
        color: #4a5a6a;
      }
      .chc-trainee-query .chc-hint strong {
        color: #005c53;
        margin:0 3px;
      }
      .chc-trainee-query .chc-hint-icon {
        
        background: #02A676;
        color: #fff;
        height: 18px;
        width:18px;
        padding:2px 6px;
        border-radius: 50%;
        font-size: 12px;
        font-weight: 700;
        font-style: italic;
        font-family: Georgia, serif;
        
      }

/* 错误提示 */
.chc-trainee-query .chc-error {
    margin: 0 0 16px;
    padding: 12px 16px;
    background: #fdecea;
    border-left: 4px solid #d93025;
    border-radius: 6px;
    color: #b32d2e;
    font-size: 14px;
}

/* ============================================
   表单卡片
   ============================================ */
.chc-trainee-query .chc-form {
    padding: 28px 32px;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
}

.chc-trainee-query .chc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.chc-trainee-query .chc-field { margin-bottom: 0; min-width: 0; }

.chc-trainee-query .chc-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: #005c53;
}

.chc-trainee-query .chc-field input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    box-sizing: border-box;
    border: 1px solid #d8ece7;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background: #fcfefe;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.chc-trainee-query .chc-field input[type="text"]::placeholder { color: #a8b8b4; }
.chc-trainee-query .chc-field input[type="text"]:focus {
    outline: none;
    border-color: #02A676;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(2, 166, 118, 0.15);
}

.chc-trainee-query .chc-actions { margin-top: 22px; text-align: right; }

.chc-trainee-query .chc-actions button {
    padding: 11px 40px;
    background: #02A676;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(2, 166, 118, 0.25);
}
.chc-trainee-query .chc-actions button:hover {
    background: #018a62;
    box-shadow: 0 4px 12px rgba(2, 166, 118, 0.35);
}
.chc-trainee-query .chc-actions button:active {
    transform: translateY(1px);
    box-shadow: 0 1px 4px rgba(2, 166, 118, 0.25);
}

/* ============================================
   结果面板（表单上方，丝滑滑出）
   只动画 opacity + transform，走 GPU 合成
   ============================================ */
.chc-trainee-query .chc-result-panel {
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #d8ece7;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(2, 166, 118, 0.08);
    overflow: hidden;               /* 让圆角裁剪内部 */
    will-change: opacity, transform;
}

/* 展开动画 */
.chc-trainee-query .chc-result-panel.is-open {
    animation: chc-fade-slide 0.36s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes chc-fade-slide {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 结果头部 */
.chc-trainee-query .chc-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #f7fbfa;
    border-bottom: 1px solid #d8ece7;
}

.chc-trainee-query .chc-result-title {
    font-size: 15px;
    font-weight: 700;
    color: #005c53;
    display: flex;
    align-items: center;
    gap: 8px;
}
.chc-trainee-query .chc-result-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 16px;
    background: #02A676;
    border-radius: 2px;
}

.chc-trainee-query .chc-result-count {
    font-size: 13px;
    color: #4a5a6a;
    background: #fff;
    border: 1px solid #d8ece7;
    border-radius: 20px;
    padding: 3px 12px;
}
.chc-trainee-query .chc-result-count strong {
    color: #02A676;
    font-size: 15px;
    margin: 0 2px;
}

/* ============================================
   空结果
   ============================================ */
.chc-trainee-query .chc-empty {
    margin: 20px;
    padding: 40px 16px;
    background: #f7fbfa;
    border: 1px dashed #cfe8e0;
    border-radius: 10px;
    text-align: center;
    color: #999;
}
.chc-trainee-query .chc-empty-icon {
    font-size: 36px;
    color: #c5d8d2;
    margin-bottom: 8px;
    line-height: 1;
}
.chc-trainee-query .chc-empty p {
    margin: 0;
    font-size: 15px;
    color: #6a7a80;
}
.chc-trainee-query .chc-empty-tip {
    margin-top: 6px !important;
    font-size: 13px !important;
    color: #9aa8a4 !important;
}

/* ============================================
   结果表格（单层边框，无嵌套）
   ============================================ */
.chc-trainee-query .chc-table-wrap {
    /* 仅负责横向滚动，不再画边框/阴影 */
    overflow-x: auto;
}

.chc-trainee-query .chc-table {
    width: 100%;
    border-collapse: separate;   /* 用 box-shadow 画线，需 separate */
    border-spacing: 0;
    font-size: 14px;
    background: #fff;
}

.chc-trainee-query .chc-table th,
.chc-trainee-query .chc-table td {
    padding: 13px 18px;
    text-align: left;
    white-space: nowrap;
    vertical-align: middle;
}

/* 表头 */
.chc-trainee-query .chc-table thead th {
    background: #f0faf7;
    color: #005c53;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.3px;
    border-bottom: 1px solid #d8ece7;
}

/* 行分隔线用 box-shadow 画，不占布局、不与圆角打架 */
.chc-trainee-query .chc-table tbody td {
    box-shadow: inset 0 -1px 0 #eef1f4;
}

.chc-trainee-query .chc-table tbody tr:last-child td {
    box-shadow: none;
}

/* 斑马纹 + 悬浮 */
.chc-trainee-query .chc-table tbody tr:nth-child(even) { background: #fafcfb; }
.chc-trainee-query .chc-table tbody tr:hover { background: #eef8f5; }

/* 姓名加粗 */
.chc-trainee-query .chc-table .chc-strong {
    font-weight: 600;
    color: #1a2b28;
}

/* 级别徽章 */
.chc-trainee-query .chc-badge {
    display: inline-block;
    padding: 2px 10px;
    background: #e3f6ef;
    color: #018a62;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.6;
}

/* 证书编号等宽小标签 */
.chc-trainee-query .chc-table .chc-code {
    font-family: "SF Mono", Consolas, Monaco, monospace;
    font-size: 13px;
    color: #005c53;
    background: #f0faf7;
    border-radius: 4px;
    padding: 2px 8px;
    display: inline-block;
    letter-spacing: 0.3px;
}

.chc-trainee-query .chc-date-range {
    color: #4a5a6a;
    font-size: 13.5px;
}

.chc-trainee-query .chc-muted { color: #b8c4c0; }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 768px) {
    .chc-trainee-query .chc-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .chc-trainee-query .chc-form { padding: 22px 20px; }
    .chc-trainee-query .chc-title { font-size: 19px; }
}

@media (max-width: 600px) {
    .chc-trainee-query .chc-actions { text-align: center; }
    .chc-trainee-query .chc-actions button {
        width: 100%;
        padding: 12px 0;
    }
    .chc-trainee-query .chc-table th,
    .chc-trainee-query .chc-table td {
        padding: 10px 14px;
        font-size: 13px;
    }
}

.subsubsub{line-height:45px;}


