/* ============================================================================
   NOTIFICATIONS.CSS — Notification opt-in prompt
   Matches the app's dark, glassy aesthetic.
   ============================================================================ */

.notify-prompt {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 16px;
  animation: notifySlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.notify-prompt[hidden] {
  display: none;
}

.notify-prompt__content {
  max-width: 440px;
  margin: 0 auto;
  background: rgba(15, 42, 47, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  box-shadow:
    0 -4px 24px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(0, 194, 204, 0.06);
}

.notify-prompt__icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.notify-prompt__text {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.notify-prompt__text strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--text, #f6fbfc);
  letter-spacing: -0.01em;
}

.notify-prompt__text span {
  font-size: 12px;
  color: var(--text-dim, rgba(246, 251, 252, 0.55));
  font-weight: 500;
}

.notify-prompt__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.notify-prompt__btn {
  padding: 8px 16px;
  border-radius: 10px;
  border: none;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  letter-spacing: 0.02em;
}

.notify-prompt__btn--yes {
  background: var(--p-capri, #00c2cc);
  color: var(--bg0, #0a1a1f);
}

.notify-prompt__btn--yes:hover {
  background: #00d4de;
  transform: translateY(-1px);
}

.notify-prompt__btn--yes:active {
  transform: translateY(0);
}

.notify-prompt__btn--no {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim, rgba(246, 251, 252, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.notify-prompt__btn--no:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text, #f6fbfc);
}

@keyframes notifySlideUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Small screens: stack vertically */
@media (max-width: 380px) {
  .notify-prompt__actions {
    width: 100%;
    justify-content: stretch;
  }

  .notify-prompt__btn {
    flex: 1;
    text-align: center;
  }
}
