/* Registration Wizard Styles */

/* Stepper Container */
.wizard-stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Connecting Line Background */
.wizard-stepper::before {
    content: '';
    position: absolute;
    top: 20px; /* Half height of circle (40px) */
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #e9ecef;
    z-index: 0;
}

/* Connecting Line Progress (Dynamic width based on active step) */
.wizard-stepper-progress {
    position: absolute;
    top: 20px;
    left: 0;
    height: 4px;
    background-color: #007bff; /* Primary Color */
    z-index: 1;
    transition: width 0.3s ease;
}

/* Individual Step Item */
.wizard-step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 25%; /* 4 steps */
}

/* Step Circle */
.wizard-step-circle {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: 3px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
    color: #6c757d;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Step Label */
.wizard-step-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Active State */
.wizard-step-item.active .wizard-step-circle {
    border-color: #007bff;
    background-color: #007bff;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0,123,255,0.3);
}

.wizard-step-item.active .wizard-step-label {
    color: #007bff;
    font-weight: 700;
}

/* Completed State */
.wizard-step-item.completed .wizard-step-circle {
    border-color: #28a745;
    background-color: #28a745;
    color: #fff;
}

.wizard-step-item.completed .wizard-step-label {
    color: #28a745;
}

/* Wizard Content Steps */
.wizard-step-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.wizard-step-content.active {
    display: block;
}

/* Wizard Navigation Buttons */
.wizard-navigation {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
}

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

/* Responsive adjustments */
@media (max-width: 576px) {
    .wizard-step-label {
        display: none; /* Hide labels on mobile text if too crowded */
    }
    .wizard-stepper::before, .wizard-stepper-progress {
        top: 15px; /* Adjust for smaller circles if needed */
    }
    .wizard-step-circle {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}
