.seo-admin {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.seo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.seo-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.seo-subtitle {
    color: #6b7280;
    font-size: 14px;
    margin-top: 6px;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.seo-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.seo-card h3 {
    margin: 0 0 6px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
}

.seo-card .seo-value {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

.seo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.seo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: #16a34a;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
}

.seo-btn.secondary {
    background: #0ea5e9;
}

.seo-btn.outline {
    background: transparent;
    border-color: #d1d5db;
    color: #111827;
}

.seo-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.seo-table th,
.seo-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f3f4f6;
    text-align: left;
    font-size: 13px;
}

.seo-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.seo-table tr:last-child td {
    border-bottom: none;
}

.seo-form {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
}

.seo-form .seo-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.seo-form label {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.seo-form input,
.seo-form select,
.seo-form textarea {
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s ease;
}

.seo-form textarea {
    min-height: 120px;
    resize: vertical;
}

.seo-form input:focus,
.seo-form select:focus,
.seo-form textarea:focus {
    border-color: #16a34a;
}

.seo-pill {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f3f4f6;
    font-size: 12px;
    color: #374151;
}

.seo-issue {
    border-left: 4px solid #f59e0b;
    padding: 12px 14px;
    background: #fff7ed;
    border-radius: 10px;
    margin-bottom: 10px;
}

.seo-issue strong {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
}

.seo-section-title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.seo-duplicate-section {
    margin-bottom: 24px;
}

.seo-duplicate-group {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.seo-duplicate-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.seo-duplicate-count {
    font-size: 12px;
    color: #6b7280;
}

.seo-duplicate-items {
    display: grid;
    gap: 10px;
}

.seo-duplicate-item {
    border: 1px dashed #e5e7eb;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.seo-duplicate-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
}

.seo-muted {
    color: #6b7280;
    font-size: 12px;
}

.seo-duplicate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.seo-input {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
}

.seo-btn.small {
    padding: 6px 10px;
    font-size: 12px;
}

.seo-btn.danger {
    background: #ef4444;
}
