.nk-push-prompt,
.nk-push-prompt * {
  box-sizing: border-box;
}

.nk-push-prompt {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9990;
  width: min(620px, calc(100vw - 32px));
  background: #fff;
  color: #111827;
  border: 1px solid #e5e7eb;
  border-radius: 3px;
  box-shadow: 0 20px 55px rgba(15, 23, 42, .18);
  overflow: visible;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}

.nk-push-prompt.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear 0s;
}

.nk-push-prompt.is-hiding {
  opacity: 0;
  visibility: visible;
  transform: translateY(8px);
  pointer-events: none;
}

body.admin-bar .nk-push-prompt {
  z-index: 9990;
}

.nk-push-prompt__content {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 20px;
  align-items: start;
}

.nk-push-prompt__media {
  width: 92px;
  height: 92px;
  border-radius: 3px;
  background: #eef2f7;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.nk-push-prompt__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nk-push-prompt__media-fallback {
  font-size: 34px;
  line-height: 1;
}

.nk-push-prompt__body {
  min-width: 0;
}

.nk-push-prompt__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #6b7280;
  margin-bottom: 10px;
}

.nk-push-prompt__title {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 10px;
  color: #111827;
}

.nk-push-prompt__text {
  font-size: 15px;
  line-height: 1.5;
  color: #374151;
}

.nk-push-prompt__field {
  margin-top: 16px;
}

.nk-push-prompt__label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  color: #111827;
}

.nk-push-autocomplete {
  position: relative;
}

.nk-push-autocomplete--open-up .nk-push-autocomplete__menu {
  top: auto;
  bottom: calc(100% + 6px);
}

.nk-push-autocomplete__input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.2;
  color: #111827;
  background: #fff;
}

.nk-push-autocomplete__input:focus {
  outline: none;
  border-color: #31475d;
  box-shadow: 0 0 0 3px rgba(49, 71, 93, .12);
}

.nk-push-autocomplete__menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  border: 1px solid #dbe3ec;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .14);
  max-height: min(320px, var(--nk-push-menu-max-height, 320px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.nk-push-autocomplete__option,
.nk-push-autocomplete__empty {
  display: block;
  width: 100%;
  padding: 11px 13px;
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
  border: 0;
  background: transparent;
  color: #111827;
}

.nk-push-autocomplete__option {
  cursor: pointer;
}

.nk-push-autocomplete__option:hover {
  background: #f8fafc;
}

.nk-push-autocomplete__empty {
  color: #64748b;
}

.nk-push-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.nk-push-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  border: 1px solid #c8d6e5;
  background: #eef4fb;
  color: #0f172a;
  border-radius: 999px;
  padding: 7px 10px;
}

.nk-push-chip__text {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
}

.nk-push-chip__remove {
  appearance: none;
  border: 0;
  background: transparent;
  color: #475569;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.nk-push-chip__remove:hover {
  color: #111827;
}

.nk-push-prompt__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
}

.nk-push-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  background: #31475d;
  color: #fff;
  box-shadow: 0 4px 10px rgba(49, 71, 93, .18);
}

.nk-push-btn:hover {
  transform: translateY(-1px);
  background: #24384c;
}

.nk-push-btn:disabled {
  opacity: .7;
  cursor: wait;
  transform: none;
}

.nk-push-btn--ghost {
  background: transparent;
  color: #475569;
  border-color: transparent;
  box-shadow: none;
  padding-left: 8px;
  padding-right: 8px;
}

.nk-push-btn--ghost:hover {
  background: transparent;
  color: #1f2937;
}

.nk-push-prompt__status {
  min-height: 20px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.4;
  color: #475569;
}

.nk-push-prompt__status.is-error {
  color: #b91c1c;
}

.nk-push-prompt__status.is-success {
  color: #15803d;
}

.nk-push-prompt__hint {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: #475569;
}

.nk-push-prompt__hint.is-warning {
  color: #9a3412;
}

.nk-push-prompt__hint.is-error {
  color: #b91c1c;
}

@media (max-width: 760px) {
  .nk-push-prompt {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
  }

  .nk-push-prompt__content {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .nk-push-prompt__media {
    width: 64px;
    height: 64px;
  }

  .nk-push-prompt__title {
    font-size: 18px;
  }
}

@media (max-width: 540px) {
  .nk-push-prompt__content {
    grid-template-columns: 1fr;
  }

  .nk-push-prompt__media {
    width: 56px;
    height: 56px;
  }

  .nk-push-prompt__actions {
    gap: 10px;
  }

  .nk-push-btn {
    width: 100%;
    justify-content: center;
  }

  .nk-push-btn--ghost {
    width: auto;
    padding-left: 0;
    padding-right: 0;
  }
}
