/* Course Wizard Header Styles */
.course-wizard-header-container {
    width: 100%;
}

.course-wizard-header-container .card {
    border: 1px solid var(--bs-border-color, #dee2e6);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Combined Progress and Navigation */
.wizard-progress-nav-combined {
    position: relative;
    padding: 1.5rem 0 0.75rem 0;
    margin-top: 1rem;
    border-top: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.125));
}

.wizard-steps-container {
    display: flex;
    position: relative;
    z-index: 2;
    margin-bottom: 0.5rem;
}

.wizard-step-item {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
}

.wizard-step-button {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 3;
    transition: all 0.2s ease-in-out;
}

.wizard-step-button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.wizard-step-button:not(:disabled):hover {
    transform: translateY(-2px);
}

.wizard-step-indicator {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--bs-gray-200, #e9ecef);
    border: 3px solid var(--bs-gray-300, #dee2e6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease-in-out;
    font-weight: 600;
    color: var(--bs-gray-600, #6c757d);
}

.wizard-step-button.active .wizard-step-indicator {
    background-color: var(--bs-primary, #0d6efd);
    border-color: var(--bs-primary, #0d6efd);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.wizard-step-button.completed .wizard-step-indicator {
    background-color: var(--bs-success, #198754);
    border-color: var(--bs-success, #198754);
    color: white;
}

.wizard-step-number {
    font-size: 0.875rem;
}

.wizard-step-indicator .fas {
    font-size: 0.875rem;
}

.wizard-step-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--bs-gray-600, #6c757d);
    text-align: center;
    max-width: 100px;
    line-height: 1.2;
    transition: color 0.2s ease-in-out;
}

.wizard-step-button.active .wizard-step-label {
    color: var(--bs-primary, #0d6efd);
    font-weight: 600;
}

.wizard-step-button.completed .wizard-step-label {
    color: var(--bs-success, #198754);
}

.wizard-step-connector {
    position: absolute;
    top: 1.25rem;
    left: calc(50% + 1.25rem);
    right: calc(-50% + 1.25rem);
    height: 3px;
    background-color: var(--bs-gray-300, #dee2e6);
    z-index: 1;
    transition: background-color 0.3s ease-in-out;
}

.wizard-step-connector.completed {
    background-color: var(--bs-success, #198754);
}

.wizard-progress-background {
    position: absolute;
    top: 1.25rem;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--bs-gray-200, #e9ecef);
    z-index: 1;
    border-radius: 2px;
}

.wizard-progress-fill {
    height: 100%;
    background-color: var(--bs-primary, #0d6efd);
    border-radius: 2px;
    transition: width 0.3s ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .wizard-step-label {
        font-size: 0.65rem;
        max-width: 80px;
    }
    
    .wizard-step-indicator {
        width: 2rem;
        height: 2rem;
    }
    
    .wizard-step-number {
        font-size: 0.75rem;
    }
}

@media (max-width: 767.98px) {
    .wizard-step-label {
        display: none;
    }
    
    .wizard-step-indicator {
        width: 1.75rem;
        height: 1.75rem;
    }
}


