/* Stepper Navigation Styles */

.stepper-nav {
    background-color: var(--card-bg);
    border-right: 1px solid var(--border);
    height: calc(100vh - var(--nav-height));
    position: sticky;
    top: var(--nav-height);
    width: 240px;
    padding: 1.5rem 0;
    z-index: 10;
    transition: background-color var(--transition-speed) var(--transition-easing);
}

.stepper-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.stepper-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stepper-item {
    margin-bottom: 2px;
}

.stepper-link {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 0.85rem 1.5rem;
    text-decoration: none;
    color: var(--text);
    transition: all var(--transition-speed) var(--transition-easing);
    border-left: 4px solid transparent;
    position: relative;
}

.stepper-link:hover {
    background-color: var(--bg);
    color: var(--primary);
}

.stepper-item--active .stepper-link {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 600;
}

.stepper-icon {
    font-size: 1.25rem;
    margin-right: 1rem;
    width: 24px;
    text-align: center;
    display: inline-block;
}

.stepper-label {
    flex-grow: 1;
    font-size: 0.95rem;
}

/* Layout Wrapper */
.stepper-layout {
    display: flex;
    min-height: calc(100vh - var(--nav-height));
    background-color: var(--bg);
}

.stepper-content {
    flex-grow: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: hidden;
}

/* Step visibility */
.step-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

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

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

/* Mobile Navigation */
@media (max-width: 768px) {
    .stepper-layout {
        flex-direction: column;
    }

    .stepper-nav {
        position: fixed;
        bottom: 0;
        top: auto;
        left: 0;
        width: 100%;
        height: auto;
        padding: 0;
        border-right: none;
        border-top: 1px solid var(--border);
        box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
        background-color: var(--card-bg);
    }

    .stepper-list {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .stepper-item {
        flex: 1;
        margin-bottom: 0;
    }

    .stepper-link {
        flex-direction: column;
        padding: 0.6rem 0.2rem;
        border-left: none;
        border-top: 3px solid transparent;
        text-align: center;
    }

    .stepper-item--active .stepper-link {
        border-top-color: var(--primary);
        background-color: transparent;
    }

    .stepper-icon {
        margin-right: 0;
        margin-bottom: 4px;
        font-size: 1.1rem;
    }

    .stepper-label {
        font-size: 0.65rem;
        text-transform: uppercase;
        font-weight: 600;
    }

    .stepper-content {
        padding: 1rem;
        padding-bottom: 80px; /* Space for bottom nav */
    }
}
