@import "tailwindcss";

/* ==========================================================================
   Fonts
   ========================================================================== */

@font-face {
  font-family: 'Cantarell';
  src: url("/fonts/Cantarell-VF.otf") format('opentype');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Theme Configuration - Primary Colors
   ========================================================================== */

@theme {
  /* Override lg breakpoint for navigation (tablet boundary) */
  --breakpoint-lg: 1020px;

  --color-primary-50: #eff6ff;
  --color-primary-100: #dbeafe;
  --color-primary-200: #bfdbfe;
  --color-primary-300: #93c5fd;
  --color-primary-400: #60a5fa;
  --color-primary-500: #4287f5;
  --color-primary-600: #4287f5;
  --color-primary-700: #2563eb;
  --color-primary-800: #1e40af;
  --color-primary-900: #1e3a8a;
}

/* ==========================================================================
   Design Tokens
   ========================================================================== */

@layer base {
  :root {
    --tn-spacing-1: 0.25rem;
    --tn-spacing-2: 0.5rem;
    --tn-spacing-3: 0.75rem;
    --tn-spacing-4: 1rem;
    --tn-spacing-5: 1.25rem;
    --tn-spacing-6: 1.5rem;
    --tn-spacing-8: 2rem;
    --tn-spacing-10: 2.5rem;

    --tn-radius-md: 0.5rem;
    --tn-radius-lg: 0.625rem;
    --tn-radius-xl: 0.75rem;
    --tn-radius-2xl: 1rem;

    --tn-color-primary-start: #4287f5;
    --tn-color-primary-end: #2563eb;
    --tn-color-orange-500: #f97316;
    --tn-color-border: #e5e7eb;
    --tn-color-muted: #6b7280;
    --tn-color-bg: #f9fafb;
  }

  /* Safe area for iOS devices (notch, home indicator) */
  .safe-area-bottom {
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  /* PWA standalone mode - extra padding for home indicator area */
  @media (display-mode: standalone) {
    .safe-area-bottom {
      padding-bottom: max(env(safe-area-inset-bottom, 0), 1rem);
    }
  }

  body {
    font-family: 'Cantarell', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Helvetica Neue', Arial, sans-serif;
  }
}

/* ==========================================================================
   Components
   ========================================================================== */

@layer components {
  /* Cards --------------------------------------------------------------- */
  .tn-card {
    border-radius: var(--tn-radius-2xl);
    padding: var(--tn-spacing-6);
    @apply bg-white shadow-sm;
  }

  .tn-card__header {
    border-bottom: 1px solid var(--tn-color-border);
    margin: calc(var(--tn-spacing-6) * -1);
    margin-bottom: var(--tn-spacing-6);
    border-top-left-radius: var(--tn-radius-2xl);
    border-top-right-radius: var(--tn-radius-2xl);
    padding: var(--tn-spacing-5) var(--tn-spacing-6);
    @apply bg-white;
  }

  .tn-card__header--gradient {
    @apply bg-gradient-to-r from-gray-50 to-slate-100;
  }

  .tn-card__title {
    @apply text-lg font-semibold text-gray-900;
  }

  .tn-card__subtitle {
    @apply text-sm text-gray-600 mt-1;
  }

  .tn-card__body {
    @apply space-y-6;
  }

  /* Buttons ------------------------------------------------------------- */
  .tn-btn {
    border-radius: var(--tn-radius-lg);
    padding-inline: var(--tn-spacing-6);
    padding-block: var(--tn-spacing-3);
    @apply inline-flex items-center justify-center font-medium transition-all focus:outline-none focus:ring-2 focus:ring-offset-2;
  }

  .tn-btn--sm {
    padding-inline: var(--tn-spacing-4);
    padding-block: var(--tn-spacing-2);
    border-radius: var(--tn-radius-md);
    @apply text-sm;
  }

  .tn-btn--lg {
    padding-inline: var(--tn-spacing-8);
    padding-block: var(--tn-spacing-4);
    border-radius: var(--tn-radius-xl);
    @apply text-lg;
  }

  .tn-btn--primary {
    @apply text-white shadow-md hover:shadow-lg;
    background-image: linear-gradient(135deg, var(--tn-color-primary-start), var(--tn-color-primary-end));
    @apply focus:ring-primary-500;
  }

  .tn-btn--secondary {
    @apply border border-gray-300 text-gray-700 hover:bg-gray-50 focus:ring-gray-500;
    background-color: white;
  }

  .tn-btn--danger {
    @apply bg-red-600 text-white hover:bg-red-700 shadow-md hover:shadow-lg focus:ring-red-500;
  }

  .tn-btn--success {
    @apply bg-emerald-600 text-white hover:bg-emerald-700 shadow-md hover:shadow-lg focus:ring-emerald-500;
  }

  .tn-btn--success-outline {
    @apply border border-emerald-300 text-emerald-700 hover:bg-emerald-50 focus:ring-emerald-500;
    background-color: white;
  }

  .tn-btn--ghost {
    @apply text-gray-700 hover:bg-gray-100 focus:ring-gray-500;
  }

  /* Inputs -------------------------------------------------------------- */
  .tn-input {
    border-radius: var(--tn-radius-lg);
    padding-inline: var(--tn-spacing-4);
    padding-block: var(--tn-spacing-3);
    @apply w-full border border-gray-300 text-gray-900 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-transparent transition-colors;
  }

  .tn-input--textarea {
    @apply resize-none;
  }

  /* Badges -------------------------------------------------------------- */
  .tn-badge {
    border-radius: 9999px;
    padding-inline: var(--tn-spacing-3);
    padding-block: var(--tn-spacing-2);
    @apply inline-flex items-center text-sm font-medium;
  }

  .tn-badge--success { @apply bg-green-100 text-green-800; }
  .tn-badge--warning { @apply bg-yellow-100 text-yellow-800; }
  .tn-badge--danger { @apply bg-red-100 text-red-800; }
  .tn-badge--info { @apply bg-blue-100 text-blue-800; }
  .tn-badge--purple { @apply bg-primary-100 text-primary-800; }

  .tn-badge--sm {
    padding-inline: var(--tn-spacing-2);
    padding-block: var(--tn-spacing-1);
    @apply text-xs;
  }

  /* Page header --------------------------------------------------------- */
  .tn-page-header {
    @apply flex items-center justify-between mb-6 flex-wrap gap-4;
  }

  /* Sidebar ------------------------------------------------------------- */
  .tn-sidebar {
    width: 5.5rem;
    background-color: white;
    border: 1px solid var(--tn-color-border);
    border-radius: var(--tn-radius-2xl);
    @apply flex flex-col shadow-sm self-start sticky top-4;
  }

  .tn-sidebar__header {
    @apply py-3 px-2 text-center border-b border-gray-100 rounded-t-2xl;
  }

  .tn-sidebar__title {
    @apply text-[0.6rem] font-semibold text-gray-400 uppercase tracking-wider;
  }

  .tn-sidebar__list {
    @apply flex-1 flex flex-col items-center gap-1 py-3;
  }

  .tn-sidebar__item {
    border-radius: var(--tn-radius-xl);
    width: 4.25rem;
    height: 4.25rem;
    @apply flex flex-col items-center justify-center text-gray-500 transition-all hover:bg-gray-100 hover:text-gray-900;
  }

  .tn-sidebar__item--active {
    @apply text-primary-600 shadow-sm bg-primary-50;
  }

  .tn-sidebar__label {
    @apply text-[0.65rem] font-medium mt-1;
  }

  .tn-sidebar__footer {
    @apply py-3 px-2 border-t border-gray-100;
  }

  /* Alerts -------------------------------------------------------------- */
  .tn-alert {
    border-left: 4px solid;
    border-radius: var(--tn-radius-lg);
    padding: var(--tn-spacing-4);
    @apply mb-4;
  }

  .tn-alert--info { @apply bg-blue-50 border-blue-400 text-blue-800; }
  .tn-alert--success { @apply bg-green-50 border-green-400 text-green-800; }
  .tn-alert--warning { @apply bg-yellow-50 border-yellow-400 text-yellow-800; }
  .tn-alert--danger { @apply bg-red-50 border-red-400 text-red-800; }

  /* Mobile drawer -------------------------------------------------------- */
  .drawer-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .drawer-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .drawer-panel {
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
  }

  .drawer-panel.is-visible {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.scrollbar-thin {
  scrollbar-width: thin;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Confirm modal animation */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in {
  animation: fade-in 0.15s ease-out;
}

/* Gentle highlight animation for updated items */
@keyframes gentle-highlight {
  0% {
    background-color: rgba(var(--color-primary-100), 0.5);
  }
  100% {
    background-color: transparent;
  }
}

.animate-gentle-highlight {
  animation: gentle-highlight 2s ease-out;
}

/* Landing pages — dark gradient background */
.landing-dark {
  background: linear-gradient(160deg, #1e1b4b 0%, #4c1d95 45%, #1e1b4b 100%);
}

.alpha-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fde68a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ==========================================================================
   Landing pages — keyframes
   ========================================================================== */

@keyframes coinRise {
  0%   { transform: translateY(0px) rotate(0deg) scale(0.8); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 0.6; }
  100% { transform: translateY(-110vh) rotate(540deg) scale(1.1); opacity: 0; }
}

@keyframes floatUp {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  8%   { opacity: 0.6; }
  92%  { opacity: 0.4; }
  100% { transform: translateY(-110vh) rotate(480deg); opacity: 0; }
}

@keyframes bob {
  0%, 100% { transform: translateY(0px) rotate(-6deg) scale(1); }
  50%       { transform: translateY(-16px) rotate(6deg) scale(1.07); }
}

@keyframes bobB {
  0%, 100% { transform: translateY(0px) rotate(4deg) scale(1); }
  50%       { transform: translateY(-20px) rotate(-4deg) scale(1.05); }
}

@keyframes bobC {
  0%, 100% { transform: translateY(-8px) rotate(-3deg); }
  50%       { transform: translateY(8px) rotate(3deg); }
}

@keyframes glowGold {
  0%, 100% { box-shadow: 0 8px 32px rgba(251, 191, 36, 0.45); }
  50%       { box-shadow: 0 12px 56px rgba(251, 191, 36, 0.85), 0 0 80px rgba(251, 191, 36, 0.25); }
}

@keyframes glowCTA {
  0%, 100% { box-shadow: 0 8px 32px rgba(124, 58, 237, 0.45); }
  50%       { box-shadow: 0 12px 56px rgba(124, 58, 237, 0.8), 0 0 80px rgba(124, 58, 237, 0.2); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
  0%  { transform: scale(0.6); opacity: 0; }
  70% { transform: scale(1.08); }
  100%{ transform: scale(1); opacity: 1; }
}

@keyframes lp-pulse-ring {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15%       { transform: scale(1.2); }
  30%       { transform: scale(1); }
  45%       { transform: scale(1.1); }
}

/* ==========================================================================
   Landing pages — coin rain
   ========================================================================== */

.lp-coin {
  position: absolute;
  pointer-events: none;
  bottom: -60px;
  animation: coinRise linear infinite;
}

.lp-coin-float {
  position: absolute;
  pointer-events: none;
  bottom: -40px;
  animation: floatUp linear infinite;
}

.c1  { left:  3%; font-size: 2.2rem; animation-duration:  7s;   animation-delay: 0s;    }
.c2  { left: 11%; font-size: 1.4rem; animation-duration:  5.5s; animation-delay: 1.8s;  }
.c3  { left: 20%; font-size: 2.8rem; animation-duration:  8s;   animation-delay: 0.4s;  }
.c4  { left: 31%; font-size: 1.6rem; animation-duration:  6s;   animation-delay: 2.9s;  }
.c5  { left: 43%; font-size: 3rem;   animation-duration:  9s;   animation-delay: 1.1s;  }
.c6  { left: 53%; font-size: 1.3rem; animation-duration:  5s;   animation-delay: 3.5s;  }
.c7  { left: 62%; font-size: 2.4rem; animation-duration:  7.5s; animation-delay: 0.7s;  }
.c8  { left: 73%; font-size: 1.8rem; animation-duration:  6.5s; animation-delay: 2.2s;  }
.c9  { left: 83%; font-size: 2rem;   animation-duration:  8.5s; animation-delay: 0.9s;  }
.c10 { left: 91%; font-size: 1.5rem; animation-duration:  6s;   animation-delay: 4s;    }
.c11 { left: 47%; font-size: 1.2rem; animation-duration:  5.5s; animation-delay: 5s;    }
.c12 { left: 25%; font-size: 2rem;   animation-duration:  7s;   animation-delay: 3.2s;  }

.p1 { left:  4%; font-size: 1.6rem; animation-duration: 7s;   animation-delay: 0s;   }
.p2 { left: 16%; font-size: 1.2rem; animation-duration: 5.5s; animation-delay: 2.1s; }
.p3 { left: 30%; font-size: 2rem;   animation-duration: 8s;   animation-delay: 0.6s; }
.p4 { left: 50%; font-size: 1.4rem; animation-duration: 6.5s; animation-delay: 3.2s; }
.p5 { left: 66%; font-size: 1.9rem; animation-duration: 7.5s; animation-delay: 1s;   }
.p6 { left: 80%; font-size: 1.3rem; animation-duration: 5s;   animation-delay: 1.9s; }
.p7 { left: 93%; font-size: 2.2rem; animation-duration: 9s;   animation-delay: 0.4s; }

/* ==========================================================================
   Landing pages — animation utilities
   ========================================================================== */

.emoji-a { animation: bob  3.2s ease-in-out infinite;       display: inline-block; }
.emoji-b { animation: bobB 4s   ease-in-out infinite 0.8s;  display: inline-block; }
.emoji-c { animation: bobC 3.6s ease-in-out infinite 0.3s;  display: inline-block; }

.glow-btn { animation: glowGold 2.2s ease-in-out infinite; }
.glow-cta { animation: glowCTA  2.5s ease-in-out infinite; }

.heart    { animation: heartbeat 2.2s ease-in-out infinite; display: inline-block; }

.fade-up-1 { animation: fadeUp 0.7s ease-out 0.1s  both; }
.fade-up-2 { animation: fadeUp 0.7s ease-out 0.25s both; }
.fade-up-3 { animation: fadeUp 0.7s ease-out 0.4s  both; }
.fade-up-4 { animation: fadeUp 0.7s ease-out 0.55s both; }

.fade-1 { animation: fadeSlide 0.6s ease-out 0.05s both; }
.fade-2 { animation: fadeSlide 0.6s ease-out 0.2s  both; }
.fade-3 { animation: fadeSlide 0.6s ease-out 0.35s both; }
.fade-4 { animation: fadeSlide 0.6s ease-out 0.5s  both; }

.step-pop-1 { animation: popIn 0.5s ease-out 0.05s both; }
.step-pop-2 { animation: popIn 0.5s ease-out 0.2s  both; }
.step-pop-3 { animation: popIn 0.5s ease-out 0.35s both; }

.lp-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 9999px;
  border: 3px solid rgba(251, 191, 36, 0.5);
  animation: lp-pulse-ring 1.8s ease-out infinite;
}

.shimmer-text {
  background: linear-gradient(90deg, #fbbf24 0%, #fff 40%, #fbbf24 60%, #f59e0b 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.card-hover { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card-hover:hover { transform: translateY(-2px); box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18); }

/* ==========================================================================
   Landing pages — layout & components
   ========================================================================== */

.lp-hero    { min-height: calc(100vh - 72px); }
.lp-section { min-height: calc(100vh - 68px); }

.lp-glow-orb {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.lp-glow-orb--sm {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.2) 0%, transparent 70%);
}

/* Auth page centering wrapper */
.lp-auth-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 5rem);
}

/* Two-column layout for sign-up */
.lp-auth-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  width: 100%;
  max-width: 960px;
}
.lp-auth-col--form { flex: 1 1 400px; min-width: 0; }
.lp-auth-col--side { flex: 1 1 260px; min-width: 0; }

/* Auth footer links */
.lp-auth-footer {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}
.lp-auth-footer a       { color: white; font-weight: 700; }
.lp-auth-footer a.muted { color: rgba(255, 255, 255, 0.4); font-size: 0.8rem; font-weight: 400; }

.lp-card {
  background: white;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.lp-glass {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.lp-avatar {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.lp-email-badge {
  background: rgba(251, 191, 36, 0.2);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.lp-muted   { color: rgba(255, 255, 255, 0.55); }
.lp-arrow   { color: rgba(251, 191, 36, 0.5); }

.lp-headline {
  font-size: clamp(2.4rem, 8vw, 4.5rem);
}

.lp-subline {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.lp-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
}

.lp-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 2px solid #e5e7eb;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
  background: #f9fafb;
  outline: none;
  transition: border-color 0.15s;
}
.lp-input:focus { border-color: #7c3aed; }
.lp-input--phone { padding-left: 3rem; }

.lp-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 900;
  color: #111827;
  background: linear-gradient(135deg, #fde68a, #fbbf24, #f59e0b);
  border: none;
  cursor: pointer;
  transition: transform 0.15s;
}
.lp-submit:hover  { transform: scale(1.05); }
.lp-submit:active { transform: scale(0.95); }

.lp-pwa-btn {
  padding: 0.625rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
}

.lp-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  font-weight: 900;
  font-size: 1.125rem;
  color: #fff;
  text-decoration: none;
  background: #25d366;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  transition: transform 0.15s;
}
.lp-whatsapp-btn:hover  { transform: scale(1.05); }
.lp-whatsapp-btn:active { transform: scale(0.95); }

.lp-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem;
  border-radius: 16px;
  font-size: 1.05rem;
  font-weight: 900;
  color: white;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  text-decoration: none;
  transition: transform 0.15s;
}
.lp-cta:hover  { transform: scale(1.05); }
.lp-cta:active { transform: scale(0.95); }

.lp-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .lp-steps-grid {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 1rem;
  }
}

.lp-step {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem 0.75rem;
  text-align: center;
}
.lp-step--purple { box-shadow: 0 4px 24px rgba(124, 58, 237, 0.08); border: 2px solid #ede9fe; }
.lp-step--gold   { box-shadow: 0 4px 24px rgba(251, 191, 36, 0.15);  border: 2px solid #fde68a; }
.lp-step--green  { box-shadow: 0 4px 24px rgba(34, 197, 94, 0.1);    border: 2px solid #bbf7d0; }

.lp-step__sub { font-size: 0.72rem; font-weight: 700; margin-top: 4px; }
.lp-step__sub--purple { color: #7c3aed; }
.lp-step__sub--gold   { color: #d97706; }
.lp-step__sub--green  { color: #16a34a; }

.lp-how-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lp-section-label {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lp-how-step-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  line-height: 1.4;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  font-weight: 600;
}

/* Slow pulse for unread badges */
@keyframes pulse-slow {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.animate-pulse-slow {
  animation: pulse-slow 3s ease-in-out infinite;
}
