.dealer-form{max-width:48rem;margin:2rem auto 3rem;padding:2rem;background:#fff;border:1px solid #dce5f0;border-radius:16px;box-shadow:0 8px 30px #173f7310;scroll-margin-top:1rem}
.dealer-form-heading{text-align:center;margin-bottom:1.75rem}.dealer-form-heading h2{margin:.65rem 0;font-size:1.65rem;font-weight:600;color:#173f73}.dealer-form-heading p{margin:0;color:#52647b;line-height:1.5}.dealer-form-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:#edf4fc;color:#174782;font-size:24px}
.dealer-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}.dealer-field--wide{grid-column:1/-1}.dealer-field label{display:block;font-size:.95rem;font-weight:600;margin-bottom:.45rem}.required-mark{color:#bf263c}.field-optional{font-weight:400;color:#778396;font-size:.8rem;margin-left:.3rem}
.dealer-fields input:not([type=hidden]),.dealer-fields textarea{box-sizing:border-box;width:100%;min-height:44px;border:1px solid #c8d5e5;border-radius:6px;background:#fff;color:#182334;padding:.65rem .8rem;font:inherit;line-height:1.4}.dealer-fields textarea{resize:vertical;min-height:110px}.dealer-fields input:focus,.dealer-fields textarea:focus{outline:2px solid #3167a8;outline-offset:2px}.dealer-fields [aria-invalid=true]{border-color:#bd2940}.dealer-fields input::placeholder,.dealer-fields textarea::placeholder{color:#8994a3}
.form-field-error{font-size:.85rem;color:#b51c35;margin:.4rem 0 0;line-height:1.4}.captcha-help{margin:.5rem 0 0;font-size:.82rem;color:#617087;line-height:1.4}.captcha-controls{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.captcha-refresh{display:inline-flex;align-items:center;gap:.65rem;padding:0 .65rem 0 0;border:1px solid #c8d5e5;border-radius:6px;background:#f2f7fd;color:#174782;cursor:pointer;overflow:hidden}.captcha-refresh img{display:block;width:156px;height:54px}.captcha-refresh:disabled{opacity:.5;cursor:wait}.captcha-widget input.captcha-input{box-sizing:border-box;width:7rem;min-height:54px;padding:.65rem .8rem;border:1px solid #c8d5e5;border-radius:6px;background:#fff;color:#182334;font:inherit;font-size:1.35rem;letter-spacing:.25rem;text-align:center}.captcha-refresh:focus-visible{outline:2px solid #3167a8;outline-offset:2px}
.dealer-form-bottom{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-top:1px solid #e5ebf3;padding-top:1.2rem}.dealer-form-bottom p{font-size:.85rem;color:#617087;margin:0}.dealer-form-bottom button{display:inline-flex;align-items:center;justify-content:center;gap:1rem;min-height:44px;border:0;border-radius:6px;background:#173f73;color:#fff;font:inherit;font-weight:600;padding:.65rem 1.5rem;cursor:pointer}.dealer-form-bottom button:hover{background:#22568f}.dealer-notice{padding:1rem;border-radius:6px;margin-bottom:1.25rem;line-height:1.5}.dealer-notice--success{background:#eff9f2;color:#21633a;border:1px solid #bcdcc6}.dealer-notice--error{background:#fff2f3;color:#a71d34;border:1px solid #ebbec6}.captcha-widget [hidden]{display:none!important}
@media(max-width:600px){.dealer-form{padding:1.25rem;margin:1.5rem 0;border-radius:10px}.dealer-fields{grid-template-columns:minmax(0,1fr);gap:1rem}.dealer-form-heading h2{font-size:1.4rem}.dealer-form-bottom{flex-direction:column;align-items:stretch}.dealer-form-bottom button{width:100%}}

.captcha-widget input[aria-invalid=true]{border-color:#bd2940}
