/* Schedule Section */

.schedule-section {
  display: flex;
  flex-direction: column;
  padding-left: 20%;
  padding-right: 20%;
  margin-top: 50px;
}

.schedule-title {
  font-size: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.schedule-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 60px;
}

.schedule-container table {
  border-collapse: collapse;
  width: 100%;
}

.schedule-container th, td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid rgb(14, 77, 143);
  word-wrap: break-word;
}

.schedule-container th {
  background-color: rgb(14, 77, 143);
  color: white;
  font-size: 20px;
}

.schedule-container ul {
  margin-left: 20px;
}

.schedule-container ol {
  margin-left: 20px;
}

.schedule-underline {
  text-decoration: underline;
  margin-top: 10px;
}


/* Mobile compatibility */

@media screen and (max-width: 1024px) {

  .schedule-section {
    padding-left: 0;
    padding-right: 0;
    margin-top: 50px;
  }

  .schedule-container th, .schedule-container td {
    padding: 8px;
    font-size: 14px;
  }

}


/* Expandable row accordion */

.schedule-row-expandable {
  cursor: pointer;
}

.schedule-row-expandable:hover td {
  background-color: rgba(14, 77, 143, 0.08);
}

.schedule-row-expandable.expanded td {
  background-color: rgba(14, 77, 143, 0.12);
}

.schedule-expand-icon {
  float: right;
  font-size: 11px;
  color: rgb(14, 77, 143);
  transition: transform 0.2s;
  display: inline-block;
}

.schedule-row-expandable.expanded .schedule-expand-icon {
  transform: rotate(180deg);
}

.schedule-detail-row {
  display: none;
}

.schedule-detail-row.open {
  display: table-row;
}

.schedule-detail-row td {
  background-color: rgb(240, 246, 255);
  border-bottom: 2px solid rgb(14, 77, 143);
  padding: 16px 12px;
}

.schedule-detail-content {
  display: flex;
  align-items: center;
  gap: 24px;
}

.schedule-qr-code {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.schedule-detail-info p {
  margin-bottom: 6px;
}

.schedule-detail-info a {
  color: rgb(14, 77, 143);
  font-weight: bold;
  word-break: break-all;
}

@media screen and (max-width: 1024px) {
  .schedule-detail-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .schedule-qr-code {
    width: 90px;
    height: 90px;
  }
}