body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
}

/* Analysis Section */
#analysis-section {
    margin-top: 30px;
}

/* Steps indicator */
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #3a3f44;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
}

.step-item.active .step-circle {
    background-color: #3498db;
    color: white;
}

.step-text {
    font-size: 14px;
    color: #999;
}

.step-item.active .step-text {
    color: #fff;
}

.step-connector {
    flex: 1;
    height: 2px;
    background-color: #3a3f44;
    margin: 0 10px;
    margin-bottom: 35px;
}

/* Tree Visualization */
#tree-container {
    width: 100%;
    height: 500px;
    overflow: auto;
    border: 1px solid #2d333b;
    border-radius: 0.25rem;
}

.tree-node {
    cursor: pointer;
}

.tree-node text {
    font-size: 12px;
}

.tree-node circle {
    stroke-width: 1.5px;
}

.tree-node circle.status-200 {
    fill: #28a745;
}

.tree-node circle.status-301, 
.tree-node circle.status-302, 
.tree-node circle.status-307, 
.tree-node circle.status-308 {
    fill: #ffc107;
}

.tree-node circle.status-404 {
    fill: #dc3545;
}

.tree-node circle.status-500, 
.tree-node circle.status-502, 
.tree-node circle.status-503 {
    fill: #6c757d;
}

.tree-link {
    fill: none;
    stroke: #2d333b;
    stroke-width: 1px;
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 80px;
    height: 80px;
}

.loading-spinner:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid #3498db;
    border-color: #3498db transparent #3498db transparent;
    animation: loading-spinner 1.2s linear infinite;
}

@keyframes loading-spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Statistics */
.stat-item {
    display: flex;
    margin-bottom: 10px;
}

.stat-label {
    flex: 1;
    font-weight: bold;
}

.stat-value {
    flex: 1;
    text-align: right;
}

/* SEO Analysis Styles */
.seo-summary {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.seo-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.seo-stat-card {
    flex: 1;
    min-width: 150px;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
}

.seo-issue-section {
    margin-bottom: 20px;
}

.seo-filter-buttons .btn-group {
    margin-bottom: 15px;
}