/* Shared styles for session pages (dX_Y.html) */
.body,
body {
  margin: 0;
  padding: 20px; /* match overal.css spacing */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: white;
}
.container {
  width: 100%;
  max-width: 1200px;
  min-height: 320px; /* let content grow; avoid fixed-height clipping */
  margin: 0 auto;
  border: 2px solid #4465a8;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-sizing: border-box;
  padding: 8px;
}
.header {
  background: linear-gradient(90deg, #4465a8, #5b7fc8);
  color: white;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

/* Back-to-overal button */
.back-to-overal {
  display: inline-block;
  background: rgba(68,101,168,0.12);
  color: #4465a8;
  border: 1px solid rgba(68,101,168,0.12);
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Responsive layout for session pages */
@media (max-width: 800px) {
  .container { padding: 12px; }
  .header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .header h1 { font-size: 20px; }
  table { font-size: 14px; }
  .title-col, .authors-col { display: block; width: 100%; }
  tr { display: block; margin-bottom: 8px; }
  td { display: block; width: 100%; box-sizing: border-box; }
}

@media (max-width: 480px) {
  .container { border: none; padding: 8px; }
  .header h1 { font-size: 18px; }
}
.header h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}
.short-badge {
  background: #4CAF50;
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.short-badge::before {
  content: "●";
  font-size: 18px;
}
table {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
}
tr {
  height: calc(100% / 8);
}
td {
  padding: 4px 10px;
  border: 1px solid #ddd;
  vertical-align: middle;
}
.title-col {
  width: 55%;
  font-weight: 500;
  color: #2c3e50;
  font-size: 13px;
  line-height: 1.4;
}
.authors-col {
  width: 45%;
  color: #34495e;
  font-size: 13px;
  line-height: 1.4;
}
.short-paper {
  background: linear-gradient(90deg,#dff9e6,#c8f2d1) !important;
  border-left: 4px solid #27ae60;
  color: #164d2b;
}
/* Ensure hover doesn't remove the green visual for short papers */
tr.short-paper:hover td {
  transform: none;
  box-shadow: none;
  background: linear-gradient(90deg,#dff9e6,#c8f2d1) !important;
}
/* Make regular rows easier to read: subtle striping and hover */
tbody tr:nth-child(odd) td {
  background-color: #fbfcfd;
}
tbody tr:nth-child(even) td {
  background-color: #ffffff;
}
tbody tr td {
  transition: background-color 0.12s ease-in-out;
}
tbody tr:hover td {
  background-color: #edf1f5;
}
/* keep selector for legacy usage */
.regular-paper {
  background-color: transparent;
}

/* Important notice box at bottom of session pages */
.important-note {
  border: 3px solid #d32f2f;
  padding: 12px 16px;
  margin: 18px 0 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff7f7;
}
.important-label {
  color: #d32f2f;
  font-weight: 700;
  margin-top: 2px;
  min-width: 80px;
  text-align: left;
}
.important-text {
  color: #222;
  font-size: 14px;
}
.important-text strong { font-weight: 700; }

/* Keep short papers visible over alternating cell backgrounds. */
tr.short-paper td {background:#e0f2d4;color:#164d2b}
.title-col small {display:block;font-weight:600}

/* Date and start time displayed as readable metadata. */
.session-meta {display:flex;flex-wrap:wrap;gap:12px;margin:16px 0;color:#233043}
.session-meta > div {background:#f1f4f8;border:1px solid #e0e6ef;border-radius:6px;padding:10px 16px}
.meta-label {display:block;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#52647c;margin-bottom:4px}
.session-meta time {font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}

.session-navigation {width:100%;max-width:1200px;margin:0 auto 12px;box-sizing:border-box}
.session-navigation .back-to-overal {margin-bottom:0}
.session-chair {margin:0 0 16px;padding:10px 14px;background:#f5f7fa;border-radius:6px;color:#34495e;font-size:14px;line-height:1.5}
