.learning-path-notification-button {
  position: fixed;
  top: 24px;
  right: clamp(22px, 4vw, 70px);
  z-index: 35;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #53617a;
  background: rgba(255, 255, 255, .94);
  border: 1px solid #e0e5ed;
  border-radius: 50%;
  box-shadow: 0 9px 25px rgba(28, 38, 62, .08);
  cursor: pointer;
  transition: transform .2s ease, color .2s ease, box-shadow .2s ease;
  backdrop-filter: blur(12px);
}

.learning-path-auth-button {
  position: fixed;
  top: 24px;
  right: clamp(82px, calc(4vw + 58px), 128px);
  z-index: 30;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 16px;
  color: #fff;
  background: linear-gradient(135deg, #3663f4, #7331df);
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(78, 67, 211, .2);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.learning-path-auth-button:hover,
.learning-path-auth-button:focus-visible {
  color: #fff;
  outline: none;
  box-shadow: 0 13px 29px rgba(78, 67, 211, .3);
  transform: translateY(-2px);
}

.learning-path-notification-button:hover,
.learning-path-notification-button:focus-visible {
  color: var(--path-accent, #6558e8);
  box-shadow: 0 12px 28px rgba(28, 38, 62, .14);
  outline: none;
  transform: translateY(-2px);
}

.learning-path-notification-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.learning-path-notification-badge {
  position: absolute;
  top: -5px;
  right: -4px;
  display: grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  color: #fff;
  background: #f36c54;
  border: 2px solid #f8f9fc;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
}

.learning-path-notification-panel {
  position: fixed;
  top: 78px;
  right: clamp(22px, 4vw, 70px);
  z-index: 50;
  width: min(360px, calc(100vw - 28px));
  overflow: hidden;
  background: rgba(255, 255, 255, .98);
  border: 1px solid #e1e6ef;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(28, 38, 62, .17);
  animation: learning-notification-pop .18s ease-out;
  backdrop-filter: blur(16px);
}

.learning-path-notification-panel[hidden] { display: none; }

.learning-path-notification-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 13px;
  color: #1b2740;
  border-bottom: 1px solid #edf0f5;
}

.learning-path-notification-panel > header strong { font-size: 15px; }

.learning-path-notification-panel > header button {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: #7b879a;
  background: #f3f5f9;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.learning-path-notification-list {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.learning-path-notification-item {
  display: grid;
  grid-template-columns: 34px 1fr 18px;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 11px 10px;
  color: #4f5d76;
  text-align: left;
  background: #f8f9fc;
  border: 1px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  font: inherit;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.learning-path-notification-item:hover,
.learning-path-notification-item:focus-visible {
  background: #f1f0ff;
  border-color: #d9d4ff;
  outline: none;
  transform: translateY(-1px);
}

.learning-path-notification-item-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #6558e8, #8a62e8);
  border-radius: 11px;
  font-size: 16px;
}

.learning-path-notification-item > span:nth-child(2) { display: grid; gap: 3px; }
.learning-path-notification-item b { color: #26334d; font-size: 12px; }
.learning-path-notification-item small { color: #758198; font-size: 11px; line-height: 1.45; }
.learning-path-notification-item i { color: var(--path-accent, #6558e8); font-size: 15px; font-style: normal; }

.learning-path-notification-empty {
  margin: 4px;
  padding: 15px 10px;
  color: #7b879a;
  text-align: center;
  font-size: 12px;
}

.learning-module-stage.is-notification-target { animation: learning-notification-target 1.5s ease; }

@keyframes learning-notification-pop {
  from { opacity: 0; transform: translateY(-6px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes learning-notification-target {
  0%, 100% { filter: none; }
  35% { filter: drop-shadow(0 0 16px rgba(101, 88, 232, .45)); }
}

@media (max-width: 780px) {
  .learning-path-notification-button { top: 16px; right: 14px; }
  .learning-path-notification-panel { top: 68px; right: 14px; }
  .learning-path-auth-button { top: 16px; right: 66px; min-height: 38px; padding: 0 11px; font-size: 11px; }
}
