#alertas-globais {
  bottom: 1rem;
  display: grid;
  gap: .65rem;
  max-width: min(380px, calc(100vw - 2rem));
  position: fixed;
  right: 1rem;
  z-index: 1060;
}

.push-permission-prompt {
  align-items: flex-start;
  background: #fff;
  border: 1px solid #cfd7de;
  border-left: 4px solid #1d5f91;
  border-radius: 8px;
  bottom: 1rem;
  box-shadow: 0 16px 38px rgba(8, 18, 28, .18);
  color: #17212b;
  display: flex;
  gap: .85rem;
  left: 50%;
  max-width: min(560px, calc(100vw - 2rem));
  padding: 1rem;
  position: fixed;
  transform: translateX(-50%);
  width: max-content;
  z-index: 1070;
}

.push-permission-prompt[hidden] { display: none; }
.push-permission-prompt__icon {
  align-items: center;
  background: #eaf2f8;
  border-radius: 7px;
  color: #1d5f91;
  display: flex;
  flex: 0 0 38px;
  height: 38px;
  justify-content: center;
}
.push-permission-prompt__content { min-width: 0; }
.push-permission-prompt__content strong { display: block; font-size: .95rem; }
.push-permission-prompt__content p {
  color: #596773;
  font-size: .84rem;
  line-height: 1.45;
  margin: .25rem 0 .75rem;
}
.push-permission-prompt__feedback {
  color: #8a4f08;
  display: block;
  font-size: .78rem;
  margin: -.25rem 0 .6rem;
}
.push-permission-prompt__feedback:empty { display: none; }
.push-permission-prompt__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.push-permission-prompt__actions button {
  border-radius: 6px;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 650;
  min-height: 36px;
  padding: .45rem .75rem;
}
.push-permission-prompt__primary {
  background: #1d5f91;
  border: 1px solid #1d5f91;
  color: #fff;
}
.push-permission-prompt__secondary {
  background: #fff;
  border: 1px solid #bdc7cf;
  color: #44515c;
}
.push-permission-prompt__actions button:focus-visible {
  outline: 3px solid rgba(29, 95, 145, .28);
  outline-offset: 2px;
}
.push-permission-prompt__actions button:disabled { cursor: wait; opacity: .65; }

.global-alert-card {
  background: #fff;
  border: 1px solid #d8dee3;
  border-left: 5px solid #c83f3f;
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(8, 18, 28, .2);
  color: #17212b;
  padding: .9rem 1rem;
}

.global-alert-card--em_tratativa { border-left-color: #d69b22; }
.global-alert-card--resolvido { border-left-color: #2f8f5b; }
.global-alert-card strong { display: block; }
.global-alert-card p { color: #596773; font-size: .82rem; margin: .35rem 0 .75rem; }
.global-alert-card__actions { display: flex; gap: .5rem; justify-content: flex-end; }
.global-alert-card__actions a,
.global-alert-card__actions button {
  border: 1px solid #bdc7cf;
  border-radius: 5px;
  background: #fff;
  color: #1d5f91;
  padding: .35rem .65rem;
  text-decoration: none;
}
[data-theme="dark"] .global-alert-card { background: #18232d; border-color: #3a4854; color: #f3f6f8; }
[data-theme="dark"] .global-alert-card p { color: #b7c2cb; }
[data-theme="dark"] .global-alert-card__actions a,
[data-theme="dark"] .global-alert-card__actions button { background: #202e39; border-color: #465664; color: #9dccf5; }
[data-theme="dark"] .push-permission-prompt {
  background: #18232d;
  border-color: #3a4854;
  border-left-color: #6eb4e5;
  color: #f3f6f8;
}
[data-theme="dark"] .push-permission-prompt__icon { background: #223747; color: #9dccf5; }
[data-theme="dark"] .push-permission-prompt__content p { color: #b7c2cb; }
[data-theme="dark"] .push-permission-prompt__feedback { color: #f0bd66; }
[data-theme="dark"] .push-permission-prompt__primary {
  background: #6eb4e5;
  border-color: #6eb4e5;
  color: #10202c;
}
[data-theme="dark"] .push-permission-prompt__secondary {
  background: #202e39;
  border-color: #465664;
  color: #e3eaf0;
}

@media (max-width: 575px) {
  .push-permission-prompt {
    bottom: .75rem;
    left: .75rem;
    max-width: none;
    right: .75rem;
    transform: none;
    width: auto;
  }
}
