.session-table table { width: 100%; }
.status-completed { color: #14853d; }
.status-today { color: #b58900; }
.status-upcoming { color: #666666; }

.event-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: var(--bs-secondary-bg, #e9ecef);
  color: var(--bs-secondary-color, #495057);
  font-size: 0.75em;
  font-weight: 600;
  white-space: nowrap;
}

.event-badge-lecture {
  background: #e7f1ff;
  color: #0b5ed7;
}

.event-badge-exercise {
  background: #e9f7ef;
  color: #146c43;
}

.event-badge-group-presentation {
  background: #fff3cd;
  color: #997404;
}

.repo-actions-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--bs-border-color, #dee2e6);
}

.repo-actions-bottom {
  font-size: 0.82rem;
  opacity: 0.72;
}

.repo-actions-bottom a {
  color: var(--bs-secondary-color, #6c757d);
  text-decoration: none;
}

.repo-actions-bottom a:hover,
.repo-actions-bottom a:focus {
  opacity: 1;
  text-decoration: underline;
}

.session-chip {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.session-01 { background: #e3f2fd; color: #0d47a1; }
.session-02 { background: #e8f5e9; color: #1b5e20; }
.session-03 { background: #fff3e0; color: #e65100; }
.session-04 { background: #f3e5f5; color: #4a148c; }
.session-05 { background: #e0f7fa; color: #006064; }
.session-06 { background: #fce4ec; color: #880e4f; }
.session-07 { background: #ede7f6; color: #311b92; }
.session-08 { background: #f1f8e9; color: #33691e; }
.session-09 { background: #fff8e1; color: #ff6f00; }
.session-10 { background: #e0f2f1; color: #004d40; }
.session-11 { background: #ffebee; color: #b71c1c; }


.teaching-break {
  margin: 3rem 0;
  padding: 1.25rem;
  text-align: center;
  font-weight: 600;
  background-color: rgba(128, 128, 128, 0.12);
  border-top: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
  border-radius: 0.4rem;
}

/* Semantic colors shared by teaching-file labels and their file buttons. */
:root {
  --teaching-demo-color: #0b5ed7;
  --teaching-demo-background: #e7f1ff;
  --teaching-exercise-color: #146c43;
  --teaching-exercise-background: #e9f7ef;
  --teaching-homework-color: #856404;
  --teaching-homework-background: #fff3cd;
}

.teaching-file {
  margin: 0.5rem 0 0.75rem;
}

.teaching-file > p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  margin: 0;
}

.teaching-label {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.teaching-label-demo {
  color: var(--teaching-demo-color);
  background: var(--teaching-demo-background);
}

.teaching-label-exercise {
  color: var(--teaching-exercise-color);
  background: var(--teaching-exercise-background);
}

.teaching-label-homework {
  color: var(--teaching-homework-color);
  background: var(--teaching-homework-background);
}

.teaching-button {
  font-weight: 600;
  text-underline-offset: 0.15em;
}

.teaching-button-demo { color: var(--teaching-demo-color); }
.teaching-button-exercise { color: var(--teaching-exercise-color); }
.teaching-button-homework { color: var(--teaching-homework-color); }

.teaching-button-demo:hover,
.teaching-button-demo:focus { color: var(--teaching-demo-color); }

.teaching-button-exercise:hover,
.teaching-button-exercise:focus { color: var(--teaching-exercise-color); }

.teaching-button-homework:hover,
.teaching-button-homework:focus { color: var(--teaching-homework-color); }
