/* WMS 2026 — auth (logowanie / hasło) + nakładka na platformę */

.auth-body {
  min-height: 100vh;
  background: #10081d;
}
.auth-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: #10081d;
  background-image:
    linear-gradient(160deg, rgba(16, 8, 29, 0.78) 0%, rgba(45, 18, 80, 0.62) 48%, rgba(122, 45, 106, 0.55) 100%),
    url('../../assets/img/bg_poziom.jpg');
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
}
.auth-compass { display: none !important; }
.auth-bg::after { display: none !important; }
.auth-card {
  background: rgba(16, 8, 29, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 64px rgba(8, 4, 18, 0.45);
}
.auth-card__logo {
  height: auto;
  width: auto;
  max-width: min(340px, 100%);
  max-height: 56px;
  filter: none;
  opacity: 1;
}
.auth-card__title::after {
  background: #ffc674;
}
.auth-field input:focus {
  border-color: #ffc674;
  box-shadow: 0 0 0 3px rgba(255, 198, 116, 0.22);
}
.auth-body .auth-submit,
.auth-body a.auth-submit {
  background: #ffc674;
  color: #1a0d2e;
  border-radius: 999px;
}
.auth-body .auth-submit:hover,
.auth-body a.auth-submit:hover {
  background: #ffd392;
  color: #1a0d2e;
  box-shadow: 0 12px 26px rgba(255, 198, 116, 0.28);
}
.auth-body .auth-submit.is-loading {
  cursor: wait;
  pointer-events: none;
}
.auth-spinner {
  display: inline-block;
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid rgba(26, 13, 46, 0.22);
  border-top-color: #1a0d2e;
  border-radius: 50%;
  animation: lp-spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes lp-spin {
  to { transform: rotate(360deg); }
}
.auth-card__footer a:hover,
.auth-back a:hover {
  color: #ffc674;
}
.auth-card__register a {
  color: #ffc674;
}
.auth-card__register a:hover {
  color: #ffd392;
}

:root {
  --color-primary: #1a0d2e;
  --color-primary-light: #5b2a86;
  --color-accent: #ffc674;
  --color-bg: #f8f3f9;
  --color-text: #1a0d2e;
  --color-sidebar: #10081d;
}

.lp-btn--cta {
  background: var(--color-accent, #ffc674);
}

.ibe-card {
  background: var(--color-box-bg, #fff);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 10px 28px rgba(16, 8, 29, 0.08);
}
.ibe-card + .ibe-card { margin-top: 1rem; }
.ibe-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.ibe-kpi {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 22px rgba(16, 8, 29, 0.07);
}
.ibe-kpi strong { display: block; font-size: 1.5rem; color: var(--color-primary, #1a0d2e); }
.ibe-kpi span { color: #667; font-size: 0.85rem; }

.settings-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
}
.settings-tile {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  min-height: 4.35rem;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  text-align: left;
  box-shadow: 0 8px 22px rgba(16, 8, 29, 0.07);
}
.settings-tile i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.55rem;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  background: #3a1858;
  color: #ffc674;
  font-size: 1.2rem;
  margin: 0;
}
.settings-tile strong {
  font-size: 1.02rem;
  line-height: 1.25;
  font-weight: 600;
}

.admin-form fieldset {
  border: 1px solid #e6e8f0;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin: 0 0 1rem;
}
.admin-form legend { font-weight: 700; }
.lp-radio, .lp-check { display: block; margin: 0.45rem 0; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.admin-table th, .admin-table td { padding: 0.55rem 0.45rem; border-bottom: 1px solid #eceef5; text-align: left; }
.admin-table th { color: #667; font-weight: 600; }

.platform-sidebar {
  background: linear-gradient(180deg, #10081d 0%, #24103d 38%, #7a2d6a 100%);
  box-shadow: 4px 0 24px rgba(16, 8, 29, 0.28);
}
.platform-sidebar__head {
  background: #10081d;
  border-bottom: 1px solid rgba(255, 198, 116, 0.18);
}
.platform-sidebar__brand {
  padding: 0 0.95rem;
  justify-content: flex-start;
}
.platform-sidebar__logo {
  width: 100%;
  height: auto;
  max-width: none;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}
.platform-sidebar__nav::-webkit-scrollbar-thumb:hover {
  background: #1a0d2e;
}
.platform-sidebar__toggle {
  background: #10081d;
  border-color: rgba(255, 198, 116, 0.55);
}
.platform-topbar {
  background: linear-gradient(90deg, #4a1a72 0%, #7a2d6a 100%);
  border-bottom: 1px solid rgba(255, 198, 116, 0.22);
  box-shadow: 0 8px 22px rgba(16, 8, 29, 0.18);
}
.platform-topbar,
.platform-sidebar__toggle {
  box-shadow: 0 6px 18px rgba(16, 8, 29, 0.2);
}

.lobby-grid {
  align-items: stretch;
}
.lobby-grid__cell--aside {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}

.lobby-kv {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 340px;
  border-radius: 18px;
  color: #fff;
  background: #10081d;
  box-shadow: 0 16px 40px rgba(16, 8, 29, 0.2);
}
.lobby-kv__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% center;
  display: block;
}
.lobby-kv::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(16, 8, 29, 0.88) 0%, rgba(29, 12, 52, 0.55) 42%, rgba(16, 8, 29, 0.18) 100%);
  pointer-events: none;
}
.lobby-kv__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  min-height: 340px;
  height: 100%;
  padding: 1.55rem 1.7rem 1.7rem;
  box-sizing: border-box;
}
.lobby-kv__logo {
  width: auto;
  max-width: min(300px, 82%);
  max-height: 52px;
  height: auto;
  margin: 0 0 1.65rem;
}
.lobby-kv__title {
  margin: 0 0 1.15rem;
  display: flex;
  flex-direction: column;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.lobby-kv__title .is-soft { font-weight: 400; }
.lobby-kv__tagline {
  margin: 0;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: #ffc674;
  font-size: clamp(1.12rem, 1.9vw, 1.48rem);
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-transform: uppercase;
}
.lobby-kv__tagline .is-soft { font-weight: 400; }
.lobby-kv__tagline .is-strong { font-weight: 700; }

.lobby-panel {
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.25rem 1.25rem;
  border-radius: 18px;
  color: #fff;
  box-shadow: 0 14px 32px rgba(16, 8, 29, 0.16);
}
.lobby-panel--timer {
  flex: 1 1 auto;
  background: linear-gradient(165deg, #1a0d2e 0%, #3d1860 100%);
}
.lobby-panel--info {
  flex: 0 0 auto;
  background: linear-gradient(165deg, #2d1250 0%, #5a2468 100%);
}
.lobby-panel__hello {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.lobby-panel__clock {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 0 0.7rem;
  background: rgba(255, 198, 116, 0.14);
  border: 1px solid rgba(255, 198, 116, 0.42);
  color: #ffc674;
  font-size: 1.35rem;
  box-shadow: 0 0 0 5px rgba(255, 198, 116, 0.06);
}
.lobby-panel__label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.lobby-panel__count {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffc674;
  line-height: 1.15;
}
.lobby-panel__title {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffc674;
}
.lobby-panel__meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
}
.lobby-panel__meta i {
  color: #ffc674;
  margin-right: 0.45rem;
}

.lobby-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
  margin-top: 1.15rem;
}
.lobby-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem;
  background: #fff;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 22px rgba(16, 8, 29, 0.07);
}
.lobby-link i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.45rem;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 50%;
  background: #3a1858;
  color: #ffc674;
  font-size: 1.15rem;
}
.lobby-link:hover { box-shadow: 0 12px 26px rgba(16, 8, 29, 0.12); }

@media (max-width: 980px) {
  .lobby-grid {
    grid-template-columns: 1fr;
  }
  .lobby-kv,
  .lobby-kv__inner {
    min-height: 260px;
    height: auto;
  }
}

.platform-lang,
.auth-lang {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  margin: 0.25rem 0 0.55rem;
  padding: 0 0.72rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.platform-lang--flags {
  margin: 0.1rem 0 0.45rem;
  padding: 0 0.72rem;
}
.platform-lang__flag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  padding: 0.28rem 0.45rem;
  border-radius: 8px;
  border: 1px solid transparent;
}
.platform-lang__flag img {
  display: block;
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.platform-lang__flag.is-active {
  color: #ffc674;
  background: rgba(255, 198, 116, 0.12);
  border-color: rgba(255, 198, 116, 0.35);
}
.platform-lang__flag:hover { color: #fff; }
.platform-sidebar__rule {
  height: 1px;
  margin: 0.15rem 0.55rem 0.45rem;
  background: rgba(255, 255, 255, 0.18);
}
.platform-lang a,
.auth-lang a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  padding: 0.2rem 0.35rem;
  border-radius: 6px;
}
.platform-lang a.is-active,
.auth-lang a.is-active {
  color: #ffc674;
  background: rgba(255, 198, 116, 0.12);
}
.platform-lang a:hover,
.auth-lang a:hover { color: #fff; }
.auth-lang { margin: 0.85rem 0 0; }
.auth-lang a { color: rgba(255, 255, 255, 0.62); }

.ibe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.58rem 1.15rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  background: #ffc674;
  color: #1a0d2e;
  text-decoration: none;
}
.ibe-btn:hover { background: #ffd392; }
.ibe-btn--ghost {
  background: #fff;
  color: #1a0d2e;
  border: 1px solid #e2dce8;
}
.ibe-btn--ghost:hover { border-color: #cbb8dc; background: #fbf7ff; }
.ibe-btn--sm { padding: 0.35rem 0.8rem; font-size: 0.82rem; }
.ibe-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin: 0 0 1rem;
}
.ibe-input,
.ibe-field input,
.ibe-field select,
.ibe-field textarea,
.admin-form input[type="text"],
.admin-form input[type="search"],
.admin-form input[type="email"],
.admin-form input[type="url"],
.admin-form input[type="date"],
.admin-form input[type="time"],
.admin-form select,
.admin-form textarea,
.ibe-select,
.ibe-notes-form textarea {
  width: 100%;
  padding: 0.62rem 0.8rem;
  border: 1px solid #e2dce8;
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: #1a0d2e;
  box-sizing: border-box;
}
.ibe-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
}
.ibe-field input,
.ibe-field select,
.ibe-field textarea { font-weight: 400; }
.ibe-check { display: flex; gap: 0.5rem; align-items: flex-start; margin: 0.45rem 0; font-weight: 500; }
.admin-form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem 1rem;
}
.ibe-lead { color: #5c5670; margin: 0 0 1rem; }
.ibe-filters { display: flex; flex-direction: column; gap: 0.55rem; margin: 0 0 1rem; }
.ibe-filters__group { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.ibe-filters__group > span { font-size: 0.78rem; font-weight: 700; color: #5c5670; margin-right: 0.2rem; }
.ibe-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #eadff2;
  background: #fff;
  color: #1a0d2e;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
}
.ibe-chip.is-active { background: #1a0d2e; color: #fff; border-color: #1a0d2e; }
.ibe-chip.is-static { background: #f4ecf8; cursor: default; }
.ibe-kpi.is-pending strong { color: #b45309; }
.ibe-kpi.is-ok strong { color: #157347; }
.ibe-kpi.is-bad strong { color: #b42318; }
.admin-table-wrap { overflow: auto; }
.admin-table--attendees { min-width: 1100px; }
.admin-table--attendees td { vertical-align: top; }
.ibe-inline-form { margin: 0; }
.ibe-select { min-width: 9.5rem; }
.ibe-select--status.is-pending { background: #fff7ed; }
.ibe-select--status.is-approved { background: #ecfdf3; }
.ibe-select--status.is-declined { background: #fef3f2; }
.ibe-actions { min-width: 160px; }
.ibe-notes-form textarea { margin-top: 0.4rem; min-width: 140px; font-size: 0.8rem; }
.muted { color: #6d677c; font-size: 0.8rem; }
.pf-kicker {
  margin: 1rem 0 0.25rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a2d6a;
}
.pf-embed { position: relative; padding-top: 56.25%; border-radius: 12px; overflow: hidden; }
.pf-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pf-msg { padding: 0.8rem 0; border-bottom: 1px solid #eceef5; }

.pf-agenda__tabs { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 0 0 1.2rem; }
.pf-agenda__tab {
  border: 1px solid #eadff2;
  background: #fff;
  color: #1a0d2e;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.pf-agenda__tab.is-active { background: #1a0d2e; color: #fff; border-color: #1a0d2e; }
.pf-agenda__day[hidden] { display: none; }
.pf-agenda__day-title { margin: 0 0 1rem; font-size: 1.15rem; color: #5b2a86; }
.pf-agenda__list { list-style: none; padding: 0; margin: 0; }
.pf-agenda__item {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 1rem;
  padding: 1rem 0.2rem 1rem 0.85rem;
  border-bottom: 1px solid #f0e7f4;
  border-left: 3px solid transparent;
}
.pf-agenda__item.is-break {
  border-left-color: #ffc674;
  background: rgba(255, 198, 116, 0.1);
  border-radius: 0 12px 12px 0;
}
.pf-agenda__time { font-weight: 700; color: #8a5a08; }
.pf-agenda__title { font-weight: 700; }
.pf-agenda__stage { font-size: 0.85rem; color: #7a2d6a; }
.pf-agenda__desc { margin: 0.4rem 0 0; color: #5c5670; }
.pf-agenda__tracks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin: 1rem 0 1.2rem;
}
.pf-track {
  background: #fff;
  border: 1px solid #eedff5;
  border-radius: 16px;
  padding: 1rem 1.05rem;
  box-shadow: 0 10px 24px rgba(22, 11, 40, 0.05);
}
.pf-track:nth-child(1) { border-top: 4px solid #5b2a86; }
.pf-track:nth-child(2) { border-top: 4px solid #ffc674; }
.pf-track:nth-child(3) { border-top: 4px solid #d96bb3; }
.pf-track__time { font-size: 0.82rem; font-weight: 700; color: #8a5a08; margin-bottom: 0.35rem; }
.pf-track__title { font-weight: 700; }
.pf-track__stage { margin-top: 0.35rem; font-size: 0.82rem; color: #7a2d6a; }

.pf-speakers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 0.6rem;
}
.lp-speaker {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(91, 42, 134, 0.08);
  box-shadow: 0 4px 14px rgba(22, 11, 40, 0.05);
  cursor: pointer;
}
.lp-speaker:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 42, 134, 0.16);
  box-shadow: 0 8px 18px rgba(22, 11, 40, 0.08);
}
.lp-speaker__photo {
  aspect-ratio: 4 / 4.6;
  background: linear-gradient(160deg, #2a1248 0%, #7a3aa8 55%, #d96bb3 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 700;
}
.lp-speaker__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.lp-speaker__body { padding: 0.85rem 0.95rem 0.95rem; }
.lp-speaker__name { font-weight: 700; font-size: 1rem; line-height: 1.25; display: flex; align-items: center; gap: 0.4rem; }
.lp-speaker__pos { margin: 0.28rem 0 0; font-size: 0.82rem; color: #5c5670; }
.lp-speaker__co { margin: 0.08rem 0 0; font-size: 0.84rem; font-weight: 700; color: #5b2a86; }
.lp-speaker__more { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.55rem; font-size: 0.82rem; font-weight: 700; color: #7a2d6a; }
.pf-flag { width: 18px; height: 12px; object-fit: cover; border-radius: 2px; }

.pf-practical__intro { margin-bottom: 1rem; }
.pf-practical__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1rem; }
.pf-practical__map iframe { width: 100%; min-height: 320px; border: 0; border-radius: 12px; }
.pf-practical__copy h3 { margin: 0 0 0.4rem; }

.lp-modal[hidden] { display: none; }
.lp-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.lp-modal__backdrop { position: absolute; inset: 0; background: rgba(16, 8, 29, 0.58); }
.lp-modal__card {
  position: relative;
  z-index: 1;
  max-width: 640px;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
}
.lp-modal__card--speaker { max-width: 860px; padding: 0; overflow: hidden; }
.lp-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: #1a0d2e;
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lp-speaker-modal { display: grid; grid-template-columns: minmax(220px, 0.85fr) 1.15fr; min-height: 320px; }
.lp-speaker-modal__photo {
  position: relative;
  min-height: 280px;
  background: linear-gradient(160deg, #2a1248 0%, #7a3aa8 55%, #d96bb3 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 3rem;
  font-weight: 700;
}
.lp-speaker-modal__photo img {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.lp-speaker-modal__photo img.is-on { display: block; }
.lp-speaker-modal__copy { padding: 1.7rem 1.8rem 1.6rem; }
.lp-speaker-modal__copy h3 { margin: 0; font-size: 1.45rem; }
.lp-speaker-modal__pos { margin: 0.45rem 0 0; color: #5c5670; }
.lp-speaker-modal__co { margin: 0.15rem 0 0; font-weight: 700; color: #5b2a86; }
.lp-speaker-modal__bio { margin-top: 1rem; font-size: 0.94rem; line-height: 1.6; }

@media (max-width: 1100px) {
  .pf-speakers__grid { grid-template-columns: repeat(2, 1fr); }
  .pf-agenda__tracks { grid-template-columns: 1fr; }
  .pf-practical__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .pf-speakers__grid { grid-template-columns: 1fr; }
  .pf-agenda__item { grid-template-columns: 1fr; }
  .lp-speaker-modal { grid-template-columns: 1fr; }
}

.ibe-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #eadff2;
  border-radius: 50%;
  background: #fff;
  color: #5b2a86;
  cursor: pointer;
  font-size: 1.05rem;
}
.ibe-icon-btn:hover { background: #f4ecf8; border-color: #cbb8dc; }
.ibe-notes {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  min-width: 140px;
  font-size: 0.8rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid #e2dce8;
  border-radius: 8px;
  font: inherit;
  box-sizing: border-box;
}
.ibe-bulk-progress {
  margin: 0 0 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  background: #f4ecf8;
  color: #3d1860;
  font-size: 0.9rem;
  font-weight: 600;
}
.ibe-history-card {
  max-width: 440px;
  padding: 1rem 1.1rem 0.9rem;
}
.ibe-history-card h3 { margin: 0 0 0.55rem; font-size: 1rem; font-weight: 700; }
.ibe-history-list { max-height: min(58vh, 380px); overflow: auto; }
.ibe-history-item {
  padding: 0.38rem 0;
  border-bottom: 1px solid #f0e7f4;
  font-size: 0.78rem;
  line-height: 1.3;
}
.ibe-history-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a0d2e;
}
.ibe-history-item .muted {
  font-size: 0.68rem;
  margin: 0.08rem 0 0.12rem;
}
.ibe-history-item:last-child { border-bottom: 0; }
.admin-table--attendees tr.is-pending td:first-child { box-shadow: inset 3px 0 0 #f59e0b; }
.admin-table--attendees tr.is-approved td:first-child { box-shadow: inset 3px 0 0 #157347; }
.admin-table--attendees tr.is-declined td:first-child { box-shadow: inset 3px 0 0 #b42318; }
.ibe-actions .ibe-btn { margin-top: 0.35rem; }

/* Compact attendees panel */
.att-chrome {
  flex: 0 0 auto;
  max-height: 118px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}
.att-stats {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.3rem;
  overflow-x: auto;
  line-height: 1;
}
.att-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  white-space: nowrap;
  padding: 0.22rem 0.5rem;
  border-radius: 5px;
  background: #f7f4fa;
  border: 1px solid #ebe4f2;
  font-size: 0.74rem;
  color: #5c5670;
  line-height: 1.15;
}
.att-stat b {
  font-size: 0.92rem;
  color: #1a0d2e;
  font-weight: 800;
}
.att-stat.is-pending b { color: #c47a00; }
.att-stat.is-ok b { color: #157347; }
.att-stat.is-bad b { color: #b42318; }

.att-toolbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  min-width: 0;
}
.att-toolbar .ibe-btn--sm {
  padding: 0.32rem 0.7rem;
  font-size: 0.8rem;
  white-space: nowrap;
}
.att-search {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex: 1 1 auto;
  min-width: 140px;
  margin: 0;
}
.att-search__input {
  width: auto !important;
  flex: 1 1 auto;
  min-width: 0;
  height: 32px;
  padding: 0.25rem 0.5rem !important;
  border-radius: 6px !important;
  font-size: 0.8rem;
}
.att-search__hint {
  font-size: 0.7rem;
  color: #8a8298;
  white-space: nowrap;
}
.att-reset {
  font-size: 0.76rem;
  color: #5c5670;
  text-decoration: none;
  white-space: nowrap;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}
.att-reset:hover { color: #1a0d2e; text-decoration: underline; }

.att-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.22rem 0.28rem;
  padding: 0;
  border-bottom: 0;
  max-height: 34px;
  overflow: hidden;
}
.att-filters__lab {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #8a8298;
  margin-left: 0.1rem;
}
.att-filters__sep {
  width: 1px;
  height: 0.9rem;
  background: #e2dce8;
  margin: 0 0.2rem;
}
.ibe-chip--sm {
  padding: 0.16rem 0.5rem;
  font-size: 0.74rem;
  border-radius: 999px;
  line-height: 1.2;
}

.att-table-wrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  margin: 0;
  border: 1px solid #ebe4f2;
  border-radius: 6px;
  -webkit-overflow-scrolling: touch;
}
#attendeesTbody.is-loading { opacity: 0.55; }
.attendees-admin--full .admin-table--attendees {
  min-width: 1540px;
  font-size: 0.68rem;
  line-height: 1.28;
}
.attendees-admin--full .admin-table--attendees th,
.attendees-admin--full .admin-table--attendees td {
  padding: 0.22rem 0.36rem;
  vertical-align: middle;
  font-size: 0.68rem;
}
.attendees-admin--full .admin-table--attendees thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #1a0d2e;
  color: #fff;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.att-id {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: #5c5670;
}
.att-person {
  min-width: 9.5rem;
  max-width: 13rem;
}
.att-person strong {
  font-size: inherit;
  font-weight: 600;
}
.att-inst {
  min-width: 12rem;
  max-width: 16rem;
  font-size: inherit;
  line-height: 1.25;
}
.att-inst .muted {
  margin-top: 0.1rem;
  font-size: 0.6rem;
}
.att-contact {
  white-space: nowrap;
  min-width: 12rem;
}
.att-email {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  font-size: inherit;
}
.att-meta {
  font-size: inherit;
  line-height: 1.25;
}
.att-date {
  white-space: nowrap;
  color: #5c5670;
  line-height: 1.25;
  font-size: inherit;
}
.att-date span {
  display: block;
}
.att-pill-cell {
  white-space: nowrap;
}
.att-pill {
  display: inline-block;
  padding: 0.14rem 0.55rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
}
.att-pill--fmt-online {
  background: #eef6fb;
  color: #1f5f86;
  border-color: #cfe3f0;
}
.att-pill--fmt-onsite {
  background: #f4eef8;
  color: #5a2a78;
  border-color: #e0d0eb;
}
.att-pill--cat-uczestnik {
  background: #f3f4f7;
  color: #4a4458;
  border-color: #e2e0e8;
}
.att-pill--cat-prelegent {
  background: #fff6e8;
  color: #8a5a12;
  border-color: #f0ddb8;
}
.att-pill--cat-vip {
  background: #fff0f3;
  color: #9b2d4a;
  border-color: #f0cfd8;
}
.att-pill--cat-partner {
  background: #eef8f2;
  color: #1f6b45;
  border-color: #c9e6d6;
}
.att-pill--cat-organizator {
  background: #efe8f7;
  color: #4a1f6e;
  border-color: #d8c6e8;
}
.att-pill--default {
  background: #f5f3f7;
  color: #5c5670;
  border-color: #e4dfe8;
}
.ibe-select--compact {
  width: auto;
  min-width: 7rem;
  padding: 0.14rem 0.3rem !important;
  border-radius: 5px !important;
  font-size: inherit;
}
.attendees-admin--full .js-sent-cell {
  white-space: nowrap;
  font-weight: 600;
}
.ibe-actions__row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.28rem;
  white-space: nowrap;
}
.attendees-admin--full .ibe-actions {
  min-width: 0;
  width: auto;
}
.attendees-admin--full .ibe-actions .ibe-btn {
  margin-top: 0;
  padding: 0.18rem 0.45rem;
  font-size: 0.66rem;
}
.attendees-admin--full .ibe-actions .ibe-icon-btn {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.att-notes-cell {
  min-width: 120px;
  max-width: 170px;
}
.attendees-admin--full .ibe-notes {
  width: 100%;
  min-width: 110px;
  max-width: 170px;
  padding: 0.18rem 0.3rem;
  border-radius: 5px;
  font-size: 0.68rem;
  resize: vertical;
  min-height: 2.2rem;
}
.attendees-admin--full .ibe-bulk-progress {
  margin: 0;
  padding: 0.25rem 0.45rem;
  font-size: 0.72rem;
  flex-shrink: 0;
}
.attendees-admin--full .muted { font-size: 0.6rem; color: #7a7388; }

/* Global scrollbars — spójne z ID WMS */
html {
  scrollbar-width: thin;
  scrollbar-color: #6b3a7a #f0e8f4;
}
* {
  scrollbar-width: thin;
  scrollbar-color: #6b3a7a #f0e8f4;
}
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
*::-webkit-scrollbar-track {
  background: #f0e8f4;
  border-radius: 999px;
}
*::-webkit-scrollbar-thumb {
  background: #6b3a7a;
  border-radius: 999px;
  border: 2px solid #f0e8f4;
}
*::-webkit-scrollbar-thumb:hover {
  background: #4a2158;
}
.platform-sidebar,
.platform-sidebar * {
  scrollbar-color: rgba(255, 198, 116, 0.45) rgba(255, 255, 255, 0.06);
}
.platform-sidebar::-webkit-scrollbar-track,
.platform-sidebar *::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}
.platform-sidebar::-webkit-scrollbar-thumb,
.platform-sidebar *::-webkit-scrollbar-thumb {
  background: rgba(255, 198, 116, 0.45);
  border-color: transparent;
}
.platform-sidebar::-webkit-scrollbar-thumb:hover,
.platform-sidebar *::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 198, 116, 0.7);
}
