.cert-query-panel {
    background: #fff;
    border-radius: 8px;
    padding: 40px 30px;
    max-width: 1100px;
    margin: 0 auto;
}
.cert-query-header {
    text-align: center;
    margin-bottom: 30px;
}
.cert-query-header h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 8px;
}
.cert-query-header p {
    font-size: 14px;
    color: #999;
}
.cert-search-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.cert-search-tip {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-bottom: 30px;
}
.cert-input-label {
    font-size: 14px;
    color: #1c4ab2;
    font-weight: bold;
    white-space: nowrap;
}
.cert-search-form input {
    width: 260px;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #1c4ab2;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    outline: none;
    box-sizing: border-box;
}
.cert-search-form input:focus {
    border-color: #1c4ab2;
    box-shadow: 0 0 0 2px rgba(28, 74, 178, 0.15);
}
.cert-search-form input::placeholder {
    color: #bbb;
}
.cert-search-form .cert-search-btn {
    width: 120px;
    height: 44px;
    background: #1c4ab2;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    letter-spacing: 2px;
}
.cert-search-form .cert-search-btn:hover {
    background: #153a8a;
}
.cert-result-title {
    font-size: 20px;
    color: #1c4ab2;
    text-align: center;
    margin-bottom: 24px;
    font-weight: bold;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.cert-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cert-item {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    background: #fafafa;
    gap: 20px;
    flex-wrap: wrap;
}
.cert-item:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}
.cert-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cert-item-info span {
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}
.cert-item-info .cert-label {
    color: #666;
    font-weight: bold;
}
.cert-item-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cert-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid;
    transition: all 0.2s;
}
.cert-btn-preview {
    color: #1c4ab2;
    border-color: #1c4ab2;
    background: #fff;
}
.cert-btn-preview svg {
    stroke: #1c4ab2;
}
.cert-btn-preview:hover {
    background: #1c4ab2;
    color: #fff !important;
}
.cert-btn-preview:hover svg {
    stroke: #fff;
}
.cert-btn-download {
    color: #fff !important;
    border-color: #1c4ab2;
    background: #1c4ab2;
}
.cert-btn-download svg {
    stroke: #fff;
}
.cert-btn-download:hover {
    background: #153a8a;
    border-color: #153a8a;
    color: #fff !important;
}
.cert-btn-download:hover svg {
    stroke: #fff;
}
.cert-btn-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
}
.cert-empty {
    text-align: center;
    padding: 60px 0;
    color: #999;
    font-size: 15px;
}
.cert-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
    color: #ddd;
}
/* 璇佷功棰勮寮瑰嚭灞� */
.cert-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.cert-modal-overlay.active {
    display: flex;
}
.cert-modal-content {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    max-width: 750px;
    width: 90%;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    position: relative;
}
.cert-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #eee;
}
.cert-modal-header h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
}
.cert-modal-close {
    width: 32px; height: 32px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    line-height: 32px;
    text-align: center;
    transition: all 0.2s;
}
.cert-modal-close:hover {
    background: #1c4ab2;
    color: #fff;
}
.cert-modal-body {
    padding: 20px;
    text-align: center;
    max-height: 70vh;
    overflow-y: auto;
}
.cert-modal-body img {
    max-width: 100%;
    border: 1px solid #eee;
    border-radius: 4px;
}
/* 绉诲姩绔€傞厤 */
@media (max-width: 768px) {
    .cert-search-form input {
        width: 100%;
    }
    .cert-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .cert-item-info {
        flex-direction: column;
        gap: 4px;
    }
    .cert-item-actions {
        width: 100%;
        justify-content: flex-start;
    }
}
