.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; 
}

.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%;
    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 0;
    background: linear-gradient(180deg, rgba(0, 51, 141, 0.08), rgba(255, 255, 255, 1));
    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;
}

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

.iqf-v2-zip-form {
    display: grid;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.iqf-v2-zip-label {
    font-weight: 700;
    text-align: left;
    font-size: 14px;
}

.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: 0 0 0 4px rgba(0, 51, 141, 0.15);
}

.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-btn:hover,
.iqf-v2-zip-btn:hover {
    background: orange;
}

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

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

.iqf-v2-trust {
    display: grid;
    gap: 6px;
    margin-top: 2px;
    font-size: 14px;
    color: #374151;
}

.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);
}

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

.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-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;
}

.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;
    }
} 