/* Conference programme — high-contrast agenda & sessions */

/* Conference programme — futuristic portal UI */

.conference-programme .conference-agenda-day--future {
  margin-bottom: 1.5rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(34, 176, 175, 0.22);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 8px 32px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.conference-programme .conference-agenda-day--future .conference-agenda-day__header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #0f172a 0%, #115e59 55%, #134e4a 100%);
  color: #f0fdfa;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(45, 212, 191, 0.25);
  position: relative;
  overflow: hidden;
}

.conference-programme .conference-agenda-day--future .conference-agenda-day__header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94, 234, 212, 0.8), transparent);
}

.conference-programme .conference-agenda-day__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.9);
  animation: prog-dot-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes prog-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.85); }
}

.conference-programme .conference-agenda-day--future .conference-agenda-day__sessions {
  padding: 0.85rem 1rem 1.1rem !important;
  background: transparent;
}

.conference-programme .conference-agenda-day {
  margin-bottom: 1.25rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dbe3ed;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.conference-programme .conference-agenda-day__header {
  padding: 0.85rem 1.1rem;
  background: #1e293b;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.conference-programme .conference-agenda-day__sessions {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #ffffff;
}

.conference-programme .conference-agenda-session {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
  padding: 0.9rem 1.1rem;
  border-top: 1px solid #e2e8f0;
  color: #0f172a;
  line-height: 1.5;
}

.conference-programme .conference-agenda-session:first-child {
  border-top: 0;
}

.conference-programme .conference-agenda-session__time {
  flex: 0 0 auto;
  font-weight: 700;
  color: #0f766e;
  white-space: nowrap;
}

.conference-programme .conference-agenda-session__title {
  flex: 1 1 12rem;
  font-weight: 600;
  color: #0f172a;
}

.conference-programme .conference-agenda-session__venue {
  flex: 1 1 100%;
  font-size: 0.92rem;
  color: #475569;
}

.conference-programme .conference-session-card,
.conference-programme .conference-speaker-card {
  margin-bottom: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(34, 176, 175, 0.18);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #0f172a;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.conference-programme .conference-session-card:hover,
.conference-programme .conference-speaker-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(34, 176, 175, 0.12);
  border-color: rgba(34, 176, 175, 0.35);
}

.conference-programme .conference-session-card h5,
.conference-programme .conference-speaker-card h5 {
  color: #0f172a !important;
  margin-bottom: 0.35rem;
}

.conference-programme .conference-session-card .text-muted,
.conference-programme .conference-speaker-card .text-muted {
  color: #475569 !important;
}

.conference-programme .nav-tabs {
  border-bottom: none;
  gap: 0.5rem;
  background: rgba(241, 245, 249, 0.8);
  padding: 0.35rem;
  border-radius: 14px;
  display: inline-flex;
  flex-wrap: wrap;
}

.conference-programme .nav-tabs .nav-item {
  margin-bottom: 0;
}

.conference-programme .nav-tabs .nav-link {
  color: #475569;
  font-weight: 600;
  font-size: 0.88rem;
  border: none !important;
  border-radius: 10px !important;
  padding: 0.5rem 1.1rem;
  transition: all 0.2s ease;
}

.conference-programme .nav-tabs .nav-link:hover {
  color: #0f766e;
  background: rgba(34, 176, 175, 0.08);
}

.conference-programme .nav-tabs .nav-link.active {
  color: #fff !important;
  background: linear-gradient(135deg, #0f766e, #22b0af) !important;
  box-shadow: 0 4px 16px rgba(34, 176, 175, 0.35);
}

/* Filter pills */
.conference-programme .programme-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  padding: 0.5rem;
  border-radius: 16px;
  background: rgba(241, 245, 249, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.conference-programme .programme-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.22s ease;
}

.conference-programme .programme-filter-btn:hover {
  border-color: rgba(34, 176, 175, 0.45);
  color: #0f766e;
  box-shadow: 0 4px 14px rgba(34, 176, 175, 0.12);
}

.conference-programme .programme-filter-btn.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #0f766e, #06b6d4);
  box-shadow: 0 4px 18px rgba(34, 176, 175, 0.4);
}

/* Live now banner */
.conference-programme .programme-now-banner {
  padding: 0.85rem 1.15rem;
  border-radius: 14px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: #f0fdfa;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.95) 0%, rgba(6, 182, 212, 0.85) 100%);
  border: 1px solid rgba(94, 234, 212, 0.35);
  box-shadow: 0 8px 28px rgba(34, 176, 175, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.conference-programme .programme-now-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.08) 50%, transparent 60%);
  animation: prog-shimmer 3s ease-in-out infinite;
}

@keyframes prog-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.conference-programme .programme-now-banner i {
  color: #fca5a5;
  font-size: 0.55rem;
  filter: drop-shadow(0 0 6px rgba(248, 113, 113, 0.9));
  animation: prog-live-dot 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

.conference-programme--future > .d-flex h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0f172a 30%, #0f766e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

html[data-theme="dark"] .conference-programme--future > .d-flex h3 {
  background: linear-gradient(135deg, #f8fafc 30%, #5eead4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.conference-programme--future > .d-flex .text-primary {
  color: #22b0af !important;
  font-weight: 600;
  letter-spacing: 0.02em;
}

html[data-theme="dark"] .conference-programme--future > .d-flex .text-primary {
  color: #5eead4 !important;
}

@keyframes prog-live-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Dashboard available events */
.dashboard-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.dashboard-event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #dbe3ed;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  color: #0f172a;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.dashboard-event-card__image img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.dashboard-event-card__body {
  padding: 0.9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.dashboard-event-card__title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

.dashboard-event-card__meta {
  font-size: 0.85rem;
  color: #475569;
}

.dashboard-event-card__meta i {
  color: #0f766e;
  margin-right: 0.25rem;
}

.dashboard-events-empty {
  color: #475569;
  margin: 0;
}

html[data-theme="dark"] .conference-programme .conference-agenda-day--future {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(45, 212, 191, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .conference-programme .conference-agenda-day,
html[data-theme="dark"] .conference-programme .conference-session-card,
html[data-theme="dark"] .conference-programme .conference-speaker-card,
html[data-theme="dark"] .dashboard-event-card {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(148, 163, 184, 0.22);
}

html[data-theme="dark"] .conference-programme .conference-agenda-day__header,
html[data-theme="dark"] .conference-programme .conference-agenda-day--future .conference-agenda-day__header {
  background: linear-gradient(135deg, #020617 0%, #134e4a 100%);
  color: #f0fdfa;
}

html[data-theme="dark"] .conference-programme .conference-agenda-day__sessions,
html[data-theme="dark"] .conference-programme .conference-agenda-day--future .conference-agenda-day__sessions {
  background: transparent;
}

html[data-theme="dark"] .conference-programme .conference-agenda-session {
  border-top-color: rgba(148, 163, 184, 0.16);
  color: #e2e8f0;
}

html[data-theme="dark"] .conference-programme .conference-agenda-session__time {
  color: #5eead4;
}

html[data-theme="dark"] .conference-programme .conference-agenda-session__title,
html[data-theme="dark"] .conference-programme .conference-session-card h5,
html[data-theme="dark"] .conference-programme .conference-speaker-card h5,
html[data-theme="dark"] .dashboard-event-card__title {
  color: #f8fafc !important;
}

html[data-theme="dark"] .conference-programme .conference-agenda-session__venue,
html[data-theme="dark"] .conference-programme .conference-session-card .text-muted,
html[data-theme="dark"] .conference-programme .conference-speaker-card .text-muted,
html[data-theme="dark"] .dashboard-event-card__meta,
html[data-theme="dark"] .dashboard-events-empty {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .conference-programme .nav-tabs {
  background: rgba(15, 23, 42, 0.6);
}

html[data-theme="dark"] .conference-programme .nav-tabs .nav-link {
  color: #94a3b8;
}

html[data-theme="dark"] .conference-programme .nav-tabs .nav-link.active {
  color: #fff !important;
  background: linear-gradient(135deg, #0f766e, #0891b2) !important;
  box-shadow: 0 4px 16px rgba(34, 176, 175, 0.35);
}

html[data-theme="dark"] .conference-programme .programme-filter-bar {
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(148, 163, 184, 0.15);
}

html[data-theme="dark"] .conference-programme .programme-filter-btn {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(148, 163, 184, 0.25);
  color: #cbd5e1;
}

html[data-theme="dark"] .conference-programme .programme-filter-btn.is-active {
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #06b6d4);
}

body[data-background-color="dark"] .conference-programme .conference-agenda-day,
body[data-background-color="dark2"] .conference-programme .conference-agenda-day,
body[data-background-color="dark"] .dashboard-event-card,
body[data-background-color="dark2"] .dashboard-event-card {
  background: #1e293b;
  border-color: rgba(148, 163, 184, 0.22);
}

body[data-background-color="dark"] .conference-programme .conference-agenda-session,
body[data-background-color="dark2"] .conference-programme .conference-agenda-session,
body[data-background-color="dark"] .dashboard-event-card__title,
body[data-background-color="dark2"] .dashboard-event-card__title {
  color: #e2e8f0;
}

/* QR check-in pass */
.check-in-pass-card .check-in-pass__qr-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0.75rem auto 0.5rem;
}

.check-in-pass-card .check-in-pass__qr {
  display: block;
  width: 220px;
  height: 220px;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.check-in-pass__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.check-in-pass__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 118px;
  padding: 0.5rem 1rem !important;
  font-size: 0.9rem;
  line-height: 1.2;
}

.check-in-pass__btn--outline {
  background: transparent !important;
  color: var(--primary-color) !important;
  border: 1px solid var(--primary-color) !important;
}

.check-in-pass__btn--outline:hover {
  background: var(--primary-color) !important;
  color: #fff !important;
}

html[data-theme="dark"] .check-in-pass-card .check-in-pass__qr {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .check-in-pass__btn--outline {
  color: #5eead4 !important;
  border-color: rgba(94, 234, 212, 0.55) !important;
}

html[data-theme="dark"] .check-in-pass__btn--outline:hover {
  background: rgba(34, 176, 175, 0.22) !important;
  color: #f8fafc !important;
}

/* Dashboard programme cards (outside .conference-programme wrapper) */
.programme-event-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.programme-event-card {
  display: block;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 2px solid #dbe3ed;
  background: #fff;
  text-decoration: none !important;
  color: #0f172a;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.programme-event-card:hover {
  border-color: #0f766e;
  box-shadow: 0 8px 22px rgba(15, 118, 110, 0.12);
}

.programme-event-card__title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.programme-event-card__meta {
  font-size: 0.85rem;
  color: #64748b;
}

html[data-theme="dark"] .programme-event-card {
  background: #1e293b;
  border-color: rgba(148, 163, 184, 0.22);
  color: #e2e8f0;
}

html[data-theme="dark"] .programme-event-card__title {
  color: #f8fafc;
}

html[data-theme="dark"] .programme-event-card__meta {
  color: #94a3b8;
}

.conference-programme .programme-export-actions {
  align-items: center;
}

.conference-programme .programme-export-actions__outline {
  background: transparent !important;
  color: var(--primary-color, #0f766e) !important;
  border: 1px solid var(--primary-color, #0f766e) !important;
}

html[data-theme="dark"] .conference-programme .programme-export-actions__outline {
  color: #5eead4 !important;
  border-color: rgba(94, 234, 212, 0.55) !important;
}
