#app {
    display: flex;
    height: 100%;
    min-height: 0;
}

#main-content {
    flex: 1;
    min-width: 0;
    min-height: 0;
    padding: 30px;
    overflow-y: auto;
    overflow-x: hidden;
}

.global-dispatch-notifs{
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 99999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.global-dispatch-notif{
  width: 360px;
  max-width: calc(100vw - 30px);
  background: linear-gradient(180deg, rgba(8, 19, 45, 0.98), rgba(6, 14, 34, 0.98));
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 4px solid #f59e0b;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.42);
  padding: 12px 14px;
  color: rgba(255,255,255,0.96);
  transform: translateX(24px);
  opacity: 0;
  animation: globalDispatchNotifIn .22s ease forwards;
}

.global-dispatch-notif.prio-1 { border-left-color: #22c55e; }
.global-dispatch-notif.prio-2 { border-left-color: #f59e0b; }
.global-dispatch-notif.prio-3 { border-left-color: #ef4444; }

.global-dispatch-notif-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.global-dispatch-notif-title{
  font-size: 15px;
  font-weight: 900;
}

.global-dispatch-notif-badge{
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 10px;
  font-weight: 900;
}

.global-dispatch-notif-sub{
  font-size: 12px;
  color: rgba(255,255,255,0.76);
  margin-bottom: 8px;
}

.global-dispatch-notif-meta{
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: rgba(255,255,255,0.84);
}

.global-dispatch-notif.hide{
  animation: globalDispatchNotifOut .20s ease forwards;
}

@keyframes globalDispatchNotifIn{
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes globalDispatchNotifOut{
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(24px); }
}