/* ============================================================
   WOSOC 2026 - Custom Styles
   Overrides for Bootstrap 3 to create a clean, modern look
   ============================================================ */

/* ---- General ---- */
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #333;
  padding-top: 50px;             /* offset for fixed navbar */
  background-color: #fdfdfd;
}

.container {
  max-width: 960px;
}

/* ---- Navbar ---- */
.navbar-inverse {
  border: none;
  border-radius: 0;
}

.navbar-inverse .navbar-brand {
  color: #e0e0e0;
  font-weight: 700;
  letter-spacing: 1px;
}

.navbar-inverse .navbar-brand:hover {
  color: #fff;
}

.navbar-inverse .navbar-nav > li > a {
  color: #c0c0c0;
  font-weight: 500;
  transition: color 0.2s ease;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
  color: #fff;
  background-color: transparent;
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

/* ---- Hero / Jumbotron ---- */
.hero-logo {
  max-width: 350px;
  height: auto;
  margin-bottom: 20px;
}

.hero-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #ffffff;
  border-radius: 4px;
  padding: 60px 30px;
  margin-top: 20px;
}

.hero-section h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.hero-section h2 {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 15px;
  color: #b0c4de;
}

.hero-section .lead {
  font-size: 16px;
  color: #a0b8d0;
}

.hero-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: #e0e0e0;
}

.hero-rule {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  width: 40%;
  margin: 25px auto;
}

/* ---- Section Headings ---- */
.section-heading {
  font-weight: 700;
  color: #1a1a2e;
  border-bottom: 3px solid #0f3460;
  padding-bottom: 10px;
  margin-bottom: 25px;
  margin-top: 10px;
}

/* ---- Section Blocks ---- */
.section-block {
  padding-top: 40px;
  padding-bottom: 20px;
}

/* ---- Important Dates Table ---- */
.dates-table td {
  font-size: 15px;
  padding: 12px 15px !important;
}

/* ---- Paper list ---- */
.paper-list {
  list-style: none;
  padding-left: 0;
}

.paper-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.paper-list li:last-child {
  border-bottom: none;
}

.paper-list a {
  font-weight: 600;
  color: #0f3460;
}

.paper-list a:hover {
  color: #1a1a2e;
  text-decoration: underline;
}

/* ---- Organization Lists ---- */
.org-list {
  list-style: none;
  padding-left: 0;
}

.org-list li {
  padding: 5px 0;
  font-size: 14px;
}

.org-list li strong {
  color: #1a1a2e;
}

/* ---- Program schedule ---- */
.program-table td {
  vertical-align: top;
  padding: 14px 15px !important;
}

.program-table tr.active td {
  background-color: #e8ecf1;
  font-size: 14px;
}

/* Clickable session header rows */
.session-header {
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.session-header:hover {
  background-color: #e8ecf1;
}

.session-caret {
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.25s ease;
}

.session-caret.caret-open {
  transform: rotate(180deg);
}

/* Collapse container cell — remove padding so collapse animates cleanly */
.collapse-cell {
  padding: 0 !important;
  border-top: none !important;
}

.collapse-cell > .collapse,
.collapse-cell > .collapsing {
  padding: 0 15px;
}

.program-papers {
  list-style: none;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 0;
}

.program-papers li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.program-papers li:last-child {
  border-bottom: none;
}

.program-papers a {
  font-weight: 600;
  color: #0f3460;
  font-size: 14px;
}

.program-papers a:hover {
  color: #1a1a2e;
  text-decoration: underline;
}

.program-papers .text-muted {
  font-size: 13px;
  line-height: 1.5;
}

/* ---- Tables ---- */
.table > thead > tr > th {
  background-color: #1a1a2e;
  color: #fff;
  font-weight: 600;
  border-bottom: none;
}

.table-hover > tbody > tr:hover {
  background-color: #f0f4f8;
}

/* ---- Submission Callout Box ---- */
.submit-callout {
  background: linear-gradient(135deg, #e8f0fe 0%, #d2e3fc 100%);
  border-left: 4px solid #1a73e8;
  border-radius: 6px;
  padding: 18px 22px;
  margin: 20px 0;
  font-size: 15px;
  color: #1a1a2e;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.submit-callout a {
  color: #1a73e8;
  font-weight: 600;
  word-break: break-all;
}

.submit-callout a:hover {
  color: #0f3460;
  text-decoration: underline;
}

/* ---- Links ---- */
a {
  color: #0f3460;
}

a:hover {
  color: #1a1a2e;
}

/* ---- Footer ---- */
footer {
  padding: 15px 0;
}

footer p {
  font-size: 13px;
}

/* ---- Responsive tweaks ---- */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 32px;
  }

  .hero-section h2 {
    font-size: 18px;
  }

  .hero-rule {
    width: 60%;
  }

  .section-heading {
    font-size: 24px;
  }
}
