/*
 * LNK Easy Cookies - feuille du bandeau, affichage « box ».
 * Generee par tests/build-front-css.php depuis tests/css-src/ : ne pas modifier ici.
 *
 * @author    LNKBOOT
 * @copyright LNKBOOT
 * @license   Proprietaire - voir LICENSE.md
 */
/* Commun aux trois affichages. Une couleur (--lnkec-accent), du texte et des filets ; les trois
   boutons ont le meme poids visuel (refuser aussi simple qu'accepter). Proprietes logiques : le
   bandeau suit la direction de la page (arabe). */
.lnkec { --lnkec-accent: #1f3c88; --lnkec-on: #fff; position: fixed; z-index: 2147483000; color: #1d1d1f; font-size: 14px; line-height: 1.5; text-align: start; }
.lnkec[hidden], .lnkec-badge[hidden], .lnkec [hidden] { display: none !important; }
.lnkec *, .lnkec *::before, .lnkec *::after { box-sizing: border-box; }
.lnkec__box { background: #fff; padding: 20px 24px; }
.lnkec__title { margin: 0 0 4px; font-size: 16px; font-weight: 600; color: inherit; }
.lnkec__text { margin: 0 0 16px; color: #3a3a3c; }
.lnkec__text a { color: var(--lnkec-accent); text-decoration: underline; }
.lnkec__prefs { margin: 0 0 16px; padding: 0; list-style: none; max-height: 45vh; overflow: auto; border-top: 1px solid #e3e3e6; }
.lnkec__cat { padding: 10px 0; border-bottom: 1px solid #e3e3e6; }
.lnkec__switch { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; font-weight: 600; cursor: pointer; }
.lnkec__switch input { width: 18px; height: 18px; margin: 0; accent-color: var(--lnkec-accent); }
.lnkec__always { font-size: 12px; font-weight: 400; color: #6e6e73; }
.lnkec__desc { display: block; margin-top: 2px; padding-inline-start: 28px; font-size: 13px; color: #55555a; }
.lnkec__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lnkec__btn { flex: 1 1 auto; min-height: 44px; margin: 0; padding: 10px 16px; border: 1px solid var(--lnkec-accent); border-radius: 4px; background: var(--lnkec-accent); color: var(--lnkec-on); font: inherit; font-weight: 600; line-height: 1.2; cursor: pointer; }
.lnkec__btn:hover { filter: brightness(1.12); }
.lnkec__btn:focus-visible, .lnkec__text a:focus-visible, .lnkec__switch input:focus-visible, .lnkec-badge:focus-visible { outline: 2px solid var(--lnkec-accent); outline-offset: 2px; }
.lnkec-badge { --lnkec-accent: #1f3c88; position: fixed; bottom: calc(var(--lnk-float-bottom, var(--lnk-inset-bottom, 0px)) + 16px); z-index: calc(var(--lnk-z-sticky, 200) + 1); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 1px solid var(--lnkec-accent); border-radius: 50%; background: #fff; color: var(--lnkec-accent); cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.lnkec-badge--start { inset-inline-start: 16px; }
.lnkec-badge--end { inset-inline-end: 16px; }
/* Boite dans un coin : 400 px au plus, au coin choisi (debut ou fin de ligne). */
.lnkec--box { bottom: 16px; width: 400px; max-width: calc(100% - 32px); max-height: calc(100% - 32px); overflow: auto; border: 1px solid #d2d2d7; border-radius: 8px; box-shadow: 0 8px 32px rgba(0, 0, 0, .16); }
.lnkec--box.lnkec--start { inset-inline-start: 16px; }
.lnkec--box.lnkec--end { inset-inline-end: 16px; }
