body{
margin:0;
font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
background:#fff;
color:#000;
}

/* 浏览器地址栏样式 */
.top-bar{
background:#fff;
border-bottom:1px solid #e0e0e0;
padding:8px 16px;
display:flex;
justify-content:space-between;
align-items:center;
}

.top-bar-left{
width:24px;
}

.back-btn{
font-size:18px;
cursor:pointer;
color:#666;
}

.top-bar-center{
flex:1;
text-align:center;
}

.portal-title{
font-size:14px;
color:#000;
margin-bottom:2px;
}

.portal-url{
font-size:12px;
color:#666;
}

.top-bar-right{
width:24px;
}

.more-btn{
font-size:20px;
cursor:pointer;
color:#666;
}

/* 黑色头部 */

.header{
background:#000;
padding:0 20px;
}

/* 顶部导航 */

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 0;
max-width:1200px;
margin:0 auto;
}

.logo{
color:#e6004c;
font-size:32px;
font-weight:700;
letter-spacing:1px;
}

/* 汉堡 */

.hamburger{
width:34px;
height:34px;
border:1px solid #444;
border-radius:8px;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
cursor:pointer;
}

.hamburger div{
width:18px;
height:2px;
background:#fff;
margin:2px 0;
}

/* 菜单 */

.menu{
display:flex;
flex-direction:row;
align-items:center;
gap:40px;
padding:0 0 30px 0;
max-width:1200px;
margin:0 auto;
}

.menu-item{
display:flex;
align-items:center;
gap:12px;
color:#fff;
font-size:16px;
cursor:pointer;
transition:opacity 0.2s;
white-space:nowrap;
}

.menu-icon{
font-size:16px;
}

.menu-item:hover{
opacity:0.8;
}

/* 证书页面主体 */

.cert-container{
max-width:900px;
margin:0 auto;
padding:40px 24px;
}

.cert-title{
font-size:28px;
font-weight:700;
margin-bottom:12px;
color:#000;
}

.cert-desc{
font-size:16px;
color:#666;
margin-bottom:32px;
line-height:1.6;
}

.cert-subtitle{
font-size:20px;
font-weight:600;
margin-bottom:24px;
color:#000;
}

/* 证书信息 */

.cert-info{
background:#fff;
border:1px solid #e0e0e0;
border-radius:8px;
padding:32px;
}

.cert-row{
display:flex;
padding:16px 0;
border-bottom:1px solid #f0f0f0;
}

.cert-row:last-child{
border-bottom:none;
}

.cert-label{
width:200px;
color:#666;
font-size:15px;
flex-shrink:0;
}

.cert-value{
flex:1;
color:#000;
font-size:15px;
font-weight:500;
}

/* 页面主体 */
.container{
max-width:900px;
margin:0 auto;
padding:40px 24px;
background:#f5f5f5;
}

.title{
font-size:32px;
font-weight:700;
margin-bottom:10px;
color:#000;
}

.subtitle{
font-size:18px;
color:#666;
margin-bottom:30px;
}

/* 证书卡片 */

.card{
background:#fff;
border-radius:12px;
padding:32px;
box-shadow:0 4px 20px rgba(0,0,0,0.08);
margin-bottom:24px;
}

.card-title{
font-size:24px;
font-weight:700;
margin-bottom:20px;
color:#000;
}

/* 信息行 */

.row{
display:flex;
padding:14px 0;
border-bottom:1px solid #f0f0f0;
}

.row:last-child{
border-bottom:none;
}

.label{
width:160px;
text-align:right;
color:#666;
padding-right:24px;
font-size:15px;
font-weight:500;
}

.value{
flex:1;
font-size:16px;
color:#000;
}

/* 搜索框 */

.search-box{
display:flex;
gap:12px;
margin-bottom:20px;
}

.search-input{
flex:1;
padding:14px 18px;
border:2px solid #e0e0e0;
border-radius:8px;
font-size:16px;
outline:none;
transition:border-color 0.2s;
}

.search-input:focus{
border-color:#e6004c;
}

.search-btn{
padding:14px 32px;
background:#e6004c;
color:#fff;
border:none;
border-radius:8px;
font-size:16px;
font-weight:600;
cursor:pointer;
transition:background 0.2s;
}

.search-btn:hover{
background:#cc0044;
}

/* 表单 */

.form-group{
display:flex;
flex-direction:column;
gap:16px;
margin-bottom:24px;
}

.form-input{
padding:14px 18px;
border:2px solid #e0e0e0;
border-radius:8px;
font-size:15px;
outline:none;
transition:border-color 0.2s;
}

.form-input:focus{
border-color:#e6004c;
}

/* 按钮 */

.btn-primary{
padding:14px 32px;
background:#e6004c;
color:#fff;
border:none;
border-radius:8px;
font-size:16px;
font-weight:600;
cursor:pointer;
transition:background 0.2s;
}

.btn-primary:hover{
background:#cc0044;
}

/* 数据表格 */

.data-table{
width:100%;
border-collapse:collapse;
margin-top:16px;
table-layout:fixed;
}

.data-table thead th{
background:#fafafa;
padding:12px 8px;
text-align:center;
font-size:13px;
font-weight:600;
color:#666;
border-bottom:2px solid #e0e0e0;
white-space:nowrap;
}

.data-table tbody td{
padding:10px 8px;
border-bottom:1px solid #f0f0f0;
font-size:13px;
text-align:center;
vertical-align:middle;
word-wrap:break-word;
}

.data-table tbody tr:hover{
background:#fafafa;
}

/* 链接按钮 */

.btn-link{
color:#e6004c;
text-decoration:none;
font-weight:500;
transition:color 0.2s;
}

.btn-link:hover{
color:#cc0044;
text-decoration:underline;
}

/* 聊天按钮 */

.chat{
position:fixed;
right:24px;
bottom:24px;
width:56px;
height:56px;
background:#e6004c;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
transition:transform 0.2s, box-shadow 0.2s;
box-shadow:0 4px 12px rgba(230,0,76,0.3);
}

.chat:hover{
transform:scale(1.05);
box-shadow:0 6px 16px rgba(230,0,76,0.4);
}

/* 加载中 */

.loading{
text-align:center;
padding:40px;
color:#999;
font-size:16px;
}

/* 响应式 */

@media (max-width:768px){
.container,.cert-container{
padding:24px 16px;
}

.title{
font-size:24px;
}

.cert-row,.row{
flex-direction:column;
padding:12px 0;
}

.cert-label,.label{
width:100%;
margin-bottom:8px;
}

.search-box{
flex-direction:column;
}

.data-table{
display:block;
overflow-x:auto;
}
}