/* Small extras on top of Tailwind (palette lives in base.html tailwind.config). */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #C2CDD2; border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: #147A8A; }

@keyframes speakingRing {
  0% { box-shadow: 0 0 0 0 rgba(20, 122, 138, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(20, 122, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 122, 138, 0); }
}
.speaking-pulse { animation: speakingRing 1.8s infinite; }

@keyframes floatUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: floatUp 0.22s ease-out forwards; }

/* Room chat wallpaper: soft tint with a faint dot pattern, WhatsApp-like but on-brand. */
.chat-wallpaper {
  background-color: #EEF4F5;
  background-image: radial-gradient(rgba(20, 122, 138, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
}

/* Privacy / terms page text */
.legal h2 { font-family: Lora, Georgia, serif; font-size: 1.15rem; font-weight: 600; color: #051A24; margin: 1.75rem 0 0.5rem; }
.legal p { margin: 0.6rem 0; }
.legal ul { list-style: disc; padding-left: 1.25rem; margin: 0.5rem 0; }
.legal li { margin: 0.3rem 0; }
.legal a { color: #0E5B68; text-decoration: underline; }

/* Room countdown: amber pulse once time is up. */
.room-timer.timer-done { background-color: #F59E0B; color: #051A24; animation: timer-pulse 1s ease-in-out infinite; }
.room-timer.timer-done svg { color: #051A24; }
@keyframes timer-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .room-timer.timer-done { animation: none; } }

/* Smooth in-page jumps (landing page "Sign in" / section links). */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
