.sca-card,.sca-dashboard{max-width:760px;margin:24px auto;font-family:system-ui,-apple-system,Segoe UI,sans-serif}.sca-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:24px;box-shadow:0 8px 30px rgba(15,23,42,.06)}.sca-form label{display:block;font-weight:600;margin:0 0 14px;color:#1f2937}.sca-form input{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:11px 12px;border:1px solid #d1d5db;border-radius:9px;background:#fff}.sca-form button{width:100%;padding:12px 16px;border:0;border-radius:9px;background:#5b21b6;color:#fff;font-weight:700;cursor:pointer}.sca-form button:disabled{opacity:.6}.sca-check{display:flex!important;align-items:center;gap:8px;font-weight:500!important}.sca-check input{width:auto;margin:0}.sca-msg{margin-top:12px;min-height:20px}.sca-msg.ok{color:#15803d}.sca-msg.err{color:#b91c1c}.sca-card a{color:#5b21b6}.sca-card hr{border:0;border-top:1px solid #eee;margin:24px 0}@media(max-width:600px){.sca-card{margin:12px;padding:18px;border-radius:12px}}

.sca-login-choice{text-align:center}.sca-login-choice .button{display:inline-block;text-decoration:none;padding:10px 18px;margin-top:8px}


/* v1.8 responsive form system */
.sca-auth-shell{width:min(100%,980px);margin:clamp(16px,4vw,48px) auto;padding:0 12px;box-sizing:border-box}.sca-card-register{max-width:none}.sca-form-header{margin-bottom:24px}.sca-eyebrow{display:inline-flex;align-items:center;gap:6px;font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:#6d28d9;margin-bottom:7px}.sca-form-header h2{margin:0;font-size:clamp(1.55rem,4vw,2.1rem);line-height:1.15;color:#111827}.sca-form-header p{margin:8px 0 0;color:#6b7280}.sca-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.sca-form-grid-one{grid-template-columns:1fr}.sca-field{display:flex!important;flex-direction:column;gap:7px;margin:0!important;color:#111827!important;font-size:.93rem}.sca-field>span{font-weight:700}.sca-field b{color:#dc2626}.sca-field input,.sca-field select{margin:0!important;min-height:46px;padding:11px 13px;border:1px solid #d1d5db;border-radius:10px;background:#fff;color:#111827;outline:none;transition:border-color .18s,box-shadow .18s}.sca-field input:focus,.sca-field select:focus{border-color:#7c3aed;box-shadow:0 0 0 3px rgba(124,58,237,.12)}.sca-form-footer{margin-top:22px}.sca-form-footer button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.sca-card .sca-form-footer button{width:100%}.sca-form-links{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0 0}.sca-check{display:flex!important;align-items:center;gap:9px;font-weight:600!important}.sca-checkbox-field{flex-direction:row!important;align-items:center!important;padding:13px 14px;border:1px solid #e5e7eb;border-radius:10px;background:#fafafa}.sca-checkbox-field input{width:auto!important;min-height:auto!important}.sca-checkbox-field span{font-weight:600}.sca-button-loader{width:18px;height:18px;border:2px solid rgba(255,255,255,.5);border-top-color:#fff;border-radius:50%;display:none;animation:sca-spin .7s linear infinite}.is-loading .sca-button-loader{display:block}.is-loading .sca-button-label{opacity:.85}@keyframes sca-spin{to{transform:rotate(360deg)}}.sca-card-center{text-align:center}.sca-success-icon{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#ecfdf5;color:#15803d;font-weight:900;font-size:24px;margin-bottom:10px}
@media(max-width:720px){.sca-form-grid{grid-template-columns:1fr}.sca-card{padding:20px}.sca-auth-shell{padding:0 10px}.sca-field input,.sca-field select{min-height:48px}.sca-form-header{margin-bottom:20px}}
@media(max-width:420px){.sca-card{padding:16px;border-radius:12px}.sca-form-header h2{font-size:1.45rem}.sca-form-links{font-size:.9rem}}

.sca-input-error{border-color:#dc2626!important;box-shadow:0 0 0 3px rgba(220,38,38,.10)!important}.sca-modal[hidden]{display:none}.sca-modal{position:fixed;inset:0;z-index:99999}.sca-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.6);backdrop-filter:blur(3px)}.sca-modal-card{position:relative;max-width:520px;width:calc(100% - 28px);margin:10vh auto 0;background:#fff;border-radius:18px;padding:28px;box-shadow:0 24px 80px rgba(15,23,42,.25);z-index:1}.sca-modal-close{position:absolute;right:12px;top:10px;border:0;background:transparent;font-size:28px;line-height:1;color:#64748b;cursor:pointer}.sca-modal-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#fff7ed;color:#c2410c;font-weight:900;font-size:22px;margin-bottom:12px}.sca-modal-card h3{margin:0 0 8px;font-size:1.3rem}.sca-modal-card p{margin:0 0 14px;color:#64748b}.sca-register-errors{margin:0 0 18px;padding-left:20px;color:#991b1b}.sca-register-errors li{margin:7px 0}.sca-modal-ok{min-width:110px}@media(max-width:520px){.sca-modal-card{margin:6vh auto 0;padding:22px}.sca-modal-close{right:8px;top:6px}}

/* v1.10.5: authentication form progress indicators */
.sca-progress{margin:0 0 22px;padding:13px 14px 14px;border:1px solid #e9d5ff;border-radius:14px;background:linear-gradient(180deg,#faf5ff 0%,#ffffff 100%);box-shadow:0 5px 16px rgba(91,33,182,.05)}
.sca-progress-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:9px}
.sca-progress-head>div{display:flex;flex-direction:column;gap:2px;min-width:0}.sca-progress-title{font-size:.92rem;color:#312e81}.sca-progress-step{font-size:.78rem;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sca-progress-percent{font-size:.86rem;color:#6d28d9;min-width:42px;text-align:right}
.sca-progress-track{position:relative;height:8px;border-radius:999px;overflow:hidden;background:#ede9fe}.sca-progress-bar{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#7c3aed 0%,#8b5cf6 55%,#ec4899 100%);transition:width .25s ease}.sca-progress-status{margin-top:7px;font-size:.76rem;color:#64748b}
.sca-progress-processing .sca-progress-bar{width:100%!important;background:linear-gradient(90deg,#7c3aed 0%,#ec4899 50%,#7c3aed 100%);background-size:200% 100%;animation:sca-progress-flow 1.2s linear infinite}.sca-progress-processing .sca-progress-status{color:#5b21b6;font-weight:700}.sca-progress-processing .sca-progress-percent{font-variant-numeric:tabular-nums}
@keyframes sca-progress-flow{0%{background-position:200% 0}100%{background-position:-200% 0}}
@media(max-width:520px){.sca-progress{padding:12px}.sca-progress-head{gap:10px}.sca-progress-step{white-space:normal}.sca-progress-percent{font-size:.82rem}}

/* Plugin-owned frontend shell: remove theme chrome and keep CRM content full-width. */
html body.solar-crm-auth-blank-page{margin:0!important;padding:0!important;background:#f4f7fb;}
.solar-crm-app{min-height:100vh;width:100%;box-sizing:border-box;}
.solar-crm-auth-blank-page #wpadminbar{display:none!important;}

/* Hard safety net: prevent common theme/plugin headers and footers from appearing on CRM-owned pages. */
html body.solar-crm-auth-blank-page #masthead,
html body.solar-crm-auth-blank-page header.site-header,
html body.solar-crm-auth-blank-page .site-header,
html body.solar-crm-auth-blank-page .elementor-location-header,
html body.solar-crm-auth-blank-page #site-header,
html body.solar-crm-auth-blank-page .main-header,
html body.solar-crm-auth-blank-page #colophon,
html body.solar-crm-auth-blank-page footer.site-footer,
html body.solar-crm-auth-blank-page .site-footer,
html body.solar-crm-auth-blank-page .elementor-location-footer { display:none!important; }
html body.solar-crm-auth-blank-page { min-height:100vh!important; }
