/* Overlay & Container */
#rrb-bday-overlay {
  position: fixed;
  inset: 0;
  background: var(--rrb-overlay, rgba(0,0,0,.5));
  z-index: 9998;
}
#rrb-bday-popup {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.98);
  max-width: 560px;
  width: calc(100% - 32px);
  background: #fff;
  border-radius: 14px;
  padding: 18px 18px 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
  z-index: 9999;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}
.rrb-bday-hidden { display: none; }
.rrb-bday-visible #rrb-bday-popup {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Header / Card */
.rrb-bday-card { animation: rrbFadeIn .4s ease; }
.rrb-bday-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.rrb-bday-header img { width: 76px; height: 76px; object-fit: cover; border-radius: 50%; }
.rrb-bday-title { margin: 0; font-size: 1.35rem; line-height: 1.2; }
.rrb-bday-message { margin-top: 8px; }

/* Actions */
.rrb-bday-actions { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:12px; }
.rrb-bday-btn { border: 0; padding: 10px 14px; border-radius: 8px; cursor: pointer; }
.rrb-bday-btn-primary { background: var(--rrb-primary, #0073aa); color: #fff; }
.rrb-bday-btn-secondary { background: var(--rrb-secondary, #eee); }

/* Slider */
.rrb-slider { position: relative; overflow: hidden; }
.rrb-slide { display: none; }
.rrb-slide.active { display: block; }
.rrb-nav { display:flex; gap:8px; align-items:center; }
.rrb-prev, .rrb-next { cursor:pointer; border:0; background:#f2f2f2; padding:8px 10px; border-radius:8px; }
.rrb-dots { display:flex; gap:6px; margin-left:auto; }
.rrb-dot { width:8px; height:8px; border-radius:50%; background:#ddd; }
.rrb-dot.active { background: var(--rrb-dot-active, var(--rrb-primary, #0073aa)); }

/* Subtile Konfetti-Leiste oben */
.rrb-confetti {
  height: 6px; width: 100%; border-radius: 6px;
  background: repeating-linear-gradient(90deg,#ff6b6b 0 16px,#ffd93d 16px 32px,#6bcb77 32px 48px,#4d96ff 48px 64px);
  margin: -6px -6px 10px -6px;
  animation: rrbSlideBg 6s linear infinite;
}

@keyframes rrbFadeIn { from {opacity:0; transform: translateY(4px);} to {opacity:1; transform: translateY(0);} }
@keyframes rrbSlideBg { from { background-position: 0 0; } to { background-position: 200px 0; } }

/* Shortcode-Liste */
.rrb-bday-upcoming ul { list-style:none; padding-left:0; }
.rrb-bday-upcoming li { display:flex; align-items:center; gap:10px; padding:6px 0; border-bottom:1px solid #eee; }
.rrb-bday-upcoming img { width:28px; height:28px; border-radius:50%; object-fit:cover; }

/* Scrollen im Hintergrund verhindern */
body.rrb-bday-visible { overflow: hidden; }


