/* styles-dashboard-notify.css — правая панель «Уведомления» на дашборде Manager. */

.dash-notify-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.dash-notify-card h3 {
  margin-bottom: 6px;
}

.dash-notify-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 2px;
}

.dash-notify-empty {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  color: #8fa5c9;
  font-size: 11px;
  font-style: italic;
}

.dash-notify-item {
  position: relative;
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: start;
  gap: 6px;
  padding: 5px 7px 5px 6px;
  border: 1px solid rgba(106, 141, 204, 0.32);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(28, 48, 87, 0.62), rgba(18, 34, 65, 0.62));
}

.dash-notify-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #4e8ed4;
  margin-top: 5px;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(78, 142, 212, 0.18);
}

.dash-notify-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-notify-head {
  color: #ecf3ff;
  font-size: 10px;
  font-weight: 640;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.dash-notify-sep {
  color: #8fa5c9;
  margin: 0 2px;
}

.dash-notify-sub {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: rgba(78, 142, 212, 0.18);
  color: #cfe0ff;
  border: 1px solid rgba(78, 142, 212, 0.42);
  max-width: 100%;
  line-height: 1.2;
  align-self: flex-start;
}

.dash-notify-sub.is-auto {
  background: rgba(70, 196, 122, 0.16);
  color: #c9efd6;
  border-color: rgba(70, 196, 122, 0.45);
}

.dash-notify-sub.is-off-schedule {
  background: rgba(78, 142, 212, 0.18);
  color: #cfe0ff;
  border-color: rgba(78, 142, 212, 0.45);
}

.dash-notify-sub.is-leader-call {
  background: rgba(216, 99, 138, 0.18);
  color: #f7c9d8;
  border-color: rgba(216, 99, 138, 0.45);
}

.dash-notify-sub.is-pause {
  background: rgba(148, 170, 210, 0.18);
  color: #d6e2f5;
  border-color: rgba(148, 170, 210, 0.42);
}

.dash-notify-sub.is-integration-error {
  background: rgba(216, 161, 74, 0.18);
  color: #f3dcae;
  border-color: rgba(216, 161, 74, 0.45);
}

.dash-notify-sub.is-birthday {
  background: rgba(93, 232, 160, 0.18);
  color: #c2f3d6;
  border-color: rgba(93, 232, 160, 0.50);
}

.dash-notify-time {
  color: #8fa5c9;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
  padding-top: 1px;
  align-self: flex-start;
}

/* Тонкий скролл, чтобы лента не «прыгала» при overflow. */
.dash-notify-list::-webkit-scrollbar {
  width: 5px;
}
.dash-notify-list::-webkit-scrollbar-thumb {
  background: rgba(106, 141, 204, 0.32);
  border-radius: 999px;
}
.dash-notify-list::-webkit-scrollbar-track {
  background: transparent;
}
