.wp-list-table-wrap {
    margin-top: 20px;
}

.post-type-selector {
    margin: 20px 0;
    padding: 15px;
    background: #fff;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
}

.filter-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.sky-seo-inline-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 10px;
    font-size: 13px;
}

.sky-seo-bulk-toolbar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 24px 0 18px;
}

.sky-seo-filter-panel,
.sky-seo-ai-panel {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border: 1px solid #d8dee8;
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.sky-seo-filter-panel {
    padding: 14px 18px;
}

.sky-seo-panel-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.sky-seo-panel-heading h3 {
    margin: 0 0 4px;
    font-size: 15px;
    line-height: 1.2;
    color: #0f172a;
}

.sky-seo-panel-heading p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.sky-seo-results-pill {
    flex-shrink: 0;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eef6ff;
    color: #0f5ea8;
    font-size: 12px;
    font-weight: 600;
}

.sky-seo-filter-compact {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: nowrap;
}

.sky-seo-filter-title {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    padding-bottom: 10px;
}

.sky-seo-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.sky-seo-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sky-seo-field span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #475569;
}

.sky-seo-field-inline {
    min-width: 0;
}

.sky-seo-field-inline:nth-of-type(1) {
    flex: 0 0 220px;
}

.sky-seo-field-inline:nth-of-type(2) {
    flex: 1 1 auto;
}

.sky-seo-field select {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 40px 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.sky-seo-filter-actions {
    margin-top: 16px;
    display: flex;
    justify-content: flex-start;
}

.sky-seo-ai-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.sky-seo-ai-copy h3 {
    margin: 0 0 6px;
    font-size: 15px;
    color: #0f172a;
}

.sky-seo-ai-copy p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.sky-seo-ai-controls-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.sky-seo-inline-toggle-simple {
    margin-right: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.sky-seo-ai-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-self: end;
    width: 260px;
    gap: 10px;
    flex-shrink: 0;
}

.sky-seo-ai-controls-row .button {
    min-width: 260px;
    text-align: center;
}

.sky-seo-ai-feedback {
    width: 100%;
    padding-top: 0;
}

.sky-seo-status-text {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    width: 100%;
    text-align: left;
}

.sky-seo-inline-message {
    width: 100%;
    margin-top: 4px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    word-break: break-word;
}

.sky-seo-inline-message.error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #9f1239;
}

.sky-seo-inline-message.success {
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.column-select {
    text-align: center;
}

.column-actions .button,
.optimize-single-post {
    white-space: nowrap;
}

.seo-field-container {
    position: relative;
    margin-bottom: 10px;
}

.seo-field-container input,
.seo-field-container textarea {
    width: 100%;
    padding-right: 80px;
    border: 1px solid #dcdcde;
    border-radius: 4px;
}

.seo-title {
    width: 100%;
    min-width: 200px;
    height: 80px;
    resize: none;
    overflow: hidden;
    transition: all 0.2s ease;
}

.seo-description {
    width: 100%;
    min-width: 200px;
    height: 80px;
    resize: none;
    overflow: hidden;
    transition: all 0.2s ease;
}

/* Column Widths */
.column-meta-title,
.column-meta-desc {
    width: 30%;
    vertical-align: top;
}

/* Ensure table cells don't expand */
.wp-list-table tbody td {
    vertical-align: top;
}

/* SEO Field container refinements */
.seo-field-container {
    position: relative;
    margin-bottom: 10px;
}

/* Floating textarea on focus - won't affect layout */
.seo-field-container textarea:focus {
    position: absolute;
    z-index: 1000;
    width: 100%;
    min-height: 150px;
    max-height: 350px;
    overflow-y: auto;
    background: #fff;
    border: 2px solid #2271b1;
    box-shadow: 0 8px 24px rgba(34, 113, 177, 0.2);
    transform: translateY(-5px);
}

/* SEO Score Indicators */
.seo-score {
    position: absolute;
    right: 70px;
    top: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.seo-score.empty {
    background-color: #ccc;
}

.seo-score.warning {
    background-color: #ffb900;
}

.seo-score.error {
    background-color: #dc3232;
}

.seo-score.success {
    background-color: #46b450;
}

.character-count {
    position: absolute;
    right: 10px;
    top: 20px;
    font-size: 11px;
    color: #666;
}

.help-tip {
    color: #666;
    cursor: help;
    margin-left: 5px;
}

/* Featured Image Styles */
.featured-image-container {
    text-align: center;
    position: relative;
}

.image-preview {
    margin: 0 auto;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f1;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.image-preview:hover {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #a7aaad;
    width: 100%;
    height: 100%;
}

.image-preview-placeholder .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
}

.image-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    color: #fff;
}

.image-preview:hover .image-preview-overlay {
    opacity: 1;
}

.image-preview-overlay .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.bulk-edit-actions {
    margin-top: 20px;
    padding: 10px;
    background: #fff;
    border: 1px solid #ccd0d4;
    display: flex;
    align-items: center;
    gap: 10px;
}

.spinner {
    float: none;
    margin: 0;
}

.spinner.is-active {
    visibility: visible;
}

/* Toast Message Styles */
.sky-seo-toast {
    display: none;
    position: fixed;
    top: 32px;
    right: 20px;
    background: #fff;
    border-left: 4px solid #46b450;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    padding: 12px 20px;
    z-index: 999999;
}

/* Table refinement for Bulk Edit */
.wp-list-table-wrap .wp-list-table {
    border: 1px solid var(--sky-seo-border);
    border-radius: 8px;
    box-shadow: none;
    border-spacing: 0;
    overflow: hidden;
}

.wp-list-table-wrap .wp-list-table thead th {
    background: #fcfcfd;
    border-bottom: 1px solid var(--sky-seo-border);
    padding: 12px 15px;
    font-weight: 600;
}

.wp-list-table-wrap .wp-list-table tbody td {
    padding: 15px;
    vertical-align: top;
    border-bottom: 1px solid #f2f4f7;
}

.wp-list-table-wrap .wp-list-table tbody tr:last-child td {
    border-bottom: none;
}

.wp-list-table-wrap .wp-list-table tbody tr:hover {
    background-color: #f9fafb !important;
}

.wp-list-table-wrap .wp-list-table tbody tr.processing {
    background: #fff8e5 !important;
}

/* Form inputs in table */
.seo-field-container textarea {
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.5;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    transition: all 0.2s;
}

.seo-field-container textarea:focus {
    border-color: var(--sky-seo-primary);
    box-shadow: 0 0 0 4px rgba(34, 113, 177, 0.1);
}

.seo-field-container .character-count {
    bottom: 8px;
    top: auto;
    right: 12px;
    background: rgba(255, 255, 255, 0.8);
    padding: 2px 4px;
    border-radius: 4px;
}

.seo-score {
    top: 12px;
    right: 12px;
}

.sky-seo-toast {
    border-radius: 8px;
    border: 1px solid var(--sky-seo-border);
    border-left: 4px solid #46b450;
}


/* Pagination Styles */
.tablenav {
    margin: 20px 0;
    padding: 10px;
    background: #fff;
    border: 1px solid #ccd0d4;
}

.sky-seo-bulk-edit-content .tablenav.top {
    display: none;
}

.tablenav-pages {
    float: right;
    margin: 0 0 9px;
}

.tablenav-pages .page-numbers {
    display: inline-block;
    min-width: 30px;
    text-align: center;
    padding: 3px 5px 7px;
    background: #f3f5f6;
    border: 1px solid #ccd0d4;
    margin-left: 2px;
    color: #646970;
    text-decoration: none;
}

.tablenav-pages .page-numbers.current {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
}

.tablenav-pages .page-numbers:hover {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
}

.displaying-num {
    margin-right: 10px;
    color: #646970;
}

/* Loading indicator for auto-save */
.saving {
    position: relative;
}

.saving:after {
    content: '';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #c3c4c7;
    border-top-color: #2271b1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* Responsive Styles */
@media screen and (max-width: 782px) {
    .wp-list-table-wrap {
        overflow-x: auto;
    }

    .seo-title,
    .seo-description {
        min-width: 150px;
    }

    .seo-field-container input,
    .seo-field-container textarea {
        padding-right: 90px;
    }

    .skyseomanager-settings input[type="text"],
    .skyseomanager-settings input[type="url"] {
        width: 100%;
    }

    .sky-seo-bulk-toolbar {
        gap: 12px;
    }

    .sky-seo-filter-grid {
        grid-template-columns: 1fr;
    }

    .sky-seo-filter-compact {
        flex-wrap: wrap;
        align-items: stretch;
    }

    .sky-seo-filter-title {
        width: 100%;
        padding-bottom: 0;
    }

    .sky-seo-field-inline:nth-of-type(1),
    .sky-seo-field-inline:nth-of-type(2) {
        flex: 1 1 100%;
    }

    .sky-seo-panel-heading {
        flex-direction: column;
    }

    .sky-seo-ai-controls-row {
        flex-direction: column;
        align-items: stretch;
    }

    .sky-seo-ai-panel {
        align-items: stretch;
    }

    .sky-seo-ai-controls-row .button {
        min-width: 0;
        width: 100%;
    }

    .sky-seo-status-text {
        text-align: left;
    }

    .sky-seo-ai-actions .button {
        width: 100%;
    }

    .column-meta-title,
    .column-meta-desc {
        width: auto;
    }
}

/* Meta Box Styles */
.sky-seo-meta-box {
    padding: 15px;
    background: #fff;
    margin-top: 20px;
}

.sky-seo-meta-box label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.sky-seo-meta-box .seo-field-container {
    margin-bottom: 20px;
    position: relative;
}

.sky-seo-meta-box input[type="text"],
.sky-seo-meta-box textarea {
    width: 100%;
    padding: 8px 80px 8px 8px;
    margin: 0;
}

.sky-seo-meta-box textarea {
    min-height: 100px;
    resize: vertical;
}

/* Settings Page Styles */
.skyseomanager-settings .form-table th {
    width: 200px;
}

.skyseomanager-settings label {
    display: inline-block;
    margin-right: 20px;
}

.skyseomanager-settings input[type="text"],
.skyseomanager-settings input[type="url"] {
    width: 400px;
    max-width: 100%;
}

/* Import Section Styles */
.import-option {
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
}

.import-option h4 {
    margin: 0 0 15px;
    font-size: 16px;
}

.import-option .button {
    margin-right: 10px;
    min-width: 120px;
}

.import-option .button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.import-progress {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.import-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f5f6;
    border-top-color: #2271b1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.import-progress .success {
    color: #46b450;
}

.import-progress .error {
    color: #dc3232;
}

.import-log {
    margin: 10px 0;
    max-height: 200px;
    overflow-y: auto;
}

.import-log-content {
    margin: 0;
    padding: 10px;
    background: #f8f9fa;
    border: 1px solid #e2e4e7;
    border-radius: 4px;
    font-family: monospace;
    font-size: 13px;
    line-height: 1.5;
    white-space: pre-wrap;
}

.import-log-content.error {
    color: #dc3232;
    background: #fef7f7;
    border-color: #dc3232;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Import Page Styles */
.import-container {
    margin: 20px 0;
}

.import-section {
    background: #fff;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    margin-bottom: 20px;
    padding: 20px;
}

.import-section h2 {
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.import-progress {
    margin: 20px 0;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 3px;
    height: 25px;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    background: #2271b1;
    height: 100%;
    width: 0;
    transition: width 0.3s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #444;
    font-weight: 500;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.import-log {
    margin-top: 20px;
    border: 1px solid #ccd0d4;
}

.import-log th {
    font-weight: 600;
    text-align: left;
    padding: 8px;
}

.import-log td {
    padding: 8px;
    border-top: 1px solid #f0f0f0;
}

.import-log tr:nth-child(even) {
    background: #f9f9f9;
}

.start-import {
    min-width: 120px;
}

.start-import:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* AI Optimization styles */
tr.processing {
    background-color: #f0f8ff !important;
}

tr.processing td {
    opacity: 0.7;
}

#ai-optimize-status {
    display: inline-block;
    font-style: italic;
}

/* Tabbed Interface Styles - Exact Match from Currency Switcher */
:root {
    --sky-seo-primary: #2271b1;
    --sky-seo-ink: #1d2327;
    --sky-seo-muted: #50575e;
    --sky-seo-surface: #ffffff;
    --sky-seo-border: #dcdcde;
    --sky-seo-background: #f6f7f7;
}

.sky-seo-admin-wrap {
    max-width: 1280px;
    margin-top: 20px;
}

.sky-seo-lead {
    font-size: 14px;
    color: var(--sky-seo-muted);
    margin: 10px 0 20px;
    max-width: 860px;
    line-height: 1.5;
}

/* Restructured Tab Groups */
.sky-seo-header-area {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.sky-seo-header-area h1 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px !important;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.sky-seo-lead {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* Primary Group Tabs */
.sky-seo-primary-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding: 6px;
    background: #f1f5f9;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.sky-seo-group-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid transparent;
}

.sky-seo-group-tab .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: #64748b;
    transition: color 0.2s ease;
    margin-top: 0;
}

.sky-seo-group-tab:hover {
    background: #e2e8f0;
    color: #0f172a;
    text-decoration: none;
}

.sky-seo-group-tab:hover .dashicons {
    color: #0f172a;
}

.sky-seo-group-tab.is-active {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    text-decoration: none;
}

.sky-seo-group-tab.is-active .dashicons {
    color: #ffffff;
}

.sky-seo-group-tab:focus {
    box-shadow: none;
    outline: none;
    color: inherit;
}

.sky-seo-group-tab.is-active:focus {
    color: #ffffff;
}

/* Secondary Sub-tabs */
.sky-seo-secondary-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 12px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.sky-seo-sub-tab {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 6px;
    color: #64748b;
    font-weight: 500;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}

.sky-seo-sub-tab:hover {
    background: #f8fafc;
    color: #0f172a;
    text-decoration: none;
}

.sky-seo-sub-tab.is-active {
    background: #f1f5f9;
    color: #1e293b;
    font-weight: 600;
    border-color: #cbd5e1;
    text-decoration: none;
}

.sky-seo-sub-tab:focus {
    box-shadow: none;
    outline: none;
    color: inherit;
}

/* Adjust tab content wrapper spacing */
.sky-seo-tab-content {
    margin-top: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Card layout inside tabs */
.sky-seo-card {
    background: var(--sky-seo-surface);
    border: 1px solid var(--sky-seo-border);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    padding: 24px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.sky-seo-card h2 {
    margin-top: 0;
    color: var(--sky-seo-ink);
    font-size: 1.3em;
}

.sky-seo-section-heading {
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f0f1;
    padding-bottom: 15px;
}

.sky-seo-section-heading h2 {
    margin-bottom: 5px;
}

.sky-seo-section-heading p {
    margin: 0;
    color: var(--sky-seo-muted);
    font-size: 14px;
}

/* Layout & Sidebar */
.sky-seo-admin-layout {
    display: flex;
    gap: 20px;
}

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

.sky-seo-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.sky-seo-sidebar-card {
    background: var(--sky-seo-surface);
    border: 1px solid var(--sky-seo-border);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.sky-seo-sidebar-card h3 {
    margin-top: 0;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f1;
    padding-bottom: 10px;
    color: var(--sky-seo-ink);
}

.sky-seo-sidebar-card ul {
    margin: 15px 0;
    padding-left: 20px;
}

.sky-seo-sidebar-card li {
    margin-bottom: 8px;
    position: relative;
    list-style: none;
}

.sky-seo-sidebar-card li:before {
    content: "✓";
    position: absolute;
    left: -20px;
    color: #46b450;
    font-weight: bold;
}

.sky-seo-upgrade-btn {
    display: block;
    text-align: center;
    background: #f0ad4e;
    color: #fff;
    text-decoration: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    margin-top: 15px;
    border-bottom: 3px solid #eea236;
    transition: all 0.2s;
}

.sky-seo-upgrade-btn:hover {
    background: #eea236;
    color: #fff;
    transform: translateY(1px);
    border-bottom-width: 1px;
}

/* Teaser / Pro Upsell */


/* Sub-tabs inside Settings */

.sky-seo-subtabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--sky-seo-border);
    padding-bottom: 0;
}

.sky-seo-subtabs .nav-tab {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: var(--sky-seo-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    text-decoration: none;
    height: auto;
    margin: 0;
}

.sky-seo-subtabs .nav-tab:hover {
    color: var(--sky-seo-primary);
}

.sky-seo-subtabs .nav-tab-active {
    color: var(--sky-seo-primary);
    border-bottom: 2px solid var(--sky-seo-primary);
    background: transparent;
}

/* Form refinement */
.skyseomanager-settings .form-table th {
    font-weight: 500;
    color: var(--sky-seo-ink);
    padding: 20px 0;
    width: 240px;
}

.skyseomanager-settings .form-table td {
    padding: 20px 0;
}

.sky-seo-card .submit {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f1;
}

.sky-seo-data-management-item {
    padding: 24px;
    border: 1px solid var(--sky-seo-border);
    border-radius: 8px;
    margin-bottom: 20px;
}

.sky-seo-data-management-item h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 16px;
}

.sky-seo-data-management-item p {
    margin-bottom: 16px;
    color: var(--sky-seo-muted);
    max-width: 600px;
}

/* Schema Settings Styles */
.skyseo-schema-settings {
    max-width: 1200px;
}

.skyseo-schema-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.skyseo-schema-card {
    background: #fff;
    border: 1px solid #d8dee8;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.skyseo-schema-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
}

.skyseo-schema-card>p {
    margin: 0 0 16px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.skyseo-schema-card .form-table {
    margin: 0;
}

.skyseo-schema-card .form-table th {
    padding: 12px 0 12px 0;
    font-weight: 500;
    color: #374151;
    width: 40%;
}

.skyseo-schema-card .form-table td {
    padding: 12px 0;
}

.skyseo-schema-card .form-table td select,
.skyseo-schema-card .form-table td input[type="text"],
.skyseo-schema-card .form-table td input[type="url"],
.skyseo-schema-card .form-table td textarea {
    width: 100%;
    max-width: 300px;
}

.skyseo-schema-card .form-table td select:focus,
.skyseo-schema-card .form-table td input:focus,
.skyseo-schema-card .form-table td textarea:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.2);
}

.localbusiness-field th {
    border-top: 1px dashed #e5e7eb;
    padding-top: 16px !important;
}

.localbusiness-field td {
    border-top: 1px dashed #e5e7eb;
    padding-top: 12px !important;
}

/* Responsive schema grid */
@media (max-width: 900px) {
    .skyseo-schema-grid {
        grid-template-columns: 1fr;
    }
}

/* Breadcrumb Styles */
.sky-breadcrumb {
    margin: 0 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.sky-breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.sky-breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sky-breadcrumb-link {
    color: #2271b1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sky-breadcrumb-link:hover {
    color: #135e96;
    text-decoration: underline;
}

.sky-breadcrumb-separator {
    color: #646970;
    font-size: 12px;
}

.sky-breadcrumb-current {
    color: #1d2327;
    font-weight: 500;
}

.sky-breadcrumb-item[aria-current="page"] {
    color: #1d2327;
}

/* SkySEOManager PRO Upgrade Page Styles */
.skyseo-pro-upgrade-container {
    max-width: 1200px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.skyseo-pro-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #2e1065 100%);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(30, 27, 75, 0.2);
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.skyseo-pro-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.skyseo-pro-hero-badge {
    background: linear-gradient(90deg, #6366f1, #a855f7);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.skyseo-pro-hero-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 16px 0;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skyseo-pro-hero-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #94a3b8;
    max-width: 720px;
    margin: 0 auto 32px auto;
}

.skyseo-pro-hero-cta {
    display: flex;
    justify-content: center;
}

.skyseo-pro-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skyseo-pro-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.6);
    background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
}

.skyseo-pro-btn-primary svg {
    transition: transform 0.3s;
}

.skyseo-pro-btn-primary:hover svg {
    transform: translate(2px, -2px);
}

.skyseo-pro-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .skyseo-pro-features-grid {
        grid-template-columns: 1fr;
    }
    .skyseo-pro-hero {
        padding: 40px 20px;
    }
    .skyseo-pro-hero-title {
        font-size: 26px;
    }
}

.skyseo-pro-feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skyseo-pro-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}

.skyseo-pro-feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.skyseo-pro-feature-icon-wrapper.purple {
    background: #f5f3ff;
    color: #7c3aed;
}

.skyseo-pro-feature-icon-wrapper.blue {
    background: #f0f9ff;
    color: #0284c7;
}

.skyseo-pro-feature-icon-wrapper.orange {
    background: #fff7ed;
    color: #ea580c;
}

.skyseo-pro-feature-icon-wrapper.green {
    background: #f0fdf4;
    color: #16a34a;
}

.skyseo-pro-feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px 0;
}

.skyseo-pro-feature-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 20px 0;
}

.skyseo-pro-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skyseo-pro-tag {
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

.skyseo-pro-footer {
    text-align: center;
    color: #64748b;
    font-size: 14px;
    border-top: 1px solid #e2e8f0;
    padding-top: 24px;
}

.skyseo-pro-footer a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
}

.skyseo-pro-footer a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Feature Management Dashboard Styles
   ========================================================================== */
.sky-seo-dashboard-wrap {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    margin-top: 10px;
}

.sky-seo-dashboard-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
}

.sky-seo-dashboard-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.sky-seo-dashboard-subtitle {
    font-size: 15px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.sky-seo-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 35px;
}

.sky-seo-feature-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.sky-seo-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(15, 23, 42, 0.06);
}

.sky-seo-feature-card.enabled {
    border-color: #2271b1;
    background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%);
}

.sky-seo-feature-card.disabled {
    border-color: #f1f5f9;
    background: #fafafa;
    opacity: 0.85;
}

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

.sky-seo-feature-icon {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #64748b;
    transition: color 0.3s ease;
}

.sky-seo-feature-card.enabled .sky-seo-feature-icon {
    color: #2271b1;
}

.sky-seo-feature-card.disabled .sky-seo-feature-icon {
    color: #94a3b8;
}

.sky-seo-feature-card-body {
    flex-grow: 1;
}

.sky-seo-feature-title {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 8px 0;
    transition: color 0.3s ease;
}

.sky-seo-feature-card.enabled .sky-seo-feature-title {
    color: #1e3a8a;
}

.sky-seo-feature-description {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

.sky-seo-feature-card.disabled .sky-seo-feature-description {
    color: #94a3b8;
}

/* Custom iOS-style Switch */
.sky-seo-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.sky-seo-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.sky-seo-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .4s;
}

.sky-seo-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input:checked + .sky-seo-slider {
    background-color: #2271b1;
}

input:focus + .sky-seo-slider {
    box-shadow: 0 0 1px #2271b1;
}

input:checked + .sky-seo-slider:before {
    transform: translateX(24px);
}

.sky-seo-slider.round {
    border-radius: 34px;
}

.sky-seo-slider.round:before {
    border-radius: 50%;
}

.sky-seo-dashboard-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 1px solid #f1f5f9;
    padding-top: 25px;
}

.sky-seo-save-btn {
    min-height: 44px;
    padding: 0 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sky-seo-save-status {
    font-size: 14px;
    font-weight: 500;
}

.sky-seo-save-status.success {
    color: #166534;
}

.sky-seo-save-status.error {
    color: #9f1239;
}

.sky-seo-pro-badge {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.25);
}

.sky-seo-feature-card.pro-locked {
    border-color: #cbd5e1;
    background: linear-gradient(145deg, #ffffff 0%, #f5f3ff 100%);
    opacity: 0.95;
}

.sky-seo-feature-card.pro-locked .sky-seo-feature-icon {
    color: #7c3aed;
}

.sky-seo-feature-card.pro-locked .sky-seo-feature-title {
    color: #4f46e5;
}

.sky-seo-feature-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sky-seo-feature-settings-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    border: 1px solid transparent;
}

.sky-seo-feature-card.enabled .sky-seo-feature-settings-link {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    background: #e0f2fe;
    color: #0284c7;
    border-color: #bae6fd;
}

.sky-seo-feature-settings-link:hover {
    background: #f1f5f9;
    color: #0f172a;
    transform: scale(1.05);
}

.sky-seo-feature-card.enabled .sky-seo-feature-settings-link:hover {
    background: #bae6fd;
    color: #0369a1;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
}

.sky-seo-feature-settings-link .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Upgrade to PRO Tab Styling */
.sky-seo-group-tab-upgrade {
    margin-left: auto;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.25);
    border: none;
}

.sky-seo-group-tab-upgrade .dashicons {
    color: #ffffff !important;
    animation: pulse-rocket 2s infinite alternate ease-in-out;
}

.sky-seo-group-tab-upgrade:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 14px rgba(99, 102, 241, 0.4) !important;
    transform: translateY(-1px);
}

.sky-seo-group-tab-upgrade.is-active {
    background: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%) !important;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.5) !important;
}

@keyframes pulse-rocket {
    0% {
        transform: translateY(0) scale(1);
    }
    100% {
        transform: translateY(-2px) scale(1.1);
    }
}

/* On small screens, reset the margin-left: auto so the layout wraps correctly */
@media screen and (max-width: 900px) {
    .sky-seo-group-tab-upgrade {
        margin-left: 0;
    }
}

/* ==========================================================================
   General Settings Tab — SkySEO Settings Components
   ========================================================================== */

.skyseo-settings-group {
    margin-bottom: 28px;
}

.skyseo-settings-group:last-child {
    margin-bottom: 0;
}

.skyseo-settings-group h3 {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Help Tooltip — pure CSS tooltip on hover */
.skyseo-help-tip {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.skyseo-help-tip:hover {
    color: #2271b1;
}

.skyseo-help-tip .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.skyseo-help-tip::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #1e293b;
    color: #f1f5f9;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    width: 280px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 100;
    text-align: left;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

.skyseo-help-tip::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1e293b;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 100;
}

.skyseo-help-tip:hover::after,
.skyseo-help-tip:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.skyseo-help-tip:hover::before {
    opacity: 1;
}

/* Checkbox Grid — for post type / taxonomy lists */
.skyseo-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
}

.skyseo-checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    transition: all 0.2s ease;
    cursor: pointer;
    margin: 0;
}

.skyseo-checkbox-grid label:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.skyseo-checkbox-grid input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
}

/* Stacked Checkboxes — for pagination & special pages */
.skyseo-checkbox-stacked {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skyseo-checkbox-stacked label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
}

.skyseo-checkbox-stacked label:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.skyseo-checkbox-stacked input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
}

.skyseo-checkbox-stacked label > span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.skyseo-checkbox-stacked .skyseo-label-desc {
    font-weight: 400;
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
}

/* Card heading refinement for settings tabs */
.sky-seo-card .sky-seo-section-heading p {
    max-width: 640px;
}

/* ==========================================================================
   Sitemap & Reusable Tab/Toggle Components
   ========================================================================== */

/* Sub-tab bar — standard inline tab switching */
.skyseo-tab-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 12px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.skyseo-tab-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 6px;
    color: #64748b;
    font-weight: 500;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.15s ease;
    border: 1px solid transparent;
    cursor: pointer;
    background: none;
}

.skyseo-tab-btn:hover {
    background: #f8fafc;
    color: #0f172a;
}

.skyseo-tab-btn.is-active {
    background: #f1f5f9;
    color: #1e293b;
    font-weight: 600;
    border-color: #cbd5e1;
}

.skyseo-tab-content-panel {
    display: none;
}

.skyseo-tab-content-panel.is-active {
    display: block;
}

/* Toggle Row — switch + label + description */
.skyseo-toggle-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 20px;
}

.skyseo-toggle-row .sky-seo-switch {
    flex-shrink: 0;
    margin-top: 2px;
}

.skyseo-toggle-row-content {
    flex: 1;
    min-width: 0;
}

.skyseo-toggle-row-content strong {
    display: block;
    font-size: 14px;
    color: #0f172a;
    margin-bottom: 2px;
}

.skyseo-toggle-row-content p.description {
    margin: 0;
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

.skyseo-toggle-row-content code {
    font-size: 11px;
    background: #e2e8f0;
    padding: 1px 6px;
    border-radius: 3px;
}

/* Standardized Input Sizes */
.skyseo-url-input {
    width: 100%;
    max-width: 480px;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13px;
    color: #0f172a;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.skyseo-url-input:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
    outline: none;
}

.skyseo-sm-input {
    width: 120px;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13px;
    color: #0f172a;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.skyseo-sm-input:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
    outline: none;
}

.skyseo-xs-input {
    width: 70px;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13px;
    color: #0f172a;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.skyseo-xs-input:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
    outline: none;
}

/* Status Grid — key-value pairs in info sections */
.skyseo-status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.skyseo-status-item {
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.skyseo-status-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 4px;
}

.skyseo-status-value {
    display: block;
    font-size: 14px;
    color: #0f172a;
    font-weight: 500;
}

.skyseo-status-value a {
    word-break: break-all;
}

/* Global Button Dashicon Centering for WordPress 7.0+ */
.sky-seo-admin-wrap button:has(.dashicons),
.sky-seo-admin-wrap .button:has(.dashicons),
.skyseo-editor-panel button:has(.dashicons),
.skyseo-editor-panel .button:has(.dashicons),
.skyrobots-shell button:has(.dashicons),
.skyrobots-shell .button:has(.dashicons) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}
.sky-seo-admin-wrap button:has(.dashicons) .dashicons,
.sky-seo-admin-wrap .button:has(.dashicons) .dashicons,
.skyseo-editor-panel button:has(.dashicons) .dashicons,
.skyseo-editor-panel .button:has(.dashicons) .dashicons,
.skyrobots-shell button:has(.dashicons) .dashicons,
.skyrobots-shell .button:has(.dashicons) .dashicons {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    vertical-align: middle !important;
    top: 0 !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    width: 18px !important;
    height: 18px !important;
}

/* ─── Getting Started Checklist ─── */
.sky-seo-checklist-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.sky-seo-checklist-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.sky-seo-checklist-header h2 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.sky-seo-checklist-header p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.sky-seo-checklist-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 160px;
}

.sky-seo-checklist-progress-text {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}

.sky-seo-checklist-progress-bar {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
    min-width: 100px;
}

.sky-seo-checklist-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2271b1 0%, #4f9df5 100%);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.sky-seo-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sky-seo-checklist-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.sky-seo-checklist-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.sky-seo-checklist-item.is-done {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.sky-seo-checklist-item.is-done:hover {
    background: #dcfce7;
}

.sky-seo-checklist-marker {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
}

.sky-seo-checklist-item.is-done .sky-seo-checklist-marker {
    background: #22c55e;
    border-color: #22c55e;
    color: #ffffff;
}

.sky-seo-checklist-marker .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.sky-seo-checklist-content h4 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.sky-seo-checklist-item.is-done .sky-seo-checklist-content h4 {
    text-decoration: line-through;
    color: #166534;
}

.sky-seo-checklist-content p {
    margin: 0;
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
}

.sky-seo-checklist-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.sky-seo-checklist-status {
    font-size: 12px;
    font-weight: 700;
    color: #16a34a;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.sky-seo-checklist-complete {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    color: #166534;
}

.sky-seo-checklist-complete .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #22c55e;
}

.sky-seo-checklist-complete strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.sky-seo-checklist-complete p {
    margin: 0;
    font-size: 13px;
    color: #15803d;
}

.sky-seo-features-section-header {
    margin: 28px 0 18px;
}

.sky-seo-features-section-header h3 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.sky-seo-features-section-header p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

/* ─── Activation Notice ─── */
.sky-seo-activation-notice {
    border-left-color: #2271b1;
    padding: 0;
}

.sky-seo-activation-notice-inner {
    display: flex;
    gap: 18px;
    padding: 18px 20px;
    align-items: flex-start;
}

.sky-seo-activation-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2271b1 0%, #4f9df5 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sky-seo-activation-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.sky-seo-activation-content h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.sky-seo-activation-content > p {
    margin: 0 0 14px;
    font-size: 13px;
    color: #475569;
}

.sky-seo-activation-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 360px;
    margin-bottom: 14px;
}

.sky-seo-activation-progress-bar {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.sky-seo-activation-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2271b1 0%, #4f9df5 100%);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.sky-seo-activation-progress-text {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}

.sky-seo-activation-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

@media screen and (max-width: 782px) {
    .sky-seo-checklist-header {
        flex-direction: column;
        gap: 12px;
    }

    .sky-seo-checklist-progress {
        width: 100%;
    }

    .sky-seo-checklist-item {
        flex-wrap: wrap;
    }

    .sky-seo-checklist-actions {
        width: 100%;
        justify-content: flex-start;
        padding-left: 46px;
    }

    .sky-seo-activation-notice-inner {
        flex-direction: column;
    }
}