* {
margin: 0;
padding: 0;
box-sizing: border-box;
}


[v-cloak] {
display: none !important;
}

body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', Roboto, sans-serif;
background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
color: #333333;
line-height: 1.6;
min-height: 100vh;
}

.top-nav {
background: rgba(255, 255, 255, 0.98);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-bottom: 1px solid rgba(228, 231, 237, 0.8);
padding: 14px 0;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
position: sticky;
top: 0;
z-index: 100;
}
.nav-content {
max-width: 1200px;
margin: 0 auto;
padding: 0 24px;
display: flex;
align-items: center;
justify-content: space-between;
}
.logo-section {
display: flex;
align-items: center;
gap: 14px;
}
.logo-icon {
width: 100px;
height: 42px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 20px;
transition: all 0.3s ease;
overflow: hidden;
}
.logo-icon img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 10px;
}
.logo-icon:hover {
transform: translateY(-2px) scale(1.02);
}
.logo-text h1 {
font-size: 20px;
color: #333333;
font-weight: 700;
letter-spacing: -0.3px;
}
.logo-text p {
font-size: 12px;
color: #9ca3af;
}
.nav-controls {
display: flex;
gap: 12px;
align-items: center;
}
.export-pdf-btn {
display: flex;
align-items: center;
gap: 8px;
padding: 10px 18px;
background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
color: #ffffff;
border: none;
border-radius: 10px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 4px 12px rgba(229, 57, 53, 0.35);
}
.export-pdf-btn:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(229, 57, 53, 0.5);
background: linear-gradient(135deg, #c62828 0%, #b71c1c 100%);
}
.export-pdf-btn:active {
transform: translateY(0);
}
.export-pdf-btn i {
font-size: 15px;
}

.nav-search {
flex: 1;
max-width: 700px;
display: flex;
gap: 10px;
margin: 0 30px;
}

.browser-address-bar {
flex: 1;
display: flex;
align-items: stretch;
background: #ffffff;
border: 1.5px solid #e5e7eb;
border-radius: 8px;
overflow: hidden;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.browser-address-bar:focus-within {
border-color: #3b82f6;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12), 0 4px 12px rgba(59, 130, 246, 0.1);
}
.address-bar-left {
flex: 1;
display: flex;
align-items: center;
gap: 6px;
padding: 0 14px;
background: #ffffff;
}
.address-bar-lock {
color: #10b981;
font-size: 14px;
flex-shrink: 0;
}
.address-bar-text {
color: #9ca3af;
font-size: 14px;
flex-shrink: 0;
user-select: none;
margin-right: 2px;
}
.address-bar-input {
flex: 1;
border: none;
outline: none;
font-size: 14px;
color: #333333;
background: transparent;
padding: 10px 0;
}
.address-bar-input::placeholder {
color: #d1d5db;
}
.address-bar-btn {
padding: 0 26px;
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
color: #ffffff;
border: none;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
white-space: nowrap;
box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}
.address-bar-btn:hover {
background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
transform: translateY(-1px);
}
.address-bar-btn:disabled {
background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
box-shadow: none;
cursor: not-allowed;
transform: none;
}
.nav-search-again {
background: #ffffff;
border: 1.5px solid #e5e7eb;
color: #3b82f6;
border-radius: 8px;
}
.nav-search-again:hover {
background: #f8fafc;
border-color: #3b82f6;
}
.nav-btn {
padding: 9px 18px;
background: #ffffff;
border: 1.5px solid #e5e7eb;
border-radius: 8px;
cursor: pointer;
font-size: 14px;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
color: #4b5563;
font-weight: 500;
}
.nav-btn:hover {
background: #f8fafc;
border-color: #3b82f6;
color: #3b82f6;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.main-container {
max-width: 1200px;
margin: 28px auto;
padding: 0 24px;
}


@media screen and (max-width: 768px) {
    .main-container {
        margin: 16px auto;
        padding: 0 10px;
    }
}

@media screen and (max-width: 480px) {
    .main-container {
        margin: 12px auto;
        padding: 0 8px;
    }
}

.search-section {
background: #ffffff;
padding: 48px 40px;
border-radius: 16px;
margin-bottom: 28px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
text-align: center;
border: 1px solid rgba(229, 231, 235, 0.8);
}


@media screen and (max-width: 768px) {
    .search-section {
        padding: 30px 20px;
    }
    
    .search-title {
        font-size: 22px;
        margin-bottom: 24px;
    }
    
    .browser-address-bar-large {
        flex-direction: column;
    }
    
    .address-bar-left-large {
        padding: 0 12px;
    }
    
    .address-bar-btn-large {
        width: 100%;
        padding: 12px 20px;
    }
}

@media screen and (max-width: 480px) {
    .search-section {
        padding: 24px 16px;
    }
    
    .search-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .address-bar-lock-large,
    .address-bar-text-large {
        font-size: 13px;
    }
    
    .address-bar-input-large {
        font-size: 14px;
    }
}
.search-title {
font-size: 28px;
margin-bottom: 32px;
color: #333333;
font-weight: 700;
letter-spacing: -0.5px;
}
.search-box-large {
max-width: 720px;
margin: 0 auto;
}

.browser-address-bar-large {
display: flex;
align-items: stretch;
background: #ffffff;
border: 2px solid #e5e7eb;
border-radius: 12px;
overflow: hidden;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.browser-address-bar-large:focus-within {
border-color: #3b82f6;
box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1), 0 8px 24px rgba(59, 130, 246, 0.12);
}
.address-bar-left-large {
flex: 1;
display: flex;
align-items: center;
gap: 8px;
padding: 0 18px;
background: #ffffff;
}
.address-bar-lock-large {
color: #10b981;
font-size: 16px;
flex-shrink: 0;
}
.address-bar-text-large {
color: #9ca3af;
font-size: 16px;
flex-shrink: 0;
user-select: none;
margin-right: 4px;
}
.address-bar-input-large {
flex: 1;
border: none;
outline: none;
font-size: 16px;
color: #333333;
background: transparent;
padding: 16px 0;
}
.address-bar-input-large::placeholder {
color: #d1d5db;
}
.address-bar-btn-large {
padding: 0 36px;
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
color: #ffffff;
border: none;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
white-space: nowrap;
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
border-left: 1px solid rgba(59, 130, 246, 0.2);
}
.address-bar-btn-large:hover {
background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
transform: translateY(-1px);
}
.address-bar-btn-large:disabled {
background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
box-shadow: none;
cursor: not-allowed;
transform: none;
}
.search-box {
display: flex;
gap: 10px;
max-width: 700px;
margin: 0 auto;
}
.search-input {
flex: 1;
padding: 14px 20px;
border: 1px solid #dcdfe6;
border-radius: 4px;
font-size: 16px;
transition: all 0.3s;
color: #1f2329;
}
.search-input:focus {
outline: none;
border-color: #0052d9;
box-shadow: 0 0 0 2px rgba(0, 82, 217, 0.1);
}
.search-input::placeholder {
color: #c0c4cc;
}
.search-btn {
padding: 14px 32px;
background: linear-gradient(135deg, #0052d9 0%, #0034b5 100%);
border: none;
border-radius: 4px;
color: white;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
box-shadow: 0 2px 8px rgba(0, 82, 217, 0.25);
}
.search-btn:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0, 82, 217, 0.35);
}
.search-btn:active {
transform: translateY(0);
}
.search-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
transform: none;
}
.loading-bar {
height: 4px;
background: #e0e0e0;
border-radius: 2px;
overflow: hidden;
margin-top: 20px;
max-width: 700px;
margin-left: auto;
margin-right: auto;
}
.loading-progress {
height: 100%;
background: linear-gradient(90deg, #667eea, #764ba2);
transition: width 0.3s;
}

.loading-section {
margin-top: 20px;
background: #ffffff;
border: 1px solid #e4e7ed;
border-radius: 8px;
padding: 20px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.loading-section-inline {
background: #ffffff;
border: 1px solid rgba(229, 231, 235, 0.8);
border-radius: 12px;
padding: 24px;
margin-bottom: 28px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.loading-title {
font-size: 16px;
font-weight: 600;
color: #3b82f6;
margin-bottom: 18px;
display: flex;
align-items: center;
gap: 10px;
}
.loading-title::before {
content: '';
display: inline-block;
width: 4px;
height: 20px;
background: linear-gradient(135deg, #3b82f6, #60a5fa);
border-radius: 3px;
}
.loading-steps {
display: flex;
flex-direction: column;
gap: 10px;
}
.loading-step {
display: flex;
align-items: center;
gap: 14px;
padding: 14px 18px;
background: #f9fafb;
border-radius: 10px;
border: 1px solid #e5e7eb;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.loading-step.step-active {
background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
border-color: #93c5fd;
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}
.loading-step.step-completed {
background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
border-color: #86efac;
}
.loading-step.step-pending {
opacity: 0.5;
}
.step-icon {
flex-shrink: 0;
font-size: 20px;
width: 26px;
height: 26px;
display: flex;
align-items: center;
justify-content: center;
}
.step-pending .step-icon {
color: #d1d5db;
}
.step-active .step-icon {
color: #3b82f6;
}
.step-completed .step-icon {
color: #10b981;
}
.step-info {
flex: 1;
min-width: 0;
}
.step-name {
font-size: 14px;
font-weight: 600;
color: #374151;
margin-bottom: 4px;
}
.step-status {
font-size: 12px;
color: #9ca3af;
}
.step-active .step-status {
color: #3b82f6;
font-weight: 500;
}
.step-completed .step-status {
color: #10b981;
}


@media screen and (max-width: 768px) {
    .loading-section-inline {
        padding: 16px;
    }
    
    .loading-title {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .loading-title::before {
        width: 3px;
        height: 16px;
    }
    
    .loading-step {
        padding: 10px 12px;
    }
    
    .step-name {
        font-size: 13px;
    }
    
    .step-status {
        font-size: 11px;
    }
}

@media screen and (max-width: 480px) {
    .loading-section-inline {
        padding: 12px;
    }
    
    .loading-title {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .loading-step {
        padding: 8px 10px;
    }
    
    .step-name {
        font-size: 12px;
    }
    
    .step-status {
        font-size: 10px;
    }
}

.pci-notice {
padding: 0;
}

.cert-vendors-notice {
margin-top: 20px;
padding: 18px;
background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
border: 1px solid #fde68a;
border-radius: 12px;
}
.notice-header {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 14px;
font-size: 15px;
font-weight: 600;
color: #b45309;
}
.notice-header i {
font-size: 16px;
color: #f59e0b;
}
.vendors-list {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.vendor-link {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 18px;
background: #ffffff;
border: 1.5px solid #e5e7eb;
border-radius: 8px;
color: #3b82f6;
font-size: 14px;
font-weight: 500;
text-decoration: none;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vendor-favicon {
width: 16px;
height: 16px;
object-fit: contain;
flex-shrink: 0;
}

.vendor-link i {
font-size: 12px;
color: #9ca3af;
transition: all 0.3s;
}
.vendor-link:hover {
background: #3b82f6;
border-color: #3b82f6;
color: #ffffff;
box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
transform: translateY(-2px);
}
.vendor-link:hover i {
color: #ffffff;
}
.vendor-link:active {
transform: translateY(0);
}
.ct-logs-summary {
display: flex;
gap: 20px;
margin-bottom: 20px;
padding: 16px;
background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
border: 1px solid #a7f3d0;
border-radius: 10px;
}
.ct-summary-item {
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
color: #059669;
font-weight: 600;
}
.ct-logs-list {
display: flex;
flex-direction: column;
gap: 16px;
}
.ct-log-item {
background: #fafbfc;
border: 1px solid #e5e7eb;
border-radius: 12px;
overflow: hidden;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.ct-log-item:hover {
box-shadow: 0 4px 14px rgba(59, 130, 246, 0.1);
border-color: #93c5fd;
}
.ct-log-header {
padding: 16px 20px;
background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
border-bottom: 1px solid #bfdbfe;
display: flex;
align-items: center;
justify-content: space-between;
}
.ct-log-badge {
background: #3b82f6;
color: white;
padding: 6px 14px;
border-radius: 6px;
font-size: 13px;
font-weight: 600;
}
.ct-log-status {
color: #10b981;
font-size: 14px;
font-weight: 600;
display: flex;
align-items: center;
gap: 6px;
}
.ct-log-body {
padding: 20px;
}
.ct-log-row {
display: flex;
padding: 12px 0;
border-bottom: 1px solid #f0f0f0;
gap: 12px;
}
.ct-log-row:last-child {
border-bottom: none;
}
.ct-log-row.expandable {
flex-direction: column;
gap: 8px;
}
.ct-log-label {
min-width: 140px;
font-weight: 600;
color: #6b7280;
font-size: 14px;
display: flex;
align-items: center;
gap: 6px;
}
.ct-log-label i {
color: #3b82f6;
font-size: 14px;
width: 16px;
text-align: center;
}
.ct-log-value {
flex: 1;
color: #333333;
font-size: 14px;
word-break: break-all;
}
.ct-log-value.monospace {
font-family: 'Consolas', 'Monaco', monospace;
font-size: 13px;
}
.ct-log-value.monospace.collapsed {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.ct-log-value-wrapper {
display: flex;
flex-direction: column;
gap: 8px;
}
.ct-expand-btn {
align-self: flex-start;
padding: 8px 18px;
background: #ffffff;
border: 1.5px solid #e5e7eb;
border-radius: 8px;
color: #3b82f6;
font-size: 13px;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
display: flex;
align-items: center;
gap: 6px;
}
.ct-expand-btn:hover {
background: #eff6ff;
border-color: #3b82f6;
}

.results {
display: none;
}
.results.show {
display: block;
}

.header-card {
background: #ffffff;
border-radius: 16px;
padding: 16px 20px;
margin-bottom: 16px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
border: 1px solid rgba(229, 231, 235, 0.8);
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
transition: all 0.3s ease;
}
.header-card:hover {
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
}
.header-content {
display: flex;
gap: 16px;
align-items: flex-start;
flex: 1;
}
.site-icon {
width: 48px;
height: 48px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
color: #3b82f6;
flex-shrink: 0;
overflow: hidden;
background: transparent;
border: none;
}

.site-icon img {
width: 36px;
height: 36px;
object-fit: contain;
border-radius: 0;
background: transparent !important;
padding: 0;
border: none;
}

.site-icon i {
font-size: 26px;
color: #3b82f6;
}
.domain-info {
flex: 1;
}
.domain-name {
font-size: 22px;
font-weight: 700;
color: #333333;
margin-bottom: 8px;
letter-spacing: -0.5px;
}
.info-row-inline {
display: flex;
gap: 24px;
margin-bottom: 4px;
font-size: 13px;
color: #333333;
flex-wrap: wrap;
}

.info-item-inline {
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: inline-block;
}

.info-label {
color: #333333;
font-weight: 500;
font-size: 14px;
}
.header-actions {
display: flex;
gap: 14px;
flex-shrink: 0;
}
.action-btn {
padding: 10px 18px;
background: #ffffff;
border: 1.5px solid #e5e7eb;
border-radius: 10px;
cursor: pointer;
font-size: 14px;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
color: #3b82f6;
display: flex;
align-items: center;
gap: 8px;
font-weight: 600;
}
.action-btn:hover {
background: #f8fafc;
border-color: #3b82f6;
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
transform: translateY(-2px);
}
.action-btn:active {
transform: translateY(0);
}

.body-layout {
display: flex;
gap: 24px;
}
.left-content {
flex: 1;
min-width: 0;
}
.right-sidebar {
width: 260px;
flex-shrink: 0;
}
.sidebar-menu {
background: #ffffff;
border-radius: 14px;
padding: 20px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
position: sticky;
top: 80px;
border: 1px solid rgba(229, 231, 235, 0.8);
max-height: calc(100vh - 100px);
overflow-y: auto;
z-index: 10;
}
.sidebar-menu ul {
list-style: none;
}
.sidebar-menu li {
margin-bottom: 6px;
}
.sidebar-menu a {
display: block;
padding: 11px 16px;
color: #6b7280;
text-decoration: none;
border-radius: 8px;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
font-size: 14px;
border-left: 3px solid transparent;
font-weight: 500;
}
.sidebar-menu a:hover {
background: #f9fafb;
color: #3b82f6;
}
.sidebar-menu a.active {
background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
color: #3b82f6;
border-left-color: #3b82f6;
font-weight: 600;
}

.content-section {
background: #ffffff;
border-radius: 14px;
margin-bottom: 24px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
overflow: hidden;
border: 1px solid rgba(229, 231, 235, 0.8);
transition: all 0.3s ease;
}
.content-section:hover {
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}
.section-title {
padding: 20px 24px;
border-bottom: 1px solid #f3f4f6;
font-size: 16px;
font-weight: 600;
color: #333333;
display: flex;
align-items: center;
gap: 12px;
background: linear-gradient(135deg, #fafbfc 0%, #f3f4f6 100%);
}
.section-title i {
color: #3b82f6;
font-size: 18px;
}
.section-body {
padding: 24px;
}

.overview-text {
margin-bottom: 20px;
color: #6b7280;
font-size: 14px;
line-height: 1.8;
}
.rating-table {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
}
.rating-table td {
padding: 14px 16px;
border-bottom: 1px solid #f3f4f6;
}
.rating-table td:first-child {
width: 150px;
font-weight: 600;
color: #6b7280;
text-align: right;
padding-right: 20px;
}

.rating-bar-container {
position: relative;
padding: 10px 0;
}
.rating-bar {
display: flex;
gap: 4px;
}
.rating-item {
flex: 1;
height: 30px;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-weight: 600;
font-size: 14px;
transition: all 0.3s;
}
.rating-item:nth-child(1) { background: #429C35; } 
.rating-item:nth-child(2) { background: #9FE841; } 
.rating-item:nth-child(3) { background: #C3FD6E; } 
.rating-item:nth-child(4) { background: #F0D638; } 
.rating-item:nth-child(5) { background: #F2A62C; } 
.rating-item:nth-child(6) { background: #F18926; } 
.rating-item:nth-child(7) { background: #EF6C21; } 
.rating-item:nth-child(8) { background: #DF4218; } 
.rating-item:nth-child(9) { background: #BD2812; } 
.rating-indicator {
position: absolute;
top: -15px;
left: 50%;
transform: translateX(-50%);
display: flex;
flex-direction: column;
align-items: center;
}
.rating-indicator::before {
content: '';
width: 24px;
height: 24px;
background: #00A854;
border-radius: 50%;
display: block;
}
.rating-indicator::after {
content: '';
margin-top: 2px;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-top: 8px solid #00A854;
}
.rating-text {
position: absolute;
top: 0;
left: 0;
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 12px;
font-weight: bold;
}


.rating-single-display {
padding: 10px 0;
}

.rating-single-badge {
display: inline-flex;
align-items: center;
justify-content: center;
width: 60px;
height: 40px;
border-radius: 6px;
color: white;
font-size: 20px;
font-weight: bold;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.rating-aplus { background: #429C35; }
.rating-a { background: #9FE841; }
.rating-aminus { background: #C3FD6E; }
.rating-b { background: #F0D638; }
.rating-c { background: #F2A62C; }
.rating-d { background: #F18926; }
.rating-e { background: #EF6C21; }
.rating-f { background: #DF4218; }
.rating-t { background: #BD2812; }

.downgrade-reasons {
  margin-top: 12px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 100%);
  border: 1px solid #fed7aa;
  border-radius: 8px;
}
.downgrade-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #c2410c;
  margin-bottom: 8px;
}
.downgrade-title i {
  font-size: 12px;
}
.downgrade-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.downgrade-list li {
  position: relative;
  padding: 4px 0 4px 18px;
  font-size: 12px;
  color: #92400e;
  line-height: 1.6;
}
.downgrade-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f97316;
}


.status-badge {
display: inline-block;
padding: 5px 14px;
border-radius: 20px;
font-size: 13px;
font-weight: 600;
}
.status-success {
background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
color: #059669;
border: 1px solid #a7f3d0;
}
.status-danger {
background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
color: #dc2626;
border: 1px solid #fecaca;
}
.status-warning {
background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
color: #d97706;
border: 1px solid #fde68a;
}
.status-info {
background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
color: #2563eb;
border: 1px solid #bfdbfe;
}

.info-table {
width: 100%;
border-collapse: collapse;
}
.info-table tr {
border-bottom: 1px solid #f3f4f6;
}
.info-table tr:last-child {
border-bottom: none;
}
.info-table td {
padding: 14px 16px;
font-size: 14px;
}
.info-table td:first-child {
width: 180px;
font-weight: 600;
color: #333;
text-align: left;
padding-right: 20px;
vertical-align: top;
}
.info-table td:last-child {
color: #333333;
word-break: break-all;
}


.monospace-fingerprint {
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
font-size: 13px;
background: #f3f4f6;
padding: 5px 10px;
border-radius: 6px;
border: 1px solid #e5e7eb;
word-break: break-all;
}


.validity-link {
color: #3b82f6;
text-decoration: none;
transition: all 0.3s;
cursor: pointer;
font-weight: 500;
}

.validity-link:hover {
color: #2563eb;
text-decoration: underline;
}

.validity-link:active {
color: #1d4ed8;
}

.monospace {
font-family: 'Consolas', 'Monaco', monospace;
font-size: 13px;
}


.protocol-list {
margin-bottom: 30px;
}

.protocol-row {
display: flex;
align-items: center;
padding: 10px 0;
border-bottom: 1px solid #f3f4f6;
}

.protocol-row:last-child {
border-bottom: none;
}

.protocol-name-col {
width: 120px;
font-size: 14px;
color: #6b7280;
font-weight: 500;
}

.protocol-status-col {
flex: 1;
font-size: 14px;
font-weight: 500;
}

.protocol-status-col.status-supported {
color: #10b981;
}

.protocol-status-col.status-not-supported {
color: #9ca3af;
}


/* ========== 加密套件样式 - 左协议右套件布局 ========= */
.cipher-protocols-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cipher-protocol-row {
    display: flex;
    gap: 30px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cipher-protocol-label {
    width: 180px;
    flex-shrink: 0;
    text-align: right;
    padding-top: 5px;
}

.cipher-protocol-label .protocol-name {
    font-weight: 600;
    color: #333333;
    font-size: 15px;
    margin-bottom: 5px;
}

.cipher-protocol-label .protocol-note {
    font-size: 12px;
    color: #999;
}

.cipher-suites-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cipher-suite-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.cipher-suite-item:hover {
    background: #f0f7ff;
}

.cipher-suite-item .suite-name {
    font-weight: 500;
    color: #333333;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
}

.cipher-suite-item .suite-hex {
    color: #666;
    font-size: 12px;
    font-family: 'Consolas', 'Monaco', monospace;
}

.cipher-suite-item .suite-bits {
    color: #6b7280;  /* 默认灰色 */
    font-size: 12px;
    font-weight: 600;
    margin-left: auto;
}

/* 256 bits 显示灰色（与128 bits一致） */
.cipher-suite-item .suite-bits[data-bits="256"] {
    color: #6b7280;
}

/* 128 bits 显示灰色（默认） */
.cipher-suite-item .suite-bits[data-bits="128"] {
    color: #6b7280;
}

.cipher-suite-item .suite-fs {
    color: #10b981;
    font-size: 11px;
    font-weight: 700;
    padding: 0;  /* 去掉内边距 */
    background: transparent;  /* 去掉背景 */
    border-radius: 0;  /* 去掉圆角 */
    border: none;  /* 去掉边框 */
}

/* ========== 证书链新样式 ========== */
.chain-action-bar {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 20px;
}

.chain-action-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    background: transparent;
    border: 1px solid #0052d9;
    color: #0052d9;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.chain-action-btn i {
    font-size: 12px;
}

.chain-action-btn:hover {
    background: #0052d9;
    color: white;
}

.chain-action-btn.chain-detail-btn {
    border-color: #6b7280;
    color: #6b7280;
}

.chain-action-btn.chain-detail-btn:hover {
    background: #6b7280;
    color: white;
}

.certificate-chain-new {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.chain-node-new {
    display: flex;
    gap: 16px;
    position: relative;
}

.chain-icon-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 72px;
}

.chain-img-new {
    width: 56px;
    height: 56px;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.chain-line-new {
    width: 3px;
    flex: 1;
    min-height: 30px;
    background: linear-gradient(to bottom, #bbb, #ddd);
    margin-top: 6px;
    border-radius: 2px;
}

.chain-info-new {
    flex: 1;
    padding: 8px 0 24px 16px;
}

.chain-info-item {
    display: flex;
    padding: 6px 0;
    gap: 12px;
    align-items: baseline;
}

.chain-info-item .info-label {
    min-width: 60px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    flex-shrink: 0;
}

.chain-info-item .info-value {
    flex: 1;
    color: #333333;
    font-size: 14px;
    word-break: break-all;
    line-height: 1.5;
}

/* 剩余天数高亮 */
.chain-info-item .info-value .days-remaining {
    color: #f59e0b;
    font-weight: 600;
}

.chain-info-item .info-value .days-remaining.critical {
    color: #ef4444;
}

/* 等宽字体样式（用于指纹和PIN值） */
.chain-info-item .info-value.info-mono {
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 12px;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    border: 1px solid #e9ecef;
    word-break: break-all;
}
/* 弱加密套件 - 只改变字体颜色，不添加背景 */
.cipher-suite-item.suite-weak {
    /* 移除背景色 */
    background: transparent;
    border-left: none;
}

.cipher-suite-item.suite-weak:hover {
    background: #f0f7ff;
}

/* RC4 套件 - 红色警示 */
.suite-name-rc4 {
    color: #dc2626 !important;
    font-weight: 600;
}

/* NULL 套件 - 灰色 */
.suite-name-null {
    color: #6b7280 !important;
}

/* 3DES 套件 - 橙色警告 */
.suite-name-3des {
    color: #ea580c !important;
}


.suite-security {
display: flex;
align-items: center;
gap: 4px;
}

.security-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: #10b981;
box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.security-dot.medium {
background: #f59e0b;
box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.security-dot.weak {
background: #ef4444;
box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}


.details-list {
margin-top: 20px;
}

.details-row {
display: flex;
align-items: center;
padding: 10px 0;
border-bottom: 1px solid #f0f0f0;
}

.details-row:last-child {
border-bottom: none;
}

.details-name-col {
min-width: 180px;
max-width: 320px;
font-size: 14px;
color: #606266;
font-weight: 500;
word-break: break-word;
line-height: 1.6;
padding-right: 20px;
flex-shrink: 0;
}

.details-status-col {
flex: 1;
font-size: 14px;
min-width: 0;
word-break: break-word;
overflow-wrap: break-word;
}

.status-text {
font-weight: 500;
border: none;
}

.status-text.status-success {
color: #00a656;
background: none;
border: none;
}

.status-text.status-danger {
color: #606266;
background: none;
border: none;
}

.details-extra-text {
color: #1f2329;
margin-left: 8px;
font-weight: normal;
}

.client-table {
width: 100%;
border-collapse: collapse;
}
.client-table th,
.client-table td {
padding: 12px;
text-align: left;
border-bottom: 1px solid #e0e0e0;
}
.client-table th {
background: #fafbfc;
color: #606266;
font-weight: 600;
font-size: 13px;
}
.client-table td {
color: #333333;
font-size: 14px;
}
.client-table tr:hover td {
background: #fafbfc;
}

.pci-notice {
border: 2px dashed #f4cd94;
padding: 16px;
background: #fff8e1;
border-radius: 8px;
margin-top: 15px;
}
.pci-notice p {
color: #d98815;
font-size: 14px;
line-height: 1.8;
}

.vuln-header {
display: flex;
padding: 12px 15px;
background: #f5f7fa;
border-bottom: 1px solid #e0e0e0;
font-weight: 600;
color: #666;
}
.vuln-header div {
text-align: center;
}
.vuln-row {
display: flex;
padding: 12px 15px;
border-bottom: 1px solid #e0e0e0;
}
.vuln-row:last-child {
border-bottom: none;
}
.vuln-name {
width: 180px;
font-weight: normal;
color: #1890ff;
text-align: right;
padding-right: 20px;
font-size: 14px;
cursor: pointer;
transition: all 0.2s;
text-decoration: none;
}
.vuln-name:hover {
color: #1890ff;
font-weight: 500;
text-decoration: underline;
background: transparent;
border: none;
box-shadow: none;
}
.vuln-content {
flex: 1;
display: flex;
}
.vuln-content div {
text-align: center;
font-size: 14px;
transition: all 0.2s;
}
/* 只有CVE编号列（第2个子元素）是蓝色 */
.vuln-content div:nth-child(2) {
cursor: pointer;
color: #1890ff;
}
.vuln-content div:nth-child(2):hover {
color: #1890ff;
text-decoration: underline;
background: transparent;
border: none;
box-shadow: none;
}

.compat-table {
width: 100%;
border-collapse: collapse;
}
.compat-table tr:hover {
background: #f9f9f9;
}
.compat-table td {
padding: 12px 15px;
border-bottom: 1px solid #e0e0e0;
font-size: 14px;
}
.compat-table td:first-child {
width: 200px;
font-weight: normal;
color: #333333;
}
.compat-table td:last-child {
text-align: center;
}

.certificate-chain {
display: flex;
flex-direction: column;
gap: 20px;
}
.chain-item {
background: #f9f9f9;
border: 1px solid #e0e0e0;
border-radius: 8px;
padding: 20px;
}

.certificate-chain-visual {
display: flex;
flex-direction: column;
gap: 0;
padding: 20px 0;
}
.chain-item-visual {
display: flex;
align-items: flex-start;
gap: 20px;
position: relative;
}
.chain-icon-wrapper {
display: flex;
flex-direction: column;
align-items: center;
flex-shrink: 0;
}
.chain-icon {
width: 50px;
height: 50px;
background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
border: 2px solid #3b82f6;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
color: #3b82f6;
font-size: 24px;
box-shadow: 0 4px 14px rgba(59, 130, 246, 0.2);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.chain-icon:hover {
transform: scale(1.08);
box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}
.chain-icon-primary {
background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
border-color: #10b981;
color: #10b981;
}
.chain-icon-root {
background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
border-color: #f97316;
color: #f97316;
}
.chain-line {
width: 2px;
height: 44px;
background: linear-gradient(to bottom, #3b82f6, #d1d5db);
margin: 8px 0;
}
.chain-info-card {
flex: 1;
background: #ffffff;
border: 1px solid #e5e7eb;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
overflow: hidden;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.chain-info-card:hover {
box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
border-color: #93c5fd;
}
.chain-card-header {
padding: 16px 20px;
background: linear-gradient(135deg, #fafbfc 0%, #f3f4f6 100%);
border-bottom: 1px solid #e5e7eb;
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.chain-badge.chain-root {
background: #f97316;
}
.chain-card-body {
padding: 20px;
}
.chain-info-row {
display: flex;
padding: 10px 0;
border-bottom: 1px solid #f3f4f6;
gap: 12px;
}
.chain-info-row:last-child {
border-bottom: none;
}
.chain-info-label {
min-width: 140px;
font-weight: 600;
color: #6b7280;
font-size: 14px;
display: flex;
align-items: center;
gap: 6px;
}
.chain-info-label i {
color: #0052d9;
font-size: 14px;
width: 16px;
text-align: center;
}
.chain-info-value {
flex: 1;
color: #1f2329;
font-size: 14px;
word-break: break-all;
}
.chain-info-value.monospace {
font-family: 'Consolas', 'Monaco', monospace;
font-size: 13px;
background: #f5f7fa;
padding: 4px 8px;
border-radius: 4px;
border: 1px solid #e4e7ed;
}


.chain-info-extended {
margin-top: 12px;
padding-top: 12px;
border-top: 1px dashed #e0e0e0;
}

.chain-info-extended .chain-info-row {
padding: 8px 0;
}


.chain-expand-section {
margin-top: 16px;
padding-top: 12px;
border-top: 1px solid #e5e7eb;
}

.chain-expand-btn {
width: 100%;
padding: 12px 18px;
background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
border: 1.5px solid #e5e7eb;
border-radius: 10px;
color: #3b82f6;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
}

.chain-expand-btn:hover {
background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
border-color: #3b82f6;
color: #2563eb;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.chain-expand-btn:active {
transform: translateY(0);
}

.chain-expand-btn i {
font-size: 12px;
transition: transform 0.3s;
}

/* ========== 证书链紧凑样式 ========== */
.certificate-chain-visual-compact {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
}

.chain-item-compact {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    padding-bottom: 20px;
}

.chain-item-compact:last-child {
    padding-bottom: 0;
}

.chain-icon-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 40px;
}

.chain-cert-icon {
    width: 36px;
    height: 36px;
    border: none;  /* 去掉边框 */
    border-radius: 0;  /* 去掉圆角 */
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;  /* 去掉背景 */
    position: relative;
    z-index: 2;
}

/* 证书图片样式 */
.chain-cert-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.chain-cert-icon.is-server {
    /* 主证书样式（使用 cert.jpg） */
}

.chain-cert-icon.is-root {
    /* 根证书样式（使用 ca.jpg） */
    opacity: 0.85;  /* 根证书稍微透明一点 */
}

.chain-connector {
    width: 2px;
    flex: 1;
    min-height: 30px;
    background: #ccc;
    margin-top: 4px;
}

.chain-details-compact {
    flex: 1;
    padding-top: 6px;
}

.chain-detail-row {
    display: flex;
    padding: 6px 0;
    gap: 12px;
    align-items: baseline;
}

.chain-detail-row .detail-label {
    min-width: 80px;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
}

.chain-detail-row .detail-value {
    flex: 1;
    color: #333333;
    font-size: 13px;
    word-break: break-all;
    line-height: 1.5;
}

.chain-detail-row .detail-value.monospace {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 12px;
    color: #555;
}

.chain-detail-link {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 12px;
    background: transparent;
    border: none;
    color: #0052d9;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s;
}

.chain-detail-link:hover {
    color: #003d99;
}

.chain-header {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 2px solid #e0e0e0;
}
.chain-badge {
background: #0052d9;
color: white;
padding: 4px 12px;
border-radius: 4px;
font-size: 12px;
font-weight: 600;
}
.chain-badge.chain-primary {
background: #00a656;
}
.chain-table {
width: 100%;
border-collapse: collapse;
}
.chain-table td {
padding: 10px 15px;
border-bottom: 1px solid #e0e0e0;
}
.chain-table td:first-child {
width: 180px;
font-weight: 600;
color: #666;
}
.chain-table tr:last-child td {
border-bottom: none;
}

.chain-tabs {
display: flex;
gap: 12px;
margin-bottom: 24px;
padding: 4px;
background: #f9fafb;
border-radius: 12px;
border: 1px solid #e5e7eb;
}
.chain-tab {
flex: 1;
padding: 14px 20px;
cursor: pointer;
border: none;
background: transparent;
font-size: 15px;
font-weight: 600;
color: #6b7280;
border-radius: 10px;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
}
.chain-tab:hover {
background: rgba(59, 130, 246, 0.08);
color: #3b82f6;
}
.chain-tab.active {
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
color: #ffffff;
box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}
.chain-content {
display: block;
}
.chain-content.active {
display: block;
}

.certificate-chain-visual {
display: flex;
flex-direction: column;
gap: 16px;
padding: 4px 0;
}
.chain-item-visual {
display: flex;
align-items: flex-start;
gap: 16px;
position: relative;
}
.chain-icon-wrapper {
display: flex;
flex-direction: column;
align-items: center;
flex-shrink: 0;
position: relative;
z-index: 2;
}
.chain-icon {
width: 64px;
height: 64px;
background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
border: 2px solid #3b82f6;
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
color: #3b82f6;
font-size: 28px;
box-shadow: 0 6px 20px rgba(59, 130, 246, 0.25), inset 0 2px 4px rgba(255, 255, 255, 0.9);
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.chain-icon:hover {
transform: scale(1.1) rotate(5deg);
box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.9);
}
.chain-icon-primary {
background: linear-gradient(145deg, #ecfdf5 0%, #a7f3d0 100%);
border-color: #10b981;
color: #10b981;
box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25), inset 0 2px 4px rgba(255, 255, 255, 0.9);
}
.chain-icon-primary:hover {
box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.9);
}
.chain-icon-root {
background: linear-gradient(145deg, #fff7ed 0%, #fed7aa 100%);
border-color: #f97316;
color: #f97316;
box-shadow: 0 6px 20px rgba(249, 115, 22, 0.25), inset 0 2px 4px rgba(255, 255, 255, 0.9);
}
.chain-icon-root:hover {
box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.9);
}
.chain-line {
width: 3px;
height: 50px;
background: linear-gradient(180deg, #3b82f6 0%, #d1d5db 100%);
margin: 10px 0;
border-radius: 2px;
}
.chain-info-card {
flex: 1;
background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
border: 1.5px solid #e5e7eb;
border-radius: 16px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
overflow: hidden;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
}
.chain-info-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, #3b82f6, #60a5fa, #93c5fd);
opacity: 0;
transition: opacity 0.3s;
}
.chain-info-card:hover {
box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15), 0 2px 8px rgba(0, 0, 0, 0.04);
border-color: #93c5fd;
transform: translateY(-2px);
}
.chain-info-card:hover::before {
opacity: 1;
}
.chain-card-header {
padding: 18px 24px;
background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
border-bottom: 1px solid #e5e7eb;
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.chain-badge {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 14px;
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
color: #ffffff;
border-radius: 8px;
font-size: 13px;
font-weight: 600;
box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}
.chain-badge.chain-primary {
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}
.chain-badge.chain-root {
background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}
.chain-card-body {
padding: 24px;
}
.chain-info-row {
display: flex;
padding: 12px 0;
border-bottom: 1px solid #f3f4f6;
gap: 14px;
}
.chain-info-row:last-child {
border-bottom: none;
}
.chain-info-label {
min-width: 150px;
font-weight: 600;
color: #6b7280;
font-size: 14px;
display: flex;
align-items: center;
gap: 8px;
}
.chain-info-label i {
color: #3b82f6;
font-size: 15px;
width: 18px;
text-align: center;
}
.chain-info-value {
flex: 1;
color: #111827;
font-size: 14px;
word-break: break-all;
line-height: 1.6;
}
.chain-info-value.monospace {
font-family: 'Consolas', 'Monaco', monospace;
font-size: 13px;
background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
padding: 8px 12px;
border-radius: 8px;
border: 1px solid #e5e7eb;
}

.chain-info-extended {
margin-top: 16px;
padding-top: 16px;
border-top: 1px dashed #e5e7eb;
}
.chain-info-extended .chain-info-row {
padding: 10px 0;
}

.chain-expand-section {
margin-top: 18px;
padding-top: 16px;
border-top: 1px solid #e5e7eb;
}
.chain-expand-btn {
width: 100%;
padding: 12px 20px;
background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
border: 1.5px solid #e5e7eb;
border-radius: 12px;
color: #3b82f6;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}
.chain-expand-btn:hover {
background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
border-color: #3b82f6;
color: #2563eb;
transform: translateY(-2px);
box-shadow: 0 6px 18px rgba(59, 130, 246, 0.18);
}
.chain-expand-btn:active {
transform: translateY(0);
}
.chain-expand-btn i {
transition: transform 0.3s;
}

.cert-algorithm-tabs {
display: flex;
border-bottom: 2px solid #e0e0e0;
margin-bottom: 20px;
margin-top: -10px;
}
.cert-algorithm-tab {
padding: 10px 30px;
cursor: pointer;
border: none;
background: none;
font-size: 16px;
font-weight: 600;
color: #999;
border-bottom: 3px solid transparent;
transition: all 0.3s;
margin-bottom: -2px;
}
.cert-algorithm-tab:hover {
color: #667eea;
}
.cert-algorithm-tab.active {
color: #667eea;
border-bottom-color: #667eea;
}

.algorithm-badge {
display: inline-block;
padding: 4px 12px;
border-radius: 4px;
font-weight: 600;
font-size: 13px;
}
.badge-rsa {
background: #e3f2fd;
color: #1976d2;
border: 1px solid #90caf9;
}
.badge-ecc {
background: #f3e5f5;
color: #7b1fa2;
border: 1px solid #ce93d8;
}

.empty-state {
text-align: center;
padding: 60px 20px;
color: #999;
}
.empty-state i {
font-size: 64px;
margin-bottom: 20px;
color: #e0e0e0;
}
.empty-state p {
font-size: 16px;
}

.language-selector {
position: relative;
}
.language-select {
padding: 9px 38px 9px 14px;
border: 1.5px solid #e5e7eb;
border-radius: 8px;
background: #ffffff;
font-size: 14px;
color: #374151;
cursor: pointer;
outline: none;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 12px center;
min-width: 110px;
}
.language-select:hover {
border-color: #3b82f6;
}
.language-select:focus {
border-color: #3b82f6;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}
.language-select option {
padding: 8px;
font-size: 14px;
background: #ffffff;
color: #374151;
}

@media (max-width: 1024px) {
.body-layout {
flex-direction: column;
gap: 16px;
}
.right-sidebar {
width: 100%;
order: -1;
display: block !important;
}
.sidebar-menu {
position: static;
max-height: none;
display: block !important;
}
}
@media (max-width: 768px) {
.header-content {
flex-direction: column;
}
.search-box {
flex-direction: column;
}
.info-row-inline {
flex-direction: column;
gap: 10px;
}
.cipher-list {
grid-template-columns: 1fr;
}

.loading-section {
padding: 15px;
}
.loading-step {
padding: 10px 12px;
}
.step-name {
font-size: 13px;
}
.step-status {
font-size: 11px;
}

.chain-item-visual {
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.chain-icon-wrapper {
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
    align-items: center;
}

.chain-line {
    width: 2px;
    height: 40px;
    margin: 0;
}

.chain-info-card {
    width: 100%;
    margin-top: 0;
}

.chain-info-row {
    flex-direction: column;
    gap: 6px;
}

.chain-info-label {
    min-width: auto;
    width: 100%;
}

.chain-info-value {
    width: 100%;
    padding-left: 22px;
}
}

@media screen and (max-width: 480px) {
    .chain-item-visual {
        gap: 0;
    }
    
    .chain-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .chain-line {
        height: 30px;
    }
    
    .chain-card-header {
        padding: 12px 16px;
    }
    
    .chain-card-body {
        padding: 16px;
    }
    
    .chain-badge {
        padding: 3px 10px;
        font-size: 11px;
    }
    
    .chain-info-label {
        font-size: 13px;
    }
    
    .chain-info-value {
        font-size: 13px;
        padding-left: 20px;
    }
    
    .chain-info-value.monospace {
        font-size: 12px;
        padding: 3px 6px;
    }
}


.san-container {
display: flex;
flex-direction: column;
gap: 10px;
}

.san-item {
    position: relative;
    padding: 8px 15px 8px 18px;
    background: transparent;
    border-radius: 0;
    border-left: 3px solid #409eff;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    color: #303133;
    word-break: break-all;
    line-height: 1.6;
    transition: all 0.2s ease;
    box-shadow: none;
}

.san-item:hover {
    background: transparent;
    border-left-color: #66b1ff;
    box-shadow: none;
    transform: none;
}

.san-toggle-btn {
    margin-top: 8px;
    padding: 8px 16px;
    background: transparent;
    border: none;
    color: #409eff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    border-radius: 6px;
}

.san-toggle-btn:hover {
    color: #66b1ff;
    background: rgba(64, 158, 255, 0.1);
    text-decoration: none;
}

.san-toggle-btn:active {
    color: #3a8ee6;
    background: rgba(64, 158, 255, 0.15);
}

.san-toggle-btn i {
    font-size: 12px;
    transition: transform 0.3s;
}


.info-item-inline {
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: inline-block;
}


.site-icon {
width: 48px;
height: 48px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
background: #f0f9ff;
border: 2px solid #bedcf7;
flex-shrink: 0;
}

.site-icon img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 6px;
}


@media (max-width: 768px) {
.san-item {
    font-size: 13px;
    padding: 8px 12px 8px 16px;
}

.san-toggle-btn {
width: 100%;
justify-content: center;
font-size: 13px;
}

.info-item-inline {
max-width: 150px;
}
}


@media screen and (max-width: 768px) {
    .top-nav {
        padding: 10px 0;
        border-bottom: 1px solid #e4e7ed;
    }
    
    .nav-content {
        flex-direction: row;          
        align-items: center;
        justify-content: space-between;
        gap: 0;
        padding: 0 15px;
    }
    
    .logo-section {
        flex: 1;                      
        justify-content: flex-start;
    }
    
    .logo-text h1 {
        font-size: 18px;
        margin: 0;
    }
    
    .logo-text p {
        display: none;                
    }
    
    
    .nav-controls {
        flex-shrink: 0;               
    }
    
    .language-select {
        min-width: 100px;
        padding: 6px 28px 6px 10px;
        font-size: 13px;
        border-radius: 6px;
    }
    
    
    .nav-search {
        display: none;
    }
}


@media screen and (max-width: 480px) {
    .top-nav {
        padding: 8px 0;
    }
    
    .nav-content {
        padding: 0 10px;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .logo-text h1 {
        font-size: 16px;
    }
    
    .language-select {
        min-width: 90px;
        padding: 5px 24px 5px 8px;
        font-size: 12px;
    }
}


.ct-modal-overlay,
body .ct-modal-overlay,
html .ct-modal-overlay {
position: fixed !important;
top: 0 !important;
left: 0 !important;
width: 100vw !important;
height: 100vh !important;
background: rgba(0, 0, 0, 0.5) !important;
z-index: 10000 !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
margin: 0 !important;
padding: 0 !important;
}

body .ct-modal {
background: #ffffff !important;
border-radius: 8px !important;
width: 1000px !important;
max-width: 90vw !important;
max-height: 85vh !important;
overflow: hidden !important;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

body .ct-modal-header {
padding: 20px 24px !important;
border-bottom: 1px solid #e8eaed !important;
display: flex !important;
align-items: center !important;
justify-content: space-between !important;
}

body .ct-modal-title {
font-size: 18px !important;
font-weight: 600 !important;
color: #1f2329 !important;
margin: 0 !important;
}

body .ct-modal-close {
background: none !important;
border: none !important;
font-size: 28px !important;
color: #909399 !important;
cursor: pointer !important;
padding: 0 !important;
width: 32px !important;
height: 32px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
transition: color 0.3s !important;
}

body .ct-modal-close:hover {
color: #303133 !important;
}

body .ct-modal-body {
padding: 0 !important;
overflow-y: auto !important;
max-height: calc(85vh - 72px) !important;
}


body .ct-tabs-native {
margin: 0 !important;
}

body .ct-tabs-header {
display: flex !important;
border-bottom: 1px solid #e8eaed !important;
padding: 0 24px !important;
background: #ffffff !important;
}

body .ct-tab-item {
padding: 12px 20px !important;
cursor: pointer !important;
font-size: 14px !important;
color: #606266 !important;
border-bottom: 2px solid transparent !important;
transition: all 0.3s !important;
user-select: none !important;
}

body .ct-tab-item:hover {
color: #409EFF !important;
}

body .ct-tab-item.active {
color: #409EFF !important;
border-bottom-color: #409EFF !important;
font-weight: 600 !important;
}

body .ct-tabs-content {
padding: 0 !important;
}

body .ct-tab-pane {
padding: 0 !important;
}


.ct-policy-info-box {
background: #f5f7fa;
padding: 16px 24px;
margin: 0 0 20px 0;
}

.ct-policy-row-new {
display: flex;
align-items: baseline;
margin-bottom: 8px;
gap: 12px;
}

.ct-policy-row-new:last-child {
margin-bottom: 0;
}

.ct-policy-label-new {
color: #606266;
font-size: 14px;
min-width: 120px;
flex-shrink: 0;
font-weight: 500;
}

.ct-policy-value-new {
color: #303133;
font-size: 14px;
flex: 1;
}

.ct-policy-value-new.success {
color: #67C23A;
font-weight: 600;
}


.ct-modal .ct-details-table {
width: 100% !important;
border-collapse: collapse !important;
margin: 0 !important;
padding: 0 !important;
table-layout: fixed !important;
}

.ct-modal .ct-details-table tbody tr {
border-bottom: 1px solid #e4e7ed !important;
}

.ct-modal .ct-details-table tbody tr:last-child {
border-bottom: none !important;
}

.ct-modal .ct-details-table tbody td:first-child,
.ct-modal .ct-details-table tbody td.ct-table-label {
width: 80% !important;
min-width: 80% !important;
max-width: 80% !important;
padding: 12px 16px !important;
text-align: right !important;
color: #909399 !important;
font-size: 14px !important;
font-weight: 500 !important;
background: #fafbfc !important;
vertical-align: middle !important;
line-height: 1.6 !important;
white-space: nowrap !important;
border-right: 1px solid #e4e7ed !important;
display: table-cell !important;
}

.ct-modal .ct-details-table tbody td:last-child,
.ct-modal .ct-details-table tbody td.ct-table-value {
padding: 12px 16px !important;
color: #303133 !important;
font-size: 14px !important;
line-height: 1.6 !important;
word-break: break-all !important;
display: table-cell !important;
width: 20% !important;
min-width: 20% !important;
}

.ct-modal .ct-details-table .ct-table-value.success {
color: #67C23A !important;
font-weight: 600 !important;
}

.ct-modal .ct-details-table .ct-table-value.monospace {
font-family: 'Courier New', 'Consolas', monospace !important;
font-size: 13px !important;
color: #606266 !important;
}

.ct-policy-clickable:hover {
background: #52c41a !important;
color: white !important;
transform: scale(1.05);
transition: all 0.2s;
}


.ct-policy-link {
color: #3b82f6;
text-decoration: none;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
display: inline-flex;
align-items: center;
gap: 4px;
}

.ct-policy-link:hover {
color: #2563eb;
text-decoration: underline;
}

.ct-policy-link:active {
color: #1d4ed8;
}

.ct-policy-text {
	color: #303133;
	font-weight: 500;
}

.ct-policy-not-compliant {
	color: #dc2626 !important;
	font-weight: 600;
	text-decoration: none !important;
	cursor: pointer;
	transition: all 0.3s;
}

.ct-policy-not-compliant:hover {
	color: #b91c1c !important;
	text-decoration: underline !important;
}


.error-message-box {
max-width: 700px !important;
margin: 24px auto 0 !important;
padding: 20px 24px !important;
background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%) !important;
border: 2px solid #f44336 !important;
border-radius: 12px !important;
display: flex !important;
align-items: flex-start !important;
gap: 16px !important;
box-shadow: 0 4px 16px rgba(244, 67, 54, 0.2), 0 0 0 1px rgba(244, 67, 54, 0.1) !important;
animation: slideDown 0.3s ease-out !important;
position: relative !important;
overflow: hidden !important;
}

.error-message-box::before {
content: '' !important;
position: absolute !important;
top: 0 !important;
left: 0 !important;
width: 4px !important;
height: 100% !important;
background: linear-gradient(180deg, #f44336 0%, #d32f2f 100%) !important;
}

@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.error-message-box i.fa-exclamation-circle {
font-size: 24px !important;
color: #f44336 !important;
flex-shrink: 0 !important;
margin-top: 2px !important;
filter: drop-shadow(0 2px 4px rgba(244, 67, 54, 0.3)) !important;
}

.error-message-content {
flex: 1 !important;
min-width: 0 !important;
}

.error-message-text {
color: #c62828 !important;
font-size: 15px !important;
font-weight: 500 !important;
line-height: 1.8 !important;
word-break: break-word !important;
}

.error-message-text br {
margin-bottom: 8px !important;
}

.error-close-btn {
background: rgba(244, 67, 54, 0.1) !important;
border: 1px solid rgba(244, 67, 54, 0.2) !important;
color: #f44336 !important;
cursor: pointer !important;
padding: 6px 10px !important;
border-radius: 6px !important;
transition: all 0.2s !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
flex-shrink: 0 !important;
}

.error-close-btn:hover {
background: rgba(244, 67, 54, 0.2) !important;
border-color: rgba(244, 67, 54, 0.4) !important;
transform: scale(1.1) !important;
box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3) !important;
}

.error-close-btn i {
font-size: 14px !important;
}


.qrcode-inline {
    flex-shrink: 0;
    text-align: center !important;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qrcode-inline-container {
    display: inline-block;
    padding: 8px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.qrcode-hint-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: #646a73;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 4px;
    pointer-events: none;
    white-space: nowrap;
}


#download-report-btn {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 120px !important;
    height: 34px !important;
    margin: 6px 0 0 !important;
    padding: 0 18px !important;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35) !important;
    border: none !important;
    outline: none !important;
    float: none !important;
    z-index: 10 !important;
}

#download-report-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

#download-report-btn:hover::before {
    left: 100%;
}

#download-report-btn:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.45) !important;
    transform: translateY(-2px) !important;
    text-decoration: none !important;
}

#download-report-btn:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35) !important;
}

#download-report-btn i {
    font-size: 14px !important;
    transition: transform 0.3s ease;
}

#download-report-btn:hover i {
    transform: scale(1.1);
}

#download-report-btn.loading {
    opacity: 0.85 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35) !important;
}

#download-report-btn.loading::before {
    display: none;
}

.qrcode-info {
    margin-top: 12px;
    padding: 12px;
    background: linear-gradient(135deg, #f5f7fa 0%, #eef1f5 100%);
    border-radius: 6px;
    border: 1px solid #e4e7ed;
}

.qrcode-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: #606266;
}

.qrcode-info-item:first-child {
    padding-bottom: 6px;
    border-bottom: 1px dashed #d9d9d9;
}

.qrcode-info-item i {
    color: #0052d9;
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.qrcode-info-item span {
    font-weight: 600;
    color: #303133;
    word-break: break-all;
}


@media screen and (max-width: 768px) {
    .header-card {
        flex-direction: column;
        padding: 20px;
    }
    
    .header-content {
        width: 100%;
        flex-direction: row;          
        align-items: center;
        gap: 16px;
    }
    
    .site-icon {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }
    
    .site-icon img,
    .site-icon i {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
    
    .domain-info {
        flex: 1;
        min-width: 0;                 
    }
    
    .domain-name {
        font-size: 20px;
        margin-bottom: 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .info-row-inline {
        flex-direction: column;       
        gap: 6px;
        margin-bottom: 0;
    }
    
    .info-item-inline {
        width: 100%;                  
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 13px;
    }
    
    
    .qrcode-inline {
        display: none !important;
    }
    
    
    .results {
        padding: 0;
    }
    
    .body-layout {
        flex-direction: column;
    }
    
    .left-content {
        width: 100% !important;
    }
    
    .content-section {
        padding: 16px;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .info-table td {
        padding: 10px 8px;
        font-size: 13px;
    }
    
    
    .overview-text {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 16px;
    }
    
    .rating-table {
        width: 100%;
        margin-bottom: 16px;
    }
    
    .rating-table td {
        padding: 12px 10px;
        font-size: 14px;
    }
    
    .rating-single-badge {
        font-size: 20px;
        padding: 8px 16px;
    }
    
    .status-badge {
        padding: 4px 12px;
        font-size: 13px;
    }
    
    
    .cert-vendors-notice {
        padding: 12px;
    }
    
    .notice-header {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .vendors-list {
        flex-direction: column;
        gap: 8px;
    }
    
    .vendor-link {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        font-size: 14px;
    }
    
    
    .protocol-list {
        width: 100%;
    }
    
    .protocol-row {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .protocol-name-col {
        width: 100%;
        font-size: 14px;
    }
    
    .protocol-status-col {
        width: 100%;
        padding-left: 0 !important;
    }
    
    
    .vuln-header {
        display: none;  
    }
    
    .vuln-row {
        flex-direction: column;
        gap: 10px;
        padding: 16px;
        background: #fafbfc;
        border-radius: 6px;
        margin-bottom: 10px;
        border: 1px solid #e4e7ed;
    }
    
    .vuln-row:last-child {
        margin-bottom: 0;
    }
    
    .vuln-name {
        width: 100% !important;
        text-align: left !important;
        padding-right: 0 !important;
        font-weight: normal;
        font-size: 15px;
        color: #1890ff;
        text-decoration: none;
        padding-bottom: 10px;
        border-bottom: 1px solid #e4e7ed;
    }
    .vuln-name:hover {
        color: #1890ff;
        text-decoration: underline;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    
    .vuln-content {
        width: 100% !important;
        flex-direction: column;
        gap: 10px;
    }
    
    .vuln-content > div {
        width: 100% !important;
        text-align: left !important;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    
    
    .vuln-content > div::before {
        font-weight: 600;
        color: #606266;
        font-size: 13px;
    }
    
    .vuln-content > div:nth-child(1)::before {
        content: '鏄�惁褰卞搷锛?;
    }
    
    .vuln-content > div:nth-child(2)::before {
        content: '璇存槑锛?;
    }
    
    .vuln-content > div:nth-child(3)::before {
        content: '鍗遍櫓绯绘暟锛?;
    }
    
    
    .client-table {
        font-size: 12px;
    }
    
    .client-table th,
    .client-table td {
        padding: 8px 6px;
    }
    
    /* SSL漏洞表格字体与客户端保持一致 */
    .vuln-name {
        font-size: 12px !important;
        color: #1890ff !important;
        text-decoration: none !important;
    }
    .vuln-name:hover {
        color: #1890ff !important;
        text-decoration: underline !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .vuln-content > div {
        font-size: 12px !important;
    }
    
    /* 移动端只有CVE编号列（第2个子元素）是蓝色 */
    .vuln-content > div:nth-child(2) {
        cursor: pointer;
        color: #1890ff !important;
    }
    .vuln-content > div:nth-child(2):hover {
        text-decoration: underline !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    
    .compat-table {
        width: 100%;
    }
    
    .compat-table td {
        padding: 10px 8px;
        font-size: 12px;
    }
}







.captcha-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 10000 !important;
    animation: fadeIn 0.2s ease !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.captcha-modal {
    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
    width: 90% !important;
    max-width: 400px !important;
    overflow: hidden !important;
    animation: slideUp 0.3s ease !important;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.captcha-modal-header {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.captcha-modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.captcha-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.captcha-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.captcha-modal-body {
    padding: 24px;
}

.captcha-modal-message {
    text-align: center;
    color: #64748b;
    margin-bottom: 20px;
    font-size: 14px;
}

.captcha-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.captcha-image {
    width: 180px;
    height: 60px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.captcha-image:hover {
    border-color: #6366f1;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.captcha-refresh-hint {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 8px;
}

.captcha-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    text-align: center;
    letter-spacing: 8px;
    transition: all 0.2s;
    margin-bottom: 20px;
}

.captcha-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.captcha-input::placeholder {
    letter-spacing: normal;
    color: #94a3b8;
}

.captcha-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.captcha-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.captcha-submit-btn:active {
    transform: translateY(0);
}

/* ===== 工具箱样式 ===== */
.toolbox-wrapper {
    position: relative;
}

.toolbox-wrapper::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
}

.toolbox-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    color: #64748b;
    font-weight: 500;
    height: 36px;
}

.toolbox-btn:hover,
.toolbox-btn.active {
    background: #f8fafc;
    border-color: #3b82f6;
    color: #3b82f6;
}

.toolbox-arrow {
    font-size: 10px;
    transition: transform 0.3s;
}

.toolbox-btn.active .toolbox-arrow {
    transform: rotate(180deg);
}

.toolbox-dropdown {
    position: absolute;
    top: calc(100% - 4px);
    right: 0;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.14), 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 32px;
    z-index: 200;
    min-width: 780px;
    max-width: 900px;
    animation: toolboxFadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes toolboxFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.toolbox-dropdown::before {
    content: '';
    position: absolute;
    top: -7px;
    right: 50px;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-left: 1px solid rgba(226, 232, 240, 0.9);
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    transform: rotate(45deg);
    border-radius: 2px;
}

.toolbox-grid {
    display: flex;
    gap: 36px;
}

.toolbox-column {
    flex: 1;
    min-width: 0;
}

.toolbox-col-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.toolbox-col-title i {
    color: #6366f1;
    font-size: 14px;
}

.toolbox-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 8px;
    text-decoration: none;
}

.toolbox-item:hover {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    transform: translateX(6px);
    box-shadow: 0 2px 12px rgba(139, 92, 246, 0.1);
}

.toolbox-item:hover .toolbox-name {
    color: #5b21b6;
}

.toolbox-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7c3aed;
    font-size: 16px;
    flex-shrink: 0;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.12);
}

.toolbox-item:hover .toolbox-icon {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.toolbox-info {
    flex: 1;
    min-width: 0;
}

.toolbox-name {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    transition: color 0.3s;
}

.toolbox-desc {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 3px;
    line-height: 1.4;
    font-weight: 500;
}

/* 工具弹窗 */
.tool-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    padding: 20px;
}

.tool-modal {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: toolModalIn 0.25s ease;
}

@keyframes toolModalIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.tool-modal-header {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.tool-modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.tool-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.tool-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.tool-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

/* 工具表单 */
.tool-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tool-form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tool-form-row label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.tool-form-row input,
.tool-form-row select,
.tool-form-row textarea {
    padding: 12px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    color: #1f2937;
    background: #ffffff;
    transition: all 0.2s;
    font-family: inherit;
}

.tool-form-row input:focus,
.tool-form-row select:focus,
.tool-form-row textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.tool-form-row textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
}

.tool-form-inline {
    flex-direction: row;
    gap: 12px;
}

.tool-form-inline > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tool-form-inline input,
.tool-form-inline select {
    width: 100%;
}

.tool-submit-btn {
    padding: 14px 24px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.tool-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.tool-submit-btn:active {
    transform: translateY(0);
}

.tool-submit-btn:disabled {
    background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 工具结果 */
.tool-result {
    margin-top: 16px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tool-result-label {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
}

.tool-result textarea {
    width: 100%;
    padding: 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 12px;
    font-family: 'Consolas', 'Monaco', monospace;
    background: #ffffff;
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

.tool-result-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #6b7280;
}

.tool-result-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.tool-result-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
}

.tool-result-table td:first-child {
    width: 140px;
    font-weight: 600;
    color: #6b7280;
    background: #f3f4f6;
    border-right: 1px solid #e5e7eb;
}

.tool-result-table td:last-child {
    color: #1f2937;
    word-break: break-all;
}

.tool-pre {
    background: #1f2937;
    color: #e5e7eb;
    padding: 16px;
    border-radius: 10px;
    font-size: 12px;
    font-family: 'Consolas', 'Monaco', monospace;
    line-height: 1.6;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

.tool-match-result {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
}

.tool-match-result.match-success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #16a34a;
    border: 1px solid #86efac;
}

.tool-match-result.match-fail {
    background: linear-gradient(135deg, #fef2f2 0%, #ffe4e6 100%);
    color: #dc2626;
    border: 1px solid #fca5a5;
}

.tool-match-result i {
    font-size: 20px;
}

@media screen and (max-width: 768px) {
    .toolbox-wrapper {
        display: none !important;
    }
    
    .toolbox-dropdown {
        min-width: calc(100vw - 32px);
        right: -10px;
        padding: 20px;
        border-radius: 16px;
    }

    .toolbox-dropdown::before {
        right: 30px;
    }

    .toolbox-grid {
        flex-direction: column;
        gap: 20px;
    }

    .toolbox-item {
        padding: 10px 12px;
    }

    .toolbox-icon {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .tool-form-inline {
        flex-direction: column;
    }

    .tool-modal {
        max-height: 95vh;
        border-radius: 12px;
    }

    .tool-modal-body {
        padding: 16px;
    }
}

/* IPv6检测样式 */
.tb-ipv6-status {
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.tb-ipv6-status i {
    font-size: 24px;
}

.tb-ipv6-success {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
    border: 2px solid #4caf50;
}

.tb-ipv6-error {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: #c62828;
    border: 2px solid #f44336;
}

.tb-ipv6-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tb-ipv6-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.tb-ipv6-table th {
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.tb-ipv6-table th:first-child {
    width: 25%;
}

.tb-ipv6-table th:not(:first-child) {
    width: 37.5%;
}

.tb-ipv6-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.tb-ipv6-table tbody tr:hover {
    background: #f8f9fa;
}

.tb-ipv6-table tbody tr:last-child {
    border-bottom: none;
}

.tb-ipv6-table td {
    padding: 14px 12px;
    font-size: 13px;
    vertical-align: top;
}

.tb-ipv6-item-name {
    font-weight: 500;
    color: #2c3e50;
}

.tb-ipv6-cell {
    line-height: 1.6;
}

.tb-ipv6-status-inline {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.tb-ipv6-status-inline i {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.tb-ipv6-success-inline {
    color: #2e7d32;
}

.tb-ipv6-success-inline i {
    color: #4caf50;
}

.tb-ipv6-error-inline {
    color: #c62828;
}

.tb-ipv6-error-inline i {
    color: #f44336;
}

@media (max-width: 768px) {
    .tb-ipv6-table {
        font-size: 12px;
    }

    .tb-ipv6-table th,
    .tb-ipv6-table td {
        padding: 10px 8px;
    }

    .tb-ipv6-status {
        font-size: 15px;
        padding: 16px;
    }
}

/* 证书链详情模态框样式 */
.chain-detail-modal {
    max-width: 900px;
    width: 90%;
}

.chain-detail-certs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chain-detail-cert-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
}

.chain-detail-cert-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chain-order-badge {
    background: rgba(255, 255, 255, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.chain-cert-type {
    font-size: 14px;
    opacity: 0.95;
}

.chain-detail-cert-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chain-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.chain-detail-row:last-child {
    border-bottom: none;
}

.chain-detail-label {
    font-weight: 600;
    color: #666;
    min-width: 180px;
    font-size: 13px;
    flex-shrink: 0;
}

.chain-detail-value {
    color: #333;
    font-size: 13px;
    flex: 1;
    word-break: break-all;
}

.chain-fingerprint {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    background: #f5f5f5;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

/* 证书链展开的详细信息样式 */
.chain-detail-expanded {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #e0e0e0;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

.chain-detail-item {
    display: flex;
    padding: 8px 0;
    gap: 12px;
    align-items: baseline;
}

.chain-detail-item .detail-label {
    min-width: 80px;
    color: #888;
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
}

.chain-detail-item .detail-value {
    flex: 1;
    color: #555;
    font-size: 13px;
    word-break: break-all;
    line-height: 1.6;
}

.chain-detail-item .detail-mono {
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 12px;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    border: 1px solid #e9ecef;
}

/* ========== 移动端响应式优化 ========= */
@media screen and (max-width: 768px) {
    /* 加密套件布局优化 */
    .cipher-protocol-row {
        flex-direction: column;
        gap: 10px;
    }

    .cipher-protocol-label {
        width: 100%;
        text-align: left;
        padding-top: 0;
        padding-bottom: 8px;
        border-bottom: 1px solid #e5e7eb;
    }

    .cipher-protocol-label .protocol-name {
        font-size: 14px;
        margin-bottom: 3px;
    }

    .cipher-protocol-label .protocol-note {
        font-size: 11px;
    }

    .cipher-suites-column {
        padding-left: 0;
    }

    /* 加密套件名称允许换行 */
    .cipher-suite-item {
        flex-wrap: wrap;
        padding: 8px 10px;
        gap: 6px;
    }

    .cipher-suite-item .suite-name {
        font-size: 12px;
        word-break: break-all;
        flex: 1 1 100%;
    }

    .cipher-suite-item .suite-hex,
    .cipher-suite-item .suite-fs,
    .cipher-suite-item .suite-bits {
        font-size: 11px;
    }

    .cipher-suite-item .suite-bits {
        margin-left: 0;
    }

    /* 协议详情优化 */
    .protocol-row {
        flex-direction: column;
        gap: 6px;
        padding: 12px 0;
    }

    .protocol-name-col {
        width: 100%;
        font-size: 13px;
    }

    /* 证书链优化 */
    .chain-node-new {
        gap: 10px;
    }

    .chain-icon-new {
        width: 56px;
    }

    .chain-img-new {
        width: 44px;
        height: 44px;
    }

    .chain-info-new {
        padding: 6px 0 20px 10px;
    }

    .chain-info-item .info-label {
        min-width: 50px;
        font-size: 13px;
    }

    .chain-info-item .info-value {
        font-size: 13px;
    }
    
    /* 证书链标签按钮优化 - 横向排列 */
    .chain-tabs {
        flex-direction: row;
        gap: 8px;
    }
    
    .chain-tab-btn {
        flex: 1;
        justify-content: center;
        font-size: 13px;
        padding: 10px 12px;
    }
    
    /* 证书链操作按钮优化 - 隐藏下载按钮，只保留详情按钮 */
    .chain-action-bar {
        flex-direction: row;
        gap: 8px;
    }
    
    .chain-action-btn {
        flex: 1;
        justify-content: center;
        font-size: 13px;
        padding: 10px 12px;
    }
    
    /* 手机端隐藏下载证书链按钮 */
    .chain-action-btn:first-child {
        display: none;
    }

    /* 客户端握手模拟表格优化 */
    .client-table {
        font-size: 12px;
    }

    .client-table th,
    .client-table td {
        padding: 8px 6px;
        font-size: 12px;
    }

    .client-table th:first-child,
    .client-table td:first-child {
        min-width: 100px;
        max-width: 150px;
    }

    /* SSL漏洞表格字体与客户端保持一致 */
    .vuln-row {
        flex-direction: column;
        gap: 6px;
    }
    
    .vuln-name {
        width: 100%;
        font-size: 12px !important;
    }
    
    .vuln-content > div {
        font-size: 12px !important;
    }
}

@media screen and (max-width: 480px) {
    /* 超小屏幕额外优化 */
    .cipher-suite-item .suite-name {
        font-size: 11px;
    }

    .cipher-suite-item {
        padding: 6px 8px;
    }

    .section-body {
        padding: 16px;
    }

    .section-title {
        padding: 14px 16px;
        font-size: 14px;
    }
}

/* ============================================
   证书标签切换样式（RSA/ECC）
   ============================================ */
.cert-tab-btn {
    padding: 10px 24px !important;
    border: 1px solid #d1d5db !important;
    border-bottom: none !important;
    border-radius: 6px 6px 0 0 !important;
    cursor: pointer !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    background: #e5e7eb !important;
    color: #6b7280 !important;
    outline: none !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.cert-tab-btn.cert-tab-active {
    background: linear-gradient(135deg, #4b5e8a 0%, #3a4a6e 100%) !important;
    color: white !important;
    border-color: #4b5e8a !important;
    box-shadow: 0 4px 12px rgba(75, 94, 138, 0.4), 0 2px 4px rgba(75, 94, 138, 0.2) !important;
    transform: translateY(-2px) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.cert-tab-btn:hover:not(.cert-tab-active) {
    background: #d1d5db !important;
    color: #374151 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

.cert-tab-btn:active:not(.cert-tab-active) {
    transform: translateY(0) !important;
    box-shadow: none !important;
}