body {
  background-color: #FFFFFF;
  color: #9E9E9E;
}
.tab-content-wrapper {
  border-left: 1px solid #dee2e6;
  border-right: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
  min-height: 60vh;
  border-bottom-right-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}
.content-wrapper {
  border: 1px solid #dee2e6;
  min-height: 60vh;
  border-radius: 0.375rem;
}
.navbar {
  background-color: #1A237E;
}
.navbar .navbar-brand {
  color: #FFFFFF !important;
  /* Białe logo */
}
.navbar .navbar-brand img {
  max-height: 100px;
}
#mainContent .nav-link {
  color: #9E9E9E !important;
  /* Białe linki w nawigacji */
}
.nav-link {
  color: #FFFFFF !important;
  /* Białe linki w nawigacji */
}
.btn-primary {
  background-color: #1A237E;
  /* Niebieski kolor tła */
  border-color: #D32F2F;
  /* Niebieski kolor obramowania */
  color: #FF9800;
  /* Biały kolor tekstu */
  font-weight: bold;
}
.btn-primary:hover {
  background-color: #4285F4;
  border-color: #FF9800;
}
.footer {
  background-color: #1A237E;
  color: #FFFFFF;
  padding: 20px;
}
.footer .container .text-muted {
  color: inherit !important;
}
.footer .container a {
  text-decoration: none;
}
.footer .container a:hover {
  text-decoration: underline;
}
.r-click {
  cursor: pointer;
}
.slider-container {
  margin: 20px 0;
}
.slider-container .noUi-target {
  height: 10px;
}
.slider-container .noUi-handle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #007bff;
  cursor: pointer;
}
.slider-container .slider-values {
  margin-top: 10px;
}
.slider-container .slider-values .age-range {
  display: inline-block;
  background-color: #343a40;
  color: white;
  padding: 5px 10px;
  margin-right: 5px;
  border-radius: 5px;
}
.slider-container .slider-values .age-range .delete-range {
  color: #ff4d4f;
  cursor: pointer;
  margin-left: 5px;
}
.slider-container .slider-values .age-range .delete-range:hover {
  color: #ff7875;
}
.slider-container .slider-values .age-range .delete-range:before {
  color: #ff4d4f;
}
.slider-container .range-item {
  display: inline-block;
  padding: 5px 10px;
  /* Wewnętrzne marginesy dla kliknięcia */
  margin: 5px;
  /* Odstępy między przyciskami */
  border: 2px solid #007bff;
  /* Ramka w kolorze niebieskim */
  border-radius: 5px;
  /* Zaokrąglenie rogów */
  background-color: #f8f9fa;
  /* Jasne tło */
  color: #007bff;
  /* Kolor tekstu */
  font-size: 14px;
  /* Rozmiar tekstu */
  cursor: pointer;
  /* Wskazanie kliknięcia */
  transition: all 0.3s ease;
  /* Łagodne przejścia */
}
.slider-container .range-item:hover {
  background-color: #007bff;
  /* Kolor tła na kolor ramki podczas najeżdżania */
  color: #fff;
  /* Zmiana koloru czcionki na biały */
}
.slider-container .delete-range {
  margin-left: 10px;
  /* Odstęp między przyciskiem "X" a treścią */
  cursor: pointer;
  background-color: transparent;
  /* Przezroczyste tło */
  color: #dc3545;
  /* Kolor czerwony dla "X" */
  border: none;
  /* Bez ramki dla przycisku X */
  font-size: 16px;
  /* Rozmiar czcionki dla "X" */
  transition: all 0.3s ease;
  /* Łagodne przejścia */
}
.slider-container .delete-range:hover {
  color: #f44336;
  /* Intensywniejszy czerwony przy najechaniu */
  font-weight: bold;
  /* Wyróżnij "X" */
}
.event-list-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
}
.event-card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: transform 0.2s, box-shadow 0.2s;
}
.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: #dee2e6;
}
.event-card .event-date-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 70px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-right: 20px;
  border: 1px solid #e9ecef;
  color: #212529;
  font-weight: bold;
  line-height: 1.1;
}
.event-card .event-date-box .day {
  font-size: 24px;
  color: #1A237E;
}
.event-card .event-date-box .month {
  font-size: 12px;
  text-transform: uppercase;
}
.event-card .event-date-box .year {
  font-size: 10px;
  color: #6c757d;
}
.event-card .event-image {
  margin-right: 20px;
  display: none;
}
@media (min-width: 768px) {
  .event-card .event-image {
    display: block;
  }
}
.event-card .event-image .img-placeholder {
  width: 80px;
  height: 80px;
  background: #e7f1ff;
  color: #1A237E;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.event-card .event-details {
  flex-grow: 1;
}
.event-card .event-details .event-meta-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
  font-size: 0.85rem;
}
.event-card .event-details .event-meta-top .badge-discipline {
  background-color: #6c757d;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}
.event-card .event-details .event-meta-top .location {
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 4px;
}
.event-card .event-details .event-title {
  margin: 0 0 5px 0;
  font-size: 1.25rem;
  font-weight: 700;
}
.event-card .event-details .event-title a {
  color: #212529;
  text-decoration: none;
}
.event-card .event-details .event-title a:hover {
  color: #1A237E;
}
.event-card .event-details .event-meta-bottom {
  font-size: 0.85rem;
  color: #868e96;
}
.event-card .event-action {
  margin-left: 20px;
}
.event-card .event-action .btn-details {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background-color: #fff;
  color: #1A237E;
  border: 1px solid #1A237E;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}
.event-card .event-action .btn-details:hover {
  background-color: #1A237E;
  color: white;
}
@media (max-width: 576px) {
  .event-card .event-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "date content" "action action";
    padding: 12px;
    gap: 12px;
    align-items: start;
  }
  .event-card .event-date-box {
    grid-area: date;
    margin-right: 0;
    min-width: 60px;
    height: 60px;
  }
  .event-card .event-date-box .day {
    font-size: 18px;
    line-height: 1;
    margin-bottom: 2px;
  }
  .event-card .event-date-box .month {
    font-size: 10px;
  }
  .event-card .event-date-box .year {
    font-size: 9px;
  }
  .event-card .event-details {
    grid-area: content;
    width: 100%;
  }
  .event-card .event-details .event-meta-top {
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
  }
  .event-card .event-details .badge-discipline {
    font-size: 0.65rem;
    padding: 3px 6px;
  }
  .event-card .event-details .event-title {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 6px;
  }
  .event-card .event-details .location {
    font-size: 0.75rem;
  }
  .event-card .event-action {
    grid-area: action;
    width: 100%;
    margin-left: 0;
    margin-top: 5px;
  }
  .event-card .event-action .btn-details {
    width: 100%;
    justify-content: center;
    padding: 10px;
  }
  .event-card .event-meta-bottom {
    display: none;
  }
}
.event-hero {
  background-color: #f8f9fa;
  /* fallback jak bg-light */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* “ok. 2em szarego cienia” na zewnątrz */
}
.event-hero__overlay {
  position: absolute;
  inset: 0;
  /* lekki szary „wash” + przyciemnienie dla czytelności */
}
.event-hero__content {
  display: inline-block;
  max-width: min(920px, 100%);
  /* “różnorakie przeźroczyste tło” – glass */
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  color: #212529;
}
