/* First-class host for live uiNotify confirmations and errors. */

#notify-backdrop {
  z-index: 13000;
  padding: 24px;
  background: rgba(4, 7, 10, 0.78);
}

#notify-backdrop .notify-sheet {
  position: relative;
  width: min(420px, 100%);
  max-width: calc(100vw - 32px);
  padding: 18px;
  border: 1px solid rgba(var(--amber-rgb), 0.24);
  border-radius: 4px;
  background: linear-gradient(180deg, #131920, #0a0e13);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.66);
}

#notify-backdrop .notify-sheet::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber-hot), var(--amber) 42%, transparent 92%);
  content: "";
}

.notify-sheet__eyebrow {
  margin: 0 0 6px;
  color: rgba(var(--amber-rgb), 0.9);
  font-family: Rajdhani, "Arial Narrow", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#notify-title {
  margin: 0;
  color: var(--ink);
  font-family: Rajdhani, "Arial Narrow", sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.1;
  text-transform: uppercase;
}

.notify-sheet__message {
  margin: 12px 0 0;
  color: #aab3bc;
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
}

#notify-actions.notify-sheet__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}

#notify-backdrop .btn {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  outline: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 0 1px rgba(159, 181, 201, 0.26);
  clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
  color: #d1d7dd;
  cursor: pointer;
  font-family: Rajdhani, "Arial Narrow", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

#notify-backdrop .btn-primary,
#notify-backdrop .btn-accent {
  background: linear-gradient(180deg, var(--amber-hot), var(--amber) 52%, #d87800);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22);
  color: #1c1305;
}

#notify-backdrop .btn-danger {
  background: linear-gradient(180deg, #ff8178, var(--danger) 58%, #c83931);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  color: #180605;
}

#notify-backdrop .btn:hover,
#notify-backdrop .btn:focus-visible {
  outline: 2px solid rgba(var(--amber-rgb), 0.72);
  outline-offset: 2px;
}

@media (max-width: 520px) {
  #notify-actions.notify-sheet__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  #notify-backdrop .btn {
    width: 100%;
  }
}
