/* Lead Capture Wizard - Minimal Custom Styles */

/* Background override for content area */
.lead-capture-content {
    background: rgb(247, 248, 252);
    min-height: calc(100vh - 140px);
    padding: 3rem 0;
}

/* Hero title */
.lead-hero-title h1 {
    color: #1A499C;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Wizard card */
.wizard-card {
    width: 100%;
    max-width: 900px;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 2.5rem 3rem;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

/* Progress Section - Card Header Style */
#progressSection {
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 1.5rem;
    margin: -2.5rem -3rem 0rem -3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

#progressSection .text-muted {
    margin-bottom: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
}

/* Progress dots */
.progress-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.progress-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.3s ease;
}

.progress-dots .dot.active {
    background: #22c55e;
    width: 32px;
    border-radius: 5px;
}

.progress-dots .dot.completed {
    background:#1a499c
}

/* Section badge */
.section-badge {
    display: inline-block;
    background: #dbeafe;
    color: #1A499C;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Two-tone heading */
.wizard-step h2 {
    font-size: 2rem;
    line-height: 1.2;
}

.wizard-step h2 .text-blue {
    color: #1A499C;
}

/* Option buttons (Yes/No) */
.option-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 200px;
    background: #fff;
    border: 2px solid #e0e7f0;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 2rem;
}

.option-btn:hover {
    border-color: #4a5dad;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.option-btn.selected {
    border-color: #28a745;
    background: #fff;
    transform: scale(1.02);
}

.option-btn:focus-visible {
    outline: 2px solid #1A499C;
    outline-offset: 2px;
}

.option-btn .icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 24px;
}

.option-btn.yes-btn .icon {
    background: #e8f0fa;
    color: #1A499C;
}

.option-btn.no-btn .icon {
    background: #e8f0fa;
    color: #1A499C;
}

.option-btn.selected .icon {
    background: #28a745;
    color: #fff;
}

/* Payment option cards */
.payment-option-card {
    width: 210px;
    height: 160px;
    background: #fff;
    border: 2px solid #e0e7f0;
    border-radius: 16px;
    cursor: pointer;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.payment-option-card:hover {
    border-color: #1A499C;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.payment-option-card.selected {
    border-color: #28a745;
    background: #f8fff8;
}

.payment-option-card:focus-visible {
    outline: 2px solid #1A499C;
    outline-offset: 2px;
}

.payment-option-card .check-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #28a745;
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.payment-option-card.selected .check-icon {
    display: flex;
}

.payment-option-card .card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #e8f0fa;
    color: #1A499C;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 20px;
}

.payment-option-card.selected .card-icon {
    background: #28a745;
    color: #fff;
}

/* Volume options */
.volume-option {
    background: #fff;
    border: 2px solid #e0e7f0;
    border-radius: 12px;
    padding: 1.1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.125rem;
    color: #45556c;
}

.volume-option:focus-visible {
    outline: 2px solid #1A499C;
    outline-offset: 2px;
}

.volume-option:hover {
    border-color: #1A499C;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.volume-option.selected {
    border-color: #28a745;
    background: #e8f5e9;
    color: #28a745;
}

/* Success screen */
.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e8f5e9;
    color: #28a745;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 40px;
}

#step-success h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

#step-success h2 .text-blue {
    color: #22c55e;
}

#step-success p.text-muted {
    color: #64748b;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Fast track box */
.fast-track-box {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    padding: 2rem;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.fast-track-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #1a499c;
    font-weight: 700;
    font-size: 1.25rem;
}

.fast-track-header i {
    color: #45556c;
    font-size: 1.5rem;
}

.fast-track-box p {
    color: #45556c;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.fast-track-box .btn {
    width: 100%;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 12px;
    background: #22c55e;
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.fast-track-box .btn:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(34, 197, 94, 0.3);
}

.fast-track-box .btn i {
    font-size: 0.875rem;
}

/* Navigation */
.btn-back {
    background: transparent;
    border: none;
    color: #5a6c7d;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.2s ease;
}

.btn-back:hover {
    color: #1A499C;
}

.btn-back.hidden {
    visibility: hidden;
}

/* Wizard step transitions */
.wizard-step {
    opacity: 0;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    transform: translateY(10px);
}

.wizard-step:not([style*="display: none"]) {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced wizard step typography */
.wizard-step h2 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.wizard-step p.text-muted {
    font-size: 0.95rem;
    color: #6c757d;
}

/* Continue button enhancement */
#continueBtn {
    padding: 0.75rem 2.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
    transition: all 0.3s ease;
}

#continueBtn:hover {
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.3);
    transform: translateY(-1px);
}

/* Navigation section spacing */
#wizardNav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
}

#wizardNav.hide-nav {
    display: none !important;
}

/* Step 4 & 5: Form inputs styling */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Security notice styling */
.security-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #94a3b8;
}

.security-notice i {
    font-size: 1rem;
    color: #94a3b8;
}

/* Form container for step 4 & 5 */
.step-form-container {
    max-width: 460px;
}

/* Responsive */
@media (max-width: 768px) {
    .lead-capture-content {
        padding: 2rem 0;
    }

    .wizard-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
        border-radius: 1rem;
    }

    #progressSection {
        margin: -2rem -1.5rem 1.5rem -1.5rem;
        padding: 0.875rem 1rem;
    }

    .option-btn {
        width: 170px;
        height: 160px;
    }

    .option-btn .icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .payment-option-card {
        width: 100%;
    }

    #continueBtn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .option-btn {
        width: 140px;
        height: 140px;
    }

    .wizard-card {
        padding: 1.5rem 1rem;
    }
}
