/* ===== 证书查询系统 - 公共样式 ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #f0f4f8 0%, #e6ecf3 100%);
    color: #2c3e50;
    min-height: 100vh;
    line-height: 1.6;
}
a { color: #1a5fb4; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== 顶部导航 ===== */
.site-header {
    background: #ac2e33;
    color: #fff;
    padding: 16px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.site-header .inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-header .logo { display: flex; align-items: center; gap: 12px; }
.site-header .logo img { height: 36px; }
.site-header .logo span { font-size: 18px; font-weight: 500; letter-spacing: 1px; }
.site-header .nav a {
    color: #fff;
    margin-left: 24px;
    font-size: 14px;
    opacity: .9;
}
.site-header .nav a:hover { opacity: 1; text-decoration: underline; }

/* ===== 通用容器 ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 32px 20px; }

/* ===== 按钮 ===== */
.btn {
    display: inline-block;
    padding: 10px 24px;
    background: #ac2e33;
    color: #fff;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    transition: all .2s;
    text-decoration: none;
}
.btn:hover { background: #ac2e33; color: #fff; text-decoration: none; }
.btn-lg { padding: 14px 36px; font-size: 16px; }
.btn-ghost { background: transparent; color: #ac2e33; border: 1px solid #ac2e33; }
.btn-ghost:hover { background: #ac2e33; color: #fff; }

/* ===== 输入框 ===== */
.input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ac2e33;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color .2s;
    background: #fff;
}
.input:focus {
    outline: none;
    border-color: #ac2e33;
    box-shadow: 0 0 0 3px rgba(26,95,180,.12);
}

/* ===== 页脚 ===== */
.site-footer {
    text-align: center;
    padding: 24px 20px;
    color: #6c7a89;
    font-size: 13px;
    border-top: 1px solid #e1e8ed;
    background: #fff;
    margin-top: 40px;
}

/* ===== 提示信息 ===== */
.notice {
    padding: 12px 20px;
    border-radius: 4px;
    margin: 16px 0;
    font-size: 14px;
}
.notice-error { background: #fee; color: #c33; border-left: 3px solid #d33; }
.notice-ok { background: #e8f5e9; color: #2a7a3f; border-left: 3px solid #1f9d55; }
.notice-info { background: #e3f2fd; color: #1a5fb4; border-left: 3px solid #1a5fb4; }
