/* Form Section - Uses Bootstrap form classes */
[x-cloak] { display: none !important; }

/* ==========================================
   WIZARD FORM
   ========================================== */

/* Step Indicator */
.wizard-steps-list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 2rem;
    padding: 0;
    list-style: none;
    position: relative;
}

.wizard-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    cursor: pointer;
    padding: 0 0.5rem;
}

.wizard-step-item::before {
    content: '';
    position: absolute;
    top: 18px;
    left: -50%;
    right: 50%;
    height: 2px;
    background: #dee2e6;
    z-index: 0;
}

.wizard-step-item:first-child::before {
    display: none;
}

.wizard-step-item.is-completed::before {
    background: var(--bs-primary, #0d6efd);
}

.wizard-step-item.is-active::before {
    background: var(--bs-primary, #0d6efd);
}

.wizard-step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    border: 2px solid #dee2e6;
    background: #fff;
    color: #6c757d;
    position: relative;
    z-index: 1;
    transition: all 0.2s ease;
}

.wizard-step-item.is-active .wizard-step-number {
    border-color: var(--bs-primary, #0d6efd);
    background: var(--bs-primary, #0d6efd);
    color: #fff;
}

.wizard-step-item.is-completed .wizard-step-number {
    border-color: var(--bs-primary, #0d6efd);
    background: var(--bs-primary, #0d6efd);
    color: #fff;
}

.wizard-step-title {
    font-size: 0.8125rem;
    color: #6c757d;
    margin-top: 0.5rem;
    text-align: center;
    font-weight: 500;
}

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

.wizard-step-item.is-completed .wizard-step-title {
    color: var(--bs-body-color, #212529);
}

.wizard-step-description {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.25rem;
    text-align: center;
}

/* Progress Bar */
.wizard-progress-bar {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    margin-bottom: 2rem;
    overflow: hidden;
}

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

/* Step Content */
.wizard-step-content {
    min-height: 200px;
}

.wizard-step-header {
    margin-bottom: 1.5rem;
}

.wizard-step-header h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.wizard-step-header p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Navigation */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
}

.wizard-nav .btn {
    min-width: 120px;
}

/* Field Error */
.field-error {
    font-size: 0.8125rem;
}

/* Responsive */
@media (max-width: 576px) {
    .wizard-step-title {
        display: none;
    }

    .wizard-step-description {
        display: none;
    }

    .wizard-step-number {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .wizard-step-item::before {
        top: 14px;
    }

    .wizard-nav {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .wizard-nav .btn {
        min-width: auto;
        flex: 1;
    }
}
