/* Inlogscherm optie B (akkoord Nabil 13-11-2026): links een rustig Mr. Fezz-blauw vlak met patroon en de tekst
   "Van bestelling tot levering / Het werkportaal van Mister Fezz", rechts het formulier zonder kaart. Bovenaan alleen
   het hoofd van Mr. Fezz, begroeting "Fijn dat je er weer bent" in Poppins. Onderaan één regel: vergeten links, taal rechts.
   Nabil 16-11: donker als het apparaat op donker staat, of als op dit apparaat in het portaal Donker is gekozen (localStorage
   'mrfezz_login_thema' uit basis.html; een bewuste keuze Licht gaat ook voor). De login-pagina zet data-thema="donker". */
:root { color-scheme: light;
  --bg: #ebe9e4; --tekst: #25272b; --tekst-2: #585b61; --rand: rgba(40, 30, 10, .14); --veld: #f3f2ee; --vrand: rgba(40, 30, 10, .22);
  --actie: #24528f; --actie-donker: #1c4377; --op-actie: #fff; --link: #24528f; --groet: #17355a; --navy: #17355a; --rood: #a91916;
  --fout: #a91916; --fout-bg: #f6dfdd; --ok: #00443f; --ok-bg: #d5e8e5; }
:root[data-thema="donker"] { color-scheme: dark;
    --bg: #1a1d21; --tekst: #e9ebee; --tekst-2: #b4b9c2; --rand: rgba(255, 255, 255, .14); --veld: #1e2126; --vrand: #4a505a;
    --actie: #2b6cd4; --actie-donker: #2259b5; --link: #8cbcff; --groet: #f1f3f6; --navy: #0f2238; --rood: #c4302b;
    --fout: #ffb4ab; --fout-bg: #3a1715; --ok: #8fd6b0; --ok-bg: #12302a; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.ib { font: 15px/1.5 "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; background: var(--bg); color: var(--tekst);
  min-height: calc(100vh / var(--s, 1)); display: grid; grid-template-columns: 44% 1fr; }
.ib-paneel { background-color: var(--navy); position: relative; overflow: hidden;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.055) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.055) 0 1px, transparent 1px 34px),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.05) 0 3px, transparent 4px);
  background-size: auto, auto, 48px 48px; }
/* Nabil 16-11: blauw deel van het streepje was even donker als het vlak (onzichtbaar): lichter blauw, net als het merkvlak */
.ib-paneel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, #6f9bd6 0 60%, #e0534a 60%); }
.ib-paneel .ib-tekst { position: absolute; left: 56px; right: 56px; bottom: 64px; color: #fff; margin: 0; }
.ib-paneel .ib-tekst b { display: block; font-size: 24px; line-height: 1.25; }
.ib-paneel .ib-tekst span { display: block; font-size: 15px; color: rgba(255, 255, 255, .85); margin-top: 8px; }
.ib-rechts { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 24px; min-width: 0; }
.ib-form { width: min(380px, 100%); display: grid; gap: 16px; min-width: 0; }
.ib-merk { display: grid; justify-items: center; gap: 14px; text-align: center; }
.ib-hoofd { width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; background: #fff;
  box-shadow: 0 0 0 1px rgba(40, 30, 10, .08), 0 6px 18px rgba(23, 53, 90, .10); }
/* Nabil 16-11: zelfde verhouding als het logo na het inloggen (witte munt): hoofd 78% van de cirkel, precies in het midden */
.ib-hoofd img { height: 100px; width: auto; max-width: none; display: block; margin: 0; }   /* 100 / 128 = 78% (Nabil 16-11: iets groter) */
:root[data-thema="donker"] .ib-hoofd { background: #faf9f6; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.ib h1 { margin: 0; font-family: "Poppins", "Inter", sans-serif; font-weight: 600; font-size: 28px; line-height: 1.2; color: var(--groet); }
.ib h1 small { display: block; font-family: "Inter", sans-serif; font-weight: 400; font-size: 15px; color: var(--tekst-2); margin-top: 6px; }
.ib label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--tekst); }
.ib input:not([type="checkbox"]) { font: inherit; font-weight: 400; height: 44px; padding: 0 12px; background: var(--veld); color: var(--tekst);
  border: 1px solid var(--vrand); border-radius: 10px; width: 100%; }
.ib input:focus { outline: 2px solid var(--actie); outline-offset: 1px; border-color: transparent; }
:root[data-thema="donker"] .ib input:focus { outline-color: #8cbcff; }
.ib .ib-vink { display: flex; gap: 10px; align-items: center; font-weight: 500; font-size: 15px; }
.ib .ib-vink input { width: 20px; height: 20px; accent-color: var(--actie); }
.ib button.ib-knop { height: 44px; border: 0; border-radius: 10px; background: var(--actie); color: var(--op-actie); font: inherit; font-weight: 600; cursor: pointer; }
.ib button.ib-knop:hover { background: var(--actie-donker); }
.ib .ib-regel { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--rand); }
.ib .ib-tlink { font-size: 13px; font-weight: 600; color: var(--link); text-decoration: none; }
.ib .ib-tlink:hover { text-decoration: none; color: var(--actie-donker); }
:root[data-thema="donker"] .ib .ib-tlink:hover { color: #b9d6ff; }
.ib .ib-taal { margin: 0; display: grid; justify-items: center; gap: 6px; }
/* Nabil 16-11 (keuze A): "Kies taal" zacht overvloeiend door alle talen, gecentreerd onder de taalkeuze, in de linkkleur (merkblauw) */
.ib .ib-regel { align-items: flex-start; }
.ib .ib-tlink { padding-top: 9px; }
.ib .ib-kiestaal { position: relative; height: 18px; width: 150px; overflow: hidden; color: var(--link); font-size: 12.5px; font-weight: 600;
  line-height: 18px; letter-spacing: .02em; text-align: center; }
.ib .ib-kiestaal span { position: absolute; inset: 0; white-space: nowrap; opacity: 0; animation: ib-kt 13.2s infinite; }
.ib .ib-kiestaal span:nth-child(2) { animation-delay: 2.2s; } .ib .ib-kiestaal span:nth-child(3) { animation-delay: 4.4s; }
.ib .ib-kiestaal span:nth-child(4) { animation-delay: 6.6s; } .ib .ib-kiestaal span:nth-child(5) { animation-delay: 8.8s; }
.ib .ib-kiestaal span:nth-child(6) { animation-delay: 11s; }
@keyframes ib-kt { 0% { opacity: 0; transform: translateY(5px); } 3% { opacity: 1; transform: none; } 14% { opacity: 1; transform: none; }
  17% { opacity: 0; transform: translateY(-5px); } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ib .ib-kiestaal span { animation: none; } .ib .ib-kiestaal span:first-child { opacity: 1; } }
.ib .ib-taal select { -webkit-appearance: none; appearance: none; height: 36px; padding: 0 34px 0 12px; border: 1px solid var(--vrand); border-radius: 10px;
  background-color: var(--veld); color: var(--tekst); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23585b61' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 14px 14px; }
.ib .ib-taal select:hover { border-color: var(--actie); }
:root[data-thema="donker"] .ib .ib-taal select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23b4b9c2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); } :root[data-thema="donker"] .ib .ib-taal select:hover { border-color: #8cbcff; }
.ib .ib-hint { margin: -8px 0 0; font-size: 13px; color: var(--tekst-2); }
.ib .ib-midden { text-align: center; }
.ib .fout { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--fout-bg); color: var(--fout); font-size: 13px; }
.ib .melding { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--ok-bg); color: var(--ok); font-size: 13px; }
.ib a:focus-visible, .ib button:focus-visible, .ib select:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.ib .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* telefoon: het blauwe vlak wordt een smalle band bovenaan met één regel tekst */
@media (max-width: 760px) {
  body.ib { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .ib-paneel { min-height: 64px; display: flex; align-items: center; justify-content: center; padding: 14px 16px 18px; }
  .ib-paneel .ib-tekst { position: static; text-align: center; }
  .ib-paneel .ib-tekst b { display: none; }
  .ib-paneel .ib-tekst span { margin: 0; font-size: 13px; }
  .ib-rechts { place-items: start center; padding: 28px max(16px, env(safe-area-inset-right, 0px)) 32px max(16px, env(safe-area-inset-left, 0px)); }
  .ib-hoofd { width: 110px; height: 110px; } .ib-hoofd img { height: 86px; width: auto; }   /* 86 / 110 = 78% */
  .ib h1 { font-size: 24px; }
}
