/* ChoiceEngine Decision Wizard Styles */

.decision-wizard-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Progress Bar Styles */
.wizard-progress-bar {
    margin-bottom: 30px;
}

.wizard-progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step-title {
    font-size: 14px;
    color: #666;
    text-align: center;
    transition: all 0.3s ease;
}

.wizard-step.active .step-number {
    background-color: var(--brand-red);
    color: white;
}

.wizard-step.active .step-title {
    color: var(--brand-red);
    font-weight: bold;
}

.wizard-step.completed .step-number {
    background-color: #4CAF50;
    color: white;
}

.step-connector {
    flex-grow: 1;
    height: 2px;
    background-color: #e0e0e0;
    margin: 0 10px;
    position: relative;
    top: -18px;
    z-index: 1;
    transition: background-color 0.3s ease;
}

.step-connector.completed {
    background-color: #4CAF50;
}

/* Step Content Styles */
.wizard-steps-content {
    min-height: 300px;
    margin-bottom: 30px;
}

.wizard-step-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.wizard-step-content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--brand-red);
    font-size: 24px;
}

/* Navigation Buttons */
.wizard-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

#wizard-back-btn {
    margin-right: auto;
}

#wizard-next-btn, #wizard-create-btn {
    margin-left: auto;
}

/* Decision Summary Styles */
.decision-summary {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
}

.summary-section {
    margin-bottom: 20px;
}

.summary-section h4 {
    color: var(--brand-red);
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.summary-content {
    padding-left: 15px;
}

.summary-content p {
    margin: 8px 0;
}

.summary-content ul {
    margin: 8px 0;
    padding-left: 20px;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .step-title {
        font-size: 12px;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
    }
    
    .wizard-step-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .step-title {
        display: none;
    }
    
    .wizard-navigation {
        flex-wrap: wrap;
    }
    
    .wizard-navigation button {
        margin: 5px;
    }
}

/* Time Options Section */
.time-options-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

/* Highlight required fields */
.wizard-step-content input[required] {
    border-left: 3px solid var(--brand-red);
}
