/* Quick Cash Offer - quiz form styles (WPForms form with class qco-form) */
@font-face{font-family:Archivo;font-style:normal;font-weight:800;font-display:swap;src:url(/wp-content/uploads/qco/qco-archivo-800.woff2) format('woff2')}

:root{--qco-navy:#1C3263;--qco-ink:#16223D;--qco-muted:#4A5772;--qco-accent:#D9662B;--qco-accent-d:#C2551E;--qco-line:#DCE2EC;--qco-surface:#F4F6FA;--qco-ok:#1F8A55}

.qco-card .wpforms-container{margin:0!important}
.qco-form .wpforms-field{padding:8px 0!important}
.qco-form .wpforms-field-label{font-family:Archivo,system-ui,sans-serif;font-weight:800!important;color:var(--qco-navy)!important;font-size:24px!important;line-height:1.12!important;margin:0 0 14px!important}
.qco-form .wpforms-required-label{display:none}

/* Inputs */
.qco-form input[type=text],.qco-form input[type=email],.qco-form input[type=tel]{height:52px!important;max-width:100%!important;width:100%!important;border:1.5px solid var(--qco-line)!important;border-radius:10px!important;padding:0 14px!important;font-size:17px!important;color:var(--qco-ink)!important;background:#fff!important;box-shadow:none!important;transition:border-color .15s}
.qco-form input:focus{border-color:var(--qco-navy)!important;outline:3px solid rgba(28,50,99,.15)!important;outline-offset:0}
.qco-form .wpforms-field-name .wpforms-field-row{display:flex;gap:10px}
.qco-form .wpforms-field-name .wpforms-field-row-block{padding:0!important;width:auto!important;flex:1 1 0;float:none!important;margin:0!important}
.qco-form .wpforms-field-sublabel{display:none!important}
.qco-form .qco-name .wpforms-field-label,.qco-form .qco-phone .wpforms-field-label,.qco-form .qco-email .wpforms-field-label{font-family:inherit;font-size:14px!important;font-weight:700!important;color:var(--qco-muted)!important;margin-bottom:6px!important}
.qco-form .qco-name .wpforms-field-label{font-family:Archivo,system-ui,sans-serif;font-size:24px!important;font-weight:800!important;color:var(--qco-navy)!important;margin-bottom:12px!important}
.qco-form .qco-name .wpforms-field-description{font-size:15px;color:var(--qco-muted);margin:-6px 0 12px!important;padding:0!important}
.qco-form .qco-address .wpforms-field-label{display:none!important}

/* Answer tiles */
.qco-form .qco-q ul{display:grid!important;gap:10px;margin:0!important;padding:0!important}
.qco-form .qco-q li{margin:0!important;padding:0!important;position:relative}
.qco-form .qco-q li input[type=radio]{position:absolute!important;opacity:0;width:1px;height:1px}
.qco-form .qco-q li label{display:flex!important;align-items:center;min-height:54px;padding:12px 16px 12px 48px!important;margin:0!important;border:1.5px solid var(--qco-line);border-radius:12px;background:#fff;color:var(--qco-ink)!important;font-size:17px!important;font-weight:600!important;cursor:pointer;position:relative;transition:border-color .12s,background .12s,transform .08s;line-height:1.3}
.qco-form .qco-q li label::before{content:"";position:absolute;left:16px;top:50%;width:20px;height:20px;margin-top:-10px;border:2px solid #9AA6BD;border-radius:50%;background:#fff;box-sizing:border-box}
.qco-form .qco-q li label:hover{border-color:var(--qco-navy);background:var(--qco-surface)}
.qco-form .qco-q li label:active{transform:scale(.99)}
.qco-form .qco-q li input:checked+label,.qco-form .qco-q li.wpforms-selected label{border-color:var(--qco-navy);background:var(--qco-navy);color:#fff!important}
.qco-form .qco-q li input:checked+label::before,.qco-form .qco-q li.wpforms-selected label::before{border-color:#fff;background:var(--qco-accent);box-shadow:inset 0 0 0 3px var(--qco-navy)}
.qco-form .qco-q li input:focus-visible+label{outline:3px solid rgba(217,102,43,.4);outline-offset:2px}
@media (min-width:768px){.qco-form .qco-q ul.qco-two{grid-template-columns:1fr 1fr}}

/* Hide "Next" on one-tap pages, keep a small Back link */
.qco-form .qco-auto-page .wpforms-page-next{display:none!important}
.qco-form .wpforms-page-button.wpforms-page-prev{background:none!important;border:0!important;color:var(--qco-muted)!important;font-size:14px!important;font-weight:600!important;padding:6px 0!important;height:auto!important;text-decoration:underline;box-shadow:none!important;margin-right:auto}
.qco-form .wpforms-pagebreak-left{display:flex!important;flex-direction:row-reverse;align-items:center;gap:12px;margin-top:6px}

/* Primary buttons */
.qco-form .wpforms-page-next,.qco-form button[type=submit]{width:100%!important;height:56px!important;background:var(--qco-accent)!important;border:0!important;border-radius:10px!important;color:#fff!important;font-family:Archivo,system-ui,sans-serif!important;font-weight:800!important;font-size:19px!important;letter-spacing:.01em;text-transform:uppercase;box-shadow:none!important;cursor:pointer;transition:background .12s,transform .08s}
.qco-form .wpforms-page-next:hover,.qco-form button[type=submit]:hover{background:var(--qco-accent-d)!important}
.qco-form .wpforms-page-next:active,.qco-form button[type=submit]:active{transform:translateY(1px)}
.qco-form .wpforms-submit-container{padding-top:8px!important}

/* Page 1 layout: address + button stacked */
.qco-form .wpforms-page-1 .wpforms-pagebreak-left{flex-direction:column}

/* Progress bar */
.qco-form .wpforms-page-indicator{margin:0 0 14px!important}
.qco-form .wpforms-page-indicator-page-progress-wrap{height:6px!important;border-radius:6px!important;background:var(--qco-line)!important}
.qco-form .wpforms-page-indicator-page-progress{background:var(--qco-accent)!important;border-radius:6px!important}
.qco-form .wpforms-page-indicator-steps{font-size:12px!important;color:var(--qco-muted)!important;font-weight:700;letter-spacing:.06em;text-transform:uppercase;margin-bottom:8px!important}
.qco-form.qco-on-first .wpforms-page-indicator{display:none!important}

/* Consent text */
.qco-form .qco-consent{font-size:11.5px;line-height:1.45;color:#5D6984;margin:4px 0 0}
.qco-form .qco-consent a{color:var(--qco-navy);text-decoration:underline}

/* Errors */
.qco-form label.wpforms-error,.qco-addr-error{color:#B3261E!important;font-size:14px!important;font-weight:600;margin-top:6px!important}
.qco-has-error input{border-color:#B3261E!important}

/* Address suggestions */
.qco-address{position:relative}
.qco-suggest{position:absolute;left:0;right:0;top:calc(100% - 4px);z-index:50;background:#fff;border:1.5px solid var(--qco-line);border-radius:12px;box-shadow:0 18px 40px -16px rgba(16,30,64,.35);overflow:hidden}
.qco-suggest-item{display:block;width:100%;text-align:left;background:#fff;border:0;border-bottom:1px solid var(--qco-line);padding:11px 14px;cursor:pointer;font:inherit;color:var(--qco-ink)}
.qco-suggest-item:last-child{border-bottom:0}
.qco-suggest-item:hover,.qco-suggest-item:focus{background:var(--qco-surface);outline:0}
.qco-suggest-item strong{display:block;font-size:15px}
.qco-suggest-item span{display:block;font-size:13px;color:var(--qco-muted)}

/* Card intro hides after the first step */
.qco-card.qco-started .qco-card-intro{display:none}

/* Button group widths */
.qco-form .wpforms-field-pagebreak{padding:0!important;margin:0!important}
.qco-form .wpforms-page-button-group{display:block}
.qco-form .wpforms-page-1 .wpforms-page-button-group{width:100%}
.qco-form .wpforms-page-1 .wpforms-pagebreak-left{margin-top:4px}
.qco-form .wpforms-page:not(.wpforms-page-1) .wpforms-page-button-group:has(.wpforms-page-next){flex:1}
.qco-form .qco-q li label{width:100%;box-sizing:border-box}
.qco-form .qco-auto-page .wpforms-pagebreak-left{flex-direction:row;justify-content:flex-start}
.qco-form .wpforms-field-name .wpforms-field-row::before,.qco-form .wpforms-field-name .wpforms-field-row::after{display:none!important}
.qco-form .wpforms-page-6 .wpforms-pagebreak-left{flex-direction:row;justify-content:flex-start;margin:4px 0 0}
.qco-form .qco-consent-wrap{padding-top:2px!important}
