/* subscribe-widget.css
   Deliberately grayscale. No accent color — this isn't a feature being
   sold, so it shouldn't look like one. Adjust the CSS variables below to
   match whatever grays your site already uses. */

:root {
  --notify-fg: #e8e8e8;
  --notify-fg-dim: #7a7a7a;
  --notify-fg-bright: #f5f5f5;
  --notify-fg-faint: #555555;
  --notify-gold: #d4af37;
  --notify-bg: transparent;
  --notify-border: #3a3a3a;
}

.notify-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
  justify-self: center;
  padding: 0.5rem 1rem;
  border: 1px solid var(--notify-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  z-index: 1;
}

.notify-label {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--notify-fg-dim);
  transition: color 0.2s ease;
}

#notify-toggle.is-on ~ .notify-label {
  color: var(--notify-fg-bright);
}

.notify-note {
  margin-top: 0.4rem;
  font-size: 0.7rem;
  color: var(--notify-fg-dim);
}

.notify-note-gold {
  color: var(--notify-gold);
  font-size: 1rem;
  font-weight: 600;
}

#notify-toggle {
  position: relative;
  width: 2.6rem;
  height: 1.4rem;
  border: 1px solid var(--notify-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

#notify-toggle::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--notify-fg-dim);
  transition: transform 0.2s ease, background 0.2s ease;
}

/* With no off/on text left beside the switch, the track's own background
   carries part of the state signal too — dark/neutral when off, a warm
   gold tint when on — on top of the thumb's color+position and the
   border color. */
#notify-toggle.is-on {
  border-color: var(--notify-gold);
  background: rgba(212, 175, 55, 0.18);
}

#notify-toggle.is-on::after {
  transform: translateX(1.2rem);
  background: var(--notify-gold);
}

#notify-toggle[disabled] {
  opacity: 0.4;
  cursor: default;
}

#notify-toggle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.7rem;
  height: 0.7rem;
  margin: -0.35rem 0 0 -0.35rem;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: var(--notify-fg-bright);
  opacity: 0;
}

#notify-toggle.is-loading::before {
  opacity: 1;
  animation: notify-spin 0.6s linear infinite;
}

#notify-toggle.is-loading::after {
  opacity: 0.25;
}

@keyframes notify-spin {
  to {
    transform: rotate(360deg);
  }
}

#notify-toggle:focus-visible {
  outline: 1px solid var(--notify-fg);
  outline-offset: 2px;
}

.notify-guide-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  /* Matches the blur already used on the site's other overlays
     (.modal-overlay, .first100-modal) so this guide feels like part of
     the same family instead of a one-off popup. */
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  padding: 1.5rem;
}

.notify-guide-modal {
  width: 100%;
  max-width: 320px;
  background: #0a0a0a;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 14px;
  padding: 2.25rem 2rem 2rem;
  /* Deep drop shadow for separation from the page behind the overlay,
     plus a faint gold ambient glow to tie it to the brand accent. */
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(212, 175, 55, 0.1);
}

.notify-guide-dots {
  display: flex;
  gap: 10px;
  margin-bottom: 1.75rem;
}

.notify-guide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--notify-fg-faint);
}

.notify-guide-dot.is-on {
  background: var(--notify-gold);
}

.notify-guide-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--notify-fg-bright);
  margin: 0;
}

.notify-guide-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.25rem;
}

.notify-guide-skip {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--notify-fg);
  padding: 8px 4px;
  transition: color 0.2s ease;
}

.notify-guide-skip:hover {
  color: var(--notify-fg-bright);
}

.notify-guide-next {
  font-family: inherit;
  cursor: pointer;
  background: var(--notify-gold);
  border: 1px solid var(--notify-gold);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 4px;
  transition: filter 0.2s ease, transform 0.15s ease;
}

.notify-guide-next:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* In the fixed navbar there isn't room for the full label on small
   screens (nav-links are hidden below 768px for the same reason) —
   keep just the switch itself so it stays tappable without crowding
   the logo. */
@media (max-width: 768px) {
  .notify-label {
    display: none;
  }

  #notify-toggle {
    border-color: var(--notify-fg-dim);
  }

  #notify-toggle::after {
    background: var(--notify-fg);
  }
}
