/* -------------------------------------------------------------
   UNIVERSAL - APP STORE SCREENSHOT BUILDER STYLESHEET
   Sleek glassmorphism, responsive designer workspace,
   and pixel-perfect 1290x2796 App Store Canvas templates.
   ------------------------------------------------------------- */

/* Reset & Base Variables */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-dark: #070913;
    --panel-bg: rgba(18, 24, 43, 0.75);
    --panel-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.35);
    
    /* Device Dimensions (iPhone 15 Pro Max Aspect Ratio) */
    --canvas-width: 1290px;
    --canvas-height: 2796px;
    --phone-width: 960px;
    --phone-height: 1930px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
}

/* App Container Layout */
.app-container {
    display: grid;
    grid-template-columns: 420px 1fr;
    min-height: 100vh;
    width: 100vw;
}

/* Sidebar Customizer */
.sidebar {
    background-color: #0c0f1d;
    border-right: 1px solid var(--panel-border);
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.4);
}

.sidebar-header {
    padding: 24px;
    border-bottom: 1px solid var(--panel-border);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.logo-icon {
    font-size: 24px;
}

.logo-area h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #3b82f6 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.sidebar-header p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.tabs-container {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Scrollbar styling */
.tabs-container::-webkit-scrollbar {
    width: 6px;
}
.tabs-container::-webkit-scrollbar-track {
    background: transparent;
}
.tabs-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

/* Control Sections */
.control-section {
    background-color: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(12px);
}

.control-section h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

/* Inputs & Form Elements */
.form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

label {
    font-size: 12px;
    font-weight: 500;
    color: #cbd5e1;
}

.input-tip {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
}

input[type="text"],
input[type="number"],
textarea,
select {
    width: 100%;
    background-color: rgba(10, 15, 30, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    transition: all 0.2s ease;
}

input[type="text"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

input[type="color"] {
    -webkit-appearance: none;
    border: none;
    width: 100%;
    height: 38px;
    border-radius: 8px;
    cursor: pointer;
    background: transparent;
}

input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

input[type="color"]::-webkit-color-swatch {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

/* Target Platform Toggle Switcher */
.platform-toggle-group {
    display: flex;
    gap: 8px;
    background-color: rgba(10, 15, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 4px;
}

.platform-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 10px 8px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.platform-btn:hover {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.platform-btn.active {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

.platform-btn .p-icon {
    font-size: 15px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #e2e8f0;
    margin-top: 4px;
}

.checkbox-label input {
    margin-top: 3px;
    cursor: pointer;
}

/* Template Button Selectors */
.template-selector {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.template-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: rgba(10, 15, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.template-btn:hover {
    background-color: rgba(10, 15, 30, 0.7);
    border-color: rgba(255, 255, 255, 0.15);
}

.template-btn.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.25);
}

.btn-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    font-weight: 700;
    font-size: 12px;
    transition: all 0.2s ease;
}

.template-btn.active .btn-num {
    background-color: var(--accent);
    color: white;
}

.btn-label {
    display: flex;
    flex-direction: column;
}

.btn-label strong {
    font-size: 13px;
    font-weight: 600;
}

.btn-label small {
    font-size: 11px;
    color: var(--text-secondary);
}

/* Background Presets */
.preset-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-top: 4px;
}

.preset-btn {
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.preset-btn:hover {
    transform: scale(1.15);
}

.preset-btn.active {
    border-color: var(--text-primary);
    transform: scale(1.2);
}

/* Action Buttons */
.download-btn,
.download-all-btn {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
}

.download-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    margin-bottom: 10px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.download-all-btn {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-all-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.export-note {
    font-size: 11px;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 10px;
    line-height: 1.4;
}

/* List Editors & Dynamic Inputs */
.list-editor {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    background-color: rgba(10, 15, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
}

.car-edit-row,
.book-edit-row,
.ri-item-edit-row,
.receipt-edit-row {
    display: flex;
    gap: 6px;
    align-items: center;
}

.car-edit-row input,
.book-edit-row input,
.ri-item-edit-row input,
.receipt-edit-row input {
    font-size: 11px;
    padding: 6px 8px;
}

.delete-btn {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
}

.delete-btn:hover {
    background: rgba(239, 68, 68, 0.4);
}

.action-btn-small {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 8px;
}

.action-btn-small:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Custom Uploader Settings */
.uploader-info {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.upload-slot-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.upload-slot {
    display: grid;
    grid-template-columns: 60px 1fr;
    align-items: center;
    gap: 8px;
}

.upload-slot span {
    font-size: 12px;
    font-weight: 600;
}

.custom-file-input {
    font-size: 11px;
    padding: 4px;
}

.hidden {
    display: none !important;
}


/* -------------------------------------------------------------
   PREVIEW WORK AREA
   ------------------------------------------------------------- */
.preview-area {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: #05070e;
    position: relative;
    overflow: hidden;
}

.workbench-scroll-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 30px 20px 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    scroll-behavior: smooth;
}

.preview-toolbar {
    height: 60px;
    background-color: rgba(12, 15, 29, 0.85);
    border-bottom: 1px solid var(--panel-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    backdrop-filter: blur(10px);
    z-index: 5;
    flex-shrink: 0;
}

.canvas-dimensions {
    font-size: 13px;
    color: var(--text-secondary);
}

.zoom-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.zoom-controls button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.zoom-controls button:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.25);
}

#zoom-indicator {
    font-size: 13px;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
}

.canvas-scale-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 10px 0;
}

.canvas-box-holder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 284px;
    height: 615px;
    transition: width 0.15s ease, height 0.15s ease;
}


/* -------------------------------------------------------------
   THE MOCKUP CANVAS (Exact 1290 x 2796 px)
   ------------------------------------------------------------- */
.screenshot-canvas {
    width: var(--canvas-width);
    height: var(--canvas-height);
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    border-radius: 0px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(var(--scale, 0.22));
    transform-origin: center center;
    flex-shrink: 0;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 120px 0 0 0; /* Space for headline and subheadline */
}

/* Canvas Header Texts */
.canvas-text {
    width: 100%;
    max-width: 1100px;
    text-align: center;
    padding: 0 40px;
    z-index: 4;
}

.canvas-text h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 80px;
    font-weight: 850;
    letter-spacing: -2.5px;
    line-height: 1.05;
    margin-bottom: 24px;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.canvas-text p {
    font-family: 'Inter', sans-serif;
    font-size: 38px;
    font-weight: 500;
    line-height: 1.4;
    color: #cbd5e1;
    margin: 0 auto;
    max-width: 900px;
    opacity: 0.9;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Connected Panoramic Guides */
.panoramic-guide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 8px;
    background: repeating-linear-gradient(45deg, rgba(59,130,246,0.3), rgba(59,130,246,0.3) 10px, rgba(0,0,0,0.1) 10px, rgba(0,0,0,0.1) 20px);
    z-index: 99;
    pointer-events: none;
    display: none;
}
.screenshot-canvas.show-panoramic-guides .panoramic-guide {
    display: block;
}
.guides-left { left: 0; }
.guides-right { right: 0; }


/* -------------------------------------------------------------
   IPHONE 15 PRO MAX BEZEL MOCKUP (HIGH-FIDELITY OVERLAY)
   ------------------------------------------------------------- */
.phone-wrapper {
    position: relative;
    width: var(--phone-width);
    height: var(--phone-height);
    margin-top: 60px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 3;
    display: flex;
    justify-content: center;
}

.phone-frame-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.phone-frame-bezel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.55));
}

/* Screen Content Area */
.screen-content {
    position: absolute;
    top: 3.338%;
    left: 6.644%;
    width: 86.577%;
    height: 93.324%;
    background-color: #ffffff;
    border-radius: 44px;
    overflow: hidden;
    z-index: 1;
}

/* Screen Glass Glare Reflection Overlay */
.screen-glass-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 100%);
    z-index: 95;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* App Dark/Light Theme Switching classes */
.screen-content.light-mode {
    background-color: #f2f2f7;
    color: #000000;
}

.screen-content.dark-mode {
    background-color: #000000;
    color: #ffffff;
}

/* -------------------------------------------------------------
   DEVICE LAYOUT TEMPLATES (Tilts & Angles)
   ------------------------------------------------------------- */
.layout-flat-up {
    transform: translateY(-240px) scale(1.0);
}
.layout-tilt-left {
    transform: translateY(-140px) rotate(-8deg) scale(0.95) skewX(-2deg);
}
.layout-tilt-right {
    transform: translateY(-140px) rotate(8deg) scale(0.95) skewX(2deg);
}
.layout-perspective-zoom {
    transform: translateY(-300px) scale(1.35) rotate(-5deg);
}

/* =============================================================
   CUSTOM SCREENSHOT SPECIFIC UI STYLING
   ============================================================= */
.custom-image-viewport {
    width: 100%;
    height: 100%;
    background-color: #0b0f17;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.custom-placeholder-mesh {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px;
    color: #64748b;
    text-align: center;
}
.mesh-icon {
    font-size: 90px;
}
.custom-placeholder-mesh h4 {
    font-size: 26px;
    font-weight: 700;
    color: #cbd5e1;
}
.custom-placeholder-mesh p {
    font-size: 18px;
    max-width: 480px;
    line-height: 1.4;
}

.custom-screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* =============================================================
   ADSENSE PLACEHOLDERS & MODAL STYLING
   ============================================================= */
.ad-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.ad-placeholder-sidebar {
    width: 100%;
    text-align: center;
}

.ad-box-mock {
    width: 100%;
    height: 180px;
    background: rgba(30, 41, 59, 0.6);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    padding: 12px;
}

.top-ad-banner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 16px auto;
    text-align: center;
}

.ad-box-top {
    width: 100%;
    height: 70px;
    background: rgba(30, 41, 59, 0.6);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
}

.sidebar-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-secondary);
}
.sidebar-footer .attribution {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.sidebar-footer .attribution a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}
.sidebar-footer .attribution a:hover {
    text-decoration: underline;
}
.sidebar-footer .footer-links {
    margin-bottom: 6px;
}
.sidebar-footer a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
}
.sidebar-footer a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}
.sidebar-footer .copyright {
    font-size: 11px;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Interstitial Export Ad Modal */
.ad-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-modal-content {
    width: 90%;
    max-width: 480px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    color: white;
}

.ad-modal-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.countdown-text {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.ad-box-large {
    width: 100%;
    height: 220px;
    background: rgba(15, 23, 42, 0.6);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    margin-bottom: 20px;
}

.ad-modal-close-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: var(--accent);
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}
.ad-modal-close-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* =============================================================
   SEO CONTENT & FAQ SECTION STYLING
   ============================================================= */
.seo-content-container {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.seo-intro-card, .seo-faq-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(12px);
}

.seo-intro-card h2, .seo-faq-card h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.seo-intro-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
}

.feature-card .f-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 10px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.faq-item {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.faq-item:hover {
    background: rgba(15, 23, 42, 0.8);
}

.faq-item summary {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    outline: none;
}

.faq-item p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-top: 10px;
    margin-bottom: 0;
}

/* Mobile & Tablet Responsive Layout */
@media (max-width: 960px) {
    .app-container {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .sidebar {
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--panel-border);
    }
    
    .preview-area {
        height: auto;
        min-height: 100vh;
    }
    
    .workbench-scroll-container {
        padding: 20px 12px 40px 12px;
    }
}
