/* SEO Dashboard Styles */

.seo-dashboard__main-card {
    background: var(--w-color-surface-dashboard-panel);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.seo-dashboard__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.seo-dashboard__score-section {
    flex: 1;
    min-width: 250px;
}

.seo-dashboard__title {
    color: var(--w-color-text-label);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.seo-dashboard__score {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
    line-height: 1;
}

.seo-dashboard__score--good {
    color: #10b981;
}

.seo-dashboard__score--warning {
    color: #f59e0b;
}

.seo-dashboard__score--critical {
    color: #ef4444;
}

.seo-dashboard__meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--w-color-text-meta);
    font-size: 0.875rem;
}

.seo-dashboard__breakdown {
    flex: 1;
    min-width: 300px;
}

.seo-dashboard__breakdown-title {
    color: var(--w-color-text-label);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.seo-dashboard__stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.seo-dashboard__stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 1rem;
    border-radius: 0.375rem;
}

.seo-dashboard__stat--critical {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: var(--w-color-text-label);
}

.seo-dashboard__stat--warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: var(--w-color-text-label);
}

.seo-dashboard__stat--info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--w-color-text-label);
}

.seo-dashboard__stat-label {
    font-weight: 600;
    font-size: 0.9375rem;
}

.seo-dashboard__stat-value {
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.25rem 0.625rem;
    background: var(--w-color-surface-menus);
    border-radius: 0.25rem;
    color: var(--w-color-grey-50);
}

.seo-dashboard__divider {
    border: 0;
    border-top: 1px solid var(--w-color-border-furniture);
    margin: 2rem 0;
}

.seo-dashboard__section-title {
    color: var(--w-color-text-label);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.seo-dashboard__issues-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
}

.seo-dashboard__issue-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    border-left: 3px solid var(--w-color-border-furniture);
    background: var(--w-color-surface-dashboard-panel);
}

.seo-dashboard__issue-card--critical {
    border-left-color: rgba(220, 38, 38, 0.6);
    background: linear-gradient(90deg, rgba(220, 38, 38, 0.04) 0%, var(--w-color-surface-dashboard-panel) 20%);
}

.seo-dashboard__issue-card--warning {
    border-left-color: rgba(245, 158, 11, 0.6);
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.04) 0%, var(--w-color-surface-dashboard-panel) 20%);
}

.seo-dashboard__issue-card--info {
    border-left-color: rgba(59, 130, 246, 0.6);
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.04) 0%, var(--w-color-surface-dashboard-panel) 20%);
}

.seo-dashboard__issue-content {
    flex: 1;
    min-width: 0;
}

.seo-dashboard__issue-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.seo-dashboard__issue-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--w-color-text-label);
    line-height: 1.4;
}

.seo-dashboard__issue-count {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--w-color-text-label);
    flex-shrink: 0;
    min-width: 2rem;
    text-align: right;
}

.seo-dashboard__actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--w-color-border-furniture);
}

.seo-dashboard__no-data {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.03) 100%);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
}

.seo-dashboard__no-data-title {
    color: var(--w-color-text-label);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.seo-dashboard__no-data-text {
    color: var(--w-color-text-label);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.seo-dashboard__code {
    background: var(--w-color-surface-menus);
    border: 1px solid var(--w-color-border-furniture);
    color: var(--w-color-text-label);
    padding: 0.875rem 1rem;
    border-radius: 0.375rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
    font-size: 0.8125rem;
    display: inline-block;
    overflow-x: auto;
}

/* Responsive styles */
@media (max-width: 768px) {
    .seo-dashboard {
        padding: 1rem;
    }

    .seo-dashboard__main-card {
        padding: 1.5rem;
    }

    .seo-dashboard__header {
        flex-direction: column;
    }

    .seo-dashboard__score {
        font-size: 2.5rem;
    }
}

