/* Shared by the header dropdown and the mobile learning panel. */
.tableProgressNotif {
  --learning-text: var(--portal-text, #273b4a);
  --learning-muted: var(--portal-muted, #526777);
  --learning-surface: var(--portal-surface, #fff);
  --learning-soft: var(--portal-soft, #f5f7f8);
  --learning-border: var(--portal-border, #dce4e8);
  --learning-primary: var(--portal-primary, #084fb9);
  color: var(--learning-text);
  text-transform: none;
}
html.dark-scheme .tableProgressNotif {
  --learning-text: #edf4ff;
  --learning-muted: #a8b9cc;
  --learning-surface: #121f30;
  --learning-soft: #19283b;
  --learning-border: #2c4059;
  --learning-primary: #90baff;
}
.header .main-menu .dropdown-menu.tableProgressNotif {
  width: 360px;
  min-width: 0;
  max-width: calc(100vw - 32px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--learning-border) !important;
  border-radius: 18px;
  background: var(--learning-surface);
  box-shadow: 0 16px 48px rgb(15 40 75 / 16%);
}
.tableProgressNotif > li {
  float: none !important;
  margin: 0;
  list-style: none;
}
.tableProgressNotif .kms-progress-heading {
  padding: 18px 20px 15px;
  border-bottom: 1px solid var(--learning-border);
  text-align: left;
}
.kms-progress-heading > span { display: block; color: var(--learning-text); font-size: 15px; font-weight: 600; line-height: 1.5; }
.kms-progress-heading > small { display: block; margin-top: 3px; color: var(--learning-muted); font-size: 11px; line-height: 1.6; }
.tableProgressNotif li.kms-progress-empty { padding: 24px 24px 22px; text-align: center; }
.kms-progress-empty-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border: 1px solid var(--learning-border); border-radius: 20px; background: var(--learning-soft); color: var(--learning-primary); }
.tableProgressNotif .kms-progress-empty-icon i { font-size: 32px; color: inherit; }
.tableProgressNotif .kms-progress-empty h5 { margin: 0 0 8px; color: var(--learning-text); font-size: 16px; font-weight: 600; line-height: 1.5; }
.tableProgressNotif .kms-progress-empty p { margin: 0 0 20px; color: var(--learning-muted); font-size: 12px; line-height: 1.8; }
.tableProgressNotif .kms-progress-empty a.kms-progress-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #084fb9;
  color: #fff;
  font-size: 12px;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.6;
}
.tableProgressNotif .kms-progress-empty a.kms-progress-cta:hover { padding: 10px 14px; background: #0f4494; color: #fff; }
.tableProgressNotif .kms-progress-entry { padding: 6px 10px; }
.tableProgressNotif .kms-progress-entry + .kms-progress-entry { border-top: 1px solid var(--learning-border); }
.tableProgressNotif .kms-progress-entry a.kms-progress-course { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: start; gap: 12px; padding: 12px 10px; border-radius: 10px; color: var(--learning-text); font-family: inherit; white-space: normal; }
.tableProgressNotif .kms-progress-entry a.kms-progress-course:hover { padding: 12px 10px; background: var(--learning-soft); }
.kms-progress-thumbnail { display: block; width: 56px; height: 56px; border: 1px solid var(--learning-border); border-radius: 10px; background: var(--learning-soft); object-fit: cover; }
.kms-progress-copy { min-width: 0; }
.tableProgressNotif .kms-progress-copy h5 { display: -webkit-box; overflow: hidden; margin: 0 0 9px; color: var(--learning-text); font-size: 12px; font-weight: 600; line-height: 1.6; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.kms-progress-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; color: var(--learning-muted); font-size: 10px; line-height: 1.6; }
.kms-progress-meta strong { color: var(--learning-primary); font-size: 11px; font-weight: 600; }
.kms-progress-track { height: 6px; overflow: hidden; border-radius: 999px; background: var(--learning-border); }
.kms-progress-track > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #084fb9, #2cc1c2); }
.kms-progress-resume { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--learning-primary); font-size: 10px; line-height: 1.6; }
.tableProgressNotif .kms-progress-footer { border-top: 1px solid var(--learning-border); }
.tableProgressNotif .kms-progress-footer a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; color: var(--learning-primary); font-family: inherit; font-size: 11px; font-weight: 500; line-height: 1.6; }
.tableProgressNotif .kms-progress-footer a:hover { padding: 13px 20px; background: var(--learning-soft); color: var(--learning-primary); }
.tableProgressNotif a i { width: auto; margin: 0; font-size: 15px; color: inherit; }
.tableProgressNotif .kms-progress-entry a,
.tableProgressNotif .kms-progress-empty a,
.tableProgressNotif .kms-progress-footer a { text-transform: none; }
.tableProgressNotif a:focus-visible { outline: 2px solid var(--learning-primary); outline-offset: -3px; }
.header .main-menu #notifProgressTable { display: flex; align-items: center; gap: 7px; }
.kms-progress-count { min-width: 18px; padding: 1px 5px; border-radius: 999px; background: #e8f1ff; color: #084fb9; font-size: 10px; font-weight: 600; line-height: 16px; text-align: center; }
.mobile-header-wrapper-style .mobile-account .tableProgressNotif { padding: 0; overflow: hidden; border: 1px solid var(--learning-border); border-radius: 16px; background: var(--learning-surface); }
@media (max-width: 420px) {
  .tableProgressNotif .kms-progress-heading { padding: 15px 16px 12px; }
  .tableProgressNotif li.kms-progress-empty { padding: 20px 16px; }
  .tableProgressNotif .kms-progress-entry { padding-inline: 6px; }
  .tableProgressNotif .kms-progress-entry a.kms-progress-course { grid-template-columns: 44px minmax(0, 1fr); gap: 10px; }
  .kms-progress-thumbnail { width: 44px; height: 44px; }
}
