/* 博客检查页面样式 - Medium简洁风格 */

.blog-checker-container {
    width: 100%;
    max-width: 100%;
}

/* 页面标题区域 - 与收藏页面保持一致 */
.blog-checker-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.blog-checker-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #242424;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-checker-title i {
    color: #10b981;
    font-size: 1.5rem;
}

.blog-checker-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* 检查表单 - 简化版 */
.blog-checker-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-label i {
    color: #10b981;
    margin-right: 0.25rem;
}

.input-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.form-control {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    background: #fff;
    color: #111827;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: #6b7280;
    color: white;
    border: 1px solid #6b7280;
}

.btn-primary:hover {
    background: #374151;
    border-color: #374151;
}

.btn-outline-primary {
    background: transparent;
    color: #10b981;
    border: 1px solid #10b981;
}

.btn-outline-primary:hover {
    background: #10b981;
    color: white;
}

.form-text {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.4;
}

/* 加载状态 - 进度条版 */
.loading-state {
    padding: 2rem 0;
    color: #6b7280;
}

/* 进度条容器 */
.progress-container {
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: #6b7280;
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #6b7280;
}

/* 进度步骤 */
.progress-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    opacity: 0.4;
}

.step-item.active {
    opacity: 1;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.step-item.completed {
    opacity: 1;
    color: #10b981;
}

.step-item i {
    font-size: 1.25rem;
    color: inherit;
}

.step-item span {
    font-size: 0.75rem;
    text-align: center;
    color: inherit;
}

/* 检查结果 - 简化版 */
.check-results {
    margin-top: 2rem;
}

/* 总体评分 - 简化版 */
.result-summary {
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.score-card {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.score-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 3px solid;
}

.score-circle.grade-a {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.score-circle.grade-b {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.score-circle.grade-c {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.score-circle.grade-d {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.score-circle.grade-f {
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

.score-number {
    font-size: 1.25rem;
    line-height: 1;
}

.score-label {
    font-size: 0.625rem;
    opacity: 0.8;
}

.score-grade {
    font-size: 1.5rem;
    font-weight: 700;
    color: inherit;
}

.summary-stats {
    flex: 1;
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.stat-number.critical {
    color: #ef4444;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* 详细结果 - 简化版，类似收藏页面的列表风格 */
.result-details {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.result-section {
    padding: 1.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.result-section:last-child {
    border-bottom: none;
}

.section-title {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title i {
    color: #10b981;
    font-size: 0.875rem;
}

.check-item {
    padding: 0;
}

.check-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.check-name {
    font-weight: 500;
    color: #111827;
    font-size: 0.875rem;
}

.check-status {
    font-size: 1rem;
}

.check-status.status-success {
    color: #10b981;
}

.check-status.status-warning {
    color: #f59e0b;
}

.check-status.status-error {
    color: #ef4444;
}

.check-details {
    color: #6b7280;
    line-height: 1.5;
    font-size: 0.875rem;
}

/* 性能检查详细信息的特殊样式 */
.check-details div {
    margin: 0.5rem 0;
}

.check-details strong {
    color: #374151;
    font-weight: 600;
}

.check-details small {
    display: block;
    margin-top: 0.25rem;
    line-height: 1.4;
}

/* 速度参考标准（简洁、对齐） */
.speed-reference { 
    background: #f8fafc; 
    border: 1px solid #e5e7eb; 
    border-radius: 8px; 
    padding: 12px 14px; 
    margin: 12px 0; 
}
.speed-reference .sr-title { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    color: #111827; 
    font-weight: 600; 
    margin-bottom: 10px; 
}
.speed-reference .sr-title small { 
    color: #6b7280; 
    font-weight: 400; 
}
.speed-reference .sr-grid { 
    display: grid; 
    grid-template-columns: repeat(6, 1fr); 
    gap: 6px; 
}
.speed-reference .sr-cell { 
    background: #ffffff; 
    border: 1px solid #e5e7eb; 
    border-radius: 6px; 
    padding: 10px 8px; 
    text-align: center; 
}
.speed-reference .sr-cell .sr-range { 
    display: block; 
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; 
    font-size: 12px; 
    color: #111827; 
}
.speed-reference .sr-cell .sr-label { 
    display: block; 
    margin-top: 4px; 
    font-size: 12px; 
    color: #6b7280; 
}
.speed-reference .sr-cell.active { 
    border-color: #10b981; 
    background: #ecfdf5; 
}
.speed-reference .sr-cell.active .sr-range { 
    color: #065f46; 
    font-weight: 700; 
}
.speed-reference .sr-cell.active .sr-label { 
    color: #047857; 
    font-weight: 600; 
}

/* 重要说明框的样式 */
.check-details .important-note {
    background: #fef3c7;
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 4px solid #f59e0b;
    margin-top: 12px;
}

/* 技术细节分隔线 */
.check-details .tech-details {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

/* 列表项样式 */
.check-details ul {
    margin: 0.5rem 0;
    padding-left: 1rem;
}

.check-details li {
    margin: 0.25rem 0;
}

/* 操作按钮 - 简化版 */
.result-actions {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
}

/* 错误提示 - 简化版 */
.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.375rem;
    padding: 1rem;
    margin: 1.5rem 0;
}

.error-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #dc2626;
    font-size: 0.875rem;
}

.error-content i {
    font-size: 1rem;
}

/* 使用说明 - 简化版 */
.usage-guide {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #f3f4f6;
}

.usage-guide h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 1.5rem 0;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.guide-item {
    display: flex;
    gap: 1rem;
    padding: 0;
}

.guide-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #f3f4f6;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 0.875rem;
}

.guide-content h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.guide-content p {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .blog-checker-container {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .blog-checker-title {
        font-size: 2rem;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .result-summary {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .summary-stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .progress-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .step-item {
        padding: 0.75rem 0.25rem;
    }
    
    .step-item span {
        font-size: 0.625rem;
    }
    
    .guide-grid {
        grid-template-columns: 1fr;
    }
    
    .check-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
}

@media (max-width: 480px) {
    .blog-checker-container {
        padding: var(--spacing-md);
    }
    
    .blog-checker-title {
        font-size: 1.75rem;
    }
    
    .score-circle {
        width: 60px;
        height: 60px;
    }
    
    .score-number {
        font-size: 1.25rem;
    }
    
    .score-grade {
        font-size: 1.5rem;
    }
    
    .summary-stats {
        gap: var(--spacing-sm);
    }
}
