.quote-form-container {
    max-width: 100%; 
    margin: 10px auto;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    background-color: #fff; 
}

@media (max-width: 640px) {
    .iqf-v2-card-grid.iqf-cols-2,
    .iqf-v2-card-grid.iqf-cols-3,
    .iqf-v2-card-grid.iqf-cols-4 {
        grid-template-columns: 1fr;
    }
}

.quote-form-container h2 {
    text-align: center;
    font-size: 1.5em; 
    margin-bottom: 15px;
}

.quote-form-container form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.quote-form-container .form-row {
    display: flex;
    flex-direction: column;
    flex: 1 1 calc(50% - 15px); 
}

.quote-form-container label {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 0.9em;
}

.quote-form-container input, 
.quote-form-container select, 
.quote-form-container button {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px; 
    width: 100%;
    height: 44px;
    box-sizing: border-box;
}

.quote-form-container .radio-options {
    display: flex;
    gap: 20px; 
    align-items: center; 
    margin-top: 8px; 
    justify-content: flex-start; 
}

.quote-form-container .radio-options label {
    display: flex;
    align-items: center; 
    gap: 8px; 
    font-weight: normal; 
    margin: 0;
    cursor: pointer;
}

.quote-form-container .radio-options input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
    accent-color: #00338d;
}

.quote-form-container select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24"%3E%3Cpath fill="gray" d="M7 10l5 5 5-5H7z"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
}

.quote-form-container .button-row {
    flex: 1 1 100%;
    text-align: center;
}

.quote-form-container button {
    background-color: #00338d;
    color: white;
    border: none;
    cursor: pointer;
    padding: 12px;
    font-size: 16px;
    border-radius: 5px;
    width: 100%; 
    max-width: 300px; 
    margin: 0 auto; 
    transition: background-color 0.3s ease-in-out;
}

.quote-form-container button:hover {
    background-color: orange;
}

.iqf-v2 {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 16px;
    box-sizing: border-box;
}

.iqf-v2-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
    background: linear-gradient(180deg, #e8eef7, #f3f6fb);
    border-radius: 16px;
}

.iqf-v2-hero-inner {
    width: 100%;
    max-width: 560px;
    text-align: center;
}

.iqf-v2-title {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.1;
}

@media (max-width: 420px) {
    .iqf-v2-title {
        font-size: 24px;
    }
}

.iqf-v2-subtitle {
    margin: 0 0 18px;
    color: #4b5563;
    font-size: 16px;
}

.iqf-v2-zip-form {
    display: grid;
    gap: 8px;
    padding: 20px;
    background: #fff;
    border: 2px solid #d1d5db;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.iqf-v2-zip-label {
    font-weight: 600;
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.iqf-v2-zip-row {
    display: grid;
    gap: 4px;
    justify-items: center;
}

.iqf-v2-zip-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.iqf-v2-zip-input {
    width: 100%;
    padding: 16px;
    font-size: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    box-sizing: border-box;
}

.iqf-v2-zip-input:focus {
    outline: none;
    border-color: #00338d;
    box-shadow: none;
}

.iqf-v2-zip-input:focus::placeholder {
    color: transparent;
}

.iqf-v2-zip-note {
    text-align: left;
    font-size: 13px;
    color: #6b7280;
    margin-top: -2px;
}

@media (min-width: 768px) {
    .iqf-v2-zip-row {
        justify-items: center;
    }

    .iqf-v2-zip-bar {
        width: 100%;
        max-width: 520px;
        grid-template-columns: 1fr auto;
        gap: 0;
        align-items: stretch;
    }

    .iqf-v2-zip-input {
        max-width: none;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-right: 0;
    }

    .iqf-v2-zip-btn {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        min-width: 140px;
    }
}

.iqf-v2-zip-btn,
.iqf-v2-btn {
    width: 100%;
    padding: 14px 16px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background: #00338d;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}

.iqf-v2-zip-btn {
    background: #ff7000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.iqf-v2-zip-btn:disabled {
    background: #ff7000;
    opacity: 0.7;
    cursor: not-allowed;
}


.iqf-v2-zip-btn-icon {
    font-size: 20px;
    line-height: 1;
}

.iqf-v2-btn:hover,
.iqf-v2-zip-btn:hover {
    background: orange;
}

.iqf-v2-zip-btn:hover {
    background: #ea580c;
}



.iqf-v2-btn-secondary {
    background: #eef2ff;
    color: #111827;
}

.iqf-v2-btn-secondary:hover {
    background: #e0e7ff;
}


.iqf-v2-trust-item {
    padding: 8px 10px;
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
}

.iqf-v2-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* V3 Dark Container Bar Styles */
.iqf-v3 {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 16px;
    box-sizing: border-box;
}

.iqf-v3-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.iqf-v3-hero-inner {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.iqf-v3-title {
    margin: 0 0 16px;
    font-size: 32px;
    line-height: 1.2;
    color: #1f2937;
    font-weight: 700;
}

@media (max-width: 420px) {
    .iqf-v3-title {
        font-size: 26px;
    }
}

.iqf-v3-subtitle {
    margin: 0 0 32px;
    color: #4b5563;
    font-size: 18px;
}

.iqf-v3-form {
    width: 100%;
}

.iqf-v3-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px;
    background: #002d62;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 45, 98, 0.3), 0 10px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 767px) {
    .iqf-v3-container {
        padding: 24px;
        gap: 16px;
    }
}

.iqf-v3-field {
    display: grid;
    gap: 8px;
}

.iqf-v3-field label {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
}

.iqf-v3-field input,
.iqf-v3-field select {
    width: 100%;
    height: 56px;
    padding: 16px;
    font-size: 16px;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
}

.iqf-v3-field input:focus,
.iqf-v3-field select:focus {
    outline: none;
    border-color: #ff7000;
    box-shadow: 0 0 0 3px rgba(255, 112, 0, 0.1);
}

.iqf-v3-field select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24"%3E%3Cpath fill="%23666" d="M7 10l5 5 5-5H7z"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 40px;
}

.iqf-v3-btn {
    width: 100%;
    height: 56px;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: #ff7000;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s ease;
}

.iqf-v3-btn:hover {
    background: #ea580c;
}

.iqf-v3-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 112, 0, 0.3);
}

.iqf-v3-field label {
    text-align: left;
}

/* V4 Multi-Step Form Styles */
.iqf-v4 {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 16px;
    box-sizing: border-box;
}

.iqf-v4-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.iqf-v4-hero-inner {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.iqf-v4-title {
    margin: 0 0 16px;
    font-size: 32px;
    line-height: 1.2;
    color: #1f2937;
    font-weight: 700;
}

@media (max-width: 420px) {
    .iqf-v4-title {
        font-size: 26px;
    }
}

.iqf-v4-subtitle {
    margin: 0 0 24px;
    color: #4b5563;
    font-size: 18px;
}

.iqf-v4-progress-container {
    margin: 0 0 32px;
    text-align: center;
}

.iqf-v4-progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.iqf-v4-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff7000, #ea580c);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.iqf-v4-progress-text {
    font-size: 14px;
    color: #6b7280;
    font-weight: 600;
}

.iqf-v4-form {
    width: 100%;
}

.iqf-v4-step {
    display: block;
}

.iqf-v4-step-hidden {
    display: none;
}

.iqf-v4-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px;
    background: #002d62;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 45, 98, 0.3), 0 10px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 767px) {
    .iqf-v4-container {
        padding: 24px;
        gap: 16px;
    }
}

.iqf-v4-field {
    display: grid;
    gap: 8px;
}

.iqf-v4-field-hidden {
    display: none;
}

.iqf-v4-field label {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
}

.iqf-v4-field input,
.iqf-v4-field select {
    width: 100%;
    height: 56px;
    padding: 16px;
    font-size: 16px;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
}

.iqf-v4-field input:focus,
.iqf-v4-field select:focus {
    outline: none;
    border-color: #ff7000;
    box-shadow: 0 0 0 3px rgba(255, 112, 0, 0.1);
}

.iqf-v4-field select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24"%3E%3Cpath fill="%23666" d="M7 10l5 5 5-5H7z"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 40px;
}

.iqf-v4-radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.iqf-v4-radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.iqf-v4-radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #ff7000;
}

.iqf-v4-radio-text {
    user-select: none;
}

.iqf-v4-btn {
    width: 100%;
    height: 56px;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: #ff7000;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s ease;
}

.iqf-v4-btn:hover {
    background: #ea580c;
}

.iqf-v4-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 112, 0, 0.3);
}

.iqf-v4-btn-secondary {
    background: #6b7280;
    color: #fff;
}

.iqf-v4-btn-secondary:hover {
    background: #4b5563;
}

.iqf-v4-button-group {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 16px;
}

@media (max-width: 480px) {
    .iqf-v4-button-group {
        grid-template-columns: 1fr;
    }
    
    .iqf-v4-radio-group {
        justify-content: center;
    }
}

.iqf-v2-card-inner {
    padding: 18px;
}

.iqf-v2 [hidden] {
    display: none !important;
}

.iqf-v2-progress {
    margin-bottom: 14px;
}

.iqf-v2-progress-label {
    font-weight: 700;
    margin-bottom: 8px;
}

.iqf-v2-progress-bar {
    width: 100%;
    height: 10px;
    background: #f3f4f6;
    border-radius: 999px;
    overflow: hidden;
}

.iqf-v2-progress-bar span {
    display: block;
    height: 100%;
    background: #00338d;
    border-radius: 999px;
    transition: width 200ms ease;
}

.iqf-v2-card-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
}

.iqf-v2-card-grid.iqf-cols-1 { grid-template-columns: 1fr; }
.iqf-v2-card-grid.iqf-cols-2 { grid-template-columns: repeat(2, 1fr); }
.iqf-v2-card-grid.iqf-cols-3 { grid-template-columns: repeat(3, 1fr); }
.iqf-v2-card-grid.iqf-cols-4 { grid-template-columns: repeat(4, 1fr); }

.iqf-v2 label.iqf-v2-radio-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 64px;
    padding: 18px 56px 18px 18px;
    border-radius: 14px;
    border: 1px solid #d1d5db;
    background: #fff;
    font-weight: 700;
    color: #111827;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.iqf-v2 label.iqf-v2-radio-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.iqf-v2 label.iqf-v2-radio-card::before {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid #9ca3af;
    transform: translateY(-50%);
    background: #fff;
}

.iqf-v2 label.iqf-v2-radio-card.is-checked,
.iqf-v2 label.iqf-v2-radio-card:has(input:checked) {
    border-color: #00338d;
    box-shadow: 0 0 0 4px rgba(0, 51, 141, 0.12);
}

.iqf-v2 label.iqf-v2-radio-card.is-checked::before,
.iqf-v2 label.iqf-v2-radio-card:has(input:checked)::before {
    border-color: #00338d;
    background: radial-gradient(circle at center, #00338d 0 55%, transparent 56% 100%);
}

.iqf-v2-card-grid .iqf-v2-radio-card {
    text-align: left;
}

.iqf-v2-toggle-link {
    background: transparent;
    border: 0;
    color: #00338d;
    font-weight: 700;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

.iqf-v2 #iqfV2VehicleYearToggle {
    display: block;
    width: 100%;
    margin: 4px 0 12px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    text-align: center;
}

.iqf-v2-step-title {
    margin: 0 0 6px;
    font-size: 22px;
}

.iqf-v2-step-subtitle {
    margin: 0 0 16px;
    color: #4b5563;
}

.iqf-v2-field {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
}

.iqf-v2-field label {
    font-weight: 700;
    font-size: 14px;
}

.iqf-v2-field input,
.iqf-v2-field select {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    box-sizing: border-box;
    background: #fff;
}

.iqf-v2-field input:focus,
.iqf-v2-field select:focus {
    outline: none;
    border-color: #00338d;
    box-shadow: 0 0 0 4px rgba(0, 51, 141, 0.15);
}

.iqf-v2-field-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.iqf-v2-actions {
    margin-top: 12px;
}

.iqf-v2-actions-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.iqf-v2-fineprint {
    margin-top: 12px;
    font-size: 12px;
    color: #6b7280;
}

.iqf-v2-results-meta {
    margin: 10px 0 12px;
    font-weight: 700;
    font-size: 18px;
    color: #111827;
}

.iqf-v2-scroll-cue {
    width: 100%;
    height: 26px;
    margin: 6px 0 14px;
    position: relative;
}

.iqf-v2-scroll-cue::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 12px;
    height: 12px;
    border-right: 4px solid #00338d;
    border-bottom: 4px solid #00338d;
    transform: translateX(-50%) rotate(45deg);
    animation: iqfScrollCue 1.1s infinite ease-in-out;
}

@keyframes iqfScrollCue {
    0% { transform: translate(-50%, 0) rotate(45deg); opacity: 0.2; }
    50% { transform: translate(-50%, 10px) rotate(45deg); opacity: 1; }
    100% { transform: translate(-50%, 0) rotate(45deg); opacity: 0.2; }
}

@media (max-width: 640px) {
    .iqf-v2-card-grid.iqf-cols-2,
    .iqf-v2-card-grid.iqf-cols-3,
    .iqf-v2-card-grid.iqf-cols-4 {
        grid-template-columns: 1fr;
    }

    .iqf-v2 label.iqf-v2-radio-card {
        justify-content: center;
        text-align: center;
        padding: 18px 52px 18px 18px;
    }
}

.pac-container {
    z-index: 999999;
}

@media (max-width: 768px) {
    .quote-form-container .form-row {
        flex: 1 1 100%; 
    }
    .quote-form-container {
        padding: 15px;
    }
    .quote-form-container .radio-options {
        gap: 25px;
    }
    .quote-form-container .radio-options input[type="radio"] {
        width: 20px;
        height: 20px;
    }
}

@media (min-width: 640px) {
    .iqf-v2-title {
        font-size: 36px;
    }
    .iqf-v2-subtitle {
        font-size: 18px;
    }
    .iqf-v2-field-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .quote-form-container h2 {
        font-size: 1.3em; 
    }
    .quote-form-container button {
        font-size: 16px;
        padding: 12px;
    }
    .quote-form-container input, 
    .quote-form-container select {
        font-size: 16px;
        padding: 12px;
    }
    .quote-form-container .radio-options {
        gap: 20px;
    }
    .quote-form-container .radio-options label {
        gap: 10px;
        font-size: 16px;
    }
} 