/* Dashboard broadcast banner (admin utskick) */
#broadcastBannerSlot {
  display: none;
  margin-bottom: 1rem;
}

.dashboard-container-v2 #broadcastBannerSlot {
  margin: 0 0 1.25rem;
}

.broadcast-banner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.35);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.14) 0%, rgba(79, 70, 229, 0.08) 100%);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.12);
}

.broadcast-banner__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(99, 102, 241, 0.18), transparent 55%);
  pointer-events: none;
}

.broadcast-banner__inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
}

.broadcast-banner__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.broadcast-banner__icon svg {
  width: 22px;
  height: 22px;
}

.broadcast-banner__content {
  flex: 1;
  min-width: 0;
}

.broadcast-banner__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6366f1;
  margin-bottom: 0.25rem;
}

.broadcast-banner__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

.broadcast-banner__message {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #334155;
  white-space: pre-wrap;
}

.broadcast-banner__close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.06);
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.broadcast-banner__close:hover {
  background: rgba(15, 23, 42, 0.1);
  color: #0f172a;
}

.broadcast-banner__close svg {
  width: 18px;
  height: 18px;
}

body.dark-mode .broadcast-banner {
  border-color: rgba(129, 140, 248, 0.35);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22) 0%, rgba(30, 41, 59, 0.9) 100%);
}

body.dark-mode .broadcast-banner__title {
  color: #f8fafc;
}

body.dark-mode .broadcast-banner__message {
  color: #cbd5e1;
}

body.dark-mode .broadcast-banner__close {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

@media (max-width: 768px) {
  .broadcast-banner__inner {
    padding: 1rem;
    gap: 0.75rem;
  }

  .broadcast-banner__icon {
    width: 40px;
    height: 40px;
  }

  .broadcast-banner__title {
    font-size: 1rem;
  }
}
