/**
 * CESO证书管理系统 - 前台公开样式
 * 设计兼容WordPress主题自动继承主题样式
 */

/* ==================== 变量定义 ==================== */
:root {
    --ceso-primary: #2271b1;
    --ceso-primary-dark: #135e96;
    --ceso-success: #00a32a;
    --ceso-warning: #f0c33c;
    --ceso-danger: #d63638;
    --ceso-info: #72aee6;
    --ceso-text: #1d2327;
    --ceso-text-light: #646970;
    --ceso-border: #c3c4c7;
    --ceso-bg: #f6f7f7;
    --ceso-white: #ffffff;
    --ceso-radius: 8px;
    --ceso-shadow: 0 1px 3px rgba(0,0,0,0.1);
    --ceso-shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
}

/* ==================== 通用容器 ==================== */

.ceso-score-query-wrapper,
.ceso-verify-wrapper {
    max-width: 680px;
    margin: 2rem auto;
    font-family: inherit;
    line-height: 1.6;
}

/* ==================== 章节标题 ==================== */

.ceso-section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--ceso-text);
    text-align: center;
    margin: 0 0 0.5rem;
    font-family: inherit;
}

.ceso-section-desc {
    text-align: center;
    color: var(--ceso-text-light);
    margin: 0 0 2rem;
    font-size: 0.95rem;
}

/* ==================== 查询表单 ==================== */

.ceso-query-section,
.ceso-result-section,
.ceso-cert-section,
.ceso-verify-section,
.ceso-verify-result-section {
    background: var(--ceso-white);
    padding: 2.5rem;
    border-radius: var(--ceso-radius);
    box-shadow: var(--ceso-shadow);
}

.ceso-query-form {
    max-width: 400px;
    margin: 0 auto;
}

.ceso-form-row {
    margin-bottom: 1.25rem;
}

.ceso-form-row label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--ceso-text);
    font-size: 0.95rem;
}

.ceso-form-row input[type="text"],
.ceso-form-row input[type="email"],
.ceso-form-row input[type="tel"],
.ceso-form-row select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--ceso-border);
    border-radius: var(--ceso-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ceso-form-row select {
    background-color: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.ceso-form-row select:focus {
    outline: none;
    border-color: var(--ceso-primary);
    box-shadow: 0 0 0 3px rgba(34,113,177,0.15);
}

.ceso-field-hint {
    margin: 0.375rem 0 0;
    font-size: 0.8rem;
    color: #666;
    font-weight: normal;
}

.ceso-form-row input:focus {
    outline: none;
    border-color: var(--ceso-primary);
    box-shadow: 0 0 0 3px rgba(34,113,177,0.15);
}

/* 输入框错误状态 */
.ceso-form-row input.ceso-input-error {
    border-color: var(--ceso-danger) !important;
    box-shadow: 0 0 0 3px rgba(214,54,56,0.15);
    animation: ceso-shake 0.3s ease-in-out;
}

@keyframes ceso-shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.ceso-form-row-submit {
    margin-top: 1.5rem;
}

.ceso-help-text {
    text-align: center;
    color: var(--ceso-text-light);
    font-size: 0.85rem;
    margin-top: 1.5rem;
}

/* ==================== 按钮样式 ==================== */

.ceso-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: var(--ceso-radius);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    line-height: 1;
}

.ceso-btn-primary {
    background: var(--ceso-primary);
    color: var(--ceso-white);
    width: 100%;
}

.ceso-btn-primary:hover {
    background: var(--ceso-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--ceso-shadow-lg);
}

.ceso-btn-primary:active {
    transform: translateY(0);
}

.ceso-btn-secondary {
    background: var(--ceso-bg);
    color: var(--ceso-text);
    border: 1px solid var(--ceso-border);
}

.ceso-btn-secondary:hover {
    background: var(--ceso-white);
    border-color: var(--ceso-primary);
}

.ceso-btn-outline {
    background: transparent;
    color: var(--ceso-primary);
    border: 2px solid var(--ceso-primary);
}

.ceso-btn-outline:hover {
    background: var(--ceso-primary);
    color: var(--ceso-white);
}

.ceso-btn-accent {
    background: linear-gradient(135deg, #f0c33c, #d69e2e);
    color: #3c2415;
    width: 100%;
}

.ceso-btn-accent:hover {
    background: linear-gradient(135deg, #d69e2e, #b7791f);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(240, 195, 60, 0.4);
}

.ceso-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.ceso-btn .dashicons {
    font-size: 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
}

/* 成绩卡片操作按钮 */
.ceso-score-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.ceso-score-actions .ceso-btn {
    flex: 1;
    min-width: 120px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ==================== 消息提示 ==================== */

.ceso-msg {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--ceso-radius);
    font-size: 0.95rem;
    text-align: center;
}

.ceso-msg-hide {
    display: none;
}

.ceso-msg-success,
.ceso-msg-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ceso-msg-error,
.ceso-msg-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.ceso-msg-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ==================== 查询结果 ==================== */

.ceso-score-card {
    background: var(--ceso-bg);
    border-radius: var(--ceso-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.ceso-score-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ceso-text);
    margin: 0 0 1.5rem;
    text-align: center;
    font-family: inherit;
}

.ceso-score-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ceso-score-item {
    display: flex;
    flex-direction: column;
}

.ceso-label {
    font-size: 0.75rem;
    color: var(--ceso-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.ceso-value {
    font-size: 1rem;
    color: var(--ceso-text);
    font-weight: 500;
}

/* 奖项高亮 */
.ceso-award-highlight {
    text-align: center;
    padding: 1.25rem;
    border-radius: var(--ceso-radius);
    margin-bottom: 1.5rem;
}

.ceso-award-一等奖 {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #5c4000;
}

.ceso-award-二等奖 {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    color: #333;
}

.ceso-award-三等奖 {
    background: linear-gradient(135deg, #cd7f32, #e5a76c);
    color: #fff;
}

.ceso-award-优秀奖 {
    background: linear-gradient(135deg, #87ceeb, #b0e0e6);
    color: #004466;
}

.ceso-award-label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.ceso-award-value {
    font-size: 1.75rem;
    font-weight: 700;
    display: block;
}

.ceso-score-cert-action {
    text-align: center;
}

/* ==================== 证书预览 ==================== */

.ceso-cert-container {
    background: var(--ceso-bg);
    padding: 1.5rem;
    border-radius: var(--ceso-radius);
    text-align: center;
    overflow: visible;
    width: 100%;
    box-sizing: border-box;
}

.ceso-cert-wrapper {
    position: relative;
    display: inline-block;
    width: auto;
    max-width: 100%;
}

.ceso-cert-a4-landscape {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 900px;
    background: var(--ceso-white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin: 0 auto;
    vertical-align: top;
}

.ceso-cert-bg {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    user-select: none;
}

/* 文本层 - 使用与背景图同比例缩放 */
.ceso-cert-text-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* 证书预览区域主容器 - 让它占据更大的空间 */
.ceso-cert-preview-section,
.ceso-cert-section {
    background: var(--ceso-white);
    border-radius: var(--ceso-radius);
    padding: 1.5rem;
    box-shadow: var(--ceso-shadow);
    margin: 1.5rem 0;
    width: 100%;
    box-sizing: border-box;
}

.ceso-cert-preview-wrapper {
    width: 100%;
    text-align: center;
    overflow: visible;
}

.ceso-cert-text {
    position: absolute;
    font-weight: bold;
    white-space: nowrap;
    color: #333;
}

.ceso-cert-name {
    color: #c5a00c;
}

.ceso-cert-award {
    color: #d32f2f;
}

.ceso-cert-teacher {
    color: #666;
    font-weight: normal;
}

.ceso-cert-no {
    color: #999;
    font-size: 10px;
}

.ceso-cert-qr {
    position: absolute;
    right: 40px;
    bottom: 30px;
}

.ceso-cert-qr img {
    width: 70px;
    height: 70px;
    border: 4px solid white;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.ceso-cert-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.ceso-cert-actions .ceso-btn {
    min-width: 180px;
}

.ceso-result-actions {
    text-align: center;
    margin-top: 1.5rem;
}

/* ==================== 证书验证 ==================== */

.ceso-verify-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--ceso-radius);
}

.ceso-verify-success {
    background: #d4edda;
    color: #155724;
}

.ceso-verify-fail {
    background: #f8d7da;
    color: #721c24;
}

.ceso-verify-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--ceso-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.ceso-verify-success .ceso-verify-icon {
    color: var(--ceso-success);
}

.ceso-verify-fail .ceso-verify-icon {
    color: var(--ceso-danger);
}

.ceso-verify-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem;
    font-family: inherit;
}

.ceso-verify-desc {
    margin: 0;
    opacity: 0.8;
}

.ceso-verify-info {
    background: var(--ceso-white);
    border-radius: var(--ceso-radius);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.ceso-verify-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.ceso-verify-item:last-child {
    border-bottom: none;
}

.ceso-value-award {
    font-weight: 700;
    color: #d69e2e;
}

/* ==================== 隐藏类 ==================== */

.ceso-section-hide {
    display: none;
}

/* ==================== 打印样式 ==================== */

@media print {
    .ceso-btn,
    .ceso-form-row-submit,
    .ceso-result-actions,
    .ceso-cert-actions,
    .ceso-help-text {
        display: none !important;
    }

    .ceso-query-wrapper,
    .ceso-verify-wrapper {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    .ceso-query-section,
    .ceso-result-section,
    .ceso-cert-section,
    .ceso-verify-section {
        box-shadow: none;
        padding: 0;
    }

    .ceso-cert-container {
        background: none;
        padding: 0;
    }
}

/* ==================== 响应式 ==================== */

@media (max-width: 600px) {
    .ceso-score-query-wrapper,
    .ceso-verify-wrapper {
        margin: 1rem auto;
        padding: 0 0.5rem;
    }

    .ceso-query-section,
    .ceso-result-section,
    .ceso-cert-section,
    .ceso-verify-section,
    .ceso-verify-result-section {
        padding: 1.5rem;
    }

    .ceso-section-title {
        font-size: 1.5rem;
    }

    .ceso-score-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ceso-award-value {
        font-size: 1.5rem;
    }

    .ceso-cert-actions {
        flex-direction: column;
    }

    .ceso-cert-actions .ceso-btn {
        width: 100%;
    }
}

/* ==================== 加载动画 ==================== */

@keyframes ceso-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ceso-spin {
    animation: ceso-spin 1s linear infinite;
}

@keyframes ceso-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.ceso-pulse {
    animation: ceso-pulse 1.5s ease-in-out infinite;
}

/* ==================== 后台管理链接 ==================== */

.ceso-admin-link {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ceso-border);
}

.ceso-admin-link a {
    color: var(--ceso-text-light);
    font-size: 0.85rem;
}

/* ==================== 错误提示 ==================== */

.ceso-error {
    padding: 1.5rem;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: var(--ceso-radius);
    color: #856404;
    text-align: center;
}

/* ==================== 直接下载 ==================== */

.ceso-direct-download {
    background: var(--ceso-white);
    padding: 2rem;
    border-radius: var(--ceso-radius);
    box-shadow: var(--ceso-shadow);
    max-width: 400px;
    margin: 1.5rem auto;
    text-align: center;
}

.ceso-direct-download h3 {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-family: inherit;
}

.ceso-direct-download p {
    margin: 0.5rem 0;
    color: var(--ceso-text-light);
}

/* ==================== 证书列表样式 ==================== */

.ceso-student-group-header {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ceso-dark);
    padding: 0.5rem 0 0.25rem 0;
    border-bottom: 2px solid var(--ceso-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0;
}

.ceso-student-group-name {
    color: var(--ceso-dark);
}

.ceso-student-group-school {
    color: #666;
    font-weight: 400;
    font-size: 0.95rem;
}

.ceso-cert-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.ceso-cert-item {
    background: var(--ceso-white);
    border-radius: var(--ceso-radius);
    padding: 1.5rem;
    box-shadow: var(--ceso-shadow);
    border-left: 4px solid var(--ceso-primary);
    transition: box-shadow 0.2s, transform 0.2s;
}

.ceso-cert-item:hover {
    box-shadow: var(--ceso-shadow-lg);
    transform: translateY(-2px);
}

.ceso-cert-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--ceso-border);
}

.ceso-cert-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ceso-cert-badge-student {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1565c0;
}

.ceso-cert-badge-teacher {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: #e65100;
}

.ceso-cert-type {
    font-size: 0.85rem;
    color: var(--ceso-text-light);
    font-weight: 500;
}

.ceso-cert-body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1.5rem;
    margin-bottom: 1rem;
}

.ceso-cert-row {
    display: flex;
    font-size: 0.9rem;
    line-height: 1.4;
}

.ceso-cert-row .ceso-label {
    color: var(--ceso-text-light);
    flex-shrink: 0;
    min-width: 70px;
}

.ceso-cert-row .ceso-value {
    color: var(--ceso-text);
    font-weight: 500;
    word-break: break-all;
}

.ceso-cert-no-row {
    grid-column: 1 / -1;
}

.ceso-value-cert-no {
    font-family: 'Courier New', monospace;
    color: var(--ceso-primary) !important;
    font-weight: 700 !important;
    font-size: 1rem;
    background: #e8f4fc;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.ceso-cert-actions {
    display: flex;
    justify-content: center;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--ceso-border);
}

.ceso-cert-actions .ceso-btn {
    width: auto;
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
}

.ceso-cert-actions-disabled {
    justify-content: center;
}

.ceso-no-cert {
    color: var(--ceso-text-light);
    font-size: 0.85rem;
    font-style: italic;
}

/* 用户信息 */
.ceso-user-name {
    font-weight: 700;
    color: var(--ceso-primary);
}

.ceso-user-count {
    font-weight: 700;
    color: #d69e2e;
}

/* 验证结果样式 */
.ceso-verify-item-certno {
    background: #f8f9fa;
    margin: 0.5rem -1.5rem -1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 0 0 var(--ceso-radius) var(--ceso-radius);
}

.ceso-value-certno {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ceso-primary);
    letter-spacing: 1px;
}

.ceso-value-idcard {
    font-family: monospace;
}

.ceso-value-student-id {
    font-family: monospace;
}

/* 自动验证提示 */
.ceso-auto-hint {
    text-align: center;
    color: var(--ceso-info);
    margin-top: 1rem;
}

/* 空状态 */
.ceso-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--ceso-text-light);
    font-size: 1rem;
}

/* ==================== 证书预览区域（查询页面） ==================== */

.ceso-cert-preview-section {
    display: none;
    margin-top: 1.5rem;
}

.ceso-cert-preview-section:not(.ceso-section-hide) {
    display: block;
}

.ceso-cert-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--ceso-border);
}

.ceso-cert-preview-title {
    margin: 0;
    font-size: 1.1rem;
    color: var(--ceso-text);
}

.ceso-cert-preview-wrapper {
    background: var(--ceso-bg);
    border-radius: 8px;
    padding: 1rem;
    overflow-x: auto;
}

.ceso-cert-preview-actions {
    margin-top: 1rem;
    text-align: center;
}

.ceso-cert-preview-actions .ceso-btn {
    min-width: 200px;
}

/* 按钮尺寸调整 */
.ceso-btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
}

/* ==================== 证书正文独立层（显示在背景图下方） ==================== */

.ceso-cert-body-content {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #fafafa;
    border: 1px solid var(--ceso-border);
    border-radius: var(--ceso-radius);
    text-align: center;
}

.ceso-cert-body-text {
    color: #333;
    line-height: 1.8;
}

.ceso-cert-body-line {
    display: block;
    margin: 0.3em 0;
}

/* ==================== 嵌入字体（证书预览用） ==================== */

/* 华文行楷 STXingkai（连笔效果，姓名/奖项/证书编号用）*/
@font-face {
    font-family: 'STXingkai';
    src: url('../fonts/stxingkai.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'STXingkai';
    src: url('../fonts/stxingkai.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'stxingkai';
    src: url('../fonts/stxingkai.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'stxingkai';
    src: url('../fonts/stxingkai.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: '华文行楷';
    src: url('../fonts/stxingkai.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: '华文行楷';
    src: url('../fonts/stxingkai.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* 楷体_GB2312（正文/"同学："/"证书编号："用）*/
@font-face {
    font-family: '楷体_GB2312';
    src: url('../fonts/simkai.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: '楷体';
    src: url('../fonts/simkai.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'simkai';
    src: url('../fonts/simkai.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'KaiTi';
    src: url('../fonts/simkai.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* 华文楷体 STKaiti */
@font-face {
    font-family: 'STKaiti';
    src: url('../fonts/simsun.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'stkaiti';
    src: url('../fonts/simsun.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* 仿宋_GB2312 */
@font-face {
    font-family: '仿宋_GB2312';
    src: url('../fonts/simfang.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'simfang';
    src: url('../fonts/simfang.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* 宋体 SimSun */
@font-face {
    font-family: '宋体';
    src: url('../fonts/simsun.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'SimSun';
    src: url('../fonts/simsun.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'simsun';
    src: url('../fonts/simsun.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* 华文隶书 STLITI */
@font-face {
    font-family: '华文隶书';
    src: url('../fonts/STLITI.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'STLITI';
    src: url('../fonts/STLITI.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'stliti';
    src: url('../fonts/STLITI.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* 教师证书奖项等级标签 */
.ceso-cert-badge-level-1 {
    background: linear-gradient(135deg, #fff8e1, #ffe082);
    color: #f57f17;
    border: 1px solid #f9a825;
}
.ceso-cert-badge-level-2 {
    background: linear-gradient(135deg, #e8eaf6, #c5cae9);
    color: #283593;
    border: 1px solid #3949ab;
}
.ceso-cert-badge-level-3 {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #2e7d32;
    border: 1px solid #43a047;
}
