/* Smart Schema Automation - 2026 Modern Design */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: #ec4899;
    --accent: #14b8a6;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.pichautari-schema-wrap {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    margin: 0 0 0 -20px;
    padding: 0;
    position: relative;
}

/* Animated Background */
.pichautari-schema-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Header Section */
.schema-header {
    position: relative;
    padding: 60px 40px 40px;
    text-align: center;
    z-index: 1;
}

.schema-logo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.schema-header h1 {
    color: white;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.schema-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 500;
}

/* Main Container */
.schema-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 40px 60px;
    position: relative;
    z-index: 1;
}

/* Glass Morphism Card */
.schema-glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    overflow: hidden;
}

/* Tab Navigation */
.schema-tabs {
    display: flex;
    gap: 4px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    overflow-x: auto;
    scrollbar-width: thin;
    position: relative;
    scroll-behavior: smooth;
    flex-wrap: nowrap;
}

/* Gradient fade on right side to indicate more content */
.schema-tabs::after {
    content: '';
    position: sticky;
    right: 0;
    top: 0;
    bottom: 0;
    width: 80px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5) 30%, rgba(255,255,255,0.95));
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s;
}

/* Hide gradient when scrolled to end */
.schema-tabs.scrolled-end::after {
    opacity: 0;
}

.schema-tabs::-webkit-scrollbar {
    height: 8px;
}

.schema-tabs::-webkit-scrollbar-track {
    background: var(--gray-200);
    border-radius: 4px;
    margin: 0 16px;
}

.schema-tabs::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
}

.schema-tabs::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, var(--primary-hover), var(--secondary));
}

.schema-tab {
    flex-shrink: 0;
    padding: 9px 14px;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    font-family: 'Plus Jakarta Sans', sans-serif;
    white-space: nowrap;
}

.schema-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s;
}

.schema-tab-icon {
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.schema-tab span:not(.schema-tab-icon) {
    position: relative;
    z-index: 1;
}

.schema-tab:hover {
    color: var(--gray-900);
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.schema-tab.active {
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
    transform: translateY(-2px);
}

.schema-tab.active::before {
    opacity: 1;
}

/* Tab Content */
.schema-tab-content {
    display: none;
    padding: 40px;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.schema-tab-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Cards */
.schema-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 24px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.schema-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s;
}

.schema-card:hover {
    border-color: var(--gray-300);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.schema-card:hover::before {
    opacity: 1;
}

.schema-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gray-100);
}

.schema-card-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.schema-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.schema-card-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.schema-card-header p {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
}

/* Toggle Switch - Modern */
.schema-toggle {
    position: relative;
    width: 64px;
    height: 34px;
}

.schema-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.schema-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--gray-300);
    border-radius: 34px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.schema-toggle-slider::before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background: white;
    border-radius: 50%;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.schema-toggle input:checked + .schema-toggle-slider {
    background: linear-gradient(135deg, var(--success), #10b981);
}

.schema-toggle input:checked + .schema-toggle-slider::before {
    transform: translateX(30px);
}

/* Form Fields */
.schema-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.schema-field {
    margin-bottom: 24px;
}

.schema-field-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 10px;
}

.schema-field-label .required {
    color: var(--danger);
}

.schema-input,
.schema-textarea,
.schema-select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: 14px;
    font-size: 15px;
    color: var(--gray-900);
    background: white;
    transition: all 0.3s;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
}

.schema-input:focus,
.schema-textarea:focus,
.schema-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

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

.schema-helper-text {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 8px;
    font-weight: 500;
}

/* Buttons */
.schema-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    position: relative;
    overflow: hidden;
}

.schema-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.schema-btn:hover::before {
    opacity: 1;
}

.schema-btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.schema-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
}

.schema-btn-secondary {
    background: white;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

.schema-btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.schema-btn-success {
    background: linear-gradient(135deg, var(--success), #10b981);
    color: white;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.schema-btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.4);
}

.schema-btn-danger {
    background: linear-gradient(135deg, var(--danger), #dc2626);
    color: white;
}

.schema-btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.3);
}

.schema-btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.schema-btn-lg {
    padding: 18px 36px;
    font-size: 17px;
}

/* Alert Boxes */
.schema-alert {
    padding: 20px 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border-left: 4px solid;
    font-weight: 500;
}

.schema-alert-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.schema-alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    border-color: var(--primary);
    color: #1e40af;
}

.schema-alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #d1f4e0 100%);
    border-color: var(--success);
    color: #065f46;
}

.schema-alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border-color: var(--warning);
    color: #92400e;
}

.schema-alert-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-color: var(--danger);
    color: #991b1b;
}

/* Stats Grid */
.schema-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.schema-stat-card {
    background: linear-gradient(135deg, white 0%, var(--gray-50) 100%);
    padding: 28px;
    border-radius: 20px;
    border: 2px solid var(--gray-200);
    text-align: center;
    transition: all 0.3s;
}

.schema-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.schema-stat-value {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.schema-stat-label {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 600;
}

/* FAQ Items */
.faq-items-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.faq-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.faq-item-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Repeater Items */
.repeater-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.repeater-item .schema-input {
    flex: 1;
}

/* Code Block */
.schema-code {
    background: var(--gray-900);
    color: #e2e8f0;
    padding: 24px;
    border-radius: 16px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    overflow-x: auto;
    line-height: 1.8;
    margin: 16px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.schema-code .keyword {
    color: #c792ea;
}

.schema-code .string {
    color: #c3e88d;
}

/* Save Bar */
.schema-save-bar {
    position: fixed;
    bottom: 0;
    left: 160px;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px 40px;
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

/* Responsive */
@media (max-width: 1024px) {
    .schema-container {
        padding: 0 24px 80px;
    }
    
    .schema-header {
        padding: 40px 24px 30px;
    }
    
    .schema-header h1 {
        font-size: 36px;
    }
    
    .schema-save-bar {
        left: 0;
    }
}

@media (max-width: 768px) {
    .schema-header h1 {
        font-size: 28px;
    }
    
    .schema-tabs {
        padding: 12px;
    }
    
    .schema-tab {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .schema-tab-content {
        padding: 24px;
    }
    
    .schema-card {
        padding: 24px;
    }
    
    .schema-form-grid {
        grid-template-columns: 1fr;
    }
    
    .schema-save-bar {
        flex-direction: column;
        gap: 12px;
        padding: 16px 24px;
    }
}

/* Utility Classes */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 32px !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mt-4 { margin-top: 32px !important; }

/* Modern Checkbox Grid */
.schema-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    max-height: 300px;
    overflow-y: auto;
}

.schema-checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.schema-checkbox-item:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(236, 72, 153, 0.05));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.schema-checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.schema-checkbox-item input[type="checkbox"]:checked + .schema-checkbox-label {
    color: var(--primary);
    font-weight: 600;
}

.schema-checkbox-item:has(input:checked) {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.schema-checkbox-label {
    font-size: 14px;
    color: var(--gray-700);
    transition: all 0.3s;
    line-height: 1.4;
}

.schema-checkbox-grid::-webkit-scrollbar {
    width: 8px;
}

.schema-checkbox-grid::-webkit-scrollbar-track {
    background: var(--gray-200);
    border-radius: 4px;
}

.schema-checkbox-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 4px;
}

.schema-checkbox-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--secondary));
}

/* Employment Type Grid - Modern Radio Button Layout */
.employment-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.employment-type-option {
    position: relative;
    cursor: pointer;
    margin: 0;
}

.employment-type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.employment-type-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    background: linear-gradient(135deg, var(--gray-50), white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 100px;
    gap: 8px;
}

.employment-type-icon {
    font-size: 32px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.employment-type-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    text-align: center;
    transition: color 0.3s ease;
}

.employment-type-option:hover .employment-type-label {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.employment-type-option:hover .employment-type-icon {
    transform: scale(1.1);
}

.employment-type-option input[type="radio"]:checked + .employment-type-label {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.employment-type-option input[type="radio"]:checked + .employment-type-label .employment-type-text {
    color: white;
    font-weight: 700;
}

.employment-type-option input[type="radio"]:checked + .employment-type-label .employment-type-icon {
    transform: scale(1.15);
    filter: brightness(0) invert(1);
}

.employment-type-custom input[type="radio"]:checked + .employment-type-label {
    background: linear-gradient(135deg, var(--accent), #0d9488);
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.3);
}

.custom-employment-type-field {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success Toast Notification - Bottom Center */
.schema-simple-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: #22c55e;
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
    z-index: 99999;
    animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.schema-simple-toast.hide {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
}

@keyframes slideInUp {
    from {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.custom-employment-input {
    text-transform: uppercase;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .employment-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .employment-type-label {
        padding: 16px 12px;
        min-height: 90px;
    }
    
    .employment-type-icon {
        font-size: 28px;
    }
    
    .employment-type-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .employment-type-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading Overlay */
.schema-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.schema-loading-spinner {
    background: white;
    padding: 32px 48px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    min-width: 320px;
}

.schema-loading-spinner .spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.schema-loading-spinner p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

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

/* Help Tab Styles */
.help-section {
    margin-bottom: 48px;
}

.help-section:last-child {
    margin-bottom: 0;
}

#tab-help .help-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 24px 0;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--gray-50), white);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.help-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.help-content {
    color: var(--gray-700);
    line-height: 1.8;
}

.help-content p {
    margin: 0 0 16px 0;
}

.help-content strong {
    color: var(--gray-900);
    font-weight: 600;
}

.help-list {
    margin: 16px 0;
    padding-left: 24px;
}

.help-list li {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* Schema Cards Grid */
.help-schema-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.help-schema-card {
    background: linear-gradient(135deg, var(--gray-50), white);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.help-schema-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
}

.help-schema-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.help-schema-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 12px 0;
}

.help-schema-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.help-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
}

.help-badge-auto {
    background: var(--success);
}

/* Code Block */
.help-code-block {
    background: var(--gray-900);
    color: #a5f3fc;
    padding: 20px;
    border-radius: 12px;
    margin: 16px 0;
    overflow-x: auto;
}

.help-code-block code {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre;
}

/* Tools Grid */
.help-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.help-tool-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, var(--gray-50), white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.help-tool-card:hover {
    border-color: var(--primary);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
}

.help-tool-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.help-tool-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 4px 0;
}

.help-tool-card p {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0;
}

/* Tips */
.help-tips {
    display: grid;
    gap: 16px;
}

.help-tip {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), white);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
}

.help-tip-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.help-tip strong {
    display: block;
    margin-bottom: 4px;
    color: var(--gray-900);
}

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

/* Toast Notification */
.schema-toast {
    position: fixed;
    top: 32px;
    right: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 999999;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
}

.schema-toast-show {
    transform: translateX(0);
    opacity: 1;
}

.schema-toast-success {
    border-left: 4px solid var(--success);
}

.schema-toast-icon {
    font-size: 20px;
    line-height: 1;
}

.schema-toast-message {
    line-height: 1.4;
}
