/* Glowi FAQ-Widget – Styling angelehnt an die SGUJ-CI (Petrol/Thermo, siehe werkzeug/ci/sguj-ci.css)
 * GLOWALLA-RELAUNCH-GLOWI-FAQ-CSS-V1-0-20261115
 * Eigenständig (keine Abhängigkeit von Astro-Variablen), damit es unabhängig vom Seitenaufbau funktioniert.
 */
.gf-widget{position:fixed;right:16px;bottom:16px;z-index:9999;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.gf-toggle-btn{display:flex;align-items:center;gap:8px;background:#0C161C;color:#fff;border:0;border-radius:999px;padding:12px 18px;font-weight:600;font-size:14px;box-shadow:0 6px 20px rgba(12,22,28,.35);cursor:pointer}
.gf-toggle-btn:hover{background:#17262f}
.gf-toggle-icon{font-size:18px}
.gf-chat-box{position:fixed;right:16px;bottom:84px;width:min(380px,92vw);height:min(560px,76vh);background:#fff;border-radius:14px;box-shadow:0 16px 48px rgba(12,22,28,.3);display:flex;flex-direction:column;overflow:hidden}
.gf-chat-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;background:linear-gradient(135deg,#0C161C,#1d3a44);color:#fff}
.gf-chat-agent{display:flex;align-items:center;gap:10px}
.gf-agent-avatar{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.15);display:flex;align-items:center;justify-content:center;font-size:16px}
.gf-agent-name{font-weight:700;font-size:14px}
.gf-agent-status{font-size:11px;color:#c9d6da}
.gf-close-btn{background:rgba(255,255,255,.15);color:#fff;border:0;border-radius:50%;width:28px;height:28px;font-size:16px;cursor:pointer;line-height:1}
.gf-chat-messages{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;background:#f6f7f8;font-size:13.5px;line-height:1.5}
.gf-bubble{max-width:90%;padding:9px 12px;border-radius:12px}
.gf-bubble-ai{align-self:flex-start;background:#fff;border:1px solid #e3e6e9;border-bottom-left-radius:3px;color:#1b232a}
.gf-bubble-user{align-self:flex-end;background:#0C161C;color:#fff;border-bottom-right-radius:3px;white-space:pre-wrap}
.gf-bubble-fehler{border-color:#f3b4b4;background:#fdf2f2;color:#991b1b}
.gf-loading{color:#5f666d;font-style:italic}
.gf-bubble ul{margin:4px 0 2px 18px;padding:0}
.gf-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.gf-chip{background:#eef3f4;border:1px solid #d7e0e2;border-radius:999px;padding:6px 10px;font-size:12px;cursor:pointer;color:#0C161C}
.gf-chip:hover{background:#dfe8ea}
.gf-input-bar{display:flex;gap:8px;padding:10px;border-top:1px solid #e3e6e9;background:#fff}
.gf-input-bar input{flex:1;border:1px solid #dfe3e6;border-radius:999px;padding:9px 14px;font:inherit;font-size:13.5px}
.gf-input-bar input:focus-visible{outline:2px solid #ffc53d;outline-offset:1px}
.gf-input-bar button{background:#0C161C;color:#fff;border:0;border-radius:999px;padding:0 16px;font-weight:600;cursor:pointer}
.gf-input-bar button:disabled{background:#868f95;cursor:wait}
.gf-fuss{font-size:10.5px;color:#5f666d;text-align:center;padding:0 10px 10px;background:#fff}
.gf-fuss a{color:#0C161C}
@media (max-width:480px){.gf-chat-box{right:8px;left:8px;width:auto;bottom:78px}.gf-widget{right:8px;bottom:8px}}
@media print{.gf-widget{display:none!important}}
