/* ==========================================================================
   Conference Program Styles
   Generated by xlsx_to_hugo_program.py
   ========================================================================== */

/* --- Table layout --- */
table.program {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

table.program th,
table.program td {
  padding: 6px 10px;
  vertical-align: middle;
  border: 1px solid #ccc;
}

/* --- Column header row --- */
table.program thead th {
  background: #e0e0e0;
  font-weight: bold;
  text-align: center;
}

/* --- Cell types --- */
.program-time {
  text-align: center;
  white-space: nowrap;
  width: 12%;
}

.program-title {
  text-align: center;
  width: 30%;
}

.program-authors {
  text-align: center;
  font-size: 0.9em;
  width: 14%;
}

/* --- Session headers (invited talks, paper sessions) --- */
tr.program-session-header th {
  background: #b0d4f1;
  text-align: center;
  font-weight: bold;
}

/* --- Break rows (coffee, lunch) --- */
tr.program-break td {
  background: #ffffcc;
  text-align: center;
  font-style: italic;
}

/* --- Registration rows --- */
tr.program-registration td {
  background: #e0e0e0;
  text-align: center;
}

/* --- Social events (reception, PC dinner, social event) --- */
tr.program-social td {
  background: #d5f5d0;
  text-align: center;
}

/* --- Business meeting --- */
tr.program-business td {
  background: #d5f5d0;
  text-align: center;
}

/* --- Invited talks --- */
tr.program-invited th {
  background: #b0d4f1;
}

/* --- Tutorials --- */
tr.program-tutorial th {
  background: #b0d4f1;
  text-align: center;
}

/* --- Student forum --- */
tr.program-student_forum th {
  background: #b0d4f1;
  text-align: center;
}

/* --- Opening / closing --- */
tr.program-opening th,
tr.program-closing th {
  background: #f8cecc;
  text-align: center;
}

tr.program-special th {
  background: #b0d4f1;
  text-align: center;
}

/* --- Track labels in two-track sessions --- */
.program-track-label {
  display: inline-block;
  vertical-align: middle;
}

.program-track-separator {
  display: inline-block;
  width: 2em;
  min-width: 2em;
}

/* --- Day heading --- */
.program-day-heading {
  text-align: center;
  margin: 1.5em 0 0.5em;
}

/* --- Responsive: allow horizontal scroll on small screens --- */
@media (max-width: 768px) {
  .program-wrapper {
    overflow-x: auto;
  }

  table.program th,
  table.program td {
    padding: 4px 6px;
    font-size: 0.85em;
  }

  .program-time {
    width: 15%;
  }

  .program-title {
    width: 28%;
  }

  .program-authors {
    width: 12%;
  }
}
