* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", -apple-system, sans-serif; background: #f5f7fa; color: #333; -webkit-font-smoothing: antialiased; }
.page-container { min-height: 100vh; display: flex; flex-direction: column; }
.header-section { position: relative; background: linear-gradient(135deg, #2A7AE5 0%, #1a5fb4 60%, #0d47a1 100%); padding: 50px 20px 40px; text-align: center; overflow: hidden; }
.header-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.header-content { position: relative; z-index: 1; }
.header-logo { margin-bottom: 16px; }
.header-logo img { height: 60px; width: auto; }
.shield-icon { margin-bottom: 12px; }
.header-title { color: #fff; font-size: 26px; font-weight: 700; letter-spacing: 4px; margin-bottom: 8px; }
.header-subtitle { color: rgba(255,255,255,0.7); font-size: 14px; letter-spacing: 2px; }
.search-section { background: #fff; padding: 24px 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); position: relative; z-index: 2; margin: -20px 16px 0; border-radius: 12px; }
.search-box { max-width: 600px; margin: 0 auto; }
.search-input-wrapper { display: flex; align-items: center; background: #f5f7fa; border: 2px solid #e8e8e8; border-radius: 8px; padding: 4px; transition: border-color 0.3s; }
.search-input-wrapper:focus-within { border-color: #2A7AE5; box-shadow: 0 0 0 3px rgba(42,122,229,0.15); }
.search-icon { padding: 0 8px 0 12px; flex-shrink: 0; }
.search-input { flex: 1; height: 44px; border: none; background: none; font-size: 16px; outline: none; color: #333; }
.search-input::-webkit-input-placeholder { color: #bfbfbf; }
.search-btn { height: 40px; padding: 0 28px; background: linear-gradient(135deg, #2A7AE5, #1a5fb4); color: #fff; border: none; border-radius: 6px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s; flex-shrink: 0; letter-spacing: 2px; }
.search-btn:hover { box-shadow: 0 4px 12px rgba(42,122,229,0.4); }
.search-btn:active { transform: scale(0.98); }
.result-section { max-width: 700px; margin: 20px auto; padding: 0 16px; width: 100%; }
.result-list { background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); overflow: hidden; }
.result-item { display: flex; align-items: center; padding: 16px 20px; border-bottom: 1px solid #f0f0f0; cursor: pointer; transition: background 0.2s; }
.result-item:last-child { border-bottom: none; }
.result-item:hover { background: #f0f7ff; }
.result-item-icon { width: 40px; height: 40px; background: linear-gradient(135deg, #e6f0ff, #f0f7ff); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-right: 14px; }
.result-item-info { flex: 1; min-width: 0; }
.result-item-name { font-size: 16px; font-weight: 600; color: #333; margin-bottom: 4px; }
.result-item-detail { font-size: 13px; color: #888; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result-item-arrow { color: #c0c0c0; flex-shrink: 0; margin-left: 10px; }
.detail-section { max-width: 600px; margin: 20px auto; padding: 0 16px; width: 100%; }
.back-btn { background: none; border: none; color: #2A7AE5; font-size: 14px; cursor: pointer; padding: 8px 0; display: inline-flex; align-items: center; }
.back-btn:hover { text-decoration: underline; }
.cert-card { background: #fff; border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,0.1); overflow: hidden; margin-top: 12px; border: 2px solid #2A7AE5; position: relative; }
.cert-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #2A7AE5, #1a5fb4, #2A7AE5); }
.cert-card-header { background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%); padding: 28px 24px; text-align: center; border-bottom: 1px solid #d6e8ff; position: relative; }
.cert-seal { margin-bottom: 8px; }
.cert-main-title { font-size: 28px; font-weight: 700; color: #2A7AE5; letter-spacing: 8px; }
.cert-sub-title { font-size: 12px; color: #8cb8e8; letter-spacing: 3px; margin-top: 4px; }
.cert-card-body { padding: 24px; }
.cert-info-row { display: flex; padding: 12px 0; border-bottom: 1px dashed #f0f0f0; }
.cert-info-row:last-child { border-bottom: none; }
.cert-label { width: 80px; font-size: 14px; color: #888; flex-shrink: 0; }
.cert-value { flex: 1; font-size: 15px; color: #333; font-weight: 500; word-break: break-all; }
.cert-card-footer { background: #f8fbff; padding: 20px 24px; text-align: center; border-top: 1px solid #e6f0ff; }
.verify-badge { display: inline-flex; align-items: center; gap: 8px; background: #f6ffed; border: 1px solid #b7eb8f; border-radius: 20px; padding: 8px 20px; }
.verify-text { font-size: 15px; font-weight: 600; color: #52c41a; }
.verify-sub { font-size: 12px; color: #999; margin-top: 8px; letter-spacing: 1px; }
.no-result { text-align: center; padding: 60px 20px; }
.no-result-icon { margin-bottom: 16px; }
.no-result-text { font-size: 18px; color: #999; margin-bottom: 8px; }
.no-result-sub { font-size: 14px; color: #bbb; }
.loading-section { text-align: center; padding: 60px 20px; }
.loading-spinner { width: 36px; height: 36px; border: 3px solid #e8e8e8; border-top-color: #2A7AE5; border-radius: 50%; margin: 0 auto 16px; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-size: 14px; color: #999; }
.footer-section { text-align: center; padding: 30px 20px; margin-top: auto; }
.footer-text { font-size: 12px; color: #bbb; }
@media (max-width: 480px) {
    .header-section { padding: 36px 16px 32px; }
    .header-title { font-size: 20px; letter-spacing: 2px; }
    .header-subtitle { font-size: 12px; }
    .search-section { margin: -16px 12px 0; padding: 16px 12px; }
    .search-input { height: 40px; font-size: 14px; }
    .search-btn { height: 36px; padding: 0 16px; font-size: 14px; }
    .header-logo img { height: 44px; }
    .result-item { padding: 12px 14px; }
    .result-item-name { font-size: 15px; }
    .cert-main-title { font-size: 22px; letter-spacing: 4px; }
    .cert-card-body { padding: 16px; }
    .cert-info-row { padding: 10px 0; }
    .cert-label { width: 70px; font-size: 13px; }
    .cert-value { font-size: 14px; }
}
