/* VfL Jesteburg – Chatbot Styles (leichtgewichtig, keine Frameworks) */
:root {
--cb-shadow: 0 8px 24px rgba(0,0,0,.18);
--cb-radius: 16px;
--cb-brand: #0B6B3A; /* anpassbar */
}


#vfl-chat-fab {
position: fixed;
right: 20px; bottom: 20px;
z-index: 9999;
width: 56px; height: 56px;
border-radius: 50%;
background: var(--cb-brand);
color: #fff; border: none;
box-shadow: var(--cb-shadow);
cursor: pointer; font-weight: 600;
}
#vfl-chat-fab:focus { outline: 2px solid #fff; outline-offset: 2px; }


#vfl-chat-panel {
position: fixed;
right: 20px; bottom: 86px; /* über dem Button */
width: min(380px, calc(100vw - 32px));
height: 520px;
background: #fff;
border-radius: var(--cb-radius);
box-shadow: var(--cb-shadow);
display: none; flex-direction: column;
overflow: hidden; z-index: 9999;
}


.cb-header {
background: var(--cb-brand);
color: #fff; padding: 12px 16px;
font-weight: 700; display: flex;
align-items: center; justify-content: space-between;
}
.cb-header .cb-title { font-size: 16px; }
.cb-header button { background: transparent; color: #fff; border: 0; font-size: 18px; cursor: pointer; }


.cb-messages { flex: 1; padding: 12px; overflow-y: auto; background: #f7f7f9; }
.cb-msg { margin: 8px 0; max-width: 90%; line-height: 1.35; }
.cb-user { margin-left: auto; background: #DCF0FF; padding: 10px 12px; border-radius: 14px 14px 0 14px; }
.cb-bot { background: #fff; padding: 10px 12px; border-radius: 14px 14px 14px 0; box-shadow: 0 1px 0 rgba(0,0,0,.05); }
.cb-bot strong { display: block; margin-bottom: 4px; }
.cb-suggestions { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 2px; }
.cb-chip { background: #eee; border-radius: 999px; padding: 6px 10px; cursor: pointer; font-size: 12px; }


.cb-input { display: flex; gap: 8px; padding: 10px; background: #fff; border-top: 1px solid #eee; }
.cb-input input { flex: 1; padding: 10px; border: 1px solid #ddd; border-radius: 12px; }
.cb-input button { padding: 10px 14px; border-radius: 12px; background: var(--cb-brand); color: #fff; border: 0; cursor: pointer; }


@media (max-width: 480px){
#vfl-chat-panel { height: 70vh; }
}