* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* 头部样式 */
header {
    background-color: white;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo {
    width: 90px;
    height: 30px;
}

.site-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.verification-text {
    font-size: 14px;
    color: #666;
    margin-left: 4px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-box {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.menu-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* 自定义图标样式 */
.fas {
    font-style: normal;
    font-weight: normal;
}

.fa-search::before {
    content: "";
    font-size: 14px;
    color: #666;
}

.fa-bars::before {
    content: "☰";
    font-size: 16px;
    color: #666;
}

/* 语言选择器样式 */
.language-selector {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background-color: white;
    margin-top: 1px;
    font-size: 14px;
    gap: 10px;
}

.report-type {
    color: #666;
    font-size: 14px;
}

.language-options {
    display: flex;
    gap: 10px;
}

.language-option {
    color: #666;
    cursor: pointer;
    font-size: 14px;
    padding: 3px 6px;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.language-option.active {
    color: #1976d2;
    background-color: #e3f2fd;
    font-weight: 500;
}

.download-icon {
    cursor: pointer;
    padding: 4px;
    font-size: 14px;
    margin-left: auto;
}
.download-icon {
    color: #999;
    cursor: pointer;
    padding: 4px;
    font-size: 14px;
    margin-left: auto;
}

.download-icon:hover {
    color: #666;
}

.fa-download::before {
    content: "⬇";
    font-size: 14px;
    font-weight: bold;
}

/* 证书标题 */
.certificate-title {
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: #000;
    padding: 20px;
    background-color: white;
    margin-top: 1px;
}

/* 照片容器 */
.photo-container {
    text-align: center;
    padding: 20px;
    background-color: white;
    margin-top: 1px;
}

.person-photo {
    width: 102px;
    height: 126px;
    border: 1px solid #ddd;
    object-fit: cover;
}

/* 信息表格 */
.info-table {
    background-color: white;
    margin-top: 1px;
    padding: 0 20px 20px;
}

.info-row {
    display: flex;
    padding: 8px 0;
    font-size: 14px;
    white-space: nowrap;
}

.info-label {
    width: 140px;
    color: #888;
    flex-shrink: 0;
    text-align: right;
    font-weight: 400;
}

.info-value {
    color: #333;
    font-weight: 600;
    flex: 1;
    padding-left: 20px;
}

/* 页脚样式 */
.footer {
    background-color: #2c2c2c;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-text {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.footer-copyright {
    font-size: 12px;
    color: #888;
}

/* 移动设备适配 */
@media (max-width: 768px) {
    header {
        padding: 10px 15px;
    }
    
    .site-title {
        font-size: 16px;
    }
    
    .verification-text {
        font-size: 12px;
    }
    
    .language-selector {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .certificate-title {
        font-size: 16px;
        padding: 15px;
    }
    
    .info-table {
        padding: 0 15px 15px;
    }
    
    .info-row {
        font-size: 13px;
    }
    
    .info-label {
        width: 100px;
    }
    
    .person-photo {
        width: 90px;
        height: 112px;
    }
}