/* CloudCodix website chatbot */
#cc-chat-root{position:fixed;right:24px;bottom:24px;z-index:60;font-family:"Plus Jakarta Sans",system-ui,sans-serif}
#cc-launch{width:58px;height:58px;border-radius:50%;border:0;cursor:pointer;color:#fff;background:linear-gradient(135deg,#0ea5e9,#8b5cf6);box-shadow:0 10px 30px rgba(14,165,233,.35);display:flex;align-items:center;justify-content:center;transition:transform .2s}
#cc-launch:hover{transform:scale(1.07)}
#cc-launch svg{width:26px;height:26px}
#cc-launch .cc-dot{position:absolute;top:2px;right:2px;width:14px;height:14px;border-radius:50%;background:#22c55e;border:2px solid #050816}
#cc-panel{position:absolute;right:0;bottom:72px;width:370px;max-width:calc(100vw - 32px);height:540px;max-height:calc(100vh - 110px);display:none;flex-direction:column;overflow:hidden;border-radius:20px;background:#0a1024;color:#e2e8f0;border:1px solid rgba(148,163,184,.18);box-shadow:0 24px 60px rgba(0,0,0,.55)}
#cc-panel.open{display:flex;animation:ccIn .22s ease-out}
@keyframes ccIn{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
.cc-head{display:flex;align-items:center;gap:10px;padding:14px 16px;background:linear-gradient(135deg,rgba(14,165,233,.25),rgba(139,92,246,.25));border-bottom:1px solid rgba(148,163,184,.15)}
.cc-head img{width:34px;height:34px;border-radius:10px}
.cc-head b{display:block;font-size:15px;color:#fff;line-height:1.2}
.cc-head small{font-size:12px;color:#86efac}
.cc-head small::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#22c55e;margin-right:6px}
.cc-close{margin-left:auto;background:none;border:0;color:#cbd5e1;font-size:24px;line-height:1;cursor:pointer;padding:4px 8px;border-radius:8px}
.cc-close:hover{background:rgba(255,255,255,.08)}
#cc-msgs{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px}
.cc-m{max-width:86%;padding:10px 13px;border-radius:16px;font-size:14px;line-height:1.5;white-space:pre-wrap;word-wrap:break-word}
.cc-bot{align-self:flex-start;background:#131d3d;border:1px solid rgba(148,163,184,.15);border-bottom-left-radius:5px}
.cc-user{align-self:flex-end;background:linear-gradient(135deg,#0ea5e9,#6d5bf0);color:#fff;border-bottom-right-radius:5px}
.cc-links,.cc-chips{align-self:flex-start;display:flex;flex-wrap:wrap;gap:6px;max-width:94%}
.cc-chip,.cc-link{font:inherit;font-size:13px;padding:6px 12px;border-radius:999px;border:1px solid rgba(56,189,248,.6);background:transparent;color:#7dd3fc;cursor:pointer;text-decoration:none}
.cc-chip:hover,.cc-link:hover{background:rgba(56,189,248,.14)}
.cc-link{border-color:rgba(139,92,246,.7);color:#c4b5fd}
.cc-typing{align-self:flex-start;display:flex;gap:4px;padding:12px 14px;background:#131d3d;border-radius:16px;border-bottom-left-radius:5px}
.cc-typing i{width:7px;height:7px;border-radius:50%;background:#64748b;animation:ccB 1s infinite}
.cc-typing i:nth-child(2){animation-delay:.15s}.cc-typing i:nth-child(3){animation-delay:.3s}
@keyframes ccB{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-5px);opacity:1}}
.cc-form{align-self:stretch;display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:14px;background:#0e1733;border:1px solid rgba(56,189,248,.3)}
.cc-form input,.cc-form textarea{font:inherit;font-size:14px;color:#fff;background:#050816;border:1px solid rgba(148,163,184,.25);border-radius:10px;padding:9px 11px;outline:none;width:100%;box-sizing:border-box;resize:none}
.cc-form input:focus,.cc-form textarea:focus{border-color:#38bdf8}
.cc-form button{font:inherit;font-weight:600;font-size:14px;color:#fff;border:0;border-radius:10px;padding:10px;cursor:pointer;background:linear-gradient(135deg,#0ea5e9,#8b5cf6)}
.cc-form button:disabled{opacity:.6;cursor:wait}
.cc-err{color:#fca5a5;font-size:12.5px}
.cc-input{display:flex;gap:8px;padding:12px;border-top:1px solid rgba(148,163,184,.15);background:#0a1024}
.cc-input input{flex:1;font:inherit;font-size:14px;color:#fff;background:#050816;border:1px solid rgba(148,163,184,.25);border-radius:999px;padding:10px 14px;outline:none;min-width:0}
.cc-input input:focus{border-color:#38bdf8}
.cc-input button{width:42px;height:42px;border-radius:50%;border:0;cursor:pointer;color:#fff;background:linear-gradient(135deg,#0ea5e9,#8b5cf6);display:flex;align-items:center;justify-content:center}
.cc-input button svg{width:18px;height:18px}
.cc-foot{text-align:center;font-size:11px;color:#64748b;padding:0 0 8px}
@media (max-width:520px){#cc-chat-root{right:14px;bottom:14px}#cc-panel{position:fixed;right:8px;left:8px;bottom:84px;width:auto;max-width:none;height:calc(100vh - 110px)}}
@media (prefers-reduced-motion:reduce){#cc-panel.open,.cc-typing i{animation:none}}
