/* Dashboard Card Utilities */
.card-dashboard {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-dashboard:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  font-size: 2rem;
  color: var(--cs-accent);
}

/* Global Toasts */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1080;
}

/* Breadcrumbs */
.breadcrumb-cs {
  background: transparent;
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

/* ── Notification bell dropdown (teacher / student header) ───────────── */
.notif-badge {
  font-size: 0.6rem;
  padding: 0.25em 0.4em;
  min-width: 1.05rem;
  left: 90% !important;
}

.notif-menu {
  width: 340px;
  max-width: 92vw;
  border-radius: 0.75rem;
  overflow: hidden;
}

.notif-list {
  max-height: 320px;
  overflow-y: auto;
}

.notif-item {
  display: block;
  padding: 0.65rem 1rem;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.notif-item:last-child {
  border-bottom: 0;
}

.notif-item:hover,
.notif-item:focus {
  background-color: #f8fafc;
  color: inherit;
}

.notif-item.notif-unread {
  background-color: rgba(14, 165, 233, 0.06);
}

.notif-icon {
  color: #0ea5e9;
  flex: 0 0 auto;
}

.notif-meta {
  color: #94a3b8;
  font-size: 0.7rem;
  margin-top: 0.15rem;
}

.notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ef4444;
  flex: 0 0 auto;
  margin-top: 0.4rem;
}