/* =========================================
   Inline Lead Wizard (inside .contact-bar)
   ========================================= */

/* Progress Track */
.wizard-progress-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.wizard-progress-fill {
    height: 100%;
    background: white;
    border-radius: 2px;
    transition: width 0.4s ease;
}

/* Question text */
.wizard-question {
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
}

/* Input Fields (white on blue bg) */
.wizard-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transition: all 0.2s;
    box-sizing: border-box;
}

.wizard-field::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.wizard-field:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

/* Navigation Row */
.wizard-nav {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    align-items: center;
}

.wizard-nav-back {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    font-family: inherit;
}

.wizard-nav-back:hover {
    color: white;
    text-decoration: underline;
}

.wizard-nav-next,
.wizard-submit-btn {
    background: white;
    color: #1d4ed8;
    border: none;
    border-radius: 999px;
    padding: 0.6rem 1.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.wizard-nav-next:hover,
.wizard-submit-btn:hover {
    background: #f0f4ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Role Grid */
.wizard-role-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.wizard-role-option input {
    display: none;
}

.wizard-role-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

.wizard-role-card svg {
    width: 28px;
    height: 28px;
}

.wizard-role-card:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
}

.wizard-role-option input:checked+.wizard-role-card {
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Step animation */
.wizard-step {
    animation: wizardFadeIn 0.25s ease-out;
}

@keyframes wizardFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .wizard-role-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .wizard-role-card {
        padding: 0.6rem 0.4rem;
        font-size: 0.8rem;
    }
}