/* "You have a stay being set up" (src/Reminder.php, assets/reminder.js):
   centred at the bottom of the page, above the mobile bar. */
.azul-bk-reminder {
  position: fixed;
  left: 50%;
  bottom: calc(var(--azul-bar-h, 0px) + 16px);
  z-index: var(--z-toast, 200);
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: calc(100vw - 48px);
  padding: 5px 5px 5px 18px;
  border: 1px solid var(--azul-line);
  /* Fully rounded: a one-off asked for this toaster (the theme stops at 8px elsewhere). */
  border-radius: 999px;
  background: var(--azul-surface);
  color: var(--azul-ink);
  box-shadow: 0 12px 28px -10px rgba(15, 51, 80, .35), 0 2px 6px rgba(15, 51, 80, .08);
  box-sizing: border-box;
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity .25s ease, transform .25s ease;
}
.azul-bk-reminder.is-shown { opacity: 1; transform: translate(-50%, 0); }

.azul-bk-reminder__text { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .875rem; font-weight: 600; line-height: 1.25; }
.azul-bk-reminder__text .icon { flex: none; width: 18px; height: 18px; color: var(--azul-cta); }
/* Over the theme's .button (48px tall), whatever the order of the sheets. */
.azul-bk-reminder .azul-bk-reminder__go { flex: none; gap: 6px; min-height: 30px; padding: 4px 14px; border-radius: 999px; font-size: .875rem; white-space: nowrap; }
.azul-bk-reminder .azul-bk-reminder__go .icon { width: 16px; height: 16px; }
.azul-bk-reminder__close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid var(--azul-line);
  border-radius: 50%;
  background: var(--azul-surface);
  color: var(--azul-ink-soft);
  box-shadow: var(--azul-shadow);
  cursor: pointer;
}
/* Outside the frame, past its corner: clear of the button. */
.azul-bk-reminder__close:hover { color: var(--azul-ink); }
.azul-bk-reminder__close .icon { width: 12px; height: 12px; }

@media (max-width: 600px) {
  .azul-bk-reminder { width: calc(100vw - 48px); gap: 8px; padding: 5px 5px 5px 16px; }
  .azul-bk-reminder__text { flex: 1 1 0; min-width: 0; font-size: .8125rem; }
  .azul-bk-reminder__text .icon { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .azul-bk-reminder { transition: none; }
}
