/**
 * Custom Schema SCHEMAFY - Enhanced Meta Tags & Social Media Styles
 * Version: 2.0
 * Modern, clean interface matching V2 design system
 */

/* ================================
   META TAGS & SOCIAL MEDIA - SHARED STYLES
   ================================ */

/* Selector Section */
.schemafy-metadata-selector-v2 {
    margin-bottom: 32px;
}

.schemafy-selector-header {
    margin-bottom: 16px;
}

.schemafy-selector-header h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--schemafy-gray-900);
    display: flex;
    align-items: center;
    gap: 8px;
}

.schemafy-selector-header h3 .dashicons {
    color: var(--schemafy-primary);
}

.schemafy-selector-header .schemafy-help-text-v2 {
    margin: 0;
    color: var(--schemafy-gray-600);
}

/* Search with Icon */
.schemafy-search-with-icon {
    position: relative;
    margin-bottom: 12px;
}

.schemafy-search-with-icon .dashicons {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--schemafy-gray-400);
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.schemafy-search-with-icon .schemafy-search-input-v2 {
    padding-left: 40px;
}

.schemafy-select-large {
    min-height: 200px;
}

/* Divider */
.schemafy-divider-v2 {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--schemafy-gray-200), transparent);
    margin: 32px 0;
}

/* Editor Header */
.schemafy-editor-header-v2 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--schemafy-gray-200);
}

.schemafy-editor-title h3 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--schemafy-gray-900);
    display: flex;
    align-items: center;
    gap: 8px;
}

.schemafy-editor-title h3 .dashicons {
    color: var(--schemafy-primary);
}

.schemafy-current-page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--schemafy-gray-100);
    border-radius: var(--schemafy-radius);
    font-size: 14px;
    color: var(--schemafy-gray-700);
}

.schemafy-current-page-badge .dashicons {
    color: var(--schemafy-primary);
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.schemafy-current-url {
    font-family: var(--schemafy-font-mono);
    font-weight: 500;
}

/* Info Box */
.schemafy-info-box-v2 {
    background: var(--schemafy-gray-50);
    border: 1px solid var(--schemafy-gray-200);
    border-radius: var(--schemafy-radius);
    margin-bottom: 24px;
    overflow: hidden;
}

.schemafy-info-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #fff;
    border-bottom: 1px solid var(--schemafy-gray-200);
}

.schemafy-info-box-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.schemafy-info-box-title .dashicons {
    color: var(--schemafy-primary);
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.schemafy-info-box-title h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--schemafy-gray-900);
}

.schemafy-seo-plugin-badge-v2 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--schemafy-primary);
    color: #fff;
    border-radius: var(--schemafy-radius-sm);
    font-size: 12px;
    font-weight: 600;
}

.schemafy-seo-plugin-badge-v2 .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.schemafy-info-box-content {
    padding: 20px;
}

/* Meta Value Grid */
.schemafy-meta-value-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.schemafy-meta-value-item-v2 {
    background: #fff;
    border: 1px solid var(--schemafy-gray-200);
    border-radius: var(--schemafy-radius);
    padding: 14px;
}

.schemafy-meta-value-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--schemafy-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.schemafy-meta-value-label .dashicons {
    width: 14px;
    height: 14px;
    font-size: 14px;
}

.schemafy-meta-value-content-v2 {
    font-size: 14px;
    color: var(--schemafy-gray-800);
    line-height: 1.5;
    min-height: 20px;
}

.schemafy-loading-text {
    color: var(--schemafy-gray-400);
    font-style: italic;
}

/* Form Section */
.schemafy-form-section {
    margin-top: 32px;
}

.schemafy-form-section-header {
    margin-bottom: 24px;
}

.schemafy-form-section-header h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--schemafy-gray-900);
    display: flex;
    align-items: center;
    gap: 8px;
}

.schemafy-form-section-header h3 .dashicons {
    color: var(--schemafy-success);
}

.schemafy-form-section-header .schemafy-help-text-v2 {
    margin: 0;
    color: var(--schemafy-gray-600);
}

/* Label with Badge */
.schemafy-label-with-badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.schemafy-label-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--schemafy-gray-900);
}

.schemafy-label-text .dashicons {
    color: var(--schemafy-primary);
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.schemafy-optional-badge-v2 {
    padding: 3px 8px;
    background: var(--schemafy-gray-100);
    color: var(--schemafy-gray-600);
    border-radius: var(--schemafy-radius-sm);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.schemafy-recommended-badge-v2 {
    padding: 3px 8px;
    background: #fff3cd;
    color: #856404;
    border-radius: var(--schemafy-radius-sm);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Input Styles */
.schemafy-input-v2,
.schemafy-textarea-v2 {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--schemafy-gray-200);
    border-radius: var(--schemafy-radius);
    font-size: 14px;
    transition: var(--schemafy-transition);
}

.schemafy-input-v2:focus,
.schemafy-textarea-v2:focus {
    outline: none;
    border-color: var(--schemafy-primary);
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}

.schemafy-textarea-v2 {
    resize: vertical;
    font-family: inherit;
}

/* Input Footer */
.schemafy-input-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    gap: 12px;
}

/* Character Counter */
.schemafy-char-counter-v2 {
    font-size: 12px;
    font-weight: 600;
    color: var(--schemafy-gray-600);
    padding: 6px 12px;
    background: var(--schemafy-gray-100);
    border-radius: var(--schemafy-radius-sm);
    white-space: nowrap;
}

.schemafy-help-inline {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--schemafy-gray-500);
    flex: 1;
}

.schemafy-help-inline .dashicons {
    width: 14px;
    height: 14px;
    font-size: 14px;
    color: var(--schemafy-info);
}

/* SEO Indicator */
.schemafy-seo-indicator-v2 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--schemafy-gray-100);
    border-radius: var(--schemafy-radius-sm);
    font-size: 12px;
    transition: var(--schemafy-transition);
}

.schemafy-indicator-icon .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.schemafy-seo-indicator-v2.schemafy-seo-good {
    background: #d4edda;
    color: #155724;
}

.schemafy-seo-indicator-v2.schemafy-seo-good .dashicons {
    color: #28a745;
}

.schemafy-seo-indicator-v2.schemafy-seo-warning {
    background: #fff3cd;
    color: #856404;
}

.schemafy-seo-indicator-v2.schemafy-seo-warning .dashicons {
    color: #ffc107;
}

.schemafy-seo-indicator-v2.schemafy-seo-bad {
    background: #f8d7da;
    color: #721c24;
}

.schemafy-seo-indicator-v2.schemafy-seo-bad .dashicons {
    color: #dc3545;
}

/* Google Preview Card */
.schemafy-preview-card-v2 {
    margin-top: 24px;
    background: #fff;
    border: 1px solid var(--schemafy-gray-200);
    border-radius: var(--schemafy-radius);
    overflow: hidden;
}

.schemafy-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--schemafy-gray-50);
    border-bottom: 1px solid var(--schemafy-gray-200);
}

.schemafy-preview-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.schemafy-preview-title .dashicons {
    color: var(--schemafy-primary);
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.schemafy-preview-title h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--schemafy-gray-900);
}

.schemafy-preview-badge {
    padding: 4px 10px;
    background: var(--schemafy-success);
    color: #fff;
    border-radius: var(--schemafy-radius-sm);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ══════════════════════════════════════════════════════
   GOOGLE SERP PREVIEW — realistic 2024/2025 simulation
   ══════════════════════════════════════════════════════ */

/* Device toggle visibility */
.schemafy-google-preview-container { display: none; }
.schemafy-google-preview-container.active { display: block; }
/* Mobile outer — inherits display:block from .schemafy-google-preview-container.active; phone frame centers itself via margin:auto */
.schemafy-serp-mobile-outer.active { background: transparent; border: none; padding: 12px 0; }

/* SERP outer wrapper */
.schemafy-serp-wrap {
    background: #f8f9fa;
    border: 1px solid #dadce0;
    border-radius: 8px;
    overflow: hidden;
    font-family: arial, sans-serif;
}

/* ── Search bar ───────────────────────────────────────── */
.schemafy-serp-searchbar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    background: #fff;
    border-bottom: 1px solid #e8eaed;
}

.schemafy-serp-glogo {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.5px;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1;
    font-family: 'Product Sans', 'Google Sans', Arial, sans-serif;
}

.schemafy-serp-input-field {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 24px;
    padding: 6px 14px;
    min-width: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.schemafy-serp-query {
    font-size: 14px;
    color: #202124;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.schemafy-serp-search-svg { flex-shrink: 0; }

/* ── Nav tabs ─────────────────────────────────────────── */
.schemafy-serp-navtabs {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #e8eaed;
    padding: 0 0 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
}
.schemafy-serp-navtabs::-webkit-scrollbar { display: none; }

.schemafy-serp-navtab {
    display: inline-block;
    padding: 9px 14px;
    font-size: 13px;
    color: #5f6368;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    cursor: default;
    user-select: none;
}

.schemafy-serp-navtab.active {
    color: #1a73e8;
    border-bottom-color: #1a73e8;
    font-weight: 500;
}

/* ── Stats bar ────────────────────────────────────────── */
.schemafy-serp-statsbar {
    padding: 8px 16px 4px;
    font-size: 13px;
    color: #70757a;
    background: #f8f9fa;
}

/* ── Results area ─────────────────────────────────────── */
.schemafy-serp-results-area {
    padding: 8px 16px 14px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Single result card ───────────────────────────────── */
.schemafy-serp-result {
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 14px 16px 14px;
    margin-bottom: 10px;
}

/* ── Site row (favicon + name/breadcrumb + ⋮) ─────────── */
.schemafy-serp-row-site {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.schemafy-serp-fav-group {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.schemafy-serp-favicon-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f3f4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

/* Favicon img hidden until loaded; globe shows by default */
.schemafy-serp-fav-img { display: none; }
.schemafy-serp-fav-globe { display: block; }
.schemafy-serp-favicon-circle.has-favicon .schemafy-serp-fav-img { display: block; }
.schemafy-serp-favicon-circle.has-favicon .schemafy-serp-fav-globe { display: none; }

.schemafy-serp-site-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.schemafy-serp-sitename {
    font-size: 14px;
    color: #202124;
    line-height: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.schemafy-serp-breadcrumb {
    font-size: 12px;
    color: #4d5156;
    line-height: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.schemafy-serp-more-btn {
    background: none;
    border: none;
    cursor: default;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    pointer-events: none;
    opacity: 0.8;
}

/* ── Title ────────────────────────────────────────────── */
.schemafy-serp-title {
    font-size: 20px;
    font-weight: 400;
    color: #1a0dab;
    line-height: 26px;
    margin: 0 0 4px;
    word-break: break-word;
    cursor: pointer;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.schemafy-serp-title:hover { text-decoration: underline; }

/* ── Description ──────────────────────────────────────── */
.schemafy-serp-desc {
    font-size: 14px;
    color: #4d5156;
    line-height: 22px;
    margin: 0;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── "Your result" badge ──────────────────────────────── */
.schemafy-serp-your-badge {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #1a73e8;
    background: #e8f0fe;
    border-radius: 4px;
    padding: 2px 7px;
    pointer-events: none;
    line-height: 1.5;
}

/* ── Ghost / skeleton results ─────────────────────────── */
.schemafy-serp-ghost {
    background: #fff;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 10px;
    opacity: 0.45;
    pointer-events: none;
}

.schemafy-serp-ghost-fav {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e8eaed;
    margin-bottom: 8px;
}

.schemafy-serp-ghost-title {
    height: 20px;
    width: 65%;
    background: #e8eaed;
    border-radius: 4px;
    margin-bottom: 8px;
}

.schemafy-serp-ghost-desc {
    height: 13px;
    background: #f1f3f4;
    border-radius: 3px;
    margin-bottom: 5px;
}

.schemafy-serp-ghost-desc.short { width: 72%; }

/* ── Mobile wrapper & phone frame ─────────────────────── */
/* .schemafy-serp-mobile-outer visibility is handled by .schemafy-google-preview-container rules above */
.schemafy-serp-phone-frame {
    width: 360px;
    max-width: 100%;
    margin: 0 auto;
    background: #f8f9fa;
    border: 1px solid #dadce0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
    font-family: arial, sans-serif;
}

/* Mobile search bar */
.schemafy-serp-mobile-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #fff;
    border-bottom: 1px solid #e8eaed;
}

.schemafy-serp-glogo-sm {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.5px;
    flex-shrink: 0;
    line-height: 1;
    font-family: 'Product Sans', 'Google Sans', Arial, sans-serif;
}

.schemafy-serp-mobile-input {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    background: #f1f3f4;
    border-radius: 20px;
    padding: 5px 12px;
    min-width: 0;
}

.schemafy-serp-mobile-tabs { padding-left: 12px; }

/* Mobile title is slightly smaller */
.schemafy-serp-phone-frame .schemafy-serp-title {
    font-size: 18px;
    line-height: 23px;
}

.schemafy-serp-phone-frame .schemafy-serp-your-badge {
    font-size: 9px;
    padding: 1px 6px;
}

/* ================================
   SOCIAL MEDIA SPECIFIC STYLES
   ================================ */

/* Card Header Badges */
.schemafy-card-header-badges {
    display: flex;
    gap: 8px;
}

.schemafy-card-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--schemafy-gray-100);
    border-radius: var(--schemafy-radius);
    font-size: 12px;
    font-weight: 600;
    color: var(--schemafy-gray-700);
}

.schemafy-card-header-badge .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

/* Social Tabs — underline style */
/* Left Column - Sticky URL Panel */
.schemafy-editor-left-panel {
    position: sticky;
    top: 120px;
    background: linear-gradient(135deg, var(--schemafy-gray-50) 0%, #ffffff 100%);
    border: 2px solid var(--schemafy-gray-200);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.schemafy-editor-left-panel-header {
    background: linear-gradient(135deg, var(--schemafy-primary-light) 0%, var(--schemafy-primary) 100%);
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid var(--schemafy-primary-hover);
}

.schemafy-editor-left-panel-header .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #ffffff;
    opacity: 0.9;
}

.schemafy-editor-left-panel-header h4 {
    margin: 8px 0 0 0;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.schemafy-editor-left-panel-body {
    padding: 24px;
}

.schemafy-current-url-display {
    margin-bottom: 20px;
}

.schemafy-current-url-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--schemafy-gray-500);
    margin-bottom: 8px;
}

.schemafy-current-url-value {
    font-size: 13px;
    line-height: 1.6;
    color: var(--schemafy-gray-800);
    font-weight: 500;
    word-break: break-all;
    background: var(--schemafy-gray-50);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--schemafy-gray-200);
}

.schemafy-editor-left-action {
    margin-top: 16px;
}

.schemafy-editor-left-action .schemafy-btn-secondary {
    width: 100%;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-weight: 600;
    border: 2px solid var(--schemafy-gray-200);
    transition: all 0.2s;
}

.schemafy-editor-left-action .schemafy-btn-secondary:hover {
    border-color: var(--schemafy-primary-light);
    background: var(--schemafy-blue-50);
    color: var(--schemafy-primary);
}

.schemafy-editor-left-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--schemafy-gray-200), transparent);
    margin: 20px 0;
}

.schemafy-editor-left-info {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid var(--schemafy-warning);
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
}

.schemafy-editor-left-info-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 8px;
}

.schemafy-editor-left-info-title .dashicons {
    color: var(--schemafy-warning);
}

.schemafy-editor-left-info-text {
    font-size: 12px;
    line-height: 1.6;
    color: #78350f;
    margin: 0;
}

.schemafy-editor-left-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.schemafy-editor-left-stat {
    background: #ffffff;
    border: 1px solid var(--schemafy-gray-200);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.schemafy-editor-left-stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--schemafy-primary-light);
    margin-bottom: 4px;
}

.schemafy-editor-left-stat-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--schemafy-gray-500);
}

/* Right Column - Content Area */
.schemafy-editor-right-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Hide original editor header in two-column layout (info now in sidebar) */
.schemafy-meta-editor-v2 .schemafy-editor-header-v2 {
    display: none;
}

/* Button States & Animations */
.schemafy-btn-secondary:disabled,
.schemafy-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.schemafy-btn-secondary[aria-busy="true"],
.schemafy-btn-primary[aria-busy="true"] {
    position: relative;
}

/* Spinning animation for loading states */
.dashicons.spin {
    animation: schemafy-spin 1s linear infinite;
}

@keyframes schemafy-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Button hover states (only when not disabled) */
.schemafy-btn-secondary:not(:disabled):hover,
.schemafy-btn-primary:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.schemafy-btn-secondary:not(:disabled):active,
.schemafy-btn-primary:not(:disabled):active {
    transform: translateY(0);
}

/* Focus states for accessibility */
.schemafy-btn-secondary:focus-visible,
.schemafy-btn-primary:focus-visible {
    outline: 3px solid var(--schemafy-primary);
    outline-offset: 2px;
}

/* Responsive - Stack on smaller screens */
@media (max-width: 1280px) {
    .schemafy-meta-editor-v2 {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .schemafy-editor-left-panel {
        position: relative;
        top: 0;
    }

    .schemafy-editor-left-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Show header again on small screens */
    .schemafy-meta-editor-v2 .schemafy-editor-header-v2 {
        display: flex;
    }
}

