/* SmartSchool help chatbot widget (14 Oct 2026) – matches the site's indigo-blue (#4f46e5). */
.ss-chatbot{--ssc-primary:#4f46e5;--ssc-dark:#3730a3;--ssc-light:#eef2ff;position:fixed;right:20px;bottom:20px;z-index:10050;font-family:inherit;font-size:14px;line-height:1.45}
.ss-chatbot *{box-sizing:border-box}
.ss-chatbot__bubble{width:58px;height:58px;border-radius:50%;border:0;cursor:pointer;color:#fff;background:linear-gradient(135deg,var(--ssc-primary),var(--ssc-dark));box-shadow:0 10px 25px -6px rgba(79,70,229,.55);display:flex;align-items:center;justify-content:center;transition:transform .15s ease}
.ss-chatbot__bubble:hover{transform:scale(1.06)}
.ss-chatbot__bubble:focus-visible,.ss-chatbot button:focus-visible,.ss-chatbot textarea:focus-visible{outline:3px solid #a5b4fc;outline-offset:2px}
.ss-chatbot__bubble svg{width:28px;height:28px;fill:#fff}
.ss-chatbot__panel{position:absolute;right:0;bottom:72px;width:370px;max-width:calc(100vw - 32px);height:520px;max-height:calc(100vh - 110px);background:#fff;border-radius:18px;box-shadow:0 24px 48px -12px rgba(15,23,42,.35);display:none;flex-direction:column;overflow:hidden;border:1px solid #e5e7eb}
.ss-chatbot.is-open .ss-chatbot__panel{display:flex}
.ss-chatbot__head{background:linear-gradient(135deg,var(--ssc-primary),var(--ssc-dark));color:#fff;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.ss-chatbot__title{font-weight:600;font-size:15px;margin:0;color:#fff}
.ss-chatbot__sub{font-size:12px;opacity:.85;margin:0;color:#fff}
.ss-chatbot__close{background:transparent;border:0;color:#fff;font-size:24px;line-height:1;cursor:pointer;padding:2px 6px;border-radius:8px}
.ss-chatbot__msgs{flex:1;overflow-y:auto;padding:14px;background:#f8fafc;display:flex;flex-direction:column;gap:10px}
.ss-chatbot__msg{max-width:86%;padding:9px 12px;border-radius:14px;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:anywhere}
.ss-chatbot__msg--bot{background:#fff;border:1px solid #e5e7eb;color:#1f2937;align-self:flex-start;border-bottom-left-radius:4px}
.ss-chatbot__msg--user{background:var(--ssc-primary);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.ss-chatbot__msg--error{background:#fef2f2;border-color:#fecaca;color:#991b1b}
.ss-chatbot__msg a{color:inherit;text-decoration:underline}
.ss-chatbot__msg--bot a{color:var(--ssc-primary)}
.ss-chatbot__typing{align-self:flex-start;color:#6b7280;font-size:13px;padding:2px 4px}
.ss-chatbot__form{display:flex;gap:8px;padding:10px;border-top:1px solid #e5e7eb;background:#fff}
.ss-chatbot__input{flex:1;resize:none;border:1px solid #d1d5db;border-radius:12px;padding:9px 11px;font:inherit;max-height:96px;min-height:40px;color:#111827;background:#fff}
.ss-chatbot__send{border:0;border-radius:12px;background:var(--ssc-primary);color:#fff;padding:0 14px;font-weight:600;cursor:pointer;min-width:64px}
.ss-chatbot__send:disabled{opacity:.55;cursor:default}
.ss-chatbot__foot{font-size:11px;color:#6b7280;text-align:center;padding:0 10px 8px;background:#fff}
@media (max-width:575.98px){
 .ss-chatbot{right:14px;bottom:14px}
 .ss-chatbot.is-open .ss-chatbot__bubble{display:none}
 .ss-chatbot__panel{position:fixed;inset:auto 0 0 0;width:100%;max-width:100%;height:85vh;max-height:85vh;border-radius:18px 18px 0 0}
}
@media print{.ss-chatbot{display:none!important}}
