.regab-jf-notify-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 30, 48, 0.42);
}

.regab-jf-notify-card {
  width: min(440px, 100%);
  padding: 22px 22px 18px;
  border: 1px solid #d7e3f0;
  border-radius: 16px;
  background: #ffffff;
  color: #1d3148;
  box-shadow: 0 24px 60px rgba(20, 40, 70, 0.18);
}

.regab-jf-notify-eyebrow {
  margin: 0 0 6px;
  color: #3d6fa8;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.regab-jf-notify-card h2 {
  margin: 0 0 8px;
  color: #1d3148;
  font-size: 1.25rem;
  font-weight: 850;
}

.regab-jf-notify-text {
  margin: 0 0 18px;
  color: #5a718a;
  font-size: 0.95rem;
  line-height: 1.45;
}

.regab-jf-notify-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.regab-jf-notify-card .secondary-button {
  background: #eef3f8 !important;
  color: #314860 !important;
  border: 1px solid #cfe0f0 !important;
  box-shadow: none !important;
}

.regab-jf-notify-card .secondary-button:hover {
  background: #e4ecf5 !important;
}

.regab-jf-notify-card .primary-button {
  color: #fff !important;
}

/* Dark mode */
html.theme-dark .regab-jf-notify-backdrop,
html[data-theme="dark"] .regab-jf-notify-backdrop,
body.theme-dark .regab-jf-notify-backdrop {
  background: rgba(4, 14, 28, 0.55);
}

html.theme-dark .regab-jf-notify-card,
html[data-theme="dark"] .regab-jf-notify-card,
body.theme-dark .regab-jf-notify-card {
  border-color: #3d668f;
  background: #0c2744;
  color: #eaf3ff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

html.theme-dark .regab-jf-notify-eyebrow,
html[data-theme="dark"] .regab-jf-notify-eyebrow,
body.theme-dark .regab-jf-notify-eyebrow {
  color: #8eb6e4;
}

html.theme-dark .regab-jf-notify-card h2,
html[data-theme="dark"] .regab-jf-notify-card h2,
body.theme-dark .regab-jf-notify-card h2 {
  color: #eaf3ff;
}

html.theme-dark .regab-jf-notify-text,
html[data-theme="dark"] .regab-jf-notify-text,
body.theme-dark .regab-jf-notify-text {
  color: #b7cce4;
}

html.theme-dark .regab-jf-notify-card .secondary-button,
html[data-theme="dark"] .regab-jf-notify-card .secondary-button,
body.theme-dark .regab-jf-notify-card .secondary-button {
  background: #163556 !important;
  color: #d7e8fb !important;
  border-color: #3d668f !important;
}

html.theme-dark .regab-jf-notify-card .secondary-button:hover,
html[data-theme="dark"] .regab-jf-notify-card .secondary-button:hover,
body.theme-dark .regab-jf-notify-card .secondary-button:hover {
  background: #1b4066 !important;
}

.baserow-action-menu .regab-jf-notify-menu-item,
.baserow-action-menu [data-jf-notify-menu] {
  display: flex !important;
  width: 100%;
  min-height: 36px;
  margin-top: 4px;
  padding: 0 10px !important;
  border-top: 1px solid rgba(148, 183, 225, 0.22);
  border-radius: 0 0 10px 10px !important;
  background: transparent !important;
  color: #2f6fed !important;
  font-weight: 800 !important;
  justify-content: flex-start !important;
}

.baserow-action-menu .regab-jf-notify-menu-item:hover,
.baserow-action-menu [data-jf-notify-menu]:hover {
  background: rgba(47, 111, 237, 0.1) !important;
}

html.theme-dark .baserow-action-menu .regab-jf-notify-menu-item,
html[data-theme="dark"] .baserow-action-menu .regab-jf-notify-menu-item,
body.theme-dark .baserow-action-menu .regab-jf-notify-menu-item,
html.theme-dark .baserow-action-menu [data-jf-notify-menu],
html[data-theme="dark"] .baserow-action-menu [data-jf-notify-menu],
body.theme-dark .baserow-action-menu [data-jf-notify-menu] {
  color: #9fc8ff !important;
}

html.theme-dark .baserow-action-menu .regab-jf-notify-menu-item:hover,
html[data-theme="dark"] .baserow-action-menu .regab-jf-notify-menu-item:hover,
body.theme-dark .baserow-action-menu .regab-jf-notify-menu-item:hover,
html.theme-dark .baserow-action-menu [data-jf-notify-menu]:hover,
html[data-theme="dark"] .baserow-action-menu [data-jf-notify-menu]:hover,
body.theme-dark .baserow-action-menu [data-jf-notify-menu]:hover {
  background: rgba(83, 154, 255, 0.16) !important;
}


/* Marker-only actions hidden from Jour-Fix row menu */
.baserow-action-menu button[title="Baubeginnanzeige"],
.baserow-action-menu button[title="Sperrgenehmigung"],
.baserow-action-menu button[title="Rechnung"] {
  display: none !important;
}
