/* ── Vicknair Quote Form Styles ── */

.vqf-wrapper {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 36px 40px;
    max-width: 760px;
    margin: 30px auto;
    font-family: 'Segoe UI', system-ui, sans-serif;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.vqf-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a2b5f;
    margin-bottom: 24px;
}

/* Alerts */
.vqf-alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}
.vqf-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.vqf-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* Grid row */
.vqf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
@media (max-width: 600px) {
    .vqf-row { grid-template-columns: 1fr; }
    .vqf-wrapper { padding: 24px 18px; }
}

/* Fields */
.vqf-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vqf-field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.vqf-field .req { color: #e53e3e; }

.vqf-field input,
.vqf-field select {
    padding: 11px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #111827;
    background: #f9fafb;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.vqf-field input:focus,
.vqf-field select:focus {
    border-color: #3b5bdb;
    box-shadow: 0 0 0 3px rgba(59,91,219,0.15);
    background: #fff;
}

.vqf-field input.is-invalid,
.vqf-field select.is-invalid {
    border-color: #e53e3e;
    background: #fff8f8;
}

/* Error messages */
.vqf-err {
    display: none;
    font-size: 0.8125rem;
    color: #e53e3e;
    font-weight: 500;
}
.vqf-err.show { display: block; }

/* Consent box */
.vqf-consent-box {
    background: #f8faff;
    border: 1.5px solid #c7d2fe;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 24px;
}

.vqf-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a2b5f;
    cursor: pointer;
    margin-bottom: 6px;
}

.vqf-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #1a2b5f;
    cursor: pointer;
}

.vqf-checkbox-label--secondary {
    margin-top: 10px;
    font-weight: 400;
    color: #374151;
    font-size: 0.82rem;
    line-height: 1.5;
}

.vqf-checkbox-label--secondary a {
    color: #1a2b5f;
    text-decoration: underline;
}

.vqf-consent-text {
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 8px 0 0;
}

.vqf-consent-text a {
    color: #1a2b5f;
    text-decoration: underline;
}

/* Submit button */
.vqf-submit-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: #1a2b5f;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    letter-spacing: 0.03em;
    transition: background 0.2s, transform 0.1s;
}

.vqf-submit-btn:hover {
    background: #263d8a;
    transform: translateY(-1px);
}

.vqf-submit-btn:active {
    transform: translateY(0);
}

.vqf-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Footer note */
.vqf-footer-note {
    text-align: center;
    font-size: 0.78rem;
    color: #9ca3af;
    margin-top: 12px;
}
