/* Einlasspilot website: cookie notice and chat placeholder (ep-consent.js). Dark like the footer, also in light mode. */
.ep-consent { position: fixed; left: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); z-index: 2147483100; width: min(460px, calc(100vw - 24px));
  max-height: calc(100vh - 24px); overflow: auto; padding: 1.3rem 1.3rem 1.1rem; border-radius: 20px; color: #e2e8f0;
  background: rgba(11, 16, 32, .97); border: 1px solid rgba(148, 163, 184, .22); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8), 0 0 40px -18px rgba(99, 102, 241, .6);
  font-family: var(--wp--preset--font-family--manrope, "Manrope", system-ui, sans-serif); font-size: .93rem; line-height: 1.55;
  opacity: 0; transform: translateY(16px); transition: opacity .3s ease, transform .35s cubic-bezier(.2, .8, .2, 1); }
.ep-consent[hidden] { display: none; }
.ep-consent.ep-consent-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ep-consent { transition: none; } }
.ep-consent h2 { margin: 0 0 .45rem; font-size: 1.08rem; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.ep-consent h2::before { content: "🍪 "; }
.ep-consent p { margin: 0; color: #cbd5e1; }
.ep-consent a { color: #93c5fd; }
.ep-consent-details { margin-top: .9rem; display: grid; gap: .7rem; }
.ep-consent-details[hidden] { display: none; }
.ep-consent-cat { border: 1px solid rgba(148, 163, 184, .18); border-radius: 14px; padding: .75rem .9rem; background: rgba(15, 23, 42, .6); }
.ep-consent-cat p { font-size: .86rem; margin-top: .25rem; color: #94a3b8; }
.ep-consent-cat ul { margin: .45rem 0 0; padding-left: 1.1rem; font-size: .82rem; color: #94a3b8; }
.ep-consent-cat li { margin: .2rem 0; }
.ep-consent-cat code { font-size: .78rem; color: #c7d2fe; background: rgba(99, 102, 241, .16); padding: .05rem .35rem; border-radius: 5px; }
.ep-consent-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: #fff; }
.ep-consent-always { font-size: .78rem; font-weight: 700; color: #86efac; }
/* switch */
.ep-consent-toggle { position: relative; width: 44px; height: 24px; flex: none; }
.ep-consent-toggle input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ep-consent-toggle i { position: absolute; inset: 0; border-radius: 999px; background: #334155; transition: background .25s; pointer-events: none; }
.ep-consent-toggle i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s; }
.ep-consent-toggle input:checked + i { background: linear-gradient(90deg, #3b82f6, #7c3aed); }
.ep-consent-toggle input:checked + i::after { transform: translateX(20px); }
.ep-consent-toggle input:focus-visible + i { outline: 2px solid #a5b4fc; outline-offset: 2px; }
/* buttons: both choices look the same */
.ep-consent-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 1rem; }
.ep-consent-btn { flex: 1 1 auto; border: 0; border-radius: 12px; padding: .7rem 1rem; font: inherit; font-weight: 800; font-size: .92rem; cursor: pointer;
  color: #fff; background: linear-gradient(90deg, #3b82f6, #7c3aed); transition: filter .15s, transform .15s; }
.ep-consent-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.ep-consent-btn[hidden] { display: none; }
.ep-consent-link { border: 0; background: none; padding: .5rem .3rem; font: inherit; font-size: .88rem; font-weight: 700; color: #93c5fd; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; }
.ep-consent-btn:focus-visible, .ep-consent-link:focus-visible { outline: 2px solid #a5b4fc; outline-offset: 2px; }

/* chat placeholder: same place and look as the chat button, asks before the chat (and its cookie) loads */
.ep-chat-ph { position: fixed; right: 20px; bottom: 20px; z-index: 2147483000; display: flex; flex-direction: column; align-items: flex-end; gap: .6rem;
  font-family: var(--wp--preset--font-family--manrope, "Manrope", system-ui, sans-serif); }
.ep-chat-ph-btn { display: inline-flex; align-items: center; gap: .55rem; border: 0; border-radius: 999px; padding: .8rem 1.25rem .8rem 1rem; cursor: pointer;
  font: inherit; font-weight: 700; font-size: .98rem; color: #fff; background: #2563eb; box-shadow: 0 10px 28px -8px rgba(37, 99, 235, .7); transition: filter .15s; }
.ep-chat-ph-btn:hover { filter: brightness(1.08); }
.ep-chat-ph-btn svg { width: 22px; height: 22px; }
.ep-chat-ask { width: min(320px, calc(100vw - 40px)); padding: 1rem 1.1rem; border-radius: 16px; background: rgba(11, 16, 32, .98); color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, .22); box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .8); font-size: .9rem; line-height: 1.5; }
.ep-chat-ask[hidden] { display: none; }
.ep-chat-ask p { margin: 0; }
.ep-chat-ask strong { display: block; color: #fff; margin-bottom: .2rem; }
.ep-chat-ask a { color: #93c5fd; }
.ep-chat-ask-actions { display: flex; gap: .4rem; align-items: center; margin-top: .8rem; }
/* phones: the notice spans the bottom and the chat button waits until a choice is made */
@media (max-width: 600px) {
  .ep-consent { left: 8px; right: 8px; bottom: 8px; width: auto; border-radius: 18px; }
  html.ep-consent-open .ep-chat-ph { display: none; }
  .ep-chat-ph { right: 14px; bottom: 14px; }
  .ep-chat-ph-btn span { display: none; }
  .ep-chat-ph-btn { padding: .85rem; }
}
