/* Klasbordstudio V99 — presentatiemodus (volledig scherm) */

/* nooit instellingen of oplossingen in beeld */
html body .widget.board-fullscreen .widget-bar .settings-toggle{display:none!important}
html body .widget.board-fullscreen .widget-body .kbs-settings-hidden{display:none!important}

/* inhoud vult het bord */
.widget.board-fullscreen .widget-body>.kbs-fit{display:flex;flex-direction:column;justify-content:center;margin-left:auto;margin-right:auto;box-sizing:border-box;will-change:auto}
.widget.board-fullscreen.kbs-fitted .widget-body{overflow:hidden!important}
.widget.board-fullscreen.kbs-has-dock .widget-body{padding-bottom:96px!important}

/* presentatiebalk */
.kbs-pdock{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);z-index:2147483100;display:flex;gap:10px;align-items:center;
  padding:9px;border-radius:22px;background:rgba(255,250,242,.94);border:1px solid #efe3cf;box-shadow:0 10px 30px rgba(3,54,99,.12);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);max-width:calc(100% - 40px);flex-wrap:wrap;justify-content:center}
.kbs-pbtn{font:700 clamp(15px,1.25vw,19px) Comfortaa,system-ui,sans-serif;color:#033663;background:#fff;border:1px solid #e8dcc8;border-radius:15px;
  min-height:52px;padding:0 22px;cursor:pointer;transition:background .15s,transform .15s,box-shadow .15s;white-space:nowrap}
.kbs-pbtn:hover{background:#f3fbfa;box-shadow:0 4px 12px rgba(3,54,99,.08)}
.kbs-pbtn:active{transform:scale(.97)}
.kbs-pbtn.is-primary{background:#033663;color:#fff;border-color:#033663}
.kbs-pbtn.is-primary:hover{background:#0a4778}
.kbs-pbtn.is-on{background:#e3f6f3;border-color:#28b9aa}
.kbs-pbtn:disabled{opacity:.45;cursor:default}
.kbs-pbtn:focus-visible{outline:3px solid #28b9aa;outline-offset:2px}

/* lege staat */
.kbs-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;pointer-events:none;z-index:5;
  text-align:center;padding:40px;background:radial-gradient(circle at 50% 45%,#fffaf2 0,#fffaf2 35%,rgba(255,250,242,0) 70%)}
.kbs-empty img{width:clamp(110px,14vw,170px);height:auto;margin-bottom:6px}
.kbs-empty h3{margin:0;font:700 clamp(24px,2.6vw,38px) Comfortaa,system-ui,sans-serif;color:#033663}
.kbs-empty p{margin:0;font:600 clamp(15px,1.3vw,20px) Comfortaa,system-ui,sans-serif;color:#5b7186;max-width:560px}

/* dictee: het woord hoor je, je ziet het pas na "Toon woord" */
.dictation-word.hidden-word{color:transparent!important;text-shadow:none!important;position:relative;user-select:none}
.dictation-word.hidden-word::after{content:"• • •";position:absolute;inset:0;display:grid;place-items:center;color:#c9bba4;letter-spacing:.2em}

@media (prefers-reduced-motion:reduce){.kbs-pbtn{transition:none}}

/* te lange inhoud: normaal formaat en scrollen */
.widget.board-fullscreen.kbs-fit-scroll .widget-body{overflow-y:auto!important}
.widget.board-fullscreen.kbs-fit-scroll .widget-body>.kbs-fit{justify-content:flex-start}

/* instellingen die niet in een instellingenpaneel zitten: verbergen in presentatiemodus */
.widget.board-fullscreen[data-type="words"] :is(.wordmode,.wordsearch,.wordlist,.wordlevel,.genwords),
.widget.board-fullscreen[data-type="wordflasher"] .wf-own,
.widget.board-fullscreen[data-type="event"] :is(.eventdate,.eventname),
.widget.board-fullscreen[data-type="namen"] textarea,
.widget.board-fullscreen[data-type="groups"] textarea,
.widget.board-fullscreen[data-type="daystartpro"] .dssave{display:none!important}

/* tekenbord vult het scherm */
.widget.board-fullscreen[data-type="whiteboard"] .widget-body{display:flex!important;flex-direction:column;gap:10px;padding:64px 24px 24px!important}
.widget.board-fullscreen[data-type="whiteboard"] .whiteboard{flex:1;height:auto!important;border-radius:18px;border-color:#efe3cf}
.widget.board-fullscreen[data-type="whiteboard"] .whiteboard canvas{width:100%!important;height:100%!important}
.widget.board-fullscreen[data-type="whiteboard"] .row{justify-content:center}

/* PDF kiezen: grote, rustige dropzone */
.widget.board-fullscreen[data-type="pdfboard"] .pdf-tool,.widget.board-fullscreen[data-type="pdfboard"] .pdf-upload-state{height:100%}
.widget.board-fullscreen[data-type="pdfboard"] .pdf-upload-state .pdf-drop{height:calc(100% - 60px);margin-top:50px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}
.widget.board-fullscreen[data-type="pdfboard"] .pdf-drop span{font-size:64px}
.widget.board-fullscreen[data-type="pdfboard"] .pdf-drop strong{font-size:28px}

/* klassieke tools: de inhoud krijgt het hele bord */
html body .widget.board-fullscreen.kbs-legacy-fs .widget-body{position:absolute!important;inset:0!important;height:auto!important;max-height:none!important;width:auto!important}

/* compacte lesknoppen in de gewone weergave (instellingen verborgen) */
.widget:not(.board-fullscreen) > .kbs-pdock{bottom:10px;padding:5px;gap:6px;border-radius:16px;box-shadow:0 4px 14px rgba(3,54,99,.10)}
.widget:not(.board-fullscreen) > .kbs-pdock .kbs-pbtn{min-height:36px;padding:0 14px;font-size:13px;border-radius:11px}
.widget.kbs-has-dock:not(.board-fullscreen) .widget-body{padding-bottom:58px!important}
/* volledig scherm: geen maximumhoogte van de widget meer (die hield elke tool op 72vh) */
html body .widget.board-fullscreen .widget-body{max-height:none!important}
/* bingo: de kaart past altijd volledig in beeld */
.widget.board-fullscreen .bingo-tool-pro{height:100%;grid-template-rows:auto auto 1fr;padding-top:44px}
.widget.board-fullscreen .bingo-card{width:min(100%,calc((100vh - 420px) * .86))!important;margin:0 auto}
.widget.board-fullscreen[data-type="event"] .eventresult{font-size:clamp(34px,4vw,64px)!important}
