/* LOGOCREATIVEARTS - Modern Business Name & Logo Generator UI */

:root {
    --logo-primary: #8B5CF6;
    --logo-primary-hover: #7C3AED;
    --logo-secondary: #EC4899;
    --logo-bg-surface: #ffffff;
    --logo-bg-subtle: #f8fafc;
    --logo-border: #e2e8f0;
    --logo-border-focus: #8B5CF6;
    --logo-text-title: #0f172a;
    --logo-text-body: #475569;
    --logo-text-muted: #94a3b8;
    --logo-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --logo-shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.06);
    --logo-shadow-glow: 0 4px 20px rgba(139, 92, 246, 0.25);
    --logo-radius: 16px;
}

.logo-gen-page {
    background: #f8fafc;
    min-height: 100vh;
    padding-top: 84px;
    padding-bottom: 60px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--logo-text-title);
}

.logo-gen-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 24px;
}

/* Breadcrumb & Top Bar */
.logo-gen-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.logo-gen-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--logo-text-muted);
}

.logo-gen-breadcrumb a {
    color: var(--logo-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.logo-gen-breadcrumb a:hover {
    color: var(--logo-primary);
}

.logo-gen-breadcrumb .sep {
    color: #cbd5e1;
}

.logo-gen-breadcrumb .current {
    color: var(--logo-text-title);
    font-weight: 600;
}

.talk-to-designer-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1.5px solid #d8b4fe;
    border-radius: 9999px;
    color: #7c3aed;
    background: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(139, 92, 246, 0.08);
}

.talk-to-designer-btn:hover {
    background: #faf5ff;
    border-color: #8b5cf6;
    color: #6d28d9;
    transform: translateY(-1px);
}

/* Hero Header */
.logo-gen-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--logo-border);
    border-radius: var(--logo-radius);
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: var(--logo-shadow-sm);
    gap: 24px;
    flex-wrap: wrap;
}

.logo-gen-hero-left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 320px;
}

.logo-hero-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 26px;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.25);
    flex-shrink: 0;
}

.logo-hero-text h1 {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--logo-text-title);
    margin: 0 0 4px 0;
    letter-spacing: -0.02em;
}

.logo-hero-text p {
    font-size: 0.88rem;
    color: var(--logo-text-body);
    margin: 0;
    line-height: 1.45;
}

.logo-hero-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-feature-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid var(--logo-border);
    border-radius: 12px;
    padding: 10px 16px;
    transition: all 0.2s;
}

.hero-feature-badge:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.hero-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.hero-badge-icon.green {
    background: #ecfdf5;
    color: #10b981;
}

.hero-badge-icon.blue {
    background: #eff6ff;
    color: #3b82f6;
}

.hero-badge-icon.orange {
    background: #fff7ed;
    color: #f97316;
}

.hero-badge-info strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--logo-text-title);
}

.hero-badge-info span {
    display: block;
    font-size: 0.72rem;
    color: var(--logo-text-muted);
}

/* 3-Column Studio Workspace */
.logo-gen-workspace {
    display: grid;
    grid-template-columns: 340px minmax(560px, 1fr) 340px;
    gap: 20px;
    align-items: start;
}

@media (max-width: 1400px) {
    .logo-gen-workspace {
        grid-template-columns: 320px minmax(460px, 1fr) 320px;
        gap: 16px;
    }
}

@media (max-width: 1200px) {
    .logo-gen-workspace {
        grid-template-columns: 320px 1fr;
    }
    .logo-gen-right-col {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {
    .logo-gen-workspace {
        grid-template-columns: 1fr;
    }
    .logo-gen-right-col {
        grid-column: span 1;
    }
}

/* Accordion Sidebar (Column 1) */
.accordion-panel {
    background: #ffffff;
    border: 1px solid var(--logo-border);
    border-radius: 14px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.2s ease;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid transparent;
    transition: background-color 0.15s;
}

.accordion-header:hover {
    background: #f8fafc;
}

.accordion-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.accordion-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #8b5cf6;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: background 0.2s;
}

.accordion-num.completed {
    background: #10b981;
}

.accordion-title-wrap {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.accordion-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--logo-text-title);
    line-height: 1.25;
}

.accordion-summary {
    font-size: 0.72rem;
    color: var(--logo-text-muted);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
    margin-top: 2px;
}

.accordion-panel.open .accordion-summary {
    color: #6366f1;
    font-weight: 600;
}

.step-check-icon {
    display: none;
    color: #10b981;
    font-size: 0.85rem;
    font-weight: 700;
    margin-left: 4px;
}

.accordion-chevron {
    color: var(--logo-text-muted);
    font-size: 0.9rem;
    line-height: 1;
    display: inline-block;
    transition: transform 0.25s ease;
    flex-shrink: 0;
    margin-left: 8px;
}

.accordion-panel.open .accordion-chevron {
    transform: rotate(180deg);
}

.accordion-panel.open .accordion-header {
    border-bottom-color: #f1f5f9;
}

.accordion-body {
    padding: 14px 16px 16px 16px;
    display: none;
}

.accordion-panel.open .accordion-body {
    display: block;
}

/* Form Controls in Accordion */
.form-group-item {
    margin-bottom: 12px;
}

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

.form-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--logo-text-body);
    margin-bottom: 4px;
}

.form-input-pill {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.86rem;
    color: var(--logo-text-title);
    background: #ffffff;
    box-sizing: border-box;
    transition: all 0.2s;
}

.form-input-pill:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
    outline: none;
}

.char-counter {
    font-size: 0.7rem;
    color: var(--logo-text-muted);
    text-align: right;
    margin-top: 3px;
}

/* Style Tiles Grid */
.style-tiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.style-tile {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 4px;
    text-align: center;
    cursor: pointer;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    user-select: none;
}

.style-tile .tile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: color 0.2s;
}

.style-tile .tile-label {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--logo-text-title);
}

.style-tile:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    transform: translateY(-1px);
}

.style-tile.active {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.06);
    box-shadow: 0 0 0 1px #8b5cf6;
}

.style-tile.active .tile-icon,
.style-tile.active .tile-label {
    color: #7c3aed;
    font-weight: 700;
}

/* Color Presets & Custom Pickers */
.color-swatches-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.color-swatch-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1.5px #cbd5e1;
    transition: all 0.2s ease;
    padding: 0;
}

.color-swatch-dot:hover {
    transform: scale(1.15);
}

.color-swatch-dot.active {
    box-shadow: 0 0 0 2px #8b5cf6, 0 0 0 4px rgba(139, 92, 246, 0.25);
    transform: scale(1.15);
}

.color-plus-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px dashed #cbd5e1;
    background: #ffffff;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.color-plus-btn:hover {
    border-color: #8b5cf6;
    color: #8b5cf6;
}

.custom-colors-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

.custom-color-pill {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 6px 10px;
    background: #ffffff;
    font-size: 0.85rem;
    font-family: monospace;
    color: var(--logo-text-title);
    cursor: pointer;
    position: relative;
}

.custom-color-swatch-box {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.custom-color-input-hidden {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.color-swap-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.color-swap-btn:hover {
    border-color: #8b5cf6;
    color: #8b5cf6;
    background: #f8fafc;
}

/* Center Column: Live Preview & Canvas */
.logo-gen-center-col {
    display: flex;
    flex-direction: column;
}

.live-preview-card {
    background: #ffffff;
    border: 1px solid var(--logo-border);
    border-radius: var(--logo-radius);
    box-shadow: var(--logo-shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.preview-top-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid var(--logo-border);
    background: #ffffff;
    flex-wrap: wrap;
    gap: 12px;
}

.preview-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--logo-text-title);
}

.preview-title .eye-icon {
    color: #8b5cf6;
    font-size: 18px;
}

.preview-controls-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-toggle-pill-group {
    display: flex;
    background: #f1f5f9;
    border-radius: 9999px;
    padding: 3px;
    gap: 2px;
}

.view-pill-btn {
    padding: 5px 14px;
    border-radius: 9999px;
    border: none;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: #64748b;
    transition: all 0.2s;
}

.view-pill-btn.active {
    background: #8b5cf6;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(139, 92, 246, 0.25);
}

.preview-tool-btn {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
}

.preview-tool-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.preview-tool-btn.active {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

/* Canvas Area */
.preview-canvas-stage {
    min-height: 480px;
    height: 500px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: background 0.25s ease;
}

.preview-canvas-stage.dark-bg {
    background: #0f172a;
}

.preview-canvas-stage.grid-bg {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}

.preview-canvas-stage.dark-bg.grid-bg {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

.main-logo-svg-wrapper {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.main-logo-svg-wrapper svg {
    max-width: 100%;
    max-height: 100%;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.03));
}

/* Canvas Bottom Toolbar */
.preview-bottom-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-top: 1px solid var(--logo-border);
    background: #ffffff;
    gap: 16px;
    flex-wrap: wrap;
}

.canvas-undo-redo {
    display: flex;
    gap: 6px;
}

.canvas-mini-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.canvas-mini-btn:hover:not(:disabled) {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
}

.canvas-mini-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-generate-hero {
    background: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%);
    color: #ffffff;
    border: none;
    padding: 12px 32px;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 18px rgba(236, 72, 153, 0.35);
    transition: all 0.25s ease;
}

.btn-generate-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(236, 72, 153, 0.45);
}

.btn-generate-hero:active {
    transform: translateY(0);
}

.zoom-controls-pill {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 9999px;
    padding: 4px 10px;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
}

.zoom-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    color: #64748b;
    font-size: 1rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.15s;
}

.zoom-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Bottom Pro Tip Banner */
.logo-gen-pro-tip {
    background: #f5f3ff;
    border: 1px solid #ede9fe;
    border-radius: 12px;
    padding: 14px 20px;
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pro-tip-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    color: #6d28d9;
    flex: 1;
    min-width: 280px;
}

.pro-tip-left .bulb-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.pro-tip-right {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    color: #6b21a8;
}

.hire-designer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #7c3aed;
    border: 1px solid #c084fc;
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.hire-designer-link:hover {
    background: #faf5ff;
    border-color: #a855f7;
    color: #6b21a8;
    transform: translateY(-1px);
}

/* Right Column: Logo Variations & Export (Column 3) */
.variations-panel {
    background: #ffffff;
    border: 1px solid var(--logo-border);
    border-radius: var(--logo-radius);
    padding: 20px;
    box-shadow: var(--logo-shadow-sm);
    display: flex;
    flex-direction: column;
}

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

.variations-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--logo-text-title);
    margin: 0;
}

.variations-badge {
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
}

/* Variations Grid */
.variations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

@media (max-width: 1280px) and (min-width: 901px) {
    .variations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.variation-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 8px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.variation-card svg {
    max-width: 100%;
    max-height: 100%;
    pointer-events: none;
}

.variation-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.variation-card.active {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 2px #8b5cf6, 0 8px 16px -4px rgba(139, 92, 246, 0.2);
    background: #ffffff;
}

/* Download Dropdown and Actions */
.export-actions-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-dropdown-wrapper {
    position: relative;
    width: 100%;
}

.btn-download-main {
    width: 100%;
    background: #8b5cf6;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
    transition: all 0.2s ease;
}

.btn-download-main:hover {
    background: #7c3aed;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.45);
    transform: translateY(-1px);
}

.download-chevron {
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.download-menu {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    margin-bottom: 8px;
    background: #ffffff;
    border: 1px solid var(--logo-border);
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    padding: 8px;
    display: none;
    z-index: 50;
    animation: fadeIn 0.15s ease-out;
}

.download-menu.show {
    display: block;
}

.download-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--logo-text-title);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s;
    box-sizing: border-box;
}

.download-menu-item:hover {
    background: #f8fafc;
    color: #8b5cf6;
}

.download-menu-item .file-badge {
    font-size: 0.7rem;
    background: #f1f5f9;
    color: #64748b;
    padding: 2px 6px;
    border-radius: 4px;
}

.secondary-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-action-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-action-outline:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
}

.btn-action-outline.active {
    color: #ec4899;
    border-color: #fbcfe8;
    background: #fdf2f8;
}

/* Toast Notification */
.logo-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0f172a;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.logo-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Realistic Mockup Modal View */
.mockup-overlay-container {
    position: absolute;
    inset: 0;
    background: #1e293b;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.mockup-overlay-container.show {
    display: flex;
}

.mockup-card-surface {
    width: 380px;
    height: 230px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
}

.mockup-card-surface::after {
    content: "";
    position: absolute;
    bottom: 12px;
    right: 16px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #94a3b8;
    text-transform: uppercase;
}

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

/* =========================================================================
   PHASE 11 UX 2.0: CREATIVE TOOLS SUITE STYLES
   ========================================================================= */

/* Mode Switcher & Stepper Bar Header */
.creator-control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--logo-border);
    border-radius: var(--logo-radius);
    padding: 14px 20px;
    margin-bottom: 20px;
    box-shadow: var(--logo-shadow-sm);
    gap: 16px;
    flex-wrap: wrap;
}

.mode-switcher-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mode-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--logo-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mode-pill-toggle {
    display: inline-flex;
    background: #f1f5f9;
    border-radius: 9999px;
    padding: 3px;
    border: 1px solid #e2e8f0;
}

.mode-toggle-btn {
    border: none;
    background: transparent;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--logo-text-body);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mode-toggle-btn.active {
    background: #ffffff;
    color: #7c3aed;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* 6-Step Guided Stepper Bar */
.guided-stepper-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.step-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--logo-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.step-indicator:hover {
    border-color: #c4b5fd;
    color: #7c3aed;
}

.step-indicator.active {
    background: #7c3aed;
    color: #ffffff;
    border-color: #7c3aed;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0,0,0,0.06);
    font-size: 0.75rem;
    font-weight: 700;
}

.step-indicator.active .step-num {
    background: rgba(255,255,255,0.25);
    color: #ffffff;
}

.step-divider {
    color: #cbd5e1;
    font-size: 0.8rem;
}

/* Smart Assistant Card */
.smart-assistant-card {
    background: linear-gradient(135deg, rgba(245, 243, 255, 0.95), rgba(253, 242, 248, 0.95));
    border: 1px solid #e9d5ff;
    border-radius: var(--logo-radius);
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.06);
}

.assistant-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.assistant-icon {
    font-size: 1.5rem;
}

.assistant-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #5b21b6;
}

.assistant-subtitle {
    font-size: 0.82rem;
    color: #6b7280;
}

.personality-pills-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.personality-pill {
    border: 1px solid #ddd6fe;
    background: #ffffff;
    color: #5b21b6;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.personality-pill:hover {
    background: #ede9fe;
    transform: translateY(-1px);
}

.personality-pill.active {
    background: #7c3aed;
    color: #ffffff;
    border-color: #7c3aed;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.2);
}

.assistant-recommendation-note {
    font-size: 0.82rem;
    color: #6d28d9;
    padding-top: 4px;
}

/* Step Nav Actions */
.step-nav-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    gap: 8px;
}

.btn-step-next, .btn-step-prev {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-step-next {
    background: #7c3aed;
    color: #ffffff;
    border-color: #7c3aed;
    margin-left: auto;
}

.btn-step-next:hover {
    background: #6d28d9;
}

.btn-step-next.highlight {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    border: none;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.3);
}

.btn-step-prev:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.input-hint {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 4px;
}

/* WCAG Accessibility Contrast Indicator */
.contrast-badge-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 16px 0;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.8rem;
}

.contrast-label {
    font-weight: 600;
    color: #64748b;
}

.wcag-badge {
    padding: 2px 8px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.75rem;
}

.wcag-badge.good {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.wcag-badge.warn {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

/* Icon Direction Selector */
.smart-recommendation-pill {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.icon-directions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.icon-direction-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 6px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.icon-direction-card:hover {
    border-color: #c4b5fd;
    transform: translateY(-1px);
}

.icon-direction-card.active {
    border-color: #7c3aed;
    background: #faf5ff;
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.15);
}

.direction-emoji {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.direction-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: #334155;
}

/* Typography Cards Grid */
.typography-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.typography-card {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 10px;
    padding: 10px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.typography-card:hover {
    border-color: #c4b5fd;
}

.typography-card.active {
    border-color: #7c3aed;
    background: #faf5ff;
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.15);
}

.font-preview-sample {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 4px;
    color: #0f172a;
}

.font-label {
    font-size: 0.78rem;
    font-weight: 700;
    display: block;
    color: #1e293b;
}

.font-sub {
    font-size: 0.68rem;
    color: #94a3b8;
}

/* Layout Tiles Grid */
.layout-tiles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.layout-tile {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.layout-tile:hover {
    border-color: #c4b5fd;
}

.layout-tile.active {
    border-color: #7c3aed;
    background: #faf5ff;
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.15);
}

.layout-icon {
    font-size: 1.1rem;
}

.layout-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
}

/* Generation Summary Box */
.generation-summary-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.82rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    color: #64748b;
}

.summary-line strong {
    color: #0f172a;
}

.gen-subtext {
    font-size: 0.78rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 8px;
}

/* Loading Overlay */
.generation-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
    border-radius: var(--logo-radius);
}

.generation-loading-overlay.show {
    display: flex;
}

.loading-spinner-ring {
    width: 48px;
    height: 48px;
    border: 4px solid #f1f5f9;
    border-top: 4px solid #7c3aed;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.loading-subtext {
    font-size: 0.82rem;
    color: #64748b;
}

/* 5-Tab Customization Studio */
.customization-studio-card {
    background: #ffffff;
    border: 1px solid var(--logo-border);
    border-radius: var(--logo-radius);
    padding: 20px;
    margin-top: 20px;
    box-shadow: var(--logo-shadow-sm);
}

.studio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.studio-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
}

.custom-status-badge {
    background: #ede9fe;
    color: #6d28d9;
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 9999px;
    font-weight: 700;
}

.custom-tabs-nav {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    gap: 6px;
    margin-bottom: 16px;
    overflow-x: auto;
}

.custom-tab-btn {
    border: none;
    background: transparent;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.custom-tab-btn:hover {
    color: #7c3aed;
}

.custom-tab-btn.active {
    color: #7c3aed;
    border-bottom-color: #7c3aed;
}

.custom-tab-pane {
    display: none;
}

.custom-tab-pane.active {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.studio-control-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
}

.studio-control-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    min-width: 110px;
}

.studio-range-slider {
    flex: 1;
    accent-color: #7c3aed;
    cursor: pointer;
}

.studio-val-display {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    min-width: 45px;
    text-align: right;
}

.studio-color-input {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: transparent;
}

.studio-hex-input {
    width: 90px;
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.bg-options-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.bg-choice-pill {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bg-choice-pill.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

/* Variations Grid concept card badges */
.variation-card {
    position: relative;
    overflow: hidden;
}

.concept-badge.top {
    position: absolute;
    top: 6px;
    left: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.05em;
    pointer-events: none;
}

.concept-badge-footer {
    position: absolute;
    bottom: 6px;
    left: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    pointer-events: none;
}

/* Reset Confirmation Modal */
.studio-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.studio-modal-box {
    background: #ffffff;
    border-radius: 16px;
    max-width: 440px;
    width: 90%;
    padding: 28px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.studio-modal-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.studio-modal-box h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.studio-modal-box p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 24px;
}

.studio-modal-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.btn-modal-cancel {
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
}

.btn-modal-danger {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    background: #ef4444;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.btn-modal-danger:hover {
    background: #dc2626;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .creator-control-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .guided-stepper-bar {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }
    .icon-directions-grid, .typography-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

