.funnellease-form-container {
    padding: 20px;
    margin: 20px 0;
    max-width: 100%;
    width: 100%;
    /* No background - blends with page */
    background: transparent;
    font-style: normal !important;
    font-weight: 400 !important;
}

/* Ensure all text elements have normal font style */
.funnellease-form-container *,
.funnellease-form-container input,
.funnellease-form-container label,
.funnellease-form-container button,
.funnellease-form-container h1,
.funnellease-form-container h2,
.funnellease-form-container h3,
.funnellease-form-container h4,
.funnellease-form-container h5,
.funnellease-form-container h6,
.funnellease-form-container p,
.funnellease-form-container span,
.funnellease-form-container div,
.funnellease-form-container td {
    font-style: normal !important;
}

/* Specific elements that should be bold */
.funnellease-form-container h1,
.funnellease-form-container h2,
.funnellease-form-container h3,
.funnellease-form-container h4,
.funnellease-form-container h5,
.funnellease-form-container h6,
.funnellease-form-container label,
.funnellease-form-container button,
.funnellease-form-container .funnellease-summary-item.highlight,
.funnellease-form-container .funnellease-monthly-payment .funnellease-amount {
    font-weight: bold !important;
    font-style: normal !important;
}

/* Progress Bar */
.funnellease-progress-container {
    margin-bottom: 30px;
    padding: 0 20px;
}

.funnellease-progress-bar {
    width: 100%;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.funnellease-progress-fill {
    height: 100%;
    background-color: #1e3a8a; /* Professional automotive brand color */
    border-radius: 3px;
    width: 33%;
    transition: width 0.4s ease-in-out;
    position: relative;
}

.funnellease-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-20px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(20px); opacity: 0; }
}

/* Step content */
.funnellease-step-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.funnellease-step-content.active {
    display: block;
}

.funnellease-step-content h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
    font-weight: bold;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.funnellease-field {
    margin-bottom: 15px;
}

/* Group fields for side-by-side layout */
.funnellease-field-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

/* Financial fields (3 in a row) */
.funnellease-financial-fields {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    margin-bottom: 20px;
}

.funnellease-financial-fields .funnellease-field {
    flex: 1;
    min-width: 0; /* Allow fields to shrink */
}

.funnellease-field-aanschaf,
.funnellease-field-leasebedrag,
.funnellease-field-slottermijn,
.funnellease-field-looptijd,
.funnellease-field-half {
    flex: 1;
    min-width: 200px;
}

.funnellease-field label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    position: relative;
}

.funnellease-field label .info-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('../images/info-icon.png') no-repeat center;
    background-size: contain;
    margin-left: 5px;
    cursor: pointer;
    vertical-align: middle;
}

.funnellease-field label .info-tooltip {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 10;
    width: 200px;
}

.funnellease-field label .info-tooltip .close-tooltip {
    display: none;
    position: absolute;
    top: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    background: url('../images/close-icon.png') no-repeat center;
    background-size: contain;
    cursor: pointer;
}

/* Desktop: Show tooltip on hover */
@media (min-width: 769px) {
    .funnellease-field label .info-icon:hover + .info-tooltip {
        display: block;
    }
}

/* Mobile: Show tooltip on click */
@media (max-width: 768px) {
    .funnellease-field label .info-tooltip.active {
        display: block;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        max-width: 300px;
        z-index: 1000;
        background: #333;
        color: #fff;
        padding: 10px 15px;
        border-radius: 4px;
        font-size: 12px;
    }

    .funnellease-field label .info-tooltip .close-tooltip {
        display: block;
    }

    .funnellease-field-group {
        flex-direction: row;
        gap: 15px;
        justify-content: center;
    }

    /* Keep financial fields horizontal on mobile if screen is wide enough */
    .funnellease-financial-fields {
        flex-direction: row;
        gap: 10px;
    }

    /* On very small screens, stack financial fields */
    @media (max-width: 480px) {
        .funnellease-financial-fields {
            flex-direction: column;
            gap: 15px;
        }
    }

    .funnellease-field-aanschaf,
    .funnellease-field-leasebedrag,
    .funnellease-field-slottermijn,
    .funnellease-field-looptijd,
    .funnellease-field-half {
        width: 100%;
        min-width: auto;
    }
}

.funnellease-input-wrapper {
    position: relative;
}

.funnellease-currency {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.funnellease-form-container input,
.funnellease-form-container select {
    width: 100%;
    padding: 12px 12px 12px 30px;
    margin: 0;
    box-sizing: border-box;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    background-color: #ffffff;
    transition: all 0.2s ease;
    color: #2d3748;
}

.funnellease-form-container input:focus,
.funnellease-form-container select:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.1);
}

.funnellease-form-container input::placeholder {
    color: #a0aec0;
    font-weight: 400;
    opacity: 1;
}

/* Special styling for half-width fields (no currency symbol) */
.funnellease-field-half input {
    padding: 14px 16px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    transition: all 0.2s ease;
    background-color: #ffffff;
    font-family: inherit;
    color: #2d3748;
}

.funnellease-field-half input:focus {
    outline: none;
    border-color: #4a90e2 !important;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.1);
}

.funnellease-field-half input::placeholder {
    color: #a0aec0;
    font-weight: 400;
    opacity: 1;
}

/* Modern Loan months buttons */
.funnellease-loan-months-buttons {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 10px;
    justify-content: flex-start;
    align-items: center;
}

.funnellease-month-btn {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 70px;
    height: 48px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-family: inherit;
}

.funnellease-month-btn:hover {
    background: #f1f3f4;
    border-color: #d0d0d0;
    color: #2d3748;
}

.funnellease-month-btn.active {
    background: #f8f9fa;
    border-color: #d0d0d0;
    color: #2d3748;
}

.funnellease-month-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

/* Trade-in question styling */
.funnellease-trade-in-question {
    margin-bottom: 20px;
}

.funnellease-trade-in-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s ease;
}

.funnellease-trade-in-wrapper:hover {
    border-color: #6b1d5c;
}

.funnellease-trade-in-label {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #333;
}

.funnellease-trade-in-label img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.funnellease-trade-in-label .dashicons {
    font-size: 24px;
    margin-right: 10px;
    color: #6b1d5c;
}

.funnellease-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.funnellease-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.funnellease-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e0e0e0;
    transition: all 0.2s ease;
    border-radius: 24px;
}

.funnellease-toggle-slider:before {
    position: absolute;
    content: '';
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: all 0.2s ease;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    border: 1px solid #d0d0d0;
}

input:checked + .funnellease-toggle-slider {
    background-color: #4a90e2;
}

input:checked + .funnellease-toggle-slider:before {
    transform: translateX(26px);
}

/* License plate section */
.funnellease-license-plate-section {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
}

.funnellease-license-plate-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* Dutch license plate design */
.funnellease-license-plate-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #003d82;
    border-radius: 4px;
    padding: 8px 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    max-width: 200px;
}

.funnellease-license-plate-flag {
    background: #003d82;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 2px;
    margin-right: 8px;
    min-width: 20px;
    text-align: center;
}

.funnellease-license-plate-input {
    border: none !important;
    background: transparent !important;
    font-size: 18px !important;
    font-weight: bold !important;
    letter-spacing: 2px !important;
    text-align: center !important;
    color: #000 !important;
    padding: 4px 8px !important;
    flex: 1;
    min-width: 100px;
    text-transform: uppercase;
}

.funnellease-license-plate-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.funnellease-license-plate-eu {
    font-size: 12px;
    margin-left: 8px;
}

.funnellease-license-plate-wrapper:focus-within {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.funnellease-monthly-payment {
    background: #f0f9f0;
    padding: 15px;
    text-align: center;
    border-radius: 6px;
    margin: 15px 0;
    border: 1px solid #c8e6c8;
}

.funnellease-monthly-payment .funnellease-amount {
    font-size: 24px;
    font-weight: bold;
}

.funnellease-form-container button {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.2s ease;
    background: #f8f9fa;
    color: #4a5568;
}

.funnellease-contact-options {
    margin-top: 15px;
}

.funnellease-contact-link {
    display: block;
    background: #fff;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    color: #000 !important;
}

.funnellease-contact-link:hover {
    color: #000 !important;
    background: #f8f9fa;
    border-color: #1e3a8a;
}

.funnellease-contact-link:visited {
    color: #000 !important;
}

/* Style submit button when it's the only button visible */
#funnellease_submit_btn {
    border: 1px solid #4a90e2;
    border-radius: 6px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 200px;
    text-align: center;
    font-family: inherit;
    background: #4a90e2;
    color: white;
}

#funnellease_submit_btn:hover {
    background: #357abd;
    border-color: #357abd;
}

/* Center navigation when only submit button is visible */
.funnellease-navigation:has(#funnellease_submit_btn:not([style*="display: none"])):has(.funnellease-btn-primary[style*="display: none"]) {
    justify-content: center;
}

.funnellease-contact-link .dashicons {
    margin-right: 5px;
    vertical-align: middle;
}

.funnellease-error {
    background: #ffebee;
    color: #c62828;
    padding: 12px 15px;
    border-radius: 6px;
    margin: 15px 0;
    border-left: 4px solid #f44336;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.funnellease-error::before {
    content: "⚠️";
    margin-right: 8px;
    font-size: 16px;
}

.funnellease-success {
    background: #e6ffe6;
    color: #2e7d32;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Navigation buttons */
.funnellease-navigation {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
    gap: 15px;
}

.funnellease-btn-primary,
.funnellease-btn-secondary {
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 120px;
    border: 1px solid;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: inherit;
}

.funnellease-btn-primary {
    background-color: #4a90e2;
    color: white;
    border-color: #4a90e2;
}

.funnellease-btn-primary:hover {
    background-color: #357abd;
    border-color: #357abd;
    color: white;
}

.funnellease-btn-secondary {
    background-color: #f8f9fa;
    color: #4a5568;
    border-color: #e0e0e0;
}

.funnellease-btn-secondary:hover {
    background-color: #f1f3f4;
    border-color: #d0d0d0;
    color: #2d3748;
}

/* License plate field */
.funnellease-license-plate-field .funnellease-input-wrapper {
    display: flex;
    gap: 10px;
}

.funnellease-license-plate-field input {
    flex: 1;
    padding-left: 10px !important;
}

.funnellease-lookup-btn {
    background-color: #4a90e2;
    color: white;
    border: 1px solid #4a90e2;
    padding: 12px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    white-space: nowrap;
    transition: all 0.2s ease;
    min-width: 120px;
}

.funnellease-lookup-btn:hover:not(:disabled) {
    background-color: #357abd;
    border-color: #357abd;
}

.funnellease-lookup-btn:disabled {
    background-color: #a0aec0;
    border-color: #a0aec0;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Car details */
.funnellease-car-details {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
}

.funnellease-car-details h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
}

.funnellease-car-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.funnellease-car-field {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.funnellease-car-field:last-child {
    border-bottom: none;
}

/* Summary section */
.funnellease-summary {
    background: rgba(248, 250, 252, 0.6);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.funnellease-summary h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
}

.funnellease-summary-section {
    margin-bottom: 20px;
}

.funnellease-summary-section:last-child {
    margin-bottom: 0;
}

.funnellease-summary-section h5 {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
}

.funnellease-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.funnellease-summary-item:last-child {
    border-bottom: none;
}

.funnellease-summary-item.highlight {
    background: rgba(30, 58, 138, 0.1);
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    color: #1e3a8a;
    margin-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .funnellease-form-container {
        padding: 15px;
        margin: 10px 0;
        background: transparent; /* Ensure no background on mobile */
    }

    .funnellease-monthly-payment .funnellease-amount {
        font-size: 20px;
    }

    .funnellease-form-container button {
        padding: 12px 16px;
        font-size: 14px;
    }

    /* Progress bar responsive */
    .funnellease-progress-container {
        margin-bottom: 20px;
        padding: 0 10px;
    }

    .funnellease-progress-bar {
        height: 4px;
    }

    /* Loan months buttons responsive */
    .funnellease-loan-months-buttons {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 4px;
        width: 100%;
    }

    .funnellease-month-btn {
        flex: 1;
        min-width: 50px;
        width: auto;
        height: 40px;
        font-size: 12px;
        padding: 8px 6px;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 1.2;
        font-weight: 500;
    }

    .funnellease-navigation {
        flex-direction: column;
        gap: 10px;
    }

    .funnellease-btn-primary,
    .funnellease-btn-secondary {
        width: 100%;
        min-width: auto;
    }

    .funnellease-car-info {
        grid-template-columns: 1fr;
    }

    .funnellease-license-plate-container {
        align-items: stretch;
    }

    .funnellease-license-plate-wrapper {
        max-width: 100%;
        margin-bottom: 10px;
    }

    .funnellease-lookup-btn {
        width: 100%;
    }

    .funnellease-summary-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .funnellease-summary-item {
        flex-direction: column;
        gap: 5px;
    }

    .funnellease-summary-item span:last-child {
        font-weight: bold;
        text-align: right;
    }
}