/**
 * 🎨 AGENDA DISPLAY - PROFESSIONAL 2-COLUMN LAYOUT
 * 
 * Design: Profesjonalny, kanciasty layout bez zaokrągleń
 * Layout: 2 kolumny - sale po lewej, agenda po prawej
 */

/* ═══════════════════════════════════════════════════════════
   CONTAINER & LAYOUT
   ═══════════════════════════════════════════════════════════ */

.oees-agenda-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Merriweather Sans', Helvetica, Arial, Lucida, sans-serif;
  background: transparent; /* Usuń białe tło */
  border: none; /* Usuń obramowanie modułu */
}

/* ═══════════════════════════════════════════════════════════
   LOADING SPINNER
   ═══════════════════════════════════════════════════════════ */

.agenda-loading {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #009EE3;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ═══════════════════════════════════════════════════════════
   FILTRY DNI - POZIOME NA GÓRZE
   ═══════════════════════════════════════════════════════════ */

.agenda-day-filters {
  margin-bottom: 30px;
  padding: 20px 0; /* Usuń padding boczny */
  background: transparent; /* Usuń tło */
  border: none; /* Usuń obramowanie */
}

/* Wrapper - przyciski dni po lewej, PDF po prawej */
.day-filters-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.day-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1; /* Zabierz dostępne miejsce */
}

/* Przycisk PDF z flagą */
.pdf-download-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #001e4a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pdf-download-btn svg {
  flex-shrink: 0;
  stroke: currentColor;
}

.flag-icon {
  font-size: 18px;
  line-height: 1;
}

.pdf-download-btn:hover {
  background: #009EE3;
  color: #ffffff;
  border-color: #009EE3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 158, 227, 0.2);
}

.day-filter-btn {
  padding: 12px 24px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
  user-select: none;
  min-width: 120px;
  text-align: left;
  border-radius: 8px; /* Zaokrąglone */
}

.day-filter-btn:hover {
  color: #1e293b;
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.day-filter-btn.active {
  background: #009EE3;
  color: #ffffff;
  border-color: #009EE3;
  box-shadow: 0 1px 3px rgba(0, 158, 227, 0.3);
}

/* ═══════════════════════════════════════════════════════════
   GŁÓWNY LAYOUT 2-KOLUMNOWY
   ═══════════════════════════════════════════════════════════ */

.agenda-main-layout {
  display: grid !important;
  grid-template-columns: 1fr 3fr !important; /* 1/4 vs 3/4 - więcej miejsca na prawą kolumnę */
  gap: 30px !important;
  min-height: 600px;
  width: 100% !important;
}

.column-title {
  margin: 0 0 20px 0;
  color: #009EE3;
  font-size: 20px;
  font-weight: 700;
  padding-bottom: 15px;
  border-bottom: 2px solid #009EE3;
}

/* ═══════════════════════════════════════════════════════════
   LEWA KOLUMNA - SALE
   ═══════════════════════════════════════════════════════════ */

.agenda-left-column {
  padding: 24px;
  padding-bottom: 32px; /* Dodatkowy padding na dole */
  min-width: 0;
  overflow: hidden;
  background: #ffffff; /* Białe tło sidebaru jak w designie */
  border-radius: 12px; /* Zaokrąglone */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); /* Delikatny cień */
  align-self: flex-start; /* Nie rozciągaj do dołu */
}

/* Tytuł "Agenda" na górze sidebaru */
.sidebar-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 32px 0;
  padding: 0;
  letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════════════════════════
   PRAWA KOLUMNA - PROGRAM
   ═══════════════════════════════════════════════════════════ */

.agenda-right-column {
  padding: 25px;
  min-width: 0;
  max-height: 800px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.agenda-right-column::-webkit-scrollbar {
  width: 6px;
}

.agenda-right-column::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.agenda-right-column::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.agenda-right-column::-webkit-scrollbar-thumb:hover {
  background: #009EE3;
}

.room-filter-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.room-filter-btn {
  padding: 12px 16px;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
  border-radius: 8px; /* Zaokrąglone */
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Ikona sali w przycisku */
.room-btn-icon {
  flex-shrink: 0;
  stroke: currentColor;
  opacity: 0.8;
}

.room-filter-btn:hover {
  background: #f1f5f9; /* Jasne tło przy hover */
  color: #1e293b;
}

.room-filter-btn:hover .room-btn-icon {
  opacity: 1;
}

.room-filter-btn.active {
  background: #009EE3;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 158, 227, 0.3);
}

.room-filter-btn.active .room-btn-icon {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════
   PRAWA KOLUMNA - AGENDA
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   WYDARZENIA - TIMELINE DESIGN
   ═══════════════════════════════════════════════════════════ */

/* Timeline container z linią */
.agenda-results {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  padding-left: 40px; /* Miejsce na linię i kropkę */
}

/* Pionowa linia timeline - zaczyna się od środka pierwszego kółka */
.agenda-results::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 36px;
  bottom: 24px;
  width: 2px;
  background: #009EE3;
}

.agenda-event {
  background: #ffffff;
  border: 1px solid #e2e8f0; /* Delikatne obramowanie */
  border-radius: 12px; /* Zaokrąglone rogi */
  padding: 24px;
  padding-left: 40px; /* Miejsce na etykietę (32px + 8px) */
  margin-bottom: 24px; /* Mniejszy odstęp między panelami */
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); /* Delikatny cień */
}

.agenda-event:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); /* Delikatny szary cień przy hover */
  transform: translateY(-2px); /* Lekkie uniesienie */
}

/* Ikona zegarka – okrąg w kolorze motywu */
.agenda-event::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 24px;
  width: 24px;
  height: 24px;
  background: #009EE3;
  border-radius: 50%;
  z-index: 10;
}

/* Ikona zegarka SVG - biała ikona na niebieskim tle (16px) */
.agenda-event::after {
  content: "";
  position: absolute;
  left: -28px; /* Wyśrodkowana w kółku (-32px + 4px) */
  top: 28px; /* ZWRÓCONE DO ORYGINALNEJ POZYCJI - wyśrodkowana w kółku (24px + 4px) */
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 11;
}

/* ═══════════════════════════════════════════════════════════
   EVENT LABEL - ETYKIETA NAD WYDARZENIEM
   ═══════════════════════════════════════════════════════════ */

.agenda-event-label {
  background-color: #007cba;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  position: absolute;
  left: 0px; /* Na lewej krawędzi kontenera */
  right: 0px; /* Pełna szerokość kontenera */
  top: -42px; /* NAD kontenerem (42px powyżej) */
  margin-bottom: 8px; /* Odstęp od agenda-event */
  z-index: 12;
  display: block; /* Pełna szerokość kontenera */
  white-space: nowrap; /* Bez zawijania wierszy */
  overflow: hidden; /* Przytnij nadmiar */
  text-overflow: ellipsis; /* Elipsa na końcu */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Gdy jest etykieta - dodaj margin-top do kontenera */
.agenda-event:has(.agenda-event-label) {
  margin-top: 50px; /* Więcej miejsca na etykietę (32px + 18px) */
}

/* Klasa dla kontenera z etykietą - alternatywa dla :has() */
.agenda-event.with-label {
  margin-top: 56px; /* Miejsce na etykietę */
}

/* Gdy jest też tekst wspierający pod etykietą – daj więcej miejsca */
.agenda-event.with-label.with-supported {
  margin-top: 84px; /* Etykieta + większy wiersz tekstu */
}

/* Gdy jest też tekst wspierający: przesuń etykietę wyżej i tekst bliżej etykiety */
.agenda-event.with-label.with-supported .agenda-event-label {
  top: -72px;
}

.agenda-event.with-label.with-supported .agenda-event-supported {
  top: -25px;
}

/* Tekst wspierający sesję – pod etykietą, bez tła */
.agenda-event-supported {
  position: absolute;
  left: 0;
  top: -16px; /* Bezpośrednio pod etykietą */
  font-size: 13px; /* Odrobinę większa czcionka */
  font-weight: 700; /* Pogrubienie */
  line-height: 1.35;
  color: #1a3e6e; /* Projektowy granat */
  display: block;
  z-index: 12;
}

/* ═══════════════════════════════════════════════════════════
   EVENT HEADER - CZAS I TYTUŁ
   ═══════════════════════════════════════════════════════════ */

.event-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.event-time {
  font-size: 13px;
  font-weight: 600;
  color: #009EE3;
  margin-bottom: 4px;
  letter-spacing: 0.01em;
  line-height: 24px;
}

.event-title {
  font-size: 18px; /* Mniejszy font */
  font-weight: 700;
  color: #1e293b; /* Ciemniejszy dla lepszego kontrastu */
  line-height: 1.4;
  margin: 0 0 4px 0; /* Zmniejszone marginesy */
}

/* Przycisk "Czytaj więcej" */
.read-more-btn {
  background: none;
  border: none;
  color: #009EE3;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  margin-top: 0;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: left;
  display: block;
}

.read-more-btn:hover {
  color: #007db5;
  text-decoration: underline;
}

/* Opis panelu */
.event-description {
  margin-top: 12px;
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.7;
  color: #495057;
  text-align: justify;
}

/* Badge z nazwą sali NAD treścią panelu */
.event-room-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #f1f5f9; /* Jasne tło */
  color: #64748b; /* Średni szary */
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  margin-bottom: 16px;
}

.room-icon {
  flex-shrink: 0;
  stroke: currentColor;
}

/* Stare style - do usunięcia jeśli nie używane */
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
  font-size: 14px;
  color: #6c757d;
}

.event-room,
.event-path {
  padding: 4px 8px;
  background: #e9ecef;
  border: 1px solid #dee2e6;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   SPEAKERS - SPEAKERS (PROFESJONALNY)
   ═══════════════════════════════════════════════════════════ */

.event-speakers {
  margin-top: 20px;
}

.oees-agenda-wrapper .speakers-title {
  font-size: 14px;
  font-weight: 600;
  color: #495057;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.oees-agenda-wrapper .speakers-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 kolumny */
  gap: 20px; /* Gap */
  margin-top: 20px;
}

/* Responsive - 3 kolumny na tabletach */
@media (max-width: 1200px) {
  .oees-agenda-wrapper .speakers-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Responsive - 2 kolumny na małych tabletach */
@media (max-width: 768px) {
  .oees-agenda-wrapper .speakers-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive - 1 kolumna na mobile */
@media (max-width: 480px) {
  .oees-agenda-wrapper .speakers-list {
    grid-template-columns: 1fr;
  }
}

/* TYLKO dla agenda display - nie wpływa na speakers-grid */
.oees-agenda-wrapper .speakers-list .speaker-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100% !important;
  box-sizing: border-box !important;
}

.oees-agenda-wrapper .speakers-list .speaker-item:hover {
  transform: translateX(4px);
}

.oees-agenda-wrapper .speakers-list .speaker-item:hover .speaker-name {
  color: #009EE3;
}

.oees-agenda-wrapper .speakers-list .speaker-avatar {
  display: block !important;
  float: none !important;
  position: static !important;
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 50% !important;
  border: 1px solid #e2e8f0 !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.oees-agenda-wrapper .speakers-list .speaker-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px;
  text-align: left;
  min-width: 0;
  flex: 1 !important;
  overflow: hidden;
}

.oees-agenda-wrapper .speakers-list .speaker-name {
  display: block !important;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
  transition: color 0.2s ease;
  text-align: left;
  white-space: normal !important;
  float: none !important;
}

.oees-agenda-wrapper .speakers-list .speaker-affiliation {
  display: block !important;
  font-size: 11px;
  font-weight: 400;
  color: #64748b;
  line-height: 1.3;
  text-align: left;
  float: none !important;
}

.oees-agenda-wrapper .speakers-list .speaker-item:hover .speaker-name {
  color: #007db5;
}

/* ═══════════════════════════════════════════════════════════
   NO RESULTS
   ═══════════════════════════════════════════════════════════ */

.agenda-no-results {
  text-align: center;
  padding: 60px 20px;
  color: #6c757d;
  background: #f8f9fa;
  border: 2px dashed #dee2e6;
}

.agenda-no-results p {
  margin: 0 0 10px 0;
  font-size: 16px;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE - MOBILE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 992px) {
  .agenda-main-layout {
    grid-template-columns: 1fr 3fr !important; /* Zachowaj proporcje 1/4 vs 3/4 */
    gap: 20px !important;
  }
}

@media (max-width: 768px) {
  .oees-agenda-wrapper {
    padding: 15px;
    margin: 10px;
  }

  /* MOBILE LAYOUT: Sale nad agendą (pionowo) */
  .agenda-main-layout {
    grid-template-columns: 1fr !important; /* Jedna kolumna na mobile */
    gap: 20px !important;
  }

  /* Sale na górze - poziome przyciski */
  .agenda-left-column {
    order: 1; /* Sale na górze */
    padding: 20px;
    margin-bottom: 0;
  }

  .sidebar-title {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
  }

  .room-filter-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .room-filter-btn {
    flex: 1;
    min-width: 100px;
    padding: 10px 12px;
    font-size: 13px;
    text-align: center;
  }

  /* Agenda na dole */
  .agenda-right-column {
    order: 2;
    padding: 0;
    max-height: none;
    overflow-y: visible;
  }

  .day-filter-buttons {
    justify-content: center;
    margin-bottom: 20px;
  }

  .day-filter-btn {
    min-width: auto;
    flex: 1;
    padding: 10px 16px;
    font-size: 13px;
  }

  .agenda-event {
    padding: 20px;
    margin-bottom: 20px;
  }

  .event-title {
    font-size: 18px;
  }

  .oees-agenda-wrapper .speakers-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .oees-agenda-wrapper .speakers-list .speaker-item {
    justify-content: flex-start !important;
  }
}

@media (max-width: 480px) {
  /* Bardzo małe ekrany - jeszcze bardziej kompaktowy layout */
  .oees-agenda-wrapper {
    padding: 10px;
    margin: 5px;
  }

  .agenda-left-column {
    padding: 15px;
  }

  .sidebar-title {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .room-filter-list {
    flex-direction: column;
    gap: 6px;
  }

  .room-filter-btn {
    min-width: auto;
    padding: 8px 12px;
    font-size: 12px;
  }

  .day-filter-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .day-filter-btn {
    text-align: center;
    padding: 8px 12px;
    font-size: 12px;
  }

  .agenda-event {
    padding: 15px;
    margin-bottom: 15px;
  }

  .event-title {
    font-size: 16px;
  }

  .oees-agenda-wrapper .speakers-list {
    grid-template-columns: 1fr; /* 1 kolumna na bardzo małych ekranach */
    gap: 12px;
  }
}

/* ═══════════════════════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════════════════════ */

.day-filter-btn:focus,
.room-filter-btn:focus,
.oees-agenda-wrapper .speaker-item:focus {
  outline: 2px solid #009EE3;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation: none;
  }

  .day-filter-btn,
  .room-filter-btn,
  .agenda-event,
  .oees-agenda-wrapper .speaker-item {
    transition: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════════════════ */

@media print {
  .agenda-day-filters,
  .agenda-left-column {
    display: none;
  }

  .agenda-main-layout {
    grid-template-columns: 1fr;
  }

  .agenda-event {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #000;
  }

  .oees-agenda-wrapper .speaker-item {
    background: transparent;
    border: 1px solid #000;
  }
}

/* ═══════════════════════════════════════════════════════════
   POPUP PRELEGENTA - TYLKO DLA AGENDA-DISPLAY
   ═══════════════════════════════════════════════════════════ */

/* Overlay - tło popup.
   Overlay sam scrolluje (nie content) – działa niezależnie od pozycji strony. */
#agenda-speaker-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  z-index: 99999;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Zawartość popup */
#agenda-speaker-modal .speaker-modal-content {
  background: #ffffff;
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  margin: auto;
  flex-shrink: 0;
}

/* Przycisk zamknij */
#agenda-speaker-modal .speaker-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s ease;
  z-index: 10;
}

#agenda-speaker-modal .speaker-modal-close:hover {
  background: #009EE3;
  color: #ffffff;
}

/* Header - layout poziomy (zdjęcie po lewej, dane po prawej) */
#agenda-speaker-modal .speaker-modal-header {
  display: flex;
  gap: 32px;
  padding: 40px;
  border-bottom: 1px solid #e2e8f0;
  align-items: flex-start;
}

/* Zdjęcie prelegenta */
#agenda-speaker-modal .speaker-modal-image {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Info prelegenta (po prawej od zdjęcia) */
#agenda-speaker-modal .speaker-modal-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Nazwisko prelegenta */
#agenda-speaker-modal .speaker-modal-name {
  font-size: 28px;
  font-weight: 700;
  color: #009EE3;
  margin: 0;
  line-height: 1.3;
}

/* Afiliacja */
#agenda-speaker-modal .speaker-modal-excerpt {
  font-size: 16px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Body - biografia */
#agenda-speaker-modal .speaker-modal-body {
  padding: 32px 40px;
}

#agenda-speaker-modal .speaker-modal-bio {
  font-size: 15px;
  line-height: 1.7;
  color: #495057;
}

#agenda-speaker-modal .speaker-modal-bio p {
  margin-bottom: 16px;
}

#agenda-speaker-modal .speaker-modal-bio p:last-child {
  margin-bottom: 0;
}

/* Spinner w popup */
#agenda-speaker-modal .agenda-modal-spinner {
  text-align: center;
  padding: 60px 40px;
}

/* Badge roli prelegenta */
.oees-agenda-wrapper .speaker-role-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #009EE3;
  margin-bottom: 2px;
  line-height: 1.2;
}

/* Placeholder avatara gdy brak zdjęcia */
.oees-agenda-wrapper .speakers-list .speaker-avatar-placeholder {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 50% !important;
}

/* Komunikat błędu agendy */
.agenda-error {
  text-align: center;
  padding: 40px;
  color: #dc3545;
}

/* Responsive - mobile */
@media (max-width: 768px) {
  #agenda-speaker-modal .speaker-modal-header {
    flex-direction: column;
    padding: 24px;
    gap: 20px;
  }

  #agenda-speaker-modal .speaker-modal-image {
    width: 150px;
    height: 150px;
    margin: 0 auto;
  }

  #agenda-speaker-modal .speaker-modal-name {
    font-size: 24px;
    text-align: center;
  }

  #agenda-speaker-modal .speaker-modal-excerpt {
    text-align: center;
  }

  #agenda-speaker-modal .speaker-modal-body {
    padding: 24px;
  }
}
