.blikaj {
  animation: blik 1s infinite;
}

@keyframes blik {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.player-email-status {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
}

.player-email-status.ok { color: #198754; }
.player-email-status.err { color: #d11a2a; }
.player-email-status.loading { color: #666; }

.waitlist-auto-fields {
  display: none;
}

.team-status {
  display: none;
  color: #dc3545;
}

.logout-result-modal-content {
  background: #1f1f1f;
  color: #fff;
  border: 1px solid #4a4a4a;
}

.logout-result-modal-content .modal-header,
.logout-result-modal-content .modal-footer {
  border-color: #3a3a3a;
}

.tenant-sticky-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #000;
  padding: 8px 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.tenant-sticky-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.tenant-sticky-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.tenant-sticky-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.tenant-sticky-logo img {
  height: 34px;
  width: auto;
  display: block;
}

.tenant-sticky-event {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  min-width: 0;
}

.tenant-sticky-event-date {
  font-weight: 700;
  color: #d11a2a;
  flex-shrink: 0;
}

.tenant-sticky-event-sep {
  color: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.tenant-sticky-event-time {
  color: #d3edfd;
  font-weight: 600;
  flex-shrink: 0;
}

.tenant-sticky-event-place {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 260px;
}

@media (max-width: 600px) {
  .tenant-sticky-bar {
    padding: 6px 14px;
  }

  .tenant-sticky-inner {
    align-items: flex-start;
    gap: 8px;
  }

  .tenant-sticky-logo img {
    height: 28px;
  }

  .tenant-sticky-event {
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
  }

  .tenant-sticky-event-place {
    max-width: 52vw;
    font-size: 0.78rem;
  }

  .tenant-sticky-event-datetime {
    display: flex;
    align-items: center;
    gap: 6px;
  }

.tenant-sticky-event-sep-place {
    display: none;
  }
}

/* === Logo light / dark mode switching === */
.logo-for-dark {
  display: none !important;
}

.logo-for-light {
  display: block !important;
}

body.modern-theme.dark-mode .logo-for-dark {
  display: block !important;
}

body.modern-theme.dark-mode .logo-for-light {
  display: none !important;
}

/* === Dark mode toggle button in sticky bar === */
.tenant-sticky-dark-toggle {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  line-height: 1;
}

.tenant-sticky-dark-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

.tenant-sticky-dark-toggle .darkmode-icon {
  font-size: 16px;
  line-height: 1;
}

/* Sortovanie tabuliek prihlásených hráčov */
.sortable-player-table thead th.table-sortable {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.sortable-player-table thead th.table-sortable:hover {
  text-decoration: underline;
}

.sortable-player-table .table-sort-indicator {
  opacity: 0.85;
  font-weight: 700;
}

body.modern-theme.dark-mode .sortable-player-table .table-sort-indicator {
  color: #d3edfd;
}
