.nl-push-widget {
  --nl-push-gap: 16px;
  box-sizing: border-box;
  width: 100%;
}

.nl-push-widget[hidden],
.nl-push-widget [hidden] {
  display: none !important;
}

.nl-push-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--nl-push-gap);
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #fff;
  color: #111;
}

.nl-push-widget--sticky .nl-push-shell {
  position: fixed;
  inset-inline: 16px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  width: auto;
  max-width: 820px;
  margin-inline: auto;
  z-index: 9999;
  transform: none;
  animation: nlPushEnter 180ms ease-out both;
  border-color: #3a1012;
  background: #0b0b0b;
  color: #fff;
}

.nl-push-widget--sticky.nl-push-widget--align-start .nl-push-shell {
  inset-inline-start: 16px;
  inset-inline-end: auto;
  width: calc(100vw - 32px);
  margin-inline: 0;
  transform: none;
}

.nl-push-widget--sticky.nl-push-widget--align-end .nl-push-shell {
  inset-inline-start: auto;
  inset-inline-end: 16px;
  width: calc(100vw - 32px);
  margin-inline: 0;
  transform: none;
}

.nl-push-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  background: #92171b;
  color: #fff;
  line-height: 1;
}

.nl-push-icon i,
.nl-push-icon svg {
  display: block;
  fill: currentColor;
}

.nl-push-copy {
  min-width: 0;
  flex: 1 1 260px;
}

.nl-push-widget.has-close .nl-push-copy {
  padding-inline-end: 32px;
}

.nl-push-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.nl-push-description {
  margin: 5px 0 0;
  color: #4a4a4a;
  line-height: 1.5;
}

.nl-push-status {
  margin-top: 9px;
  color: #333;
  font-size: 13px;
  line-height: 1.45;
}

.nl-push-help {
  margin: 5px 0 0;
  color: #333;
  font-size: 12px;
  line-height: 1.5;
}

.nl-push-widget--sticky .nl-push-title {
  color: #fff;
}

.nl-push-widget--sticky .nl-push-description {
  color: #d1d5db;
}

.nl-push-widget--sticky .nl-push-status,
.nl-push-widget--sticky .nl-push-help {
  color: #e5e7eb;
}

.nl-push-widget[data-state="active"] .nl-push-status {
  color: #16743a;
}

.nl-push-widget--sticky[data-state="active"] .nl-push-status {
  color: #4ade80;
}

.nl-push-widget[data-state="blocked"] .nl-push-status,
.nl-push-widget[data-state="admin-disabled"] .nl-push-status,
.nl-push-widget[data-state="error"] .nl-push-status {
  color: #b42318;
}

.nl-push-widget--sticky[data-state="blocked"] .nl-push-status,
.nl-push-widget--sticky[data-state="admin-disabled"] .nl-push-status,
.nl-push-widget--sticky[data-state="error"] .nl-push-status {
  color: #fca5a5;
}

.nl-push-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 1 auto;
  gap: 9px;
  flex-wrap: wrap;
}

.nl-push-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid transparent;
  background: transparent;
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.nl-push-button:hover {
  transform: translateY(-1px);
}

.nl-push-button:focus-visible,
.nl-push-close:focus-visible {
  outline: 3px solid rgba(146, 23, 27, 0.34);
  outline-offset: 2px;
}

.nl-push-button:disabled {
  opacity: 0.58;
  cursor: wait;
  transform: none;
}

.nl-push-button--primary {
  border-color: #ca2027;
  background: #ca2027;
  color: #fff;
}

.nl-push-button--primary:hover,
.nl-push-button--primary:focus-visible {
  border-color: #92171b;
  background: #92171b;
}

.nl-push-button--secondary {
  border-color: #111;
  background: #fff;
  color: #111;
}

.nl-push-button--secondary:hover,
.nl-push-button--secondary:focus-visible {
  border-color: #111;
  background: #111;
  color: #fff;
}

.nl-push-button--danger {
  border-color: #92171b;
  color: #92171b;
}

.nl-push-widget--legacy-blue .nl-push-button--primary {
  border-color: #ca2027 !important;
  background: #ca2027 !important;
}

.nl-push-widget--legacy-blue .nl-push-button--primary:hover,
.nl-push-widget--legacy-blue .nl-push-button--primary:focus-visible {
  border-color: #92171b !important;
  background: #92171b !important;
}

.nl-push-widget--legacy-blue .nl-push-button--secondary {
  border-color: #111 !important;
  color: #111 !important;
}

.nl-push-widget--legacy-blue .nl-push-button--secondary:hover,
.nl-push-widget--legacy-blue .nl-push-button--secondary:focus-visible {
  border-color: #111 !important;
  background: #111 !important;
  color: #fff !important;
}

.nl-push-widget--legacy-blue .nl-push-title {
  color: #111 !important;
}

.nl-push-widget--legacy-blue .nl-push-description {
  color: #4a4a4a !important;
}

.nl-push-widget--legacy-blue.nl-push-widget--sticky .nl-push-shell {
  border-color: #3a1012 !important;
  background: #0b0b0b !important;
  color: #fff !important;
}

.nl-push-widget--legacy-blue.nl-push-widget--sticky .nl-push-title {
  color: #fff !important;
}

.nl-push-widget--legacy-blue.nl-push-widget--sticky .nl-push-description {
  color: #d1d5db !important;
}

.nl-push-widget--legacy-blue.nl-push-widget--sticky .nl-push-status,
.nl-push-widget--legacy-blue.nl-push-widget--sticky .nl-push-help {
  color: #e5e7eb !important;
}

.nl-push-widget--legacy-blue.nl-push-widget--sticky[data-state="active"] .nl-push-status {
  color: #4ade80 !important;
}

.nl-push-widget--legacy-blue.nl-push-widget--sticky[data-state="blocked"] .nl-push-status,
.nl-push-widget--legacy-blue.nl-push-widget--sticky[data-state="admin-disabled"] .nl-push-status,
.nl-push-widget--legacy-blue.nl-push-widget--sticky[data-state="error"] .nl-push-status {
  color: #fca5a5 !important;
}

.nl-push-close {
  appearance: none;
  position: absolute;
  inset-block-start: 8px;
  inset-inline-end: 8px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: currentColor;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.66;
}

.nl-push-close:hover {
  background: rgba(15, 23, 42, 0.08);
  opacity: 1;
}

.nl-push-widget.is-working .nl-push-shell {
  opacity: 0.86;
}

.nl-push-widget.is-elementor-preview .nl-push-shell {
  position: relative;
  inset: auto;
  transform: none;
  animation: none;
}

@keyframes nlPushEnter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  .nl-push-shell {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nl-push-copy {
    flex-basis: calc(100% - 64px);
  }

  .nl-push-actions {
    width: 100%;
    justify-content: stretch;
  }

  .nl-push-button {
    flex: 1 1 150px;
  }
}

@media (max-width: 420px) {
  .nl-push-widget--sticky .nl-push-shell {
    inset-inline: 10px;
    width: auto;
    margin-inline: auto;
    transform: none;
  }

  .nl-push-widget--sticky .nl-push-icon {
    width: 42px;
    height: 42px;
  }

  .nl-push-copy {
    flex-basis: calc(100% - 58px);
  }

  .nl-push-button {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nl-push-widget--sticky .nl-push-shell,
  .nl-push-button {
    animation: none;
    transition: none;
  }
}
