/* Vento Veloz - Wizard Components Based on Step 1 Design */

/* =============================================================================
   WIZARD WRAPPER AND CONTAINER (Step 1 Design)
   ============================================================================= */

.wizard-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: calc(var(--border-radius-lg) + 4px);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.wizard-container {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(
        -130deg,
        grey -752%,
        transparent 80%
    ) center / 100% 4% no-repeat;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
}

/* =============================================================================
   WIZARD ARC LINES (Step 1 Design)
   ============================================================================= */

.wizard-arc {
    position: absolute;
    background: transparent;
    pointer-events: none;
}

/* Top Arcs for wizard */
.wizard-container .top.arc {
    left: 50%;
    width: 120%;
    height: 40%;
    transform: translateX(-50%);
    border: 1px solid rgba(82, 84, 251, 0.08);
}

.wizard-container .top.a1 { 
    top: -30%; 
    border-bottom: none; 
    border-radius: 0 0 50% 50%; 
}

.wizard-container .top.a2 { 
    top: -20%; 
    border-bottom: none; 
    border-radius: 0 0 40% 40%; 
}

.wizard-container .top.a3 { 
    top: -10%; 
    border-bottom: none; 
    border-radius: 0 0 30% 30%; 
}

.wizard-container .top.a4 { 
    top: 0%; 
    border-bottom: none; 
    border-radius: 0 0 20% 20%; 
}

.wizard-container .middle.line {
    width: 80vw;
    height: 0;
    background: transparent;
    box-shadow: 80px 30px 70px rgba(0,0,0,0.10);
}

.wizard-container .middle.a1 { 
    top: 50%; 
}

/* Bottom Arcs for wizard */
.wizard-container .bottom.arc {
    left: 50%;
    width: 120%;
    height: 40%;
    transform: translateX(-50%);
}

.wizard-container .bottom.a1 { 
    bottom: -30%; 
    border-top: none; 
    border-radius: 50% 50% 0 0; 
}

.wizard-container .bottom.a2 { 
    bottom: -20%; 
    border-top: none; 
    border-radius: 40% 40% 0 0; 
}

.wizard-container .bottom.a3 { 
    bottom: -10%; 
    border-top: none; 
    border-radius: 30% 30% 0 0; 
}

.wizard-container .bottom.a4 { 
    bottom: 0%; 
    border-top: none; 
    border-radius: 20% 20% 0 0; 
}

/* =============================================================================
   WIZARD HEADER (Step 1 Design)
   ============================================================================= */

.wizard-header {
    background: transparent;
    color: var(--vento-blue-black);
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.wizard-header h2 {
    color: var(--vento-blue-black);
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.wizard-mask-image {
    width: 60%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* =============================================================================
   WIZARD PROGRESS (Step 1 Design)
   ============================================================================= */

.wizard-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: auto;
    margin: 1.5rem 0;
    position: relative;
    width: 100%;
}

/* Progress line connecting the steps */
.wizard-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    height: 3px;
    background: #e9ecef;
    z-index: 1;
    transform: translateY(-50%);
}

.wizard-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--vento-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--vento-blue-black);
    position: relative;
    transition: all 0.3s ease;
    z-index: 2;
}

.wizard-step.active {
    background: white;
    border: 3px solid #715192;
    color: var(--vento-blue-black);
}

.wizard-step.completed {
    background: white;
    border: 3px solid #715192;
    color: #715192;
}

/* Purple progress line for completed steps */
.wizard-progress.has-completed::before {
    background: linear-gradient(to right, #715192 0%, #715192 var(--progress-width, 0%), #e9ecef var(--progress-width, 0%), #e9ecef 100%);
}

/* =============================================================================
   WIZARD BODY (Step 1 Design)
   ============================================================================= */

.wizard-body {
    padding: 0rem 2rem 0rem 2rem;
    position: relative;
    z-index: 2;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h4 {
    color: var(--vento-blue-black);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.form-section h4 i {
    margin-right: 0.5rem;
    color: var(--vento-blue-black);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-control {
    text-transform: uppercase;
}

.form-control[type="email"] {
    text-transform: lowercase;
}

/* =============================================================================
   WIZARD NAVIGATION (Step 1 Design)
   ============================================================================= */

.wizard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem 2rem 1rem 2rem;
    background: transparent;
    position: relative;
    z-index: 2;
}

.btn-wizard {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
}

.btn-wizard:hover {
    transform: translateY(-1px);
}

/* =============================================================================
   VALIDATION STYLES
   ============================================================================= */

.validation-error {
    color: var(--danger-red);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-control.is-invalid {
    border-color: var(--danger-red);
}

.form-control.is-valid {
    border-color: var(--success-green);
}

/* =============================================================================
   RESPONSIVE DESIGN (Step 1 Design)
   ============================================================================= */

@media (max-width: 768px) {
    .wizard-container {
        margin: 1rem;
        border-radius: var(--border-radius);
    }
    
    .wizard-header {
        padding: 1.5rem;
    }
    
    .wizard-header h2 {
        font-size: 2rem;
    }
    
    .wizard-body {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .wizard-navigation {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .wizard-step {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }
}