/* =====================================================================
   ripple.css (home page, loaded after smooth.css)
   1. Pill-shaped buttons  2. Job-category bubbles (same size/drop as the countries)
   3. Instagram button (top right, glowing)
   ===================================================================== */

/* ---------- 1. Pill-shaped buttons ---------- */
.btn, .jobs-tab, .cat-go, .btn-apply, .btn-whatsapp-nav, .btn-ghost-dark { border-radius: 100px !important; }
.btn-ghost, .btn-outline, .btn-ghost-dark { background-color: rgba(255, 255, 255, .11); }
.btn-primary, .btn-whatsapp, .btn-whatsapp-nav { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.choice-card { border-radius: 30px !important; }
.btn-full { justify-content: center; }

/* ---------- 2. Category bubbles: same size as the country bubbles, same drop (replays up and down) ---------- */
.cat-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 10px; max-width: 780px; margin: 0 auto; padding: 0 8px; }
.cat-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 100px; font-weight: 600; font-size: 14px; color: var(--navy); background: var(--blue-light); border: 1px solid rgba(11, 47, 99, .2); cursor: pointer; user-select: none; opacity: 0; transform: translate3d(0, -80px, 0) scale(.85); transition: border-color .2s ease, background .2s ease; }
.cat-chip > i { color: var(--c, var(--blue)); font-size: 15px; width: 18px; text-align: center; }
.cat-chip .cat-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; color: #06224a; background: var(--gold); }
.cat-chip .cat-count.none { background: rgba(11, 47, 99, .12); color: var(--text-muted); }
.cat-chip:hover { border-color: var(--gold); }
.cat-chip:active { scale: .93; }
.cat-chips.go .cat-chip { animation: chipDrop .95s cubic-bezier(.34, 1.56, .64, 1) forwards; animation-delay: calc(var(--i) * 130ms); }
html[data-theme="dark"] .cat-chip { background: #102244; color: #e6ecf7; border-color: #1e3355; }

/* ---------- 3. Instagram button: top right (where the chat button was), chat button sits below it ---------- */
.ig-fab { position: fixed; right: 28px; top: 88px; z-index: 1200; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 30px; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); box-shadow: 0 8px 22px rgba(214, 36, 159, .45); transition: transform .3s var(--spring, ease); }
.ig-fab:hover, .ig-fab:focus-visible { transform: scale(1.08); }
.ig-fab:active { transform: scale(.94); }
.ig-fab::before, .ig-fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); z-index: -1; animation: waGlow 2.4s ease-out infinite; }
.ig-fab::after { animation-delay: 1.2s; }
.ig-tip { position: absolute; right: 68px; top: 50%; transform: translate(10px, -50%); white-space: nowrap; background: #fff; color: #1b2b4a; font: 700 13px var(--font, sans-serif); padding: 9px 14px; border-radius: 100px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); opacity: 0; pointer-events: none; transition: opacity .4s ease, transform .4s var(--spring, ease); }
.ig-tip.show { opacity: 1; transform: translate(0, -50%); }
.chat-toggle-btn { top: 156px !important; }
.chat-panel { top: 220px !important; }
@media (max-width: 480px) { .ig-fab { right: 22px; } .chat-toggle-btn { right: 22px !important; } .chat-panel { right: 12px !important; } }

@media (prefers-reduced-motion: reduce) {
  .cat-chip { opacity: 1 !important; transform: none !important; animation: none !important; }
  .ig-fab::before, .ig-fab::after { display: none !important; }
}
