﻿/* ---------------------------
   Wizard Container Layout
---------------------------- */
.wizard-container {
    display: flex;
    max-width: 1000px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    gap: 30px;
}

/* ---------------------------
   Sidebar
---------------------------- */
.wizard-sidebar {
    flex: 0 0 200px; /* Sidebar width */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border-right: 1px solid #e0e0e0;
    padding-right: 20px;
}

.wizard-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
}

/* Steps container */
.wizard-steps {
    display: flex;
    flex-direction: column;
   /* gap: 25px;*/
    gap: clamp(10px, 3vw, 40px);
    position: relative;
    width: 100%;
    padding-left: 20px;
}

/* Vertical connector line */
.wizard-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 20%; /* move line to middle of container */
    width: 2px;
    background-color: #ddd;
    border-radius: 2px;

    z-index: 0;
}


.wizard-step {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    font-size: 15px;
    color: #555;
    font-weight: 500;
}

/* Step icon circle */
.step-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
}

.wizard-step.active .step-icon {
    background-color: #25499c;
}

.wizard-step.active {
    color: #25499c;
    font-weight: 600;
}

/* ---------------------------
   Form Section
---------------------------- */
.form-section {
    flex: 1;
}

/* ---------------------------
   Responsive
---------------------------- */
@media (max-width: 768px) {
    .wizard-container {
        flex-direction: column;
        padding: 20px;
    }

    .wizard-sidebar {
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 15px;
        gap: 20px;
        justify-content: center;
    }

    .wizard-steps {
        flex-direction: row;
        padding-left: 0;
    }

    .wizard-steps::before {
        display: none;
    }

    .wizard-step {
        flex-direction: column;
        font-size: 13px;
    }

    .wizard-step span {
        display: none;
    }

    /*.wizard-logo {
        display: none;
    }*/

    .step-icon {
        width: 4vw; /* 4% of viewport width */
        height: 4vw; /* same as width, keeps circle shape */
        border-radius: 50%;
        background: #ccc;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: bold;
        flex-shrink: 0;
        font-size: 2.5vw; /* text inside scales too */
    }
}
