/* Mission Control styling: light Bootstrap tweaks on top of the base theme. */

body {
  background-color: #f4f5f7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

[data-bs-theme="dark"] body {
  background-color: #16181c;
}

.mc-main {
  flex: 1 0 auto;
}

.mc-footer {
  flex-shrink: 0;
  border-top: 1px solid #e5e7eb;
  background-color: #fbfbfc;
}

[data-bs-theme="dark"] .mc-footer {
  border-top-color: #2a2e35;
  background-color: #1a1d21;
}

.mc-brand-icon {
  color: #f59e0b;
}

.component-card {
  transition: box-shadow 0.15s ease-in-out, transform 0.15s ease-in-out;
}

.component-card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12) !important;
  transform: translateY(-1px);
}

/* Dark-mode harmonization for light-leaning Bootstrap classes we use. */
[data-bs-theme="dark"] .table-light {
  --bs-table-bg: var(--bs-secondary-bg);
  --bs-table-color: var(--bs-body-color);
}

/* Event chips use calendar colors with alpha fills; deepen slightly for
   contrast on dark surfaces. */
[data-bs-theme="dark"] .cal-event {
  filter: brightness(0.85) saturate(1.1);
  color: var(--bs-body-color) !important;
}
