/* Bo, de assistent: het B_-icoon als gezichtje, rechtsonder */
.bo-knop { position: fixed; right: 20px; bottom: 76px; z-index: 80; width: 64px; height: 64px; border-radius: 20px; border: 0; cursor: pointer; background: #111113; box-shadow: 0 16px 34px -12px rgba(17,17,19,.55), 0 0 0 3px rgba(255,255,255,.9); display: grid; place-items: center; transition: transform .4s cubic-bezier(.16, 1, .3, 1), border-radius .3s; }
.bo-knop:hover { transform: translateY(-3px) rotate(-4deg); }
.bo-knop.open { border-radius: 50%; }
.bo-gezicht { position: relative; width: 34px; height: 26px; display: block; }
.bo-gezicht i { position: absolute; top: 2px; width: 7px; height: 9px; border-radius: 4px; background: #fff; animation: boKnipoog 5s infinite; }
.bo-gezicht i:first-child { left: 6px; } .bo-gezicht i:nth-child(2) { right: 6px; }
.bo-gezicht b { position: absolute; left: 50%; bottom: 2px; width: 16px; height: 4px; translate: -50% 0; border-radius: 2px; background: #2B3BFF; animation: knipper 1.1s steps(1) infinite; }
.bo-gezicht--klein { transform: scale(.7); }
@keyframes boKnipoog { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.15); } }
.bo-wolk { position: fixed; right: 96px; bottom: 90px; z-index: 80; margin: 0; background: #fff; color: #111113; font: 600 15px/1.3 "Archivo", sans-serif; padding: 10px 14px; border-radius: 16px 16px 4px 16px; box-shadow: 0 16px 34px -14px rgba(17,17,19,.45); cursor: pointer; animation: boIn .5s cubic-bezier(.16, 1, .3, 1); }
.bo-wolk[hidden] { display: none; }
.bo-venster { position: fixed; right: 20px; bottom: 152px; z-index: 81; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100dvh - 190px)); display: flex; flex-direction: column; background: #fff; color: #111113; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(17,17,19,.55), 0 0 0 1px rgba(17,17,19,.06); font-family: "Archivo", sans-serif; animation: boIn .45s cubic-bezier(.16, 1, .3, 1); }
.bo-venster[hidden] { display: none; }
@keyframes boIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.bo-venster .bo-kop { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #111113; color: #fff; }
.bo-venster .bo-kop .bo-gezicht { flex: none; }
.bo-venster .bo-kop div { flex: 1; display: grid; line-height: 1.2; }
.bo-venster .bo-kop b { font-size: 17px; }
.bo-venster .bo-kop small { font-size: 13px; color: #B9B9C2; }
.bo-dicht { border: 0; background: transparent; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.bo-lijst { flex: 1; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 8px; background: #F5F5F7; scroll-behavior: smooth; }
.bo-bel { max-width: 85%; padding: 10px 13px; border-radius: 18px; font-size: 15px; line-height: 1.45; animation: boIn .35s cubic-bezier(.16, 1, .3, 1); }
.bo-bel--bo { align-self: flex-start; background: #fff; border: 1px solid #E8E8EC; border-bottom-left-radius: 6px; }
.bo-bel--bo a { color: #2B3BFF; font-weight: 600; }
.bo-bel--jij { align-self: flex-end; background: #2B3BFF; color: #fff; border-bottom-right-radius: 6px; }
.bo-typt { display: flex; gap: 4px; padding: 13px 14px; }
.bo-typt i { width: 7px; height: 7px; border-radius: 50%; background: #9A9CA6; animation: boStip 1s infinite; }
.bo-typt i:nth-child(2) { animation-delay: .15s; } .bo-typt i:nth-child(3) { animation-delay: .3s; }
@keyframes boStip { 50% { opacity: .3; transform: translateY(-2px); } }
.bo-samen { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; margin: 8px 0; padding: 10px 12px; background: #F3F4FF; border-radius: 12px; font-size: 14px; }
.bo-samen b { color: #5F5F66; font-weight: 600; }
.bo-keuzes { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px 14px; background: #F5F5F7; }
.bo-keuzes:empty { display: none; }
.bo-keuzes button { font: inherit; font-size: 14px; font-weight: 600; color: #2B3BFF; background: #fff; border: 1.5px solid #2B3BFF; border-radius: 99px; padding: 7px 13px; cursor: pointer; transition: background .2s, color .2s; }
.bo-keuzes button:hover { background: #2B3BFF; color: #fff; }
.bo-invoer { display: flex; gap: 8px; padding: 10px 12px 12px; background: #fff; border-top: 1px solid #ECECF0; }
.bo-invoer[hidden] { display: none; }
.bo-invoer input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 11px 14px; border: 1.5px solid #DEDED9; border-radius: 99px; }
.bo-invoer input:focus { outline: none; border-color: #2B3BFF; }
.bo-invoer input.fout { border-color: #D93025; }
.bo-invoer button { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #2B3BFF; color: #fff; font-size: 20px; cursor: pointer; }
@media (max-width: 600px) { .bo-knop { right: 14px; bottom: 70px; width: 56px; height: 56px; } .bo-venster { right: 12px; bottom: 136px; } .bo-wolk { right: 80px; bottom: 80px; } }
@media (prefers-reduced-motion: reduce) { .bo-gezicht i, .bo-gezicht b, .bo-typt i { animation: none; } .bo-venster, .bo-wolk, .bo-bel { animation: none; } }

/* Bo in de huisstijl: het B_-icoon met een gezichtje */
.bo-knop { width: 68px; height: 68px; background: transparent; box-shadow: none; border-radius: 0; }
.bo-knop.open { border-radius: 0; }
.bo-knop:hover { transform: translateY(-3px) rotate(-6deg); }
.bo-knop .bo-fig { width: 68px; height: 76px; filter: drop-shadow(0 10px 14px rgba(17,17,19,.22)); }
.bo-knop { height: 76px; }
.bo-fig .bo-ogen { transform-origin: 40px 49px; animation: boKnip 5s infinite; }
.bo-fig .bo-lampje { transform-origin: 40px 7px; animation: boLampje 2.4s ease-in-out infinite; }
.bo-knop.open .bo-fig .bo-ogen { transform: scaleY(.55); animation: none; }
@keyframes boLampje { 50% { transform: scale(.75); opacity: .7; } }
.bo-fig--klein { width: 32px; height: 36px; flex: none; }
@keyframes boKnip { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.bo-wolk { right: 98px; bottom: 92px; }
@media (max-width: 600px) { .bo-knop, .bo-knop .bo-fig { width: 56px; height: 63px; } }
@media (prefers-reduced-motion: reduce) { .bo-fig .bo-ogen, .bo-fig .bo-lampje { animation: none; } }

/* Bo laag in de hoek; het venster en het wolkje schuiven mee */
.bo-knop { right: 20px; bottom: 18px; }
.bo-wolk { right: 98px; bottom: 34px; }
.bo-venster { bottom: 106px; height: min(560px, calc(100dvh - 130px)); }
@media (max-width: 600px) { .bo-knop { right: 12px; bottom: 12px; } .bo-wolk { right: 76px; bottom: 26px; } .bo-venster { right: 12px; bottom: 86px; height: min(560px, calc(100dvh - 104px)); } }
