/* Compact premium push bar — dark / gold La Margherita */
.push-notify {
  --push-border: rgba(201, 162, 39, 0.32);
  --push-bg: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%);
  --push-text: var(--color-cream, #f3ede3);
  --push-muted: rgba(243, 237, 227, 0.62);
  --push-accent: var(--color-gold, #c9a227);

  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
  padding: 0.55rem 0.7rem;
  min-height: 56px;
  border-radius: 12px;
  border: 1px solid var(--push-border);
  background: var(--push-bg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  color: var(--push-text);
}

.push-notify__body {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  flex: 1 1 auto;
  min-width: 0;
}

.push-notify__body::before {
  content: "🔔";
  flex-shrink: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.push-notify__content {
  flex: 1 1 auto;
  min-width: 0;
}

.push-notify__text {
  margin: 0;
  font-family: var(--font-heading, "Playfair Display", serif);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--push-text);
}

.push-notify__hint {
  margin: 0.15rem 0 0;
  font-family: var(--font-body, "Montserrat", sans-serif);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--push-muted);
}

.push-notify__actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.45rem;
}

.push-notify__btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  min-height: 40px;
  min-width: 40px;
  padding: 0.45rem 0.85rem;
  font-family: var(--font-body, "Montserrat", sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.push-notify__btn:focus-visible {
  outline: 2px solid var(--push-accent);
  outline-offset: 2px;
}

.push-notify__btn--primary {
  background: var(--push-accent);
  color: var(--color-dark, #121212);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.push-notify__btn--primary:hover {
  background: var(--color-gold-light, #d4af37);
}

.push-notify__btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--push-muted);
  border: 1px solid rgba(243, 237, 227, 0.16);
}

.push-notify__btn--ghost:hover {
  color: var(--push-text);
  border-color: rgba(243, 237, 227, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.push-notify__btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Active — thin green border, no large empty block */
.push-notify--active {
  --push-border: rgba(72, 187, 120, 0.45);
  min-height: 58px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.push-notify--active .push-notify__body::before {
  filter: saturate(1.1);
}

.push-notify--warning {
  --push-border: rgba(184, 50, 42, 0.42);
}

.push-notify--info {
  --push-border: rgba(201, 162, 39, 0.38);
}

/* Message-only states (denied, iOS install): no action column */
.push-notify--message-only {
  min-height: 0;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.push-notify--message-only .push-notify__body {
  align-items: center;
}

.push-notify--message-only .push-notify__text {
  font-family: var(--font-body, "Montserrat", sans-serif);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--push-muted);
}

/* Narrow phones: keep one row, allow hint to wrap under title only */
@media (max-width: 430px) {
  .push-notify {
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
    min-height: 54px;
  }

  .push-notify__text {
    font-size: 0.84rem;
  }

  .push-notify__hint {
    font-size: 0.68rem;
  }

  .push-notify__btn {
    min-height: 38px;
    padding: 0.4rem 0.7rem;
    font-size: 0.74rem;
  }

  .push-notify--active {
    align-items: center;
  }
}

@media (max-width: 360px) {
  .push-notify__btn--ghost {
    padding-inline: 0.6rem;
    font-size: 0.72rem;
  }
}

/* Desktop: stay compact, don't stretch vertically */
@media (min-width: 768px) {
  .push-notify {
    max-width: 640px;
    margin-inline: auto;
    min-height: 58px;
    padding: 0.55rem 0.85rem;
  }
}
