#qf-err-consent-marketing, #qf-err-consent-nonmarketing{
	color:red !important;
}
div.payment{
	height:unset !important;
}
div.qf-row.qf-consent-row span{
    font-size: 11px;
    text-align: left;
    margin-top: -5px;
    color: #434343;
    line-height: 16px !important;
    font-weight:400;
}
.qf-wrap {
    max-width: 480px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Purple gradient header */
.qf-head {
    padding: 15px 32px 0;
    text-align: left;
    border-top: 10px solid #6b6bbf;
}
.qf-head h2 {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .2px;
}
.qf-head h3{
    margin: 0;
    color: #000;
    font-weight: 700;
    font-size: 23px;
    font-family: 'Inter', sans-serif !important;
}
/* Form body */
.qf-body {
    padding: 24px 28px 28px;
}

/* Each field row */
.qf-row {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
}

/* Inputs & Textarea */
.qf-row input[type="text"],
.qf-row input[type="email"],
.qf-row input[type="tel"],
.qf-row textarea {
    width: 100%;
    padding: 13px 15px;
    font-size: 14px;
    color: #222222;
    background: #ffffff;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
}
.qf-row input::placeholder,
.qf-row textarea::placeholder {
    color: #aaaaaa;
    font-size: 14px;
}
.qf-row input:focus,
.qf-row textarea:focus {
    border-color: #6b6bbf;
    box-shadow: 0 0 0 3px rgba(107, 107, 191, .13);
}
.qf-row input.qf-invalid,
.qf-row textarea.qf-invalid {
    border-color: #e02424;
    box-shadow: 0 0 0 3px rgba(224, 36, 36, .10);
}
.qf-row textarea {
    resize: vertical;
    min-height: 100px;
}

/* reCAPTCHA spacing */
.qf-captcha {
    margin: 8px 0 16px;
}

/* Error messages */
.qf-err {
    font-size: 12px;
    color: #e02424;
    margin-top: 4px;
    display: none;
}

/* Green submit button */
.qf-btn {
    background: #4D955B !important;
    width: 90%;
    margin: 27px auto 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 14px;
    cursor: pointer;
    letter-spacing: .3px;
    transition: background .2s, transform .1s;
    font-family: 'Inter', sans-serif !important;
}
.qf-btn:hover  { background: #3d9e5e; }
.qf-btn:active { transform: scale(.98); }
.qf-btn:disabled { opacity: .7; cursor: not-allowed; }

/* Spinner inside button */
.qf-spinner {
    display: none;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: qf-spin .7s linear infinite;
    vertical-align: middle;
    margin-left: 8px;
}
.qf-btn.loading .qf-spinner { display: inline-block; }
@keyframes qf-spin { to { transform: rotate(360deg); } }

/* Success / error message */
.qf-result {
    margin-top: 14px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 14px;
    text-align: center;
    display: none;
}
.qf-result.success {
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #057a55;
    display: block;
}
.qf-result.error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #e02424;
    display: block;
}

@media (max-width: 480px) {
    .qf-head  { padding: 18px 20px; }
    .qf-body  { padding: 18px 16px 22px; }
}
/* ── Consent checkboxes ── */
.qf-consent-row {
    margin-bottom: 10px;
}
.qf-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 12px;
    color: #444;
    line-height: 1.5;
}
.qf-consent-label input[type="checkbox"] {
    margin-top: 0px;
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    accent-color: #6b6bbf;
    cursor: pointer;
}
.qf-consent-label input[type="checkbox"].qf-invalid {
    outline: 2px solid #e02424;
    outline-offset: 1px;
}

/* Terms line */
.qf-terms-line {
    font-size: 12px;
    text-align: left;
    margin: 8px 0 4px;
}
.qf-terms-line a {
    color: #395FD7;
    text-decoration: underline;
    font-style:normal !important;
}
