/* ── Skeleton loading for dashboard widgets ── */
.dash-skeleton-item {
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}
.dash-skeleton {
  background: var(--color-bg, #f0f2f5);
  border-radius: 6px;
  animation: dash-skeleton-pulse 1.5s ease-in-out infinite;
}
.dash-skeleton-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}
.dash-skeleton-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dash-skeleton-title {
  height: 14px;
  width: 70%;
}
.dash-skeleton-meta {
  height: 10px;
  width: 35%;
}
@keyframes dash-skeleton-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
[data-theme="dark"] .dash-skeleton {
  background: var(--color-border, rgba(255, 255, 255, 0.12));
}

/* ── Email skeleton loading — matches docs/calendar skeleton ── */
.email-skeleton-loading {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.email-skeleton-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 6px 8px;
}

.email-skeleton-item + .email-skeleton-item {
  margin-top: 2px;
}

.email-skeleton-sender {
  height: 13px;
  width: 45%;
}

.email-skeleton-time {
  height: 12px;
  width: 50px;
  margin-left: auto;
}
