/* ============================================
   CVForge - Professional Resume Builder
   Complete CSS Stylesheet
============================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Dark Mode Base */
.dark body {
    background-color: #0f172a;
    color: #e2e8f0;
}

/* Navigation Styles */
.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: #374151;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background-color: #f3f4f6;
    color: #3b82f6;
}

.dark .nav-link {
    color: #d1d5db;
}

.dark .nav-link:hover {
    background-color: #1f2937;
    color: #60a5fa;
}

/* Mobile Navigation */
.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #374151;
    font-weight: 500;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dark .mobile-nav-link {
    color: #d1d5db;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    outline: none;
    gap: 0.5rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover:not(:disabled) {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.btn-outline:hover:not(:disabled) {
    background: #3b82f6;
    color: white;
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover:not(:disabled) {
    background: #dc2626;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.dark .form-label {
    color: #e5e7eb;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
    color: #1f2937;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.dark .form-input {
    background: #1f2937;
    border-color: #374151;
    color: #e5e7eb;
}

.dark .form-input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.form-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.25rem;
    border: 1px solid #d1d5db;
    cursor: pointer;
}

.form-checkbox:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dark .card {
    background: #1f2937;
    border-color: #374151;
}

.card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.dark .card-header {
    border-color: #374151;
}

.card-body {
    padding: 1.5rem;
}

/* Alert Styles */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.dark .alert-success {
    background: #064e3b;
    color: #a7f3d0;
    border-color: #047857;
}

.dark .alert-warning {
    background: #78350f;
    color: #fde68a;
    border-color: #92400e;
}

.dark .alert-error {
    background: #7f1d1d;
    color: #fecaca;
    border-color: #991b1b;
}

.dark .alert-info {
    background: #1e3a8a;
    color: #bfdbfe;
    border-color: #2563eb;
}

/* Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-primary {
    background: #dbeafe;
    color: #1e40af;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

.dark .badge-primary {
    background: #1e3a8a;
    color: #bfdbfe;
}

.dark .badge-success {
    background: #064e3b;
    color: #a7f3d0;
}

.dark .badge-warning {
    background: #78350f;
    color: #fde68a;
}

.dark .badge-danger {
    background: #7f1d1d;
    color: #fecaca;
}

/* Table Styles */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e5e7eb;
}

.dark .table th {
    color: #9ca3af;
    border-color: #374151;
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.dark .table td {
    border-color: #374151;
}

.table tr:hover {
    background: #f9fafb;
}

.dark .table tr:hover {
    background: #1f2937;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 32rem;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.dark .modal {
    background: #1f2937;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    padding: 1.5rem 1.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.dark .modal-footer {
    border-color: #374151;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 0.5rem;
    background: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
}

.dark .progress-bar {
    background: #374151;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 9999px;
    transition: width 0.5s ease;
}

/* Resume Preview */
.resume-paper {
    width: 100%;
    max-width: 210mm;
    min-height: 297mm;
    background: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-radius: 0.75rem;
    overflow: hidden;
    margin: 0 auto;
}

.dark .resume-paper {
    background: #ffffff;
    color: #1f2937;
}

/* Template Cards */
.template-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.template-card:hover {
    transform: translateY(-8px);
}

.template-preview {
    aspect-ratio: 3/4;
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
}

/* Steps Wizard */
.steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 1.25rem;
    left: 0;
    right: 0;
    height: 2px;
    background: #e5e7eb;
    z-index: 1;
}

.dark .steps::before {
    background: #374151;
}

.step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #6b7280;
    background: white;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.dark .step-number {
    background: #1f2937;
    border-color: #374151;
    color: #9ca3af;
}

.step.active .step-number {
    border-color: #3b82f6;
    background: #3b82f6;
    color: white;
}

.step.completed .step-number {
    border-color: #10b981;
    background: #10b981;
    color: white;
}

.step-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.dark .step-label {
    color: #9ca3af;
}

.step.active .step-label {
    color: #3b82f6;
    font-weight: 600;
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip-text {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 10;
    margin-bottom: 0.5rem;
}

.tooltip:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}

.dark .tooltip-text {
    background: #374151;
}

/* Toast Notification */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 24rem;
}

.toast {
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.dark .toast {
    background: #1f2937;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.success {
    border-left: 4px solid #10b981;
}

.toast.error {
    border-left: 4px solid #ef4444;
}

.toast.warning {
    border-left: 4px solid #f59e0b;
}

.toast.info {
    border-left: 4px solid #3b82f6;
}

/* Loading Spinner */
.spinner {
    width: 2rem;
    height: 2rem;
    border: 3px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.3s ease-out;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-blob {
    animation: blob 7s infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes blob {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }

    body {
        background: white !important;
    }

    .resume-paper {
        box-shadow: none !important;
        border: none !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    .print\:break-inside-avoid {
        break-inside: avoid;
    }
}

/* Dark Mode Toggle */
.theme-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 3rem;
    height: 1.5rem;
    background: #e5e7eb;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dark .theme-toggle {
    background: #374151;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    left: 0.125rem;
    width: 1.25rem;
    height: 1.25rem;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.dark .theme-toggle::before {
    transform: translateX(1.5rem);
}

/* Mobile Menu Styles */
#mobile-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.dark #mobile-menu {
    background: rgba(15, 23, 42, 0.95);
    border-color: #374151;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.mobile-menu-item:hover {
    background: #f3f4f6;
    transform: translateX(4px);
}

.dark .mobile-menu-item:hover {
    background: #1f2937;
}

.mobile-menu-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.mobile-menu-content {
    flex: 1;
}

.mobile-menu-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.dark .mobile-menu-title {
    color: #f9fafb;
}

.mobile-menu-description {
    font-size: 0.875rem;
    color: #6b7280;
}

.dark .mobile-menu-description {
    color: #9ca3af;
}

.mobile-menu-arrow {
    color: #9ca3af;
    transition: transform 0.2s ease;
}

.mobile-menu-item:hover .mobile-menu-arrow {
    transform: translateX(4px);
}

/* Mobile Menu Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu-enter {
    animation: slideDown 0.3s ease-out;
}

/* Responsive Design */
@media (max-width: 640px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.25rem !important;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.dark ::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.dark ::-webkit-scrollbar-thumb {
    background: #475569;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark .glass {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.dark .skeleton {
    background: linear-gradient(90deg, #1f2937 25%, #374151 50%, #1f2937 75%);
}

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.bg-gradient-accent {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

/* Utility Classes */
.text-balance {
    text-wrap: balance;
}

.break-words {
    overflow-wrap: break-word;
    word-break: break-word;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hide scrollbar but keep functionality */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Resume Specific Styles */
.resume-section {
    margin-bottom: 2rem;
}

.resume-header {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 2rem;
}

.resume-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
}

.resume-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.resume-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.resume-skill-tag {
    background: #dbeafe;
    color: #1e40af;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* =========================================
   BUILDER REDESIGN v2
   ========================================= */

/* Split Layout */
.split-layout {
    display: flex;
    height: calc(100vh - 4rem);
    /* Subtract header height */
    overflow: hidden;
    background: #f8fafc;
}

/* Editor Panel (Left) */
.editor-panel {
    width: 450px;
    background: white;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    z-index: 20;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.02);
}

.editor-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.editor-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.editor-footer {
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
    background: white;
}

/* Tabs */
.builder-tabs {
    display: flex;
    gap: 1rem;
    padding: 0 1.5rem;
}

.builder-tab {
    padding: 1rem 0;
    font-weight: 600;
    color: #64748b;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.builder-tab:hover {
    color: #3b82f6;
}

.builder-tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.tab-content.active {
    display: block;
}

/* Accordion */
.accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: white;
    transition: all 0.2s;
}

.accordion-item:hover {
    border-color: #cbd5e1;
}

.accordion-header {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: #f8fafc;
    font-weight: 600;
    color: #334155;
}

.accordion-header:hover {
    background: #f1f5f9;
}

.accordion-body {
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
}

/* Preview Panel (Right) */
.preview-panel {
    flex: 1;
    background: #525659;
    /* Acrobat gray */
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.preview-toolbar {
    height: 3.5rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    color: white;
    z-index: 10;
}

.preview-area {
    flex: 1;
    overflow: auto;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Resume preview itself */
#resume-preview {
    transform-origin: top center;
    transition: transform 0.2s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Form Elements Enhancement */
.form-section-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .split-layout {
        flex-direction: column;
        height: auto;
        overflow: visible;
    }

    .editor-panel {
        width: 100%;
        height: auto;
        border-right: none;
        box-shadow: none;
    }

    .preview-panel {
        height: 60vh;
        border-top: 1px solid #e5e7eb;
    }
}