/* MUGR Prospective Students — Admission Schedule v1
   Scope: ?topic=schedule only. No global table/list/button overrides. */

.mugr-admission-schedule {
  --mugr-schedule-navy: #26367f;
  --mugr-schedule-blue: #356ee6;
  --mugr-schedule-blue-soft: #eef4ff;
  --mugr-schedule-gold: #e8b629;
  --mugr-schedule-ink: #20263a;
  --mugr-schedule-muted: #6d7890;
  --mugr-schedule-line: #e5e9f2;
  --mugr-schedule-surface: #ffffff;
  --mugr-schedule-bg: #f7f9fc;
  --mugr-schedule-green: #12ad8a;
  width: 100%;
}

.mugr-admission-schedule__hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 0 0 24px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--mugr-schedule-line);
}

.mugr-admission-schedule__hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 76px;
  height: 3px;
  border-radius: 3px;
  background: var(--mugr-schedule-gold);
}

.mugr-admission-schedule__hero-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #29397f, #356ee6);
  color: #fff;
  box-shadow: 0 10px 24px rgba(38, 54, 127, .18);
  font-size: 22px;
}

.mugr-admission-schedule__eyebrow {
  margin: 1px 0 3px;
  color: var(--mugr-schedule-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.mugr-admission-schedule .mugr-admission-schedule__title {
  margin: 0 !important;
  color: var(--mugr-schedule-ink);
  line-height: 1.18;
}

.mugr-admission-schedule__lead {
  max-width: 820px;
  margin: 8px 0 0;
  color: var(--mugr-schedule-muted);
  font-size: 15px;
  line-height: 1.65;
}

.mugr-admission-schedule__filter {
  margin-bottom: 26px;
  border: 1px solid #dfe5f0;
  border-radius: 18px;
  background: var(--mugr-schedule-surface);
  box-shadow: 0 12px 30px rgba(31, 48, 91, .07);
  overflow: hidden;
}

.mugr-admission-schedule__filter-head {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  background: linear-gradient(90deg, #f5f8ff, #fff);
  border-bottom: 1px solid #e6ebf4;
}

.mugr-admission-schedule__filter-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--mugr-schedule-navy);
  font-size: 15px;
  font-weight: 700;
}

.mugr-admission-schedule__filter-title i {
  color: var(--mugr-schedule-blue);
}

.mugr-admission-schedule__filter-note {
  color: #78839a;
  font-size: 12px;
}

.mugr-admission-schedule__filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 18px;
}

.mugr-admission-schedule__field {
  min-width: 0;
}

.mugr-admission-schedule__field > label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 9px;
  color: var(--mugr-schedule-ink);
}

.mugr-admission-schedule__field > label strong,
.mugr-admission-schedule__field > label small {
  display: block;
}

.mugr-admission-schedule__field > label strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.mugr-admission-schedule__field > label small {
  margin-top: 1px;
  color: #8a94a8;
  font-size: 11px;
  font-weight: 400;
}

.mugr-admission-schedule__field-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--mugr-schedule-blue-soft);
  color: var(--mugr-schedule-blue);
}

.mugr-admission-schedule__select-wrap {
  position: relative;
}

.mugr-admission-schedule__select-wrap .form-control {
  width: 100%;
  height: 48px;
  padding: 8px 42px 8px 14px;
  border: 1px solid #d9dfeb;
  border-radius: 11px !important;
  background: #fff;
  color: #30384d;
  font-size: 14px;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.mugr-admission-schedule__select-wrap .form-control:focus {
  border-color: #7898e7;
  box-shadow: 0 0 0 3px rgba(53, 110, 230, .11);
}

.mugr-admission-schedule__select-wrap > i {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: #63708a;
  pointer-events: none;
}

.mugr-schedule-loader {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 74px;
  margin: 12px 0 20px;
  border: 1px dashed #dbe2ef;
  border-radius: 14px;
  color: #68748c;
  font-size: 13px;
}

.mugr-schedule-loader.is-active { display: flex; }

.mugr-schedule-loader__spinner {
  width: 22px;
  height: 22px;
  border: 2px solid #dce5f8;
  border-top-color: var(--mugr-schedule-blue);
  border-radius: 50%;
  animation: mugrScheduleSpin .7s linear infinite;
}

@keyframes mugrScheduleSpin { to { transform: rotate(360deg); } }

.mugr-admission-schedule__result.is-loading { opacity: .45; }

/* Announcement card returned by getSchedule.php */
.mugr-admission-schedule__result > h5,
.mugr-admission-schedule__result .mugr-schedule-announcement {
  margin: 0 0 18px !important;
  padding: 0;
  font-size: inherit;
}

.mugr-admission-schedule__result > h5 > a,
.mugr-admission-schedule__result .mugr-schedule-announcement > a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px 16px 14px 64px;
  border: 1px solid #dbe3f2;
  border-radius: 16px;
  background: linear-gradient(100deg, #fff 0%, #f8faff 100%);
  color: #2f5fc5 !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(37, 54, 111, .06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.mugr-admission-schedule__result > h5 > a::before,
.mugr-admission-schedule__result .mugr-schedule-announcement > a::before {
  content: "\f1c1";
  font-family: FontAwesome;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff0f4;
  color: #e91e63;
  font-size: 18px;
}

.mugr-admission-schedule__result > h5 > a:hover,
.mugr-admission-schedule__result .mugr-schedule-announcement > a:hover {
  transform: translateY(-1px);
  border-color: #c7d5ee;
  box-shadow: 0 12px 28px rgba(37, 54, 111, .1);
}

.mugr-admission-schedule__result > h5 .btn,
.mugr-admission-schedule__result .mugr-schedule-announcement .btn {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 7px 11px !important;
  border: 1px solid #f1a5bc !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #e91e63 !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
}

/* Legacy tab helper from old table is retained for compatibility but styled as a compact key. */
.mugr-admission-schedule__result > ul {
  display: none !important;
}

/* Calendar-like schedule table */
.mugr-admission-schedule__result > table,
.mugr-admission-schedule__result .mugr-schedule-table {
  width: 100%;
  margin: 0;
  border-collapse: separate !important;
  border-spacing: 0;
  table-layout: fixed;
  border: 1px solid #dfe5ef;
  border-radius: 17px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(34, 49, 87, .07);
}

.mugr-admission-schedule__result table thead th {
  height: auto !important;
  padding: 13px 14px !important;
  border: 0 !important;
  border-right: 1px solid rgba(255,255,255,.12) !important;
  background: var(--mugr-schedule-navy) !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  text-align: center !important;
  vertical-align: middle;
}

.mugr-admission-schedule__result table thead th:first-child {
  display: table-cell !important;
  width: 48% !important;
  text-align: left !important;
  color: transparent !important;
}

.mugr-admission-schedule__result table thead th:first-child::after {
  content: attr(data-label);
  color: #fff;
}

.mugr-admission-schedule__result table thead th:nth-child(2) { width: 30% !important; }
.mugr-admission-schedule__result table thead th:nth-child(3) { width: 22% !important; border-right: 0 !important; }

.mugr-admission-schedule__result table tbody td {
  height: auto !important;
  padding: 15px 14px !important;
  border: 0 !important;
  border-right: 1px solid #edf0f5 !important;
  border-bottom: 1px solid #e8ecf3 !important;
  background: #fff !important;
  color: #394157;
  font-size: 13px;
  line-height: 1.55;
  vertical-align: middle !important;
}

.mugr-admission-schedule__result table tbody tr:last-child td { border-bottom: 0 !important; }
.mugr-admission-schedule__result table tbody td:last-child { border-right: 0 !important; text-align: center !important; }
.mugr-admission-schedule__result table tbody td:nth-child(2) { text-align: center !important; color: #3f4960; font-weight: 600; }
.mugr-admission-schedule__result table tbody tr:hover td { background: #fbfcff !important; }

.mugr-admission-schedule__result table .txt-l {
  display: inline !important;
  color: inherit;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.55;
}

.mugr-admission-schedule__result table td:first-child .g-color-primary,
.mugr-admission-schedule__result table td:first-child > span > .g-color-primary,
.mugr-admission-schedule__result table td:first-child .g-font-size-20,
.mugr-admission-schedule__result table td:first-child .d-block.g-color-primary {
  display: inline-flex !important;
  width: 29px;
  height: 29px;
  margin-right: 8px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--mugr-schedule-blue-soft);
  color: var(--mugr-schedule-blue) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1;
  vertical-align: middle;
}

.mugr-admission-schedule__result table .btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 34px;
  max-width: 100%;
  margin: 0 !important;
  padding: 7px 13px !important;
  border: 1px solid rgba(18, 173, 138, .18) !important;
  border-radius: 999px !important;
  background: #e9fbf6 !important;
  color: #078e72 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-transform: none !important;
  white-space: normal;
  box-shadow: none !important;
  transition: background .2s ease, transform .2s ease;
}

.mugr-admission-schedule__result table .btn:hover {
  background: #d9f7ef !important;
  color: #06755f !important;
  transform: translateY(-1px);
}

.mugr-admission-schedule__result table .btn i { margin: 0 !important; }

.mugr-schedule-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 86px;
  padding: 18px;
  border: 1px dashed #d9e0ec;
  border-radius: 14px;
  background: #fafbfe;
  color: #6e7890;
  text-align: center;
}

.mugr-schedule-state--error { color: #b94a5a; background: #fff8f9; border-color: #f0ccd3; }

@media (max-width: 991.98px) {
  .mugr-admission-schedule__hero { gap: 14px; }
  .mugr-admission-schedule__hero-icon { flex-basis: 48px; width: 48px; height: 48px; border-radius: 14px; }
  .mugr-admission-schedule__filter-grid { gap: 14px; }
  .mugr-admission-schedule__result table thead th:first-child { width: 45% !important; }
  .mugr-admission-schedule__result table thead th:nth-child(2) { width: 32% !important; }
  .mugr-admission-schedule__result table thead th:nth-child(3) { width: 23% !important; }
}

@media (max-width: 767.98px) {
  .mugr-admission-schedule { padding-bottom: 4px; }
  .mugr-admission-schedule__hero { margin-bottom: 18px; padding-bottom: 16px; }
  .mugr-admission-schedule__hero-icon { flex-basis: 42px; width: 42px; height: 42px; border-radius: 12px; font-size: 18px; }
  .mugr-admission-schedule__eyebrow { font-size: 9px; }
  .mugr-admission-schedule__lead { margin-top: 6px; font-size: 13px; line-height: 1.55; }

  .mugr-admission-schedule__filter { border-radius: 15px; margin-bottom: 20px; }
  .mugr-admission-schedule__filter-head { align-items: flex-start; padding: 12px 14px; }
  .mugr-admission-schedule__filter-note { display: none; }
  .mugr-admission-schedule__filter-grid { grid-template-columns: 1fr; gap: 14px; padding: 14px; }
  .mugr-admission-schedule__field > label small { display: none; }
  .mugr-admission-schedule__select-wrap .form-control { height: 46px; }

  .mugr-admission-schedule__result > h5 > a,
  .mugr-admission-schedule__result .mugr-schedule-announcement > a {
    min-height: 68px;
    padding: 12px 12px 12px 56px;
    gap: 8px;
    border-radius: 14px;
    font-size: 13px;
  }

  .mugr-admission-schedule__result > h5 > a::before,
  .mugr-admission-schedule__result .mugr-schedule-announcement > a::before {
    left: 12px;
    width: 34px;
    height: 34px;
  }

  .mugr-admission-schedule__result > h5 .btn,
  .mugr-admission-schedule__result .mugr-schedule-announcement .btn {
    padding: 6px 9px !important;
    font-size: 10px !important;
  }

  .mugr-admission-schedule__result > table,
  .mugr-admission-schedule__result .mugr-schedule-table {
    display: block;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .mugr-admission-schedule__result table thead { display: none; }
  .mugr-admission-schedule__result table tbody { display: block; }
  .mugr-admission-schedule__result table tbody tr {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    margin: 0 0 11px;
    padding: 13px 14px 12px;
    border: 1px solid #e1e6ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(35, 50, 89, .05);
    overflow: hidden;
  }

  .mugr-admission-schedule__result table tbody tr::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--mugr-schedule-blue);
  }

  .mugr-admission-schedule__result table tbody td {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 5px 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: left !important;
  }

  .mugr-admission-schedule__result table tbody td:first-child {
    padding-top: 0 !important;
    color: #273148;
    font-size: 13px;
    font-weight: 600;
  }

  .mugr-admission-schedule__result table tbody td:nth-child(2) {
    position: relative;
    margin-top: 4px;
    padding: 8px 0 6px 25px !important;
    color: #5d6980;
    text-align: left !important;
    font-size: 12px;
    font-weight: 500;
  }

  .mugr-admission-schedule__result table tbody td:nth-child(2)::before {
    content: "\f073";
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--mugr-schedule-blue);
    font-size: 13px;
  }

  .mugr-admission-schedule__result table tbody td:last-child:not(:empty) {
    padding-top: 8px !important;
    text-align: left !important;
  }

  .mugr-admission-schedule__result table .btn {
    min-height: 32px;
    padding: 6px 11px !important;
  }
}

@media (max-width: 420px) {
  .mugr-admission-schedule__hero-icon { display: none; }
  .mugr-admission-schedule__result > h5 > a,
  .mugr-admission-schedule__result .mugr-schedule-announcement > a {
    display: grid;
    grid-template-columns: 1fr auto;
    padding-left: 54px;
  }
}

/* v20260807.3 — icon-safe + status-aware timeline layout */
.mugr-admission-schedule__hero-icon svg,
.mugr-admission-schedule__field-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mugr-admission-schedule__hero-icon svg { width: 25px; height: 25px; }
.mugr-admission-schedule__field-icon svg { width: 18px; height: 18px; }

/* Avoid depending on the site's Font Awesome build for this module. */
.mugr-admission-schedule__result .btn > i,
.mugr-admission-schedule__result .mugr-schedule-announcement .btn > i {
  display: none !important;
}

/* More compact filter, matching the rest of Prospective Students. */
.mugr-admission-schedule__filter {
  border-radius: 14px;
  box-shadow: 0 7px 22px rgba(31, 48, 91, .055);
}
.mugr-admission-schedule__filter-head { min-height: 48px; padding: 10px 16px; }
.mugr-admission-schedule__filter-grid { gap: 16px; padding: 15px 16px 17px; }
.mugr-admission-schedule__select-wrap .form-control { height: 44px; }

/* Timeline/table layout */
.mugr-admission-schedule__result > table,
.mugr-admission-schedule__result .mugr-schedule-table {
  border-radius: 14px;
  border-color: #e0e6f0;
  box-shadow: 0 8px 24px rgba(34, 49, 87, .055);
}
.mugr-admission-schedule__result table thead th {
  padding: 12px 16px !important;
  background: #293b86 !important;
  font-size: 12.5px;
  letter-spacing: .01em;
}
.mugr-admission-schedule__result table thead th:first-child {
  width: 51% !important;
  color: #fff !important;
}
.mugr-admission-schedule__result table thead th:nth-child(2) { width: 27% !important; }
.mugr-admission-schedule__result table thead th:nth-child(3) { width: 22% !important; }

.mugr-admission-schedule__result table tbody td {
  padding: 14px 16px !important;
  border-right-color: #edf1f6 !important;
  border-bottom-color: #e9edf4 !important;
  font-size: 13px;
}
.mugr-admission-schedule__result table tbody td:first-child {
  position: relative;
  padding-left: 18px !important;
}

/* Step badge reflects the date status: active / upcoming / completed. */
.mugr-admission-schedule__result table td:first-child .g-color-primary,
.mugr-admission-schedule__result table td:first-child > span > .g-color-primary,
.mugr-admission-schedule__result table td:first-child .g-font-size-20,
.mugr-admission-schedule__result table td:first-child .d-block.g-color-primary {
  width: 32px;
  height: 32px;
  min-width: 32px;
  margin-right: 10px;
  border-radius: 9px;
  background: #edf2fb;
  color: #51627f !important;
  box-shadow: inset 0 0 0 1px #e0e6f0;
}
.mugr-admission-schedule__result table tr.mugr-status-active td:first-child {
  box-shadow: inset 4px 0 0 #19b889;
}
.mugr-admission-schedule__result table tr.mugr-status-active td:first-child .g-color-primary,
.mugr-admission-schedule__result table tr.mugr-status-active td:first-child > span > .g-color-primary,
.mugr-admission-schedule__result table tr.mugr-status-active td:first-child .g-font-size-20 {
  background: #e9faf5;
  color: #0c9974 !important;
  box-shadow: inset 0 0 0 1px #c8eee3;
}
.mugr-admission-schedule__result table tr.mugr-status-upcoming td:first-child {
  box-shadow: inset 4px 0 0 #e8ad27;
}
.mugr-admission-schedule__result table tr.mugr-status-upcoming td:first-child .g-color-primary,
.mugr-admission-schedule__result table tr.mugr-status-upcoming td:first-child > span > .g-color-primary,
.mugr-admission-schedule__result table tr.mugr-status-upcoming td:first-child .g-font-size-20 {
  background: #fff7df;
  color: #b67a00 !important;
  box-shadow: inset 0 0 0 1px #f3dfaa;
}
.mugr-admission-schedule__result table tr.mugr-status-completed td:first-child {
  box-shadow: inset 4px 0 0 #aab4c5;
}
.mugr-admission-schedule__result table tr.mugr-status-completed td:first-child .g-color-primary,
.mugr-admission-schedule__result table tr.mugr-status-completed td:first-child > span > .g-color-primary,
.mugr-admission-schedule__result table tr.mugr-status-completed td:first-child .g-font-size-20 {
  background: #f2f4f7;
  color: #738097 !important;
  box-shadow: inset 0 0 0 1px #e0e4ea;
}

/* Action buttons use color by action/status instead of one teal for everything. */
.mugr-admission-schedule__result table .btn.mugr-action {
  min-width: 112px;
  min-height: 34px;
  padding: 7px 14px !important;
  border-radius: 999px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  white-space: nowrap;
}
.mugr-admission-schedule__result table .btn.mugr-action::before {
  content: "✓";
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  font: 800 10px/1 Arial, sans-serif;
}
.mugr-admission-schedule__result table .btn.mugr-action--apply {
  border-color: #bce9dc !important;
  background: #e8faf4 !important;
  color: #078c6a !important;
}
.mugr-admission-schedule__result table .btn.mugr-action--announcement {
  border-color: #c8d8f8 !important;
  background: #eef4ff !important;
  color: #2e63c9 !important;
}
.mugr-admission-schedule__result table .btn.mugr-action--checkin {
  border-color: #d8d0f5 !important;
  background: #f3f0ff !important;
  color: #6650c8 !important;
}
.mugr-admission-schedule__result table .btn.mugr-action--register {
  border-color: #f3ddb1 !important;
  background: #fff7e7 !important;
  color: #b87500 !important;
}
.mugr-admission-schedule__result table .btn.mugr-action--detail {
  border-color: #bee7ee !important;
  background: #ebf9fb !important;
  color: #087f94 !important;
}
.mugr-admission-schedule__result table .btn.mugr-action:hover {
  filter: brightness(.985);
  transform: translateY(-1px);
}

/* Announcement = a standalone notice card above the timeline. */
.mugr-admission-schedule__result .mugr-schedule-announcement > a {
  min-height: 64px;
  padding: 12px 15px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(37, 54, 111, .05);
}

@media (max-width: 767.98px) {
  .mugr-admission-schedule__hero-icon { display: inline-flex !important; }
  .mugr-admission-schedule__hero-icon svg { width: 21px; height: 21px; }
  .mugr-admission-schedule__filter-grid { padding: 13px; }

  .mugr-admission-schedule__result table tbody tr {
    padding: 0;
    border-radius: 13px;
    overflow: hidden;
  }
  .mugr-admission-schedule__result table tbody tr::before { display: none; }
  .mugr-admission-schedule__result table tbody td {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .mugr-admission-schedule__result table tbody td:first-child {
    padding-top: 13px !important;
    padding-bottom: 9px !important;
    box-shadow: none !important;
  }
  .mugr-admission-schedule__result table tbody td:nth-child(2) {
    margin: 0;
    padding: 8px 14px 8px 40px !important;
    border-top: 1px solid #eef1f5 !important;
    background: #fafbfe !important;
  }
  .mugr-admission-schedule__result table tbody td:nth-child(2)::before {
    left: 16px;
    top: 9px;
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid #6680b8;
    border-radius: 4px;
    background: linear-gradient(to bottom, transparent 0 28%, #6680b8 28% 38%, transparent 38%);
  }
  .mugr-admission-schedule__result table tbody td:last-child:not(:empty) {
    padding: 9px 14px 13px !important;
    border-top: 1px solid #eef1f5 !important;
    text-align: right !important;
  }
  .mugr-admission-schedule__result table .btn.mugr-action {
    min-width: 0;
  }
}

/* v20260807.4 — cleaner step number + date aligned with activity title */
.mugr-admission-schedule__result table td:first-child .g-color-primary,
.mugr-admission-schedule__result table td:first-child > span > .g-color-primary,
.mugr-admission-schedule__result table td:first-child .g-font-size-20,
.mugr-admission-schedule__result table td:first-child .d-block.g-color-primary {
  width: auto !important;
  height: auto !important;
  min-width: 42px !important;
  margin-right: 8px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #356ee6 !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
}

.mugr-admission-schedule__result table tr.mugr-status-active td:first-child .g-color-primary,
.mugr-admission-schedule__result table tr.mugr-status-active td:first-child > span > .g-color-primary,
.mugr-admission-schedule__result table tr.mugr-status-active td:first-child .g-font-size-20 {
  background: transparent !important;
  color: #0c9974 !important;
  box-shadow: none !important;
}
.mugr-admission-schedule__result table tr.mugr-status-upcoming td:first-child .g-color-primary,
.mugr-admission-schedule__result table tr.mugr-status-upcoming td:first-child > span > .g-color-primary,
.mugr-admission-schedule__result table tr.mugr-status-upcoming td:first-child .g-font-size-20 {
  background: transparent !important;
  color: #b67a00 !important;
  box-shadow: none !important;
}
.mugr-admission-schedule__result table tr.mugr-status-completed td:first-child .g-color-primary,
.mugr-admission-schedule__result table tr.mugr-status-completed td:first-child > span > .g-color-primary,
.mugr-admission-schedule__result table tr.mugr-status-completed td:first-child .g-font-size-20 {
  background: transparent !important;
  color: #738097 !important;
  box-shadow: none !important;
}

.mugr-admission-schedule__result table tbody td:first-child > .txt-l {
  display: flex;
  align-items: flex-start;
}

@media (max-width: 767.98px) {
  .mugr-admission-schedule__result table td:first-child .g-color-primary,
  .mugr-admission-schedule__result table td:first-child > span > .g-color-primary,
  .mugr-admission-schedule__result table td:first-child .g-font-size-20,
  .mugr-admission-schedule__result table td:first-child .d-block.g-color-primary {
    min-width: 42px !important;
    margin-right: 8px !important;
    font-size: 27px !important;
    line-height: 1 !important;
  }

  /* 14px cell inset + 42px number + 8px gap = 64px: date text starts exactly under title text. */
  .mugr-admission-schedule__result table tbody td:nth-child(2) {
    padding-left: 64px !important;
  }

  .mugr-admission-schedule__result table tbody td:nth-child(2)::before {
    left: 28px !important;
  }
}

/* v20260807.5 — mobile date row aligned with activity title + white hover buttons */
@media (max-width: 767.98px) {
  /* The activity title starts after the large step number. Start the whole date row
     (calendar icon + date text) on that same vertical guide. */
  .mugr-admission-schedule__result table tbody td:nth-child(2) {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 64px !important;
  }

  .mugr-admission-schedule__result table tbody td:nth-child(2)::before {
    position: static !important;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    margin: 0;
  }
}

/* Keep action labels crisp on hover: use a white surface instead of a tinted fill. */
.mugr-admission-schedule__result table .btn.mugr-action:hover,
.mugr-admission-schedule__result table .btn.mugr-action:focus {
  background: #fff !important;
  filter: none !important;
}


/* v20260807.6 — mobile card uses a fixed number rail like the reference layout */
@media (max-width: 767.98px) {
  .mugr-admission-schedule__result table tbody tr {
    position: relative;
    display: block !important;
    padding: 0 !important;
    border: 1px solid #dfe6f2 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 5px 16px rgba(35, 52, 92, .045) !important;
  }

  /* permanent left number column */
  .mugr-admission-schedule__result table tbody tr::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    left: 70px;
    width: 1px;
    background: #e6ebf3;
    pointer-events: none;
  }

  .mugr-admission-schedule__result table tbody td {
    position: relative;
    z-index: 1;
    display: block !important;
    width: 100% !important;
    min-height: 0;
    margin: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    background: transparent !important;
  }

  /* Title row: the number sits in the fixed left rail; title begins in content column. */
  .mugr-admission-schedule__result table tbody td:first-child {
    min-height: 62px;
    padding: 17px 14px 14px 88px !important;
    border-top: 0 !important;
    border-bottom: 1px solid #edf1f6 !important;
  }

  .mugr-admission-schedule__result table tbody td:first-child > .txt-l {
    display: block !important;
    position: static !important;
    line-height: 1.45;
  }

  .mugr-admission-schedule__result table td:first-child .g-color-primary,
  .mugr-admission-schedule__result table td:first-child > span > .g-color-primary,
  .mugr-admission-schedule__result table td:first-child .g-font-size-20,
  .mugr-admission-schedule__result table td:first-child .d-block.g-color-primary {
    position: absolute !important;
    top: 17px !important;
    left: 20px !important;
    width: 42px !important;
    min-width: 42px !important;
    margin: 0 !important;
    text-align: center !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }

  /* Date row starts on exactly the same content guide as the title. */
  .mugr-admission-schedule__result table tbody td:nth-child(2) {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    min-height: 46px;
    padding: 11px 14px 11px 88px !important;
    border-top: 0 !important;
    border-bottom: 1px solid #edf1f6 !important;
    background: #fbfcfe !important;
  }

  .mugr-admission-schedule__result table tbody td:nth-child(2)::before {
    position: static !important;
    flex: 0 0 15px !important;
    width: 15px !important;
    height: 15px !important;
    margin-top: 2px !important;
  }

  /* Action belongs to the same right-hand content column, not under the number rail. */
  .mugr-admission-schedule__result table tbody td:last-child:not(:empty) {
    min-height: 54px;
    padding: 10px 14px 12px 88px !important;
    border-top: 0 !important;
    text-align: right !important;
    background: #fff !important;
  }

  .mugr-admission-schedule__result table tbody td:last-child:empty {
    display: none !important;
  }

  .mugr-admission-schedule__result table .btn.mugr-action {
    margin: 0 !important;
  }
}

/* v20260807.14 — match inner-page title size */
.mugr-admission-schedule .mugr-admission-schedule__title {
  font-size: 1.5em !important;
  line-height: 1.25 !important;
}

/* v20260807.9 — compact action column + aligned buttons + high-contrast hover */
@media (min-width: 768px) {
  /* Give more room to the schedule/date column and reduce the action column. */
  .mugr-admission-schedule__result table thead th:first-child { width: 51% !important; }
  .mugr-admission-schedule__result table thead th:nth-child(2) { width: 31% !important; }
  .mugr-admission-schedule__result table thead th:nth-child(3) { width: 18% !important; }

  /* Keep every CTA on the same left edge, while the button group itself stays centered. */
  .mugr-admission-schedule__result table tbody td:last-child {
    text-align: center !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .mugr-admission-schedule__result table .btn.mugr-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 154px;
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: left !important;
  }
}

/* Hover uses a solid status/action color with white text for clear contrast. */
.mugr-admission-schedule__result table .btn.mugr-action--apply:hover,
.mugr-admission-schedule__result table .btn.mugr-action--apply:focus {
  background: #0aa77f !important;
  border-color: #0aa77f !important;
  color: #fff !important;
}
.mugr-admission-schedule__result table .btn.mugr-action--announcement:hover,
.mugr-admission-schedule__result table .btn.mugr-action--announcement:focus {
  background: #356ee6 !important;
  border-color: #356ee6 !important;
  color: #fff !important;
}
.mugr-admission-schedule__result table .btn.mugr-action--checkin:hover,
.mugr-admission-schedule__result table .btn.mugr-action--checkin:focus {
  background: #735bd5 !important;
  border-color: #735bd5 !important;
  color: #fff !important;
}
.mugr-admission-schedule__result table .btn.mugr-action--register:hover,
.mugr-admission-schedule__result table .btn.mugr-action--register:focus {
  background: #c48612 !important;
  border-color: #c48612 !important;
  color: #fff !important;
}
.mugr-admission-schedule__result table .btn.mugr-action--detail:hover,
.mugr-admission-schedule__result table .btn.mugr-action--detail:focus {
  background: #148da1 !important;
  border-color: #148da1 !important;
  color: #fff !important;
}

.mugr-admission-schedule__result table .btn.mugr-action:hover::before,
.mugr-admission-schedule__result table .btn.mugr-action:focus::before {
  color: currentColor !important;
  background: rgba(255,255,255,.18) !important;
}

/* v20260807.10: put schedule notes on a new line without storing HTML in DB */
.mugr-schedule-date-note {
    display: block;
    margin-top: 3px;
    line-height: 1.45;
}


/* Schedule status legend — v20260807.11 */
.mugr-schedule-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px 16px;
  margin-top: 10px;
  padding: 0 2px;
  color: #7b879d;
  font-size: 12px;
  line-height: 1.45;
}
.mugr-schedule-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.mugr-schedule-legend__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: 0 0 7px;
  background: #2f6fed;
}
.mugr-schedule-legend__item--active .mugr-schedule-legend__dot { background: #16a085; }
.mugr-schedule-legend__item--upcoming .mugr-schedule-legend__dot { background: #d99500; }
.mugr-schedule-legend__item--completed .mugr-schedule-legend__dot { background: #97a4b8; }
.mugr-schedule-legend__item--pending .mugr-schedule-legend__dot { background: #2f6fed; }

@media (max-width: 767.98px) {
  .mugr-schedule-legend {
    justify-content: flex-start;
    gap: 6px 13px;
    margin-top: 9px;
    padding: 0 4px;
    font-size: 11px;
  }
}


/* v20260807.15 — keep only the PDF action on the right; remove decorative PDF icon on the left */
.mugr-admission-schedule__result > h5 > a,
.mugr-admission-schedule__result .mugr-schedule-announcement > a {
  padding-left: 16px !important;
}
.mugr-admission-schedule__result > h5 > a::before,
.mugr-admission-schedule__result .mugr-schedule-announcement > a::before {
  content: none !important;
  display: none !important;
}
@media (max-width: 767.98px) {
  .mugr-admission-schedule__result > h5 > a,
  .mugr-admission-schedule__result .mugr-schedule-announcement > a {
    padding-left: 12px !important;
  }
}


/* v20260811.16 — action hover follows each button color family.
   Disable the legacy Unify u-btn-hover-v1-4 ::after teal sweep, which otherwise
   paints every action green regardless of the action-specific hover color. */
.mugr-admission-schedule__result table .btn.mugr-action.u-btn-hover-v1-4::after,
.mugr-admission-schedule__result table .btn.mugr-action.u-btn-hover-v1-4:hover::after,
.mugr-admission-schedule__result table .btn.mugr-action.u-btn-hover-v1-4:focus::after {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

/* Keep the action-specific solid hover palette above any legacy button rules. */
.mugr-admission-schedule__result table .btn.mugr-action--apply:hover,
.mugr-admission-schedule__result table .btn.mugr-action--apply:focus {
  background: #0aa77f !important;
  border-color: #0aa77f !important;
  color: #fff !important;
}
.mugr-admission-schedule__result table .btn.mugr-action--announcement:hover,
.mugr-admission-schedule__result table .btn.mugr-action--announcement:focus {
  background: #356ee6 !important;
  border-color: #356ee6 !important;
  color: #fff !important;
}
.mugr-admission-schedule__result table .btn.mugr-action--checkin:hover,
.mugr-admission-schedule__result table .btn.mugr-action--checkin:focus {
  background: #735bd5 !important;
  border-color: #735bd5 !important;
  color: #fff !important;
}
.mugr-admission-schedule__result table .btn.mugr-action--register:hover,
.mugr-admission-schedule__result table .btn.mugr-action--register:focus {
  background: #c48612 !important;
  border-color: #c48612 !important;
  color: #fff !important;
}
.mugr-admission-schedule__result table .btn.mugr-action--detail:hover,
.mugr-admission-schedule__result table .btn.mugr-action--detail:focus {
  background: #148da1 !important;
  border-color: #148da1 !important;
  color: #fff !important;
}

/* MUGR content typography standard — body copy 14px (2026-08-11)
   Component-local override is required because legacy schedule rules use !important. */
.mugr-admission-schedule__result table tbody td {
  color: #344054 !important;
  font-size: 14px !important;
}
.mugr-admission-schedule__result table .txt-l {
  color: #344054 !important;
  font-size: 14px !important;
}
