/* components/push-nudge/push-nudge.css
 *
 * Push notification opt-in nudge — slim benefit-led banner above the gallery.
 * Less prominent than the PWA nudge: single strip with icon, text, CTA link.
 * Mobile-first.
 */

.push-nudge {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--color-border, #e0e0e0);
  border-left: 4px solid var(--color-secondary, #667eea);
  border-radius: var(--radius-xl, 12px);
  padding: 0.85rem 0.9rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  position: relative;
  animation: push-nudge-in 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes push-nudge-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.push-nudge__icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

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

.push-nudge__title {
  margin: 0 0 0.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text, #1a1a1a);
  line-height: 1.3;
}

.push-nudge__desc {
  margin: 0 0 0.6rem;
  font-size: 0.8125rem;
  color: var(--color-text-light, #666);
  line-height: 1.45;
}

/* Action row */
.push-nudge__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.push-nudge__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: inherit;
  background: var(--color-secondary, #667eea);
  color: #fff;
  border: none;
  border-radius: var(--radius-full, 9999px);
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.push-nudge__btn:active {
  opacity: 0.82;
}

.push-nudge__dismiss {
  font-size: 0.78rem;
  color: var(--color-text-light, #888);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem 0;
  font-family: inherit;
  line-height: 1;
}

.push-nudge__dismiss:active {
  opacity: 0.65;
}

/* Don't-show-again row */
.push-nudge__no-repeat {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.push-nudge__no-repeat input[type="checkbox"] {
  accent-color: var(--color-secondary, #667eea);
  width: 14px;
  height: 14px;
  cursor: pointer;
  flex-shrink: 0;
}

.push-nudge__no-repeat label {
  font-size: 0.75rem;
  color: var(--color-text-light, #888);
  cursor: pointer;
  user-select: none;
}

/* Close × button */
.push-nudge__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--color-text-light, #aaa);
  padding: 0.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}

.push-nudge__close:hover {
  color: var(--color-text, #333);
}
