/* 1. 履约认证徽章（角标）样式 */
.bqc-badge-link {
    text-decoration: none !important;
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
}

.bqc-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.5;
    white-space: nowrap;
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.bqc-badge-link:hover .bqc-badge {
    transform: translateY(-1px);
}

.bqc-certified {
    background-color: #28a745; /* 醒目的绿色 */
}

/* 2. 单站点详情页 (single-sites.php) 样式优化 */
.bqc-badge-single-wrap {
    /* 居中徽章并增加一些垂直空间 */
    text-align: center;
    margin-top: 15px;
    margin-bottom: 30px;
}

.bqc-badge-single-wrap .bqc-badge-link {
    margin: 0; 
    display: inline-block;
}

/* 调整徽章本身的大小和圆角，让它更像一个“章” */
.bqc-badge-single-wrap .bqc-badge {
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
}


/* 3. 证书页面主体样式 */
.bqc-certificate-wrapper {
    padding: 20px;
}

.bqc-certificate-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 40px;
    border: 10px solid #28a745;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.bqc-cert-header h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 5px;
}

.bqc-cert-header p {
    font-size: 1.25em;
    color: #28a745;
    font-weight: bold;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.bqc-cert-site-name {
    font-size: 2em;
    color: #007bff;
    font-weight: bold;
    display: inline-block;
    margin: 15px 0;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.bqc-cert-site-name:hover {
    border-color: #007bff;
}

.bqc-cert-body {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin: 30px 0 40px;
}

.bqc-cert-meta {
    border-top: 1px dashed #ccc;
    padding-top: 25px;
    text-align: left;
    display: inline-block;
    min-width: 60%;
    margin: 0 auto;
}

.bqc-cert-meta p {
    margin: 10px 0;
    font-size: 1em;
    color: #666;
    display: flex;
    align-items: center;
}

.bqc-cert-meta strong {
    color: #333;
    display: inline-block;
    width: 120px;
    text-align: right;
    margin-right: 15px;
    flex-shrink: 0;
}

.bqc-cert-meta a {
    color: #007bff;
    text-decoration: none;
}

.bqc-cert-meta a:hover {
    text-decoration: underline;
}

.bqc-cert-footer {
    margin-top: 50px;
    font-size: 0.9em;
    color: #999;
}