/* Layout Styles */

/* Main App Layout */
.app-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    grid-template-rows: auto 1fr;
    min-height: 100vh;
}

/* Topbar */
.topbar {
    grid-column: 1 / -1;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.topbar-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
}

.topbar-badge {
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--primary-light);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 99px;
}

/* Left Panel */
.left-panel {
    background: var(--surface);
    border-right: 1px solid var(--border);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    overflow-y: auto;
}

.config-section-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

/* Right Panel */
.right-panel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Progress Header */
.progress-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 0;
}

/* Step Content Area */
.step-content-area {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 2rem;
}

.step-panel {
    display: none;
    flex-direction: column;
    gap: 1.25rem;
    animation: fadeSlideIn 0.35s ease;
}

.step-panel.active {
    display: flex;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Action Bar */
.action-bar {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.action-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hint-icon {
    color: var(--warning);
}

/* Dual View Layout */
.dual-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 1200px) {
    .dual-view {
        grid-template-columns: 1fr;
    }
}
