/* Theme: white background, blue buttons, subtle shadows, no overlap (fixed bottom-right on desktop, full-width bottom on mobile) */

#fcm-subscribe-popup {
  position: fixed;
  z-index: 9999;
  right: 20px;
  bottom: 20px;
  width: 340px;
  max-width: calc(100% - 40px);
  box-sizing: border-box;
}

@media (max-width: 480px) {
  #fcm-subscribe-popup {
    left: 20px;
    right: 20px;
    width: auto;
    bottom: 15px;
  }
}

.fcm-popup {
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  overflow: hidden;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: #1a1f36;
}

.fcm-popup-header {
  padding: 12px 16px;
  border-bottom: 1px solid #eef2f7;
}

.fcm-title {
  font-weight: 600;
  font-size: 16px;
}

.fcm-popup-body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.fcm-popup-icon {
  width: 40px;
  height: 40px;
  background: url("/icons/web-app-manifest-512x512.png") center/cover no-repeat;
  border-radius: 8px;
  flex: 0 0 40px;
}

.fcm-popup-actions {
  display: flex;
  gap: 10px;
  padding: 12px 16px 16px;
  justify-content: flex-end;
}

.fcm-btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}

.fcm-btn.fcm-allow {
  background: #1f6feb; /* blue */
  color: #fff;
  border-color: #1f6feb;
}

.fcm-btn.fcm-allow:hover {
  background: #165bd1;
  border-color: #165bd1;
}

.fcm-btn.fcm-later {
  background: #fff;
  color: #1f6feb;
  border-color: #cdd7e1;
}

.fcm-btn.fcm-later:hover {
  background: #f7fbff;
}