/* ============================================
   证安存证书存证平台 - 全局样式
   版本: 1.0
   设计理念：官方、权威、可信、庄重
   配色系统：
     主色     #0A2463（深蓝）
     交互色   #1E429F
     烫金     #D4AF37（点缀色，不超过总面积5%）
     背景     #F5F7FA
     卡片背景 #FFFFFF
     边框     #E6E8EB
     正文     #1A1A1A
     次要文字 #666666
     成功     #009440
     错误     #CF1322
   ============================================ */

/* ===== 1. Reset & 基础 ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 15px;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #1A1A1A;
    background-color: #F5F7FA;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #0A2463;
    text-decoration: none;
    transition: color 0.15s;
}

a:hover {
    color: #1E429F;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ===== 2. 容器 ===== */
.container {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ===== 3. 排版系统 ===== */
h1 {
    font-size: 32px;
    font-weight: 600;
    color: #0A2463;
    line-height: 1.35;
    letter-spacing: 0.5px;
}

h2 {
    font-size: 24px;
    font-weight: 600;
    color: #0A2463;
    line-height: 1.4;
    letter-spacing: 0.3px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    color: #0A2463;
    line-height: 1.45;
}

h4 {
    font-size: 17px;
    font-weight: 600;
    color: #0A2463;
    line-height: 1.5;
}

p {
    margin-bottom: 1.5em;
    line-height: 1.8;
}

p:last-child {
    margin-bottom: 0;
}

/* ===== 4. 按钮系统 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 32px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.4;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    user-select: none;
}

.btn:hover {
    text-decoration: none;
}

/* 深蓝主按钮 */
.btn-primary {
    background-color: #0A2463;
    color: #ffffff;
    border-color: #0A2463;
}

.btn-primary:hover {
    background-color: #1E429F;
    border-color: #1E429F;
    color: #ffffff;
}

/* 白色描边按钮（用于深色背景） */
.btn-outline-light {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

/* 深蓝描边按钮 */
.btn-outline {
    background-color: transparent;
    color: #0A2463;
    border-color: #0A2463;
}

.btn-outline:hover {
    background-color: #0A2463;
    color: #ffffff;
}

/* 烫金按钮（仅用于重要转化按钮） */
.btn-gold {
    background-color: #D4AF37;
    color: #0A2463;
    font-weight: 600;
    border-color: #D4AF37;
}

.btn-gold:hover {
    background-color: #c5a232;
    border-color: #c5a232;
    color: #0A2463;
}

/* 微信登录按钮 */
.btn-wechat {
    background-color: #07C160;
    color: #ffffff;
    font-weight: 500;
    border-color: #07C160;
    min-height: 44px;
}

.btn-wechat:hover {
    background-color: #06ad56;
    border-color: #06ad56;
    color: #ffffff;
}

.btn-lg {
    padding: 14px 40px;
    font-size: 16px;
    min-height: 50px;
}

.btn-block {
    width: 100%;
    display: flex;
}

/* ===== 5. 表单控件 ===== */
.form-group {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 6px;
}

.form-control {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 15px;
    color: #1A1A1A;
    background-color: #ffffff;
    border: 1px solid #D0D5DD;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-control:focus {
    border-color: #0A2463;
    box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.08);
}

.form-control::placeholder {
    color: #999999;
}

.form-control.error {
    border-color: #CF1322;
}

.form-hint {
    font-size: 13px;
    color: #666666;
    margin-top: 4px;
}

/* ===== 6. 卡片系统 ===== */
.card {
    background-color: #ffffff;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    padding: 32px;
}

/* ===== 7. 提示消息 ===== */
.alert {
    padding: 14px 18px;
    font-size: 14px;
    border: 1px solid;
    border-radius: 4px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.alert-error {
    background-color: #FFF5F5;
    border-color: #FFCCCC;
    color: #CF1322;
}

.alert-success {
    background-color: #F0FFF5;
    border-color: #B8EBC8;
    color: #009440;
}

.alert-info {
    background-color: #F0F5FF;
    border-color: #D0D8F0;
    color: #0A2463;
}

.alert-warning {
    background-color: #FFFDF0;
    border-color: #F0E6B8;
    color: #8A6D00;
}

/* ===== 8. 分区标题（公用） ===== */
.section-head {
    text-align: center;
    margin-bottom: 48px;
}

.section-head h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.section-head h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #D4AF37;
}

.section-head p {
    color: #666666;
    font-size: 15px;
    margin-top: 10px;
    margin-bottom: 0;
}

/* ===== 9. 导航栏 ===== */
.topbar {
    background-color: #0A2463;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo 区 */
.topbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
}

.topbar-brand:hover {
    color: #ffffff;
    text-decoration: none;
}

.brand-seal {
    width: 30px;
    height: 30px;
    border: 2px solid #D4AF37;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #D4AF37;
    font-weight: 700;
    flex-shrink: 0;
}

/* 主导航 - 桌面端 */
.topbar-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.topbar-nav a {
    color: #ffffff;
    font-size: 15px;
    position: relative;
    padding: 4px 0;
    transition: color 0.15s;
}

.topbar-nav a::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #D4AF37;
    transform: scaleX(0);
    transition: transform 0.15s;
}

.topbar-nav a:hover {
    color: #D4AF37;
    text-decoration: none;
}

.topbar-nav a:hover::before {
    transform: scaleX(1);
}

.topbar-nav a.active {
    color: #D4AF37;
}

.topbar-nav a.active::before {
    transform: scaleX(1);
}

/* 右侧用户区 */
.topbar-side {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.topbar-side a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    padding: 6px 16px;
    border-radius: 4px;
    transition: background-color 0.15s;
    min-height: 36px;
    display: flex;
    align-items: center;
}

.topbar-side a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-decoration: none;
}

.topbar-side .btn-login {
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.topbar-side .btn-register {
    background-color: #D4AF37;
    color: #0A2463;
    font-weight: 600;
}

.topbar-side .btn-register:hover {
    background-color: #c5a232;
    color: #0A2463;
}

/* 退出按钮 */
.topbar-side .btn-logout {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    transition: background-color 0.15s, color 0.15s;
    min-height: 34px;
    display: flex;
    align-items: center;
}

.topbar-side .btn-logout:hover {
    background-color: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

/* 汉堡按钮 - 移动端 */
.topbar-toggle {
    display: none;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    padding: 12px 10px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.topbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
}

.topbar-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.topbar-toggle.open span:nth-child(2) {
    opacity: 0;
}

.topbar-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* 页面预留导航高度 */
.page-body {
    padding-top: 60px;
    min-height: 100vh;
}

/* ===== 10. Hero 横幅 ===== */
.hero {
    background-color: #0A2463;
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.hero .hero-desc {
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.8;
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 36px;
}

.hero .hero-acts {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== 11. 数据统计栏 ===== */
.statbar {
    background-color: #ffffff;
    border-bottom: 1px solid #E6E8EB;
    padding: 20px 0;
}

.statbar-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.statbar-item {
    text-align: center;
    padding: 10px 16px;
    border-right: 1px solid #E6E8EB;
}

.statbar-item:last-child {
    border-right: none;
}

.statbar-num {
    font-size: 28px;
    font-weight: 700;
    color: #0A2463;
    line-height: 1.3;
    margin-bottom: 2px;
}

.statbar-lbl {
    font-size: 13px;
    color: #666666;
}

/* ===== 12. 服务板块 ===== */
.section-block {
    padding: 80px 0;
}

.section-block.bg-white {
    background-color: #ffffff;
}

.section-block.bg-subtle {
    background-color: #FAFBFC;
}

/* 服务卡片网格 */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.svc-card {
    background-color: #ffffff;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    padding: 44px 28px 36px;
    text-align: center;
    transition: box-shadow 0.15s;
}

.svc-card:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.svc-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: #0A2463;
    border: 2px solid #0A2463;
    border-radius: 4px;
}

.svc-icon.accent {
    color: #D4AF37;
    border-color: #D4AF37;
}

.svc-card h3 {
    font-size: 18px;
    color: #0A2463;
    margin-bottom: 12px;
}

.svc-card p {
    font-size: 14px;
    color: #666666;
    line-height: 1.75;
    margin-bottom: 0;
}

/* ===== 13. 流程步骤 ===== */
.step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.step-item {
    text-align: center;
    padding: 0 28px;
    position: relative;
}

/* 步骤之间的连线 */
.step-item + .step-item::before {
    content: '';
    position: absolute;
    top: 28px;
    left: -2px;
    right: calc(100% - 28px);
    height: 1px;
    background-color: #D4AF37;
}

.step-num {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background-color: #0A2463;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.step-item h3 {
    font-size: 18px;
    color: #0A2463;
    margin-bottom: 10px;
}

.step-item p {
    font-size: 14px;
    color: #666666;
    line-height: 1.75;
    margin-bottom: 0;
}

/* ===== 14. 安全保障 ===== */
.sec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sec-item {
    text-align: center;
    padding: 36px 20px 28px;
    background-color: #ffffff;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.sec-badge {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    background-color: #E8EDF5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #0A2463;
    font-weight: 700;
}

.sec-item h4 {
    font-size: 16px;
    color: #0A2463;
    margin-bottom: 8px;
}

.sec-item p {
    font-size: 14px;
    color: #333333;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ===== 15. CTA引导区 ===== */
.cta-box {
    background-color: #F0F2F5;
    padding: 64px 20px;
    text-align: center;
}

.cta-box h2 {
    color: #0A2463;
    margin-bottom: 10px;
}

.cta-box p {
    color: #666666;
    font-size: 18px;
    margin-bottom: 28px;
    line-height: 1.6;
}

/* ===== 16. 页脚 ===== */
.footer {
    background-color: #0A2463;
    padding: 48px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-about h4 {
    color: #ffffff;
    font-size: 17px;
    margin-bottom: 10px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 0;
}

.footer-col h5 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-col ul li {
    margin-bottom: 4px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    transition: color 0.15s;
}

.footer-col ul li a:hover {
    color: #D4AF37;
    text-decoration: none;
}

.footer-divider {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

.footer-copy {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    line-height: 1.8;
}

.footer-copy a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}

.footer-copy a:hover {
    color: #D4AF37;
}

/* ===== 17. 认证页面样式 ===== */
.auth-wrap {
    padding: 60px 20px;
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background-color: #ffffff;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    padding: 32px 28px;
}

.auth-head {
    text-align: center;
    margin-bottom: 28px;
}

.auth-head h2 {
    font-size: 22px;
    margin-bottom: 4px;
}

.auth-head p {
    font-size: 14px;
    color: #666666;
    margin-bottom: 0;
}

.auth-foot {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666666;
}

.auth-foot a {
    color: #0A2463;
    font-weight: 500;
}

/* ===== 认证页 - 验证码布局 ===== */
.captcha-wrap {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.captcha-wrap .form-control {
    flex: 1;
}

.captcha-img {
    width: 110px;
    height: 44px;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    display: block;
}

/* ===== 认证页 - 协议勾选框 ===== */
.auth-agree {
    font-size: 13px;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    margin-bottom: 16px;
    line-height: 1.5;
}

.auth-agree input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
}

.auth-agree a {
    color: #1E429F;
    font-weight: 500;
}

.auth-agree a:hover {
    text-decoration: underline;
}

/* ===== 认证页 - 分隔线 ===== */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0 18px;
    font-size: 13px;
    color: #999999;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #E6E8EB;
}

/* ===== 认证页 - 其他登录方式 ===== */
.auth-other {
    text-align: center;
    margin-bottom: 16px;
}

.auth-other-box {
    width: 140px;
    height: 100px;
    margin: 0 auto;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F5F7FA;
    font-size: 12px;
    color: #999999;
    line-height: 1.6;
}

/* ===== 认证页 - 右侧链接 ===== */
.auth-link-right {
    text-align: right;
    font-size: 13px;
    margin-bottom: 16px;
}

.auth-link-right a {
    color: #888888;
}

.auth-link-right a:hover {
    color: #1E429F;
}


/* ===== 18. 双因子查验页 ===== */
.vfy-wrap {
    padding: 60px 20px;
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vfy-card {
    width: 100%;
    max-width: 500px;
    background-color: #ffffff;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    padding: 36px 32px;
}

.vfy-head {
    text-align: center;
    margin-bottom: 28px;
}

.vfy-head h2 {
    font-size: 22px;
    margin-bottom: 4px;
}

.vfy-head p {
    font-size: 14px;
    color: #666666;
    margin-bottom: 0;
}

/* ===== 19. 查验结果页 ===== */
.rslt-wrap {
    padding: 48px 20px;
    background-color: #F5F7FA;
    min-height: calc(100vh - 60px);
}

.rslt-container {
    max-width: 780px;
    margin: 0 auto;
}

.rslt-paper {
    background-color: #ffffff;
    border: 2px solid #0A2463;
    border-radius: 4px;
    padding: 40px 36px;
    position: relative;
}

.rslt-goldbar {
    height: 3px;
    background-color: #D4AF37;
    margin-bottom: 24px;
}

.rslt-title {
    text-align: center;
    margin-bottom: 28px;
}

.rslt-title h2 {
    font-size: 22px;
    letter-spacing: 2px;
}

.rslt-title p {
    font-size: 14px;
    color: #666666;
    margin-top: 6px;
    margin-bottom: 0;
}

.rslt-table {
    width: 100%;
    border-collapse: collapse;
}

.rslt-table tr {
    border-bottom: 1px solid #E6E8EB;
}

.rslt-table tr:last-child {
    border-bottom: none;
}

.rslt-table td {
    padding: 12px 10px;
    font-size: 14px;
    vertical-align: top;
}

.rslt-table td:first-child {
    width: 100px;
    color: #666666;
    font-weight: 500;
}

.rslt-seal {
    text-align: center;
    padding: 18px 0 8px;
    border-top: 2px dashed #D4AF37;
    margin-top: 18px;
}

.rslt-seal .seal-lbl {
    font-size: 13px;
    color: #666666;
    margin-bottom: 6px;
}

.rslt-seal .seal-code {
    font-size: 20px;
    color: #0A2463;
    font-weight: 700;
    letter-spacing: 4px;
    font-family: "Courier New", "Consolas", monospace;
}

/* 查验结果状态块 */
.rslt-status {
    text-align: center;
    padding: 24px;
    margin-bottom: 28px;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
}

.rslt-status.genuine {
    background-color: #F0FFF5;
    border-color: #B8EBC8;
}

.rslt-status.fake {
    background-color: #FFF5F5;
    border-color: #FFCCCC;
}

.rslt-status .status-icon {
    font-size: 36px;
    margin-bottom: 6px;
}

.rslt-status .status-label {
    font-size: 18px;
    font-weight: 600;
}

.rslt-status.genuine .status-label {
    color: #009440;
}

.rslt-status.fake .status-label {
    color: #CF1322;
}

/* ===== 20. 辅助工具类 ===== */
.txt-center {
    text-align: center;
}

.txt-muted {
    color: #666666;
}

.txt-primary {
    color: #0A2463;
}

.txt-success {
    color: #009440;
}

.txt-error {
    color: #CF1322;
}

.hidden {
    display: none !important;
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

/* ===== 21. 表格通用 ===== */
.tbl-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.tbl th {
    background-color: #F5F7FA;
    color: #0A2463;
    font-weight: 600;
    padding: 12px 14px;
    text-align: left;
    border-bottom: 2px solid #0A2463;
}

.tbl td {
    padding: 10px 14px;
    border-bottom: 1px solid #E6E8EB;
}

/* ===== 22. 徽章标签 ===== */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 3px;
    line-height: 1.5;
}

.tag-green {
    background-color: #F0FFF5;
    color: #009440;
    border: 1px solid #B8EBC8;
}

.tag-red {
    background-color: #FFF5F5;
    color: #CF1322;
    border: 1px solid #FFCCCC;
}

.tag-blue {
    background-color: #F0F5FF;
    color: #0A2463;
    border: 1px solid #D0D8F0;
}

/* ===== 23. 分割线 ===== */
hr {
    border: none;
    height: 1px;
    background-color: #E6E8EB;
    margin: 40px 0;
}

/* ===== 24. 平板适配 ===== */
@media (max-width: 992px) {
    .svc-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sec-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== 25. 移动端适配（≤768px） ===== */
@media (max-width: 768px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* 导航栏 */
    .topbar {
        height: 50px;
    }

    .topbar-brand {
        font-size: 17px;
    }

    .brand-seal {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }

    .topbar-nav {
        display: none;
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        background-color: #0A2463;
        flex-direction: column;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 4px 0;
    }

    .topbar-nav.open {
        display: flex;
    }

    .topbar-nav a {
        padding: 12px 20px;
        font-size: 15px;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .topbar-nav a::before {
        display: none;
    }

    .topbar-nav a.active {
        background-color: rgba(255, 255, 255, 0.05);
    }

    .topbar-nav a:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }

    .topbar-side {
        display: none;
    }

    .topbar-side.open {
        display: flex;
        padding: 8px 16px 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.04);
    }

    .topbar-side.open a {
        flex: 1;
        justify-content: center;
        text-align: center;
    }

    .topbar-toggle {
        display: flex;
    }

    .page-body {
        padding-top: 50px;
    }

    /* Hero */
    .hero {
        padding: 48px 16px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero .hero-desc {
        font-size: 16px;
        max-width: 100%;
        margin-bottom: 28px;
    }

    .hero .hero-acts {
        flex-direction: column;
        align-items: center;
    }

    .hero .hero-acts .btn {
        width: 100%;
        max-width: 260px;
    }

    /* 统计栏 */
    .statbar-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .statbar-item:nth-child(2) {
        border-right: none;
    }

    .statbar-item:nth-child(1),
    .statbar-item:nth-child(2) {
        border-bottom: 1px solid #E6E8EB;
        padding: 14px 8px;
    }

    .statbar-num {
        font-size: 22px;
    }

    .statbar-lbl {
        font-size: 12px;
    }

    /* 板块 */
    .section-block {
        padding: 48px 0;
    }

    .section-head {
        margin-bottom: 32px;
    }

    .section-head h2 {
        font-size: 22px;
    }

    /* 服务卡片 */
    .svc-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .svc-card {
        padding: 32px 24px 28px;
    }

    .svc-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    /* 流程步骤 */
    .step-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .step-item {
        padding: 0 16px;
    }

    .step-item + .step-item::before {
        display: none;
    }

    .step-num {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 16px;
    }

    /* 安全保障 */
    .sec-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sec-item {
        padding: 28px 20px 24px;
    }

    /* CTA */
    .cta-box {
        padding: 40px 16px;
    }

    .cta-box h2 {
        font-size: 20px;
    }

    .cta-box p {
        font-size: 16px;
    }

    .cta-box .btn {
        width: 100%;
        max-width: 260px;
    }

    /* 页脚 */
    .footer {
        padding: 36px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 24px;
    }

    .footer-copy {
        font-size: 11px;
    }

    /* 认证/查验卡片 */
    .auth-card,
    .vfy-card {
        padding: 28px 20px;
    }

    /* 查验结果 */
    .rslt-paper {
        padding: 24px 16px;
    }

    .rslt-title h2 {
        font-size: 18px;
    }

    .rslt-table td {
        font-size: 13px;
        padding: 10px 6px;
    }

    .rslt-table td:first-child {
        width: 80px;
    }

    .rslt-seal .seal-code {
        font-size: 17px;
    }

    /* 按钮全宽 */
    .btn-lg {
        padding: 14px 24px;
    }
}

/* ===== 26. 小屏手机（≤400px） ===== */
@media (max-width: 400px) {
    .hero h1 {
        font-size: 24px;
    }

    .statbar-num {
        font-size: 18px;
    }

    .section-head h2 {
        font-size: 20px;
    }

    .section-head h2::after {
        width: 30px;
    }
}

/* ===== 27. 打印样式 ===== */
@media print {
    .topbar,
    .topbar-toggle,
    .footer {
        display: none;
    }

    .page-body {
        padding-top: 0;
    }

    .rslt-paper {
        border: 2px solid #000;
    }
}

/* ===== 查验页 - 图标区 ===== */
.vfy-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    background-color: #E8EDF5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #0A2463;
    font-weight: 700;
}

.vfy-icon.invalid {
    background-color: #FFF5F5;
    color: #CF1322;
}

.vfy-icon.valid {
    background-color: #F0FFF5;
    color: #009440;
}

/* 查验提示条 */
.vfy-notice {
    background-color: #F0F5FF;
    border: 1px solid #D0D8F0;
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 13px;
    color: #0A2463;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* ===== 查验结果页 - 顶栏信息 ===== */
.rslt-bar {
    text-align: center;
    margin-bottom: 28px;
}

.rslt-bar h2 {
    font-size: 22px;
    color: #0A2463;
    margin-bottom: 6px;
}

.rslt-bar .rslt-meta {
    color: #666666;
    font-size: 13px;
}

.rslt-bar .rslt-meta .sep {
    margin: 0 8px;
    color: #D0D5DD;
}

/* ===== 证书纸张头部 ===== */
.rslt-paper-head {
    text-align: center;
    margin-bottom: 28px;
    position: relative;
}

.rslt-paper-head .gold-seal {
    width: 54px;
    height: 72px;
    border: 2px solid #D4AF37;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #D4AF37;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 auto 18px;
    padding: 4px;
    letter-spacing: 1px;
}

.rslt-paper-head h2 {
    font-size: 20px;
    letter-spacing: 4px;
    margin-bottom: 6px;
}

.rslt-paper-head .paper-num {
    font-size: 14px;
    color: #666666;
}

/* ===== 证书图片区域 ===== */
.cert-image-wrap {
    margin: 24px 0;
    text-align: center;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
    padding: 16px;
    background-color: #FAFBFC;
}

.cert-image-wrap img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.cert-image-wrap .image-locked {
    padding: 36px 16px 32px;
}

.cert-image-wrap .image-locked .lock-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background-color: #F0F5FF;
    border: 1px solid #D0D8F0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #0A2463;
    font-weight: 700;
}

.cert-image-wrap .image-locked p {
    margin-bottom: 0;
    line-height: 1.6;
}

/* ===== 证书底部脚注 ===== */
.rslt-paper-foot {
    text-align: center;
    font-size: 12px;
    color: #999999;
    line-height: 1.8;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #E6E8EB;
}

/* ===== 官方声明 ===== */
.rslt-declare {
    background-color: #FAFBFC;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
    padding: 20px 24px;
    margin-top: 28px;
    font-size: 13px;
    color: #666666;
    line-height: 1.8;
}

.rslt-declare strong {
    color: #333333;
}

/* ===== 结果页底部操作栏 ===== */
.rslt-actions {
    text-align: center;
    margin-top: 32px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== 结果状态横幅 ===== */
.rslt-banner {
    text-align: center;
    padding: 24px;
    margin-bottom: 28px;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
}

.rslt-banner.pass {
    background-color: #F0FFF5;
    border-color: #B8EBC8;
}

.rslt-banner.fail {
    background-color: #FFF5F5;
    border-color: #FFCCCC;
}

.rslt-banner .banner-icon {
    font-size: 32px;
    margin-bottom: 6px;
}

.rslt-banner .banner-text {
    font-size: 18px;
    font-weight: 600;
}

.rslt-banner.pass .banner-text {
    color: #009440;
}

.rslt-banner.fail .banner-text {
    color: #CF1322;
}

/* ============================================
   证安存证书存证平台 - 管理后台样式
   ============================================ */

/* ----- 表格 ----- */
.tbl-wrap { overflow-x: auto; margin-bottom: 20px; }
.tbl { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #E6E8EB; border-radius: 6px; overflow: hidden; }
.tbl th { background: #F5F7FA; color: #0A2463; font-weight: 600; padding: 12px 16px; text-align: left; font-size: 13px; border-bottom: 1px solid #E6E8EB; white-space: nowrap; }
.tbl td { padding: 12px 16px; border-bottom: 1px solid #F0F2F5; font-size: 14px; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: #FAFBFC; }

/* ----- 管理后台布局 ----- */
.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar { width: 220px; min-height: 100vh; background: #0A2463; color: #fff; position: fixed; left: 0; top: 0; overflow-y: auto; z-index: 100; }
.sidebar-brand { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sidebar-brand a { color: #fff; text-decoration: none; font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.sidebar-brand .brand-icon { width: 36px; height: 36px; border: 2px solid #D4AF37; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #D4AF37; font-weight: 700; flex-shrink: 0; }
.sidebar-nav { padding: 12px 0; }
.sidebar-nav .nav-section { padding: 8px 20px 4px; font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; }
.sidebar-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 20px; color: rgba(255,255,255,0.8); text-decoration: none; font-size: 14px; transition: all 0.2s; border-left: 3px solid transparent; }
.sidebar-nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.sidebar-nav a.active { background: rgba(255,255,255,0.12); color: #fff; border-left-color: #D4AF37; font-weight: 600; }
.sidebar-nav a .nav-icon { display: inline-block; width: 20px; text-align: center; font-size: 14px; }

.admin-main { margin-left: 220px; flex: 1; min-height: 100vh; }
.admin-topbar { background: #fff; padding: 0 32px; height: 60px; display: flex; align-items: center; justify-content: flex-end; border-bottom: 1px solid #E6E8EB; gap: 20px; }
.admin-topbar .admin-user { font-size: 14px; color: #666; }
.admin-topbar .admin-logout { font-size: 13px; color: #1E429F; text-decoration: none; }
.admin-topbar .admin-logout:hover { text-decoration: underline; }

.admin-content { padding: 24px 32px; }
.page-title { font-size: 22px; color: #0A2463; font-weight: 600; margin-bottom: 24px; }

/* ----- 统计卡片 ----- */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card { background: #fff; border: 1px solid #E6E8EB; border-radius: 6px; padding: 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.stat-card .stat-num { font-size: 28px; font-weight: 700; color: #0A2463; }
.stat-card .stat-lbl { font-size: 13px; color: #999; margin-top: 4px; }

/* ----- 筛选栏 ----- */
.filter-bar { background: #fff; border: 1px solid #E6E8EB; border-radius: 6px; padding: 16px 20px; margin-bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.filter-bar .filter-group { display: flex; align-items: center; gap: 8px; }
.filter-bar label { font-size: 13px; color: #666; white-space: nowrap; }
.filter-bar select,
.filter-bar input[type="text"],
.filter-bar input[type="date"] { height: 36px; padding: 0 12px; border: 1px solid #E6E8EB; border-radius: 4px; font-size: 13px; outline: none; min-width: 120px; background: #fff; }
.filter-bar select:focus,
.filter-bar input:focus { border-color: #1E429F; }
.filter-bar .btn { padding: 0 16px; height: 36px; font-size: 13px; line-height: 36px; border-radius: 4px; cursor: pointer; }

/* ----- 管理后台按钮（覆盖前台按钮样式以适应管理后台） ----- */
.admin-content .btn { display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; height: 36px; font-size: 13px; border-radius: 4px; cursor: pointer; border: none; text-decoration: none; gap: 4px; }
.admin-content .btn-primary { background: #1E429F; color: #fff; }
.admin-content .btn-primary:hover { background: #16357a; }
.admin-content .btn-outline { background: #fff; color: #1E429F; border: 1px solid #1E429F; }
.admin-content .btn-outline:hover { background: #F5F7FA; }
.admin-content .btn-danger { background: #CF1322; color: #fff; }
.admin-content .btn-danger:hover { background: #a8101a; }
.admin-content .btn-success { background: #009440; color: #fff; }
.admin-content .btn-success:hover { background: #007a34; }
.admin-content .btn-sm { height: 30px; padding: 0 12px; font-size: 12px; }

/* ----- 搜索框 ----- */
.search-box { display: flex; gap: 8px; }
.search-box input { height: 36px; padding: 0 12px; border: 1px solid #E6E8EB; border-radius: 4px; font-size: 13px; outline: none; min-width: 200px; }
.search-box input:focus { border-color: #1E429F; }

/* ----- 分页 ----- */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; }
.pagination a,
.pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid #E6E8EB; border-radius: 4px; font-size: 13px; color: #333; text-decoration: none; background: #fff; }
.pagination a:hover { border-color: #1E429F; color: #1E429F; }
.pagination .current { background: #1E429F; color: #fff; border-color: #1E429F; }

/* ----- 弹窗 ----- */
.modal-overlay { display: none; position: fixed; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 999; align-items: center; justify-content: center; }
.modal-overlay.active { display: flex; }
.modal-box { background: #fff; border-radius: 6px; width: 90%; max-width: 600px; max-height: 80vh; overflow-y: auto; box-shadow: 0 8px 32px rgba(0,0,0,0.15); padding: 32px; position: relative; }
.modal-box h3 { font-size: 18px; color: #0A2463; margin-bottom: 20px; font-weight: 600; }
.modal-box .modal-close { position: absolute; right: 20px; top: 20px; background: none; border: none; font-size: 22px; color: #999; cursor: pointer; }
.modal-box .modal-close:hover { color: #333; }
.modal-box .modal-actions { margin-top: 24px; display: flex; gap: 12px; justify-content: flex-end; }
.modal-box .detail-row { display: flex; padding: 8px 0; border-bottom: 1px solid #F0F2F5; font-size: 14px; }
.modal-box .detail-row .detail-lbl { width: 120px; color: #999; flex-shrink: 0; }
.modal-box .detail-row .detail-val { color: #333; flex: 1; }
.modal-box .form-group { margin-bottom: 16px; }
.modal-box .form-label { display: block; font-size: 13px; color: #666; margin-bottom: 4px; }
.modal-box .form-control { width: 100%; height: 40px; padding: 0 12px; border: 1px solid #E6E8EB; border-radius: 4px; font-size: 14px; outline: none; background: #fff; }
.modal-box .form-control:focus { border-color: #1E429F; }
.modal-box textarea.form-control { height: auto; min-height: 80px; padding: 10px 12px; resize: vertical; }

/* ----- 配置区块 ----- */
.config-section { background: #fff; border: 1px solid #E6E8EB; border-radius: 6px; padding: 24px; margin-bottom: 20px; }
.config-section h3 { font-size: 16px; color: #0A2463; font-weight: 600; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid #E6E8EB; }
.config-section .form-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.config-section .form-group { flex: 1; min-width: 200px; }
.config-section .form-label { display: block; font-size: 13px; color: #666; margin-bottom: 4px; }
.config-section .form-control { width: 100%; height: 40px; padding: 0 12px; border: 1px solid #E6E8EB; border-radius: 4px; font-size: 14px; outline: none; background: #fff; }
.config-section .form-control:focus { border-color: #1E429F; }
.config-section textarea.form-control { height: 100px; padding: 10px 12px; resize: vertical; }
.config-section .form-hint { font-size: 12px; color: #999; margin-top: 4px; }

/* ----- 表单操作区 ----- */
.form-actions { margin-top: 24px; text-align: center; }
.form-actions .btn { height: 44px; padding: 0 40px; font-size: 15px; }

/* ----- 管理后台响应式 ----- */
@media (max-width: 992px) {
    .admin-sidebar { width: 60px; }
    .sidebar-brand a span,
    .sidebar-nav a span,
    .sidebar-nav .nav-section { display: none; }
    .sidebar-nav a { justify-content: center; padding: 12px; border-left: none; }
    .sidebar-nav a.active { border-left: none; background: rgba(255,255,255,0.15); }
    .admin-main { margin-left: 60px; }
    .admin-content { padding: 16px; }
    .stat-cards { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
@media (max-width: 768px) {
    .admin-sidebar { width: 50px; }
    .admin-main { margin-left: 50px; }
    .admin-topbar { padding: 0 12px; }
    .admin-content { padding: 12px; }
    .filter-bar { flex-direction: column; align-items: stretch; }
    .filter-bar .filter-group { flex-wrap: wrap; }
    .stat-cards { grid-template-columns: repeat(2, 1fr); }
    .config-section .form-row { flex-direction: column; }
    .config-section .form-group { min-width: auto; }
}
@media (max-width: 400px) {
    .stat-cards { grid-template-columns: 1fr; }
}
/* ============================================
   版本切换栏
   ============================================ */
.v-switch-bar {
    max-width: 780px;
    margin: 0 auto 20px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.v-switch-label {
    font-size: 13px;
    color: #888;
    margin-right: 4px;
}

.v-switch-btn {
    padding: 6px 16px;
    font-size: 13px;
    color: #666;
    background-color: #ffffff;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
    min-height: 34px;
}

.v-switch-btn:hover {
    border-color: #0A2463;
    color: #0A2463;
}

.v-switch-btn.active {
    background-color: #0A2463;
    color: #ffffff;
    border-color: #0A2463;
}

/* ============================================
   版本A：学信网风格
   ============================================ */

/* 蓝色标题栏 */
.vxa-header {
    background-color: #0A2463;
    padding: 20px 28px;
    border-radius: 4px 4px 0 0;
    text-align: center;
}

.vxa-header h2 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 6px;
    letter-spacing: 2px;
}

.vxa-meta {
    color: rgba(255,255,255,0.75);
    font-size: 13px;
}

.vxa-meta .sep {
    margin: 0 10px;
    color: rgba(255,255,255,0.35);
}

/* 证书信息卡片 */
.vxa-card {
    background-color: #ffffff;
    border: 1px solid #d0d5dd;
    border-top: none;
    border-radius: 0 0 4px 4px;
}

.vxa-card-inner {
    padding: 36px 32px;
    position: relative;
}

/* 电子印章 */
.vxa-stamp {
    position: absolute;
    top: 28px;
    right: 32px;
    z-index: 1;
}

.vxa-stamp-circle {
    width: 80px;
    height: 80px;
    border: 2px solid #CF1322;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #CF1322;
    opacity: 0.75;
    transform: rotate(-8deg);
}

.vxa-stamp-star { font-size: 16px; line-height: 1; }
.vxa-stamp-title { font-size: 15px; font-weight: 700; line-height: 1.2; }
.vxa-stamp-sub { font-size: 9px; line-height: 1; letter-spacing: 1px; }

/* 学信网表格 */
.vxa-table {
    width: 100%;
    border-collapse: collapse;
}

.vxa-table tr {
    border-bottom: 1px solid #e8eaed;
}

.vxa-table tr:last-child {
    border-bottom: 2px solid #0A2463;
}

.vxa-label {
    width: 130px;
    padding: 14px 16px;
    background-color: #F5F7FA;
    color: #555555;
    font-size: 14px;
    font-weight: 500;
    vertical-align: top;
}

.vxa-value {
    padding: 14px 20px;
    color: #1A1A1A;
    font-size: 15px;
    line-height: 1.7;
}

/* 持证人照片 */
.vxa-photo {
    position: absolute;
    top: 120px;
    right: 40px;
    width: 90px;
    height: 120px;
    border: 1px solid #d0d5dd;
    background-color: #F5F7FA;
    overflow: hidden;
    z-index: 0;
}

.vxa-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 防伪验证条 */
.vxa-fakestrip {
    margin-top: 24px;
    background-color: #F0F5FF;
    border: 1px solid #D0D8F0;
    border-radius: 4px;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.vxa-fs-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vxa-fs-label {
    font-size: 13px;
    color: #666;
}

.vxa-fs-code {
    font-size: 18px;
    color: #0A2463;
    font-weight: 700;
    font-family: "Courier New", Consolas, monospace;
    letter-spacing: 3px;
}

.vxa-fs-right {
    font-size: 12px;
    color: #888;
    line-height: 1.6;
}

.vxa-fs-right strong {
    color: #0A2463;
}

/* ============================================
   版本B：纸质证书风格
   ============================================ */

/* 查验信息条 */
.vxb-meta-strip {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin-bottom: 28px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* 证书主容器 */
.vxb-paper {
    position: relative;
    margin-bottom: 24px;
}

/* 防伪底纹 */
.vxb-watermark {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.025;
    background-image:
        repeating-linear-gradient(45deg, #0A2463 0px, #0A2463 1px, transparent 1px, transparent 40px),
        repeating-linear-gradient(-45deg, #D4AF37 0px, #D4AF37 1px, transparent 1px, transparent 40px);
}

/* 外框 */
.vxb-border {
    position: relative;
    z-index: 1;
    background-color: #FFFEFA;
    border: 3px solid #D4AF37;
    padding: 28px;
}

/* 四角装饰 */
.vxb-corner {
    position: absolute;
    width: 28px;
    height: 28px;
    z-index: 2;
}

.vxb-corner::before, .vxb-corner::after {
    content: '';
    position: absolute;
    background-color: #D4AF37;
}

.vxb-corner::before { width: 100%; height: 2px; }
.vxb-corner::after  { width: 2px; height: 100%; }

.vxb-corner-tl { top: -1px; left: -1px; }
.vxb-corner-tl::before { top: 0; left: 0; }
.vxb-corner-tl::after  { top: 0; left: 0; }

.vxb-corner-tr { top: -1px; right: -1px; }
.vxb-corner-tr::before { top: 0; right: 0; }
.vxb-corner-tr::after  { top: 0; right: 0; }

.vxb-corner-bl { bottom: -1px; left: -1px; }
.vxb-corner-bl::before { bottom: 0; left: 0; }
.vxb-corner-bl::after  { bottom: 0; left: 0; }

.vxb-corner-br { bottom: -1px; right: -1px; }
.vxb-corner-br::before { bottom: 0; right: 0; }
.vxb-corner-br::after  { bottom: 0; right: 0; }

/* 内框 */
.vxb-inner {
    border: 1px solid #D4AF37;
    padding: 48px 40px 40px;
    position: relative;
    min-height: 500px;
}

/* 国徽标识 */
.vxb-emblem {
    text-align: center;
    margin-bottom: 20px;
}

.vxb-emblem-seal {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    border: 2px solid #CF1322;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #CF1322;
}

/* 主标题 */
.vxb-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #0A2463;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

/* 证书编号 */
.vxb-serial {
    text-align: center;
    font-size: 14px;
    color: #888;
    font-family: "Courier New", Consolas, monospace;
    margin-bottom: 32px;
}

/* 正文 */
.vxb-body {
    max-width: 480px;
    margin: 0 auto 36px;
}

.vxb-line {
    display: flex;
    align-items: baseline;
    margin-bottom: 14px;
    font-size: 16px;
    line-height: 1.6;
}

.vxb-field {
    flex-shrink: 0;
    width: 80px;
    text-align: justify;
    text-align-last: justify;
    color: #555;
    font-weight: 500;
}

.vxb-colon {
    flex-shrink: 0;
    width: 16px;
    text-align: center;
    color: #555;
}

.vxb-text {
    flex: 1;
    color: #1A1A1A;
    border-bottom: 1px solid #d0d5dd;
    padding-bottom: 2px;
    min-height: 24px;
}

.vxb-name { font-size: 18px; font-weight: 600; color: #0A2463; }
.vxb-level { font-weight: 600; color: #0A2463; }

/* 颁发机构 */
.vxb-issuer {
    text-align: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e8eaed;
}

.vxb-issuer-name { font-size: 16px; font-weight: 600; color: #0A2463; margin-bottom: 6px; }
.vxb-issuer-date { font-size: 13px; color: #888; }

/* 印章 */
.vxb-cert-stamp {
    position: absolute;
    bottom: 50px;
    left: 60px;
}

.vxb-cert-stamp-inner {
    width: 90px;
    height: 90px;
    border: 3px solid #CF1322;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #CF1322;
    transform: rotate(-10deg);
    opacity: 0.8;
}

.vxb-cs-top { font-size: 16px; font-weight: 700; line-height: 1.2; }
.vxb-cs-mid { font-size: 9px; line-height: 1.2; }
.vxb-cs-bot { font-size: 10px; font-weight: 600; line-height: 1.2; }

/* 照片 */
.vxb-photo {
    position: absolute;
    bottom: 50px;
    right: 60px;
    width: 80px;
    height: 100px;
    border: 1px solid #d0d5dd;
    background-color: #F5F7FA;
}

.vxb-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 底部防伪签 */
.vxb-fakestrip {
    background-color: #FFFEFA;
    border: 2px dashed #D4AF37;
    border-radius: 4px;
    padding: 14px 24px;
    text-align: center;
    font-size: 13px;
    color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.vxb-fakestrip code {
    font-size: 16px;
    font-weight: 700;
    color: #0A2463;
    letter-spacing: 3px;
    background-color: #F0F5FF;
    padding: 4px 12px;
    border-radius: 3px;
}

/* ============================================
   版本C：政务平台风格
   ============================================ */

/* 政务蓝标题栏 */
.vxc-header {
    background-color: #0A2463;
    padding: 20px 28px;
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.vxc-header-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4AF37;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.vxc-header h2 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 2px;
    letter-spacing: 1px;
    font-weight: 600;
}

.vxc-header-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    font-family: "Courier New", Consolas, monospace;
}

/* 水印 */
.vxc-watermark {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    gap: 60px;
    opacity: 0.018;
    font-size: 48px;
    font-weight: 700;
    color: #0A2463;
    transform: rotate(-20deg) scale(1.5);
    overflow: hidden;
}

.vxc-watermark span {
    white-space: nowrap;
    letter-spacing: 20px;
}

/* 信息网格 */
.vxc-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background-color: #FAFBFC;
    border: 1px solid #d0d5dd;
    border-top: none;
    border-radius: 0 0 6px 6px;
    padding: 24px;
    margin-bottom: 24px;
}

/* 政务卡片 */
.vxc-card {
    background-color: #ffffff;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
    overflow: hidden;
}

.vxc-card-head {
    background-color: #F0F2F5;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #0A2463;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #E6E8EB;
}

.vxc-card-icon {
    width: 26px;
    height: 26px;
    background-color: #0A2463;
    color: #ffffff;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.vxc-card-body {
    padding: 12px 16px;
}

/* 政务表格 */
.vxc-table {
    width: 100%;
    border-collapse: collapse;
}

.vxc-table tr {
    border-bottom: 1px dotted #e8eaed;
}

.vxc-table tr:last-child {
    border-bottom: none;
}

.vxc-label {
    width: 80px;
    padding: 10px 8px 10px 0;
    color: #888;
    font-size: 13px;
    vertical-align: top;
    white-space: nowrap;
}

.vxc-value {
    padding: 10px 0;
    font-size: 14px;
    color: #1A1A1A;
    word-break: break-all;
}

.vxc-name { font-size: 16px; font-weight: 600; color: #0A2463; }
.vxc-level { font-weight: 600; color: #D4AF37; }
.vxc-mono { font-family: "Courier New", Consolas, monospace; font-size: 13px; }

/* 防伪横条 */
.vxc-verify {
    background-color: #ffffff;
    border: 1px solid #D4AF37;
    border-radius: 4px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.vxc-verify-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vxc-verify-label {
    font-size: 13px;
    color: #888;
}

.vxc-verify-code {
    font-size: 18px;
    font-weight: 700;
    color: #0A2463;
    font-family: "Courier New", Consolas, monospace;
    letter-spacing: 3px;
}

.vxc-verify-val {
    font-size: 14px;
    color: #1A1A1A;
    font-family: "Courier New", Consolas, monospace;
}

.vxc-verify-div {
    width: 1px;
    height: 28px;
    background-color: #D4AF37;
}

/* 政务声明 */
.vxc-declare {
    background-color: #ffffff;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
    padding: 24px 28px;
    margin-bottom: 24px;
}

.vxc-declare-title {
    font-size: 16px;
    font-weight: 600;
    color: #0A2463;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #D4AF37;
}

.vxc-declare ol {
    padding-left: 20px;
    font-size: 13px;
    color: #666;
    line-height: 2;
}

.vxc-declare-sign {
    text-align: right;
    font-size: 13px;
    color: #888;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #E6E8EB;
    line-height: 1.6;
}

/* ============================================
   三版本移动端适配
   ============================================ */
@media (max-width: 768px) {

    /* 切换栏 */
    .v-switch-bar {
        padding: 8px 4px;
        gap: 6px;
    }
    .v-switch-btn {
        padding: 5px 10px;
        font-size: 12px;
        min-height: 32px;
    }

    /* 版本A */
    .vxa-card-inner { padding: 20px 16px; }
    .vxa-label { width: 80px; padding: 12px 10px; font-size: 13px; }
    .vxa-value { padding: 12px 12px; font-size: 14px; }
    .vxa-stamp { top: 16px; right: 12px; }
    .vxa-stamp-circle { width: 60px; height: 60px; }
    .vxa-stamp-title { font-size: 12px; }
    .vxa-stamp-sub { font-size: 7px; }
    .vxa-photo { position: relative; top: auto; right: auto; margin: 16px auto; }
    .vxa-fakestrip { flex-direction: column; text-align: center; padding: 14px 16px; }

    /* 版本B */
    .vxb-border { padding: 12px; }
    .vxb-inner { padding: 32px 16px 24px; min-height: auto; }
    .vxb-title { font-size: 20px; letter-spacing: 2px; }
    .vxb-line { font-size: 14px; }
    .vxb-field { width: 64px; }
    .vxb-name { font-size: 16px; }
    .vxb-cert-stamp { position: relative; bottom: auto; left: auto; margin: 24px auto 0; display: flex; justify-content: center; }
    .vxb-photo { position: relative; bottom: auto; right: auto; margin: 16px auto; }
    .vxb-fakestrip { font-size: 12px; gap: 8px; }
    .vxb-fakestrip code { font-size: 14px; }

    /* 版本C */
    .vxc-header { flex-direction: column; text-align: center; padding: 18px 16px; gap: 10px; }
    .vxc-header-meta { justify-content: center; font-size: 11px; gap: 10px; }
    .vxc-grid { grid-template-columns: 1fr; padding: 16px; }
    .vxc-label { width: 64px; font-size: 12px; }
    .vxc-value { font-size: 13px; }
    .vxc-verify { flex-direction: column; gap: 12px; padding: 14px 16px; }
    .vxc-verify-div { width: 100%; height: 1px; }
    .vxc-declare { padding: 16px; }
}
