/* ════════════════════════════════════════════════════════════════
   RoktoLagbe / LifeDrop — Standalone Product Shell
   Inspired by always-ready-care (Poppins, card-driven, status pills)
   Brand: medical crimson on clean white, dark mode supported.
   Body must carry .rokto-app class.
   ════════════════════════════════════════════════════════════════*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

.rokto-app {
  /* ── Brand ── */
  --rk-brand:        #DC2626;     /* blood red */
  --rk-brand-2:      #EF4444;     /* lighter red for gradients */
  --rk-brand-dark:   #991B1B;
  --rk-brand-soft:   #FEE2E2;
  --rk-brand-text:   #FFFFFF;
  --rk-brand-pulse:  rgba(220, 38, 38, 0.4);

  /* ── Surfaces ── */
  --rk-bg:           #FFFFFF;
  --rk-surface:      #F8FAFC;
  --rk-surface-2:    #F1F5F9;
  --rk-elevated:     #FFFFFF;
  --rk-divider:      #E2E8F0;

  /* ── Text ── */
  --rk-heading:      #0F172A;
  --rk-text:         #1E293B;
  --rk-muted:        #64748B;
  --rk-faint:        #94A3B8;

  /* ── Status ── */
  --rk-success:      #16A34A;
  --rk-success-soft: #DCFCE7;
  --rk-warn:         #D97706;
  --rk-warn-soft:    #FED7AA;
  --rk-info:         #2563EB;
  --rk-info-soft:    #DBEAFE;
  --rk-danger:       #DC2626;
  --rk-danger-soft:  #FEE2E2;

  /* ── Borders ── */
  --rk-border:       #E2E8F0;
  --rk-border-strong:#CBD5E1;

  /* ── Spacing scale (4..64) ── */
  --rk-s-1:  4px;   --rk-s-2:  8px;
  --rk-s-3: 12px;   --rk-s-4: 16px;
  --rk-s-5: 20px;   --rk-s-6: 24px;
  --rk-s-7: 32px;   --rk-s-8: 40px;
  --rk-s-9: 48px;   --rk-s-10:56px;
  --rk-s-11:64px;

  /* ── Radius ── */
  --rk-r-sm: 6px;  --rk-r-md: 10px; --rk-r-lg: 14px;
  --rk-r-xl: 20px; --rk-r-2xl: 28px; --rk-r-full: 999px;

  /* ── Shadow ── */
  --rk-sh-1: 0 1px 2px rgba(15, 23, 42, 0.06);
  --rk-sh-2: 0 4px 12px rgba(15, 23, 42, 0.08);
  --rk-sh-3: 0 12px 28px rgba(15, 23, 42, 0.10);
  --rk-sh-4: 0 24px 48px rgba(15, 23, 42, 0.14);
  --rk-sh-glow: 0 0 0 8px rgba(220, 38, 38, 0.10);

  /* ── Override teamzlab tokens that legacy components rely on ── */
  --bg: var(--rk-bg);
  --surface: var(--rk-surface);
  --heading: var(--rk-heading);
  --text: var(--rk-text);
  --text-muted: var(--rk-muted);
  --border: var(--rk-border);
  --accent: var(--rk-brand);
  --accent-text: var(--rk-brand-text);

  background: var(--rk-bg);
  color: var(--rk-text);
  font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

[data-theme="dark"] .rokto-app,
.rokto-app[data-theme="dark"] {
  --rk-bg:           #0B1120;
  --rk-surface:      #111827;
  --rk-surface-2:    #1F2937;
  --rk-elevated:     #1E293B;
  --rk-divider:      #1F2937;
  --rk-heading:      #F8FAFC;
  --rk-text:         #E2E8F0;
  --rk-muted:        #94A3B8;
  --rk-faint:        #64748B;
  --rk-border:       #1F2937;
  --rk-border-strong:#334155;
  --rk-brand:        #EF4444;
  --rk-brand-2:      #F87171;
  --rk-brand-soft:   rgba(239, 68, 68, 0.14);
  --rk-success-soft: rgba(22, 163, 74, 0.18);
  --rk-warn-soft:    rgba(217, 119, 6, 0.18);
  --rk-info-soft:    rgba(37, 99, 235, 0.18);
  --rk-danger-soft:  rgba(220, 38, 38, 0.18);
}

/* Strip any leftover teamzlab chrome */
.rokto-app .site-header,
.rokto-app .site-footer,
.rokto-app .header-logo,
.rokto-app .header-nav,
.rokto-app #site-header[class*="site-header"]:not(.rokto-header),
.rokto-app #site-footer[class*="site-footer"]:not(.rokto-footer),
.rokto-app .offline-banner,
.rokto-app .pwa-install-banner,
.rokto-app .floating-cta {
  display: none !important;
}

.rokto-app h1, .rokto-app h2, .rokto-app h3, .rokto-app h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--rk-heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

/* ════════════ LIVE TICKER ════════════ */
.rk-live-ribbon {
  background: var(--rk-heading);
  color: var(--rk-bg);
  font-size: 0.82rem;
  padding: 0.5rem 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 500;
}
.rk-live-ribbon-dot {
  width: 8px; height: 8px;
  background: var(--rk-brand-2);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}
.rk-live-ribbon-dot::after {
  content: '';
  position: absolute; inset: -4px;
  background: var(--rk-brand);
  border-radius: 50%;
  opacity: 0.5;
  animation: rk-pulse 1.5s ease-in-out infinite;
}
@keyframes rk-pulse {
  0%, 100% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.6); opacity: 0; }
}

/* ════════════ HEADER ════════════ */
.rokto-app .rokto-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--rk-border);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}
[data-theme="dark"] .rokto-app .rokto-header {
  background: rgba(11, 17, 32, 0.85);
}
.rokto-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--rk-s-3) var(--rk-s-5);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--rk-s-4);
}

.rokto-logo {
  display: flex; align-items: center; gap: var(--rk-s-2);
  text-decoration: none;
  color: var(--rk-heading);
  font-weight: 700;
}
.rokto-logo-mark {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(220, 38, 38, 0.25));
}
.rokto-logo-name {
  display: flex; flex-direction: column;
  line-height: 1.05;
}
.rokto-logo-name > span {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.rokto-logo-name small {
  font-size: 0.65rem;
  color: var(--rk-muted);
  letter-spacing: 0.06em;
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 1px;
}

.rokto-nav { display: flex; align-items: center; gap: var(--rk-s-1); }
.rokto-nav a {
  color: var(--rk-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: var(--rk-s-2) var(--rk-s-4);
  border-radius: var(--rk-r-md);
  transition: color 0.15s, background 0.15s;
}
.rokto-nav a:hover { color: var(--rk-heading); background: var(--rk-surface-2); }
.rokto-nav a.is-active {
  color: var(--rk-brand);
  background: var(--rk-brand-soft);
}

.rokto-header-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--rk-s-2);
  background: var(--rk-brand);
  color: var(--rk-brand-text);
  padding: var(--rk-s-2) var(--rk-s-4);
  border-radius: var(--rk-r-full);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: all 0.18s;
  box-shadow: var(--rk-sh-2);
  position: relative;
}
.rokto-header-cta::before {
  content: '';
  width: 8px; height: 8px;
  background: white;
  border-radius: 50%;
  animation: rk-pulse-sm 1.4s ease-in-out infinite;
}
@keyframes rk-pulse-sm {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.rokto-header-cta:hover {
  background: var(--rk-brand-dark);
  transform: translateY(-1px);
  box-shadow: var(--rk-sh-3);
}

.rokto-icon-btn {
  background: transparent;
  border: 1px solid var(--rk-border);
  color: var(--rk-muted);
  width: 38px; height: 38px;
  border-radius: var(--rk-r-full);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.rokto-icon-btn:hover { background: var(--rk-surface-2); color: var(--rk-heading); }

.rokto-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--rk-border);
  color: var(--rk-text);
  width: 40px; height: 40px;
  border-radius: var(--rk-r-md);
  cursor: pointer;
  align-items: center; justify-content: center;
}

/* ════════════ MAIN ════════════ */
.rokto-app .rokto-main {
  max-width: 1140px;
  margin: 0 auto;
  padding: var(--rk-s-7) var(--rk-s-5) var(--rk-s-11);
  min-height: 60vh;
}

/* ════════════ FOOTER ════════════ */
.rokto-app .rokto-footer {
  background: var(--rk-surface);
  border-top: 1px solid var(--rk-border);
  padding: var(--rk-s-9) var(--rk-s-5) var(--rk-s-6);
  margin-top: var(--rk-s-9);
}
.rokto-footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--rk-s-7);
}
.rokto-footer-brand h3 {
  margin: 0 0 var(--rk-s-2);
  font-size: 1.1rem;
  display: flex; align-items: center; gap: var(--rk-s-2);
}
.rokto-footer-brand p {
  margin: 0 0 var(--rk-s-3);
  color: var(--rk-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.rokto-footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rk-faint);
  margin: 0 0 var(--rk-s-3);
}
.rokto-footer-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: var(--rk-s-2);
}
.rokto-footer-col a {
  color: var(--rk-text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s;
}
.rokto-footer-col a:hover { color: var(--rk-brand); }
.rokto-footer-bottom {
  max-width: 1140px;
  margin: var(--rk-s-7) auto 0;
  padding-top: var(--rk-s-5);
  border-top: 1px solid var(--rk-border);
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: var(--rk-s-3);
  font-size: 0.82rem;
  color: var(--rk-muted);
}
.rokto-footer-bottom a { color: var(--rk-muted); text-decoration: none; }
.rokto-footer-bottom a:hover { color: var(--rk-brand); }

/* ════════════ BUTTONS ════════════ */
.rokto-app .btn,
.rokto-btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: var(--rk-s-2);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--rk-r-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
  line-height: 1.2;
  white-space: nowrap;
}
.rokto-app .btn-primary {
  background: var(--rk-brand);
  color: var(--rk-brand-text);
  border-color: var(--rk-brand);
  box-shadow: var(--rk-sh-2);
}
.rokto-app .btn-primary:hover {
  background: var(--rk-brand-dark);
  border-color: var(--rk-brand-dark);
  transform: translateY(-1px);
  box-shadow: var(--rk-sh-3);
}
.rokto-app .btn-secondary {
  background: var(--rk-bg);
  color: var(--rk-heading);
  border-color: var(--rk-border-strong);
}
.rokto-app .btn-secondary:hover {
  background: var(--rk-surface-2);
  border-color: var(--rk-heading);
}
.rokto-app .btn-ghost {
  background: transparent;
  color: var(--rk-heading);
  border-color: transparent;
}
.rokto-app .btn-ghost:hover { background: var(--rk-surface-2); }
.rokto-app .btn-lg { padding: 1rem 1.85rem; font-size: 1rem; }
.rokto-app .btn-block { width: 100%; }

/* ════════════ CARDS / SECTIONS ════════════ */
.rk-card {
  background: var(--rk-elevated);
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-r-lg);
  padding: var(--rk-s-6);
  box-shadow: var(--rk-sh-1);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.rk-card-tight { padding: var(--rk-s-4); }
.rk-card-lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--rk-sh-3);
  border-color: var(--rk-border-strong);
}

/* ════════════ STATUS PILLS ════════════ */
.rk-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: var(--rk-r-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.rk-pill svg { width: 12px; height: 12px; }
.rk-pill--success { background: var(--rk-success-soft); color: var(--rk-success); }
.rk-pill--warn    { background: var(--rk-warn-soft); color: var(--rk-warn); }
.rk-pill--info    { background: var(--rk-info-soft); color: var(--rk-info); }
.rk-pill--danger  { background: var(--rk-danger-soft); color: var(--rk-danger); }
.rk-pill--neutral { background: var(--rk-surface-2); color: var(--rk-muted); }

/* ════════════ HERO REDESIGN ════════════ */
.rokto-app .rokto-hero {
  background: radial-gradient(circle at 30% 20%, var(--rk-brand-soft) 0%, transparent 50%),
              linear-gradient(180deg, var(--rk-bg) 0%, var(--rk-surface) 100%);
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-r-2xl);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  margin-bottom: var(--rk-s-9);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.rokto-app .rokto-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--rk-brand-soft), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.rokto-app .rokto-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.rokto-app .rokto-badge {
  background: var(--rk-brand-soft);
  color: var(--rk-brand);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: var(--rk-r-full);
  border: 1px solid rgba(220, 38, 38, 0.12);
  display: inline-flex; align-items: center; gap: 6px;
}
.rokto-app .rokto-badge::before {
  content: '🩸'; font-size: 0.95rem;
}
.rokto-app .rokto-hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 800;
  margin: var(--rk-s-4) 0 var(--rk-s-3);
  letter-spacing: -0.025em;
}
.rokto-app .rokto-accent {
  background: linear-gradient(120deg, var(--rk-brand) 0%, var(--rk-brand-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}
.rokto-app .rokto-sub {
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  color: var(--rk-muted);
  max-width: 600px;
  margin: 0 auto var(--rk-s-7);
  line-height: 1.6;
}
.rokto-app .rokto-hero-cta {
  display: flex; gap: var(--rk-s-3);
  justify-content: center; flex-wrap: wrap;
  margin-bottom: var(--rk-s-7);
}
.rokto-app .rokto-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rk-s-4);
  max-width: 600px;
  margin: 0 auto;
  padding-top: var(--rk-s-6);
  border-top: 1px solid var(--rk-border);
}
.rokto-app .rokto-stat strong {
  display: block;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--rk-heading);
  font-weight: 800;
  margin-bottom: 4px;
  font-feature-settings: 'tnum';
}
.rokto-app .rokto-stat span {
  font-size: 0.82rem;
  color: var(--rk-muted);
}

/* ════════════ EMERGENCY FEED (live ticker) ════════════ */
.rk-feed {
  background: var(--rk-elevated);
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-r-xl);
  padding: var(--rk-s-5);
  margin-bottom: var(--rk-s-9);
}
.rk-feed-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--rk-s-4);
  flex-wrap: wrap;
  gap: var(--rk-s-3);
}
.rk-feed-title {
  display: flex; align-items: center; gap: var(--rk-s-2);
  font-weight: 700;
  color: var(--rk-heading);
  font-size: 1.05rem;
}
.rk-feed-title-dot {
  width: 10px; height: 10px;
  background: var(--rk-brand);
  border-radius: 50%;
  position: relative;
}
.rk-feed-title-dot::after {
  content: '';
  position: absolute; inset: -6px;
  background: var(--rk-brand);
  border-radius: 50%;
  opacity: 0.4;
  animation: rk-pulse 1.5s ease-out infinite;
}
.rk-feed-list { display: grid; gap: var(--rk-s-3); }
.rk-feed-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--rk-s-3);
  align-items: center;
  padding: var(--rk-s-3) var(--rk-s-4);
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-r-md);
  background: var(--rk-surface);
  transition: border-color 0.15s, background 0.15s;
  text-decoration: none;
  color: inherit;
}
.rk-feed-row:hover {
  border-color: var(--rk-brand);
  background: var(--rk-brand-soft);
}
.rk-feed-bg {
  width: 44px; height: 44px;
  background: var(--rk-brand);
  color: white;
  border-radius: var(--rk-r-md);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.rk-feed-info h4 {
  margin: 0 0 2px;
  font-size: 0.92rem;
  font-weight: 600;
}
.rk-feed-info p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--rk-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rk-feed-meta {
  font-size: 0.72rem;
  color: var(--rk-faint);
  text-align: right;
  white-space: nowrap;
  display: flex; flex-direction: column; gap: 2px;
}

/* ════════════ COMPATIBILITY TOOL ════════════ */
.rk-compat {
  background: var(--rk-elevated);
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-r-xl);
  padding: var(--rk-s-7);
  margin-bottom: var(--rk-s-9);
  text-align: center;
}
.rk-compat h2 { margin: 0 0 var(--rk-s-2); }
.rk-compat-sub { color: var(--rk-muted); margin: 0 auto var(--rk-s-6); max-width: 540px; }
.rk-compat-grid {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: var(--rk-s-4); align-items: end;
  max-width: 600px; margin: 0 auto;
}
.rk-compat-side label {
  display: block; font-size: 0.78rem;
  color: var(--rk-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: var(--rk-s-2);
}
.rk-compat-side select {
  width: 100%;
  padding: 0.95rem 1rem;
  background: var(--rk-surface);
  border: 1.5px solid var(--rk-border-strong);
  border-radius: var(--rk-r-md);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--rk-heading);
  font-family: inherit;
  cursor: pointer;
}
.rk-compat-arrow {
  font-size: 1.5rem;
  color: var(--rk-brand);
  padding-bottom: 0.95rem;
}
.rk-compat-result {
  margin-top: var(--rk-s-5);
  padding: var(--rk-s-4) var(--rk-s-5);
  background: var(--rk-brand-soft);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: var(--rk-r-md);
  font-size: 0.95rem;
  color: var(--rk-heading);
  display: none;
}
.rk-compat-result.is-visible { display: block; }
.rk-compat-result strong { color: var(--rk-brand); }

/* ════════════ BLOOD GROUP CARDS ════════════ */
.rokto-app .rokto-blood-grid { margin-bottom: var(--rk-s-9); }
.rokto-app .rokto-blood-grid h2 { text-align: center; }
.rokto-app .rokto-section-sub {
  text-align: center;
  color: var(--rk-muted);
  margin: 0 auto var(--rk-s-6);
  max-width: 540px;
}
.rokto-app .rokto-bg-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: var(--rk-s-3);
  max-width: 800px;
  margin: 0 auto;
}
.rokto-app .rokto-bg-card {
  background: var(--rk-elevated);
  border: 1.5px solid var(--rk-border);
  border-radius: var(--rk-r-lg);
  padding: var(--rk-s-5) var(--rk-s-3);
  text-align: center;
  text-decoration: none;
  color: var(--rk-text);
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s, background 0.18s;
  position: relative;
  overflow: hidden;
}
.rokto-app .rokto-bg-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rk-brand), var(--rk-brand-2));
  opacity: 0; transition: opacity 0.18s;
}
.rokto-app .rokto-bg-card:hover {
  transform: translateY(-3px);
  border-color: var(--rk-brand);
  box-shadow: var(--rk-sh-3);
}
.rokto-app .rokto-bg-card:hover::before { opacity: 1; }
.rokto-app .rokto-bg-letter {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--rk-brand);
  margin-bottom: var(--rk-s-1);
  letter-spacing: -0.03em;
}
.rokto-app .rokto-bg-card small {
  display: block;
  font-size: 0.78rem;
  color: var(--rk-muted);
  font-weight: 500;
}
.rokto-app .rokto-bg-card--special {
  background: linear-gradient(135deg, var(--rk-brand-soft), var(--rk-elevated));
  border-color: var(--rk-brand);
}
.rokto-app .rokto-bg-card--special small { color: var(--rk-brand); font-weight: 600; }

/* ════════════ HOW IT WORKS ════════════ */
.rokto-app .rokto-how { margin-bottom: var(--rk-s-9); }
.rokto-app .rokto-how h2 { text-align: center; margin-bottom: var(--rk-s-7); }
.rokto-app .rokto-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--rk-s-4);
}
.rokto-app .rokto-step {
  background: var(--rk-elevated);
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-r-lg);
  padding: var(--rk-s-6);
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
}
.rokto-app .rokto-step:hover { transform: translateY(-3px); box-shadow: var(--rk-sh-2); }
.rokto-app .rokto-step-num {
  width: 52px; height: 52px;
  margin: 0 auto var(--rk-s-4);
  background: linear-gradient(135deg, var(--rk-brand), var(--rk-brand-2));
  color: white;
  border-radius: var(--rk-r-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: var(--rk-sh-2);
}
.rokto-app .rokto-step h3 {
  margin: 0 0 var(--rk-s-2);
  font-size: 1.15rem;
  color: var(--rk-heading);
}
.rokto-app .rokto-step p {
  margin: 0;
  color: var(--rk-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ════════════ TRUST STRIP ════════════ */
.rk-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--rk-s-4);
  background: var(--rk-elevated);
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-r-lg);
  padding: var(--rk-s-5);
  margin-bottom: var(--rk-s-9);
}
.rk-trust-item {
  display: flex; gap: var(--rk-s-3);
  align-items: flex-start;
  padding: var(--rk-s-2);
}
.rk-trust-icon {
  width: 40px; height: 40px;
  border-radius: var(--rk-r-md);
  background: var(--rk-brand-soft);
  color: var(--rk-brand);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rk-trust-text h4 {
  margin: 0 0 2px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--rk-heading);
}
.rk-trust-text p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--rk-muted);
  line-height: 1.45;
}

/* ════════════ CHAT ════════════ */
.rk-chat-window {
  background: var(--rk-surface);
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-r-lg);
  padding: var(--rk-s-4);
  height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--rk-s-2);
}
.rk-msg { display: flex; flex-direction: column; max-width: 78%; }
.rk-msg--me { align-self: flex-end; align-items: flex-end; }
.rk-msg--them { align-self: flex-start; align-items: flex-start; }
.rk-msg-bubble {
  padding: 0.65rem 0.95rem;
  border-radius: 18px;
  font-size: 0.94rem;
  line-height: 1.4;
  word-break: break-word;
}
.rk-msg--me .rk-msg-bubble {
  background: var(--rk-brand);
  color: white;
  border-bottom-right-radius: 6px;
}
.rk-msg--them .rk-msg-bubble {
  background: var(--rk-elevated);
  color: var(--rk-text);
  border: 1px solid var(--rk-border);
  border-bottom-left-radius: 6px;
}
.rk-msg-meta {
  font-size: 0.7rem;
  color: var(--rk-faint);
  margin-top: 4px;
  padding: 0 4px;
}
.rk-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--rk-s-2);
  margin-top: var(--rk-s-3);
}
.rk-chat-form input {
  padding: 0.85rem 1rem;
  background: var(--rk-elevated);
  border: 1.5px solid var(--rk-border-strong);
  border-radius: var(--rk-r-md);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--rk-text);
}
.rk-chat-form input:focus {
  outline: none;
  border-color: var(--rk-brand);
}

/* ════════════ ADMIN STATS ════════════ */
.rk-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--rk-s-3);
  margin: var(--rk-s-4) 0 var(--rk-s-6);
}
.rk-stat-grid .rk-card { padding: var(--rk-s-4); }
.rk-stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--rk-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.rk-stat-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--rk-heading);
  letter-spacing: -0.02em;
}
.rk-bg-bars {
  display: grid;
  gap: var(--rk-s-2);
}
.rk-bg-bar {
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  align-items: center;
  gap: var(--rk-s-3);
}
.rk-bg-bar-label {
  font-weight: 700;
  color: var(--rk-brand);
  font-size: 0.95rem;
}
.rk-bg-bar-track {
  background: var(--rk-surface-2);
  height: 12px;
  border-radius: var(--rk-r-full);
  overflow: hidden;
}
.rk-bg-bar-fill {
  background: linear-gradient(90deg, var(--rk-brand), var(--rk-brand-2));
  height: 100%;
  border-radius: var(--rk-r-full);
  transition: width 0.4s ease;
}
.rk-bg-bar-count {
  text-align: right;
  font-weight: 600;
  color: var(--rk-text);
  font-size: 0.9rem;
}

/* ════════════ STREAK / GAMIFICATION ════════════ */
.rk-streak-card {
  background: linear-gradient(135deg, var(--rk-brand) 0%, var(--rk-brand-dark) 100%);
  color: white;
  border-radius: var(--rk-r-xl);
  padding: var(--rk-s-6);
  position: relative;
  overflow: hidden;
}
.rk-streak-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.rk-streak-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rk-s-4);
  margin-bottom: var(--rk-s-5);
  position: relative;
}
.rk-streak-stat { text-align: center; }
.rk-streak-num {
  display: block;
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
  font-feature-settings: 'tnum';
}
.rk-streak-label {
  font-size: 0.78rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.rk-streak-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--rk-s-4);
  position: relative;
}
.rk-badge {
  background: rgba(255,255,255,0.18);
  color: white;
  padding: 4px 10px;
  border-radius: var(--rk-r-full);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.18);
}
.rk-badge.is-locked { opacity: 0.35; }
.rk-streak-action { position: relative; text-align: center; }
.rk-streak-action .btn-primary {
  background: white;
  color: var(--rk-brand);
  border-color: white;
}
.rk-streak-action .btn-primary:hover {
  background: rgba(255,255,255,0.92);
  color: var(--rk-brand-dark);
}
.rk-streak-action .rokto-help { color: rgba(255,255,255,0.85); }

/* ════════════ MAP / VIEW TOGGLE ════════════ */
.rk-view-toggle {
  display: inline-flex;
  background: var(--rk-surface);
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-r-md);
  padding: 4px;
  margin-bottom: var(--rk-s-4);
  gap: 2px;
}
.rk-view-btn {
  background: transparent;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--rk-muted);
  cursor: pointer;
  border-radius: var(--rk-r-sm);
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}
.rk-view-btn:hover { color: var(--rk-heading); }
.rk-view-btn.is-active {
  background: var(--rk-elevated);
  color: var(--rk-heading);
  box-shadow: var(--rk-sh-1);
  font-weight: 600;
}
.rk-map {
  height: 480px;
  border-radius: var(--rk-r-lg);
  overflow: hidden;
  border: 1px solid var(--rk-border);
}
.rk-map-popup {
  font-family: 'Poppins', sans-serif;
  min-width: 180px;
}
.rk-map-popup strong { color: var(--rk-brand); display: block; font-size: 1rem; margin-bottom: 4px; }
.rk-map-popup p { margin: 0 0 6px; font-size: 0.85rem; color: #444; }
.rk-map-popup a {
  display: inline-block;
  background: var(--rk-brand);
  color: white;
  padding: 4px 10px;
  border-radius: var(--rk-r-sm);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
}
[data-theme="dark"] .rk-map-popup p { color: #DDD; }
.rk-marker-bg {
  background: linear-gradient(135deg, #DC2626, #EF4444);
  color: white;
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(220,38,38,0.4);
}

/* ════════════ HERO QUICK SEARCH ════════════ */
.rk-hero-quick {
  margin-bottom: var(--rk-s-7);
  text-align: left;
}
.rk-hero-quick-inner {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: var(--rk-s-2);
  background: var(--rk-elevated);
  border: 1.5px solid var(--rk-border-strong);
  border-radius: var(--rk-r-lg);
  padding: 6px;
  box-shadow: var(--rk-sh-2);
}
.rk-hero-quick-inner select,
.rk-hero-quick-inner input {
  border: none;
  background: transparent;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  color: var(--rk-heading);
  font-family: inherit;
  font-weight: 500;
}
.rk-hero-quick-inner select:focus,
.rk-hero-quick-inner input:focus { outline: none; }
.rk-hero-quick-city {
  position: relative;
  border-left: 1px solid var(--rk-border);
}
.rk-hero-quick-city input { width: 100%; }
.rk-hero-quick-inner .btn { border-radius: var(--rk-r-md); margin: 0; }
.rk-hero-quick-meta {
  display: flex;
  align-items: center;
  gap: var(--rk-s-2);
  margin-top: var(--rk-s-3);
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .rk-hero-quick-inner {
    grid-template-columns: 1fr;
    gap: var(--rk-s-2);
    padding: var(--rk-s-2);
  }
  .rk-hero-quick-city { border-left: none; border-top: 1px solid var(--rk-border); }
  .rk-hero-quick-meta { flex-direction: column; align-items: stretch; }
  .rk-hero-quick-meta .btn { width: 100%; }
  .rk-hero-quick-meta .btn-secondary { margin-left: 0 !important; }
}

/* ════════════ AUTOCOMPLETE BOX ════════════ */
.rk-ac-box {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  margin-top: 4px;
  background: var(--rk-elevated);
  border: 1px solid var(--rk-border-strong);
  border-radius: var(--rk-r-md);
  box-shadow: var(--rk-sh-3);
  z-index: 30;
  max-height: 320px;
  overflow-y: auto;
}
.rk-ac-box.is-open { display: block; }
.rk-ac-item {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0.6rem 0.85rem;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--rk-text);
  cursor: pointer;
  border-bottom: 1px solid var(--rk-border);
}
.rk-ac-item:last-child { border-bottom: none; }
.rk-ac-item:hover, .rk-ac-item:focus {
  background: var(--rk-brand-soft);
  color: var(--rk-brand);
  outline: none;
}

/* ════════════ GEOLOCATION CHIP ════════════ */
.rk-geo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--rk-elevated);
  color: var(--rk-text);
  border: 1.5px solid var(--rk-border-strong);
  border-radius: var(--rk-r-full);
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.rk-geo-btn:hover {
  border-color: var(--rk-brand);
  color: var(--rk-brand);
  background: var(--rk-brand-soft);
}
.rk-geo-btn.is-loading { opacity: 0.6; pointer-events: none; }
.rk-geo-status {
  font-size: 0.85rem;
  color: var(--rk-muted);
  margin-left: 8px;
}
.rk-geo-status strong { color: var(--rk-heading); }

/* ════════════ HOSPITAL PARTNERS ════════════ */
.rk-partners {
  text-align: center;
  margin-bottom: var(--rk-s-9);
  padding: var(--rk-s-5) var(--rk-s-3);
}
.rk-partners-label {
  font-size: 0.78rem;
  color: var(--rk-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin: 0 0 var(--rk-s-4);
}
.rk-partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--rk-s-3);
  margin-bottom: var(--rk-s-3);
}
.rk-partner {
  background: var(--rk-elevated);
  color: var(--rk-muted);
  padding: var(--rk-s-2) var(--rk-s-4);
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-r-md);
  font-weight: 500;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: opacity 0.2s, border-color 0.2s, color 0.2s;
  opacity: 0.85;
}
.rk-partner:hover {
  opacity: 1;
  border-color: var(--rk-border-strong);
  color: var(--rk-heading);
}
.rk-partners-disclaimer {
  font-size: 0.72rem;
  color: var(--rk-faint);
  font-style: italic;
  margin: 0;
}

/* ════════════ TESTIMONIALS ════════════ */
.rk-testimonials { margin-bottom: var(--rk-s-9); }
.rk-testimonials h2 { text-align: center; margin-bottom: var(--rk-s-7); }
.rk-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--rk-s-4);
}
.rk-testimonial {
  background: var(--rk-elevated);
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-r-lg);
  padding: var(--rk-s-6);
  position: relative;
}
.rk-testimonial::before {
  content: '"';
  position: absolute;
  top: var(--rk-s-2); right: var(--rk-s-4);
  font-size: 4rem;
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--rk-brand-soft);
  line-height: 1;
  pointer-events: none;
}
.rk-testimonial-quote {
  font-size: 0.95rem;
  color: var(--rk-text);
  line-height: 1.6;
  margin: 0 0 var(--rk-s-4);
  position: relative;
  z-index: 1;
}
.rk-testimonial-author {
  display: flex; align-items: center; gap: var(--rk-s-3);
}
.rk-testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: var(--rk-r-full);
  background: linear-gradient(135deg, var(--rk-brand), var(--rk-brand-2));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.rk-testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--rk-heading);
}
.rk-testimonial-author span {
  font-size: 0.78rem;
  color: var(--rk-muted);
}

/* ════════════ CTA BAND ════════════ */
.rokto-app .rokto-cta-band {
  background: linear-gradient(135deg, var(--rk-heading) 0%, #1E293B 100%);
  color: white;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--rk-r-2xl);
  text-align: center;
  margin: var(--rk-s-9) 0;
  position: relative;
  overflow: hidden;
}
.rokto-app .rokto-cta-band::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.18), transparent 70%);
  transform: translateX(-50%);
}
.rokto-app .rokto-cta-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.rokto-app .rokto-cta-band h2 {
  color: white;
  margin: 0 0 var(--rk-s-3);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}
.rokto-app .rokto-cta-band p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 var(--rk-s-5);
  line-height: 1.6;
}

/* ════════════ FAQs ════════════ */
.rokto-app .tool-content {
  max-width: 760px;
  margin: 0 auto;
  color: var(--rk-text);
}
.rokto-app .tool-content h2 {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  margin: var(--rk-s-9) 0 var(--rk-s-3);
}
.rokto-app .tool-content p,
.rokto-app .tool-content ul,
.rokto-app .tool-content ol { line-height: 1.75; }

/* ════════════ FORMS (register/request) ════════════ */
.rokto-app .rokto-form-card {
  background: var(--rk-elevated);
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-r-xl);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 640px;
  margin: 0 auto var(--rk-s-7);
  box-shadow: var(--rk-sh-2);
}
.rokto-app .rokto-form-card h1 {
  margin: 0 0 var(--rk-s-2);
  font-size: clamp(1.6rem, 4vw, 2rem);
}
.rokto-app .rokto-field {
  display: block;
  margin-bottom: var(--rk-s-5);
}
.rokto-app .rokto-field label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--rk-s-2);
  color: var(--rk-heading);
  font-size: 0.92rem;
}
.rokto-app .rokto-field input,
.rokto-app .rokto-field select,
.rokto-app .rokto-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--rk-surface);
  border: 1.5px solid var(--rk-border-strong);
  border-radius: var(--rk-r-md);
  color: var(--rk-text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
}
.rokto-app .rokto-field input:focus,
.rokto-app .rokto-field select:focus,
.rokto-app .rokto-field textarea:focus {
  outline: none;
  border-color: var(--rk-brand);
  background: var(--rk-elevated);
  box-shadow: 0 0 0 3px var(--rk-brand-soft);
}
.rokto-app .rokto-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rk-s-4);
}
.rokto-app .rokto-help {
  font-size: 0.82rem;
  color: var(--rk-muted);
  margin-top: var(--rk-s-1);
  line-height: 1.5;
}
.rokto-app .rokto-error {
  background: var(--rk-danger-soft);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-left: 4px solid var(--rk-brand);
  padding: var(--rk-s-3) var(--rk-s-4);
  border-radius: var(--rk-r-md);
  color: var(--rk-brand-dark);
  font-size: 0.92rem;
  margin: var(--rk-s-4) 0;
}
.rokto-app .rokto-success {
  background: var(--rk-success-soft);
  border: 1px solid rgba(22, 163, 74, 0.2);
  color: var(--rk-success);
  padding: var(--rk-s-3) var(--rk-s-4);
  border-radius: var(--rk-r-md);
  font-size: 0.95rem;
  font-weight: 600;
  margin: var(--rk-s-4) 0;
  text-align: center;
}

/* ════════════ DONOR/REQUEST CARDS ════════════ */
.rokto-app .rokto-search-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: var(--rk-s-3);
  background: var(--rk-elevated);
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-r-lg);
  padding: var(--rk-s-4);
  margin-bottom: var(--rk-s-6);
  box-shadow: var(--rk-sh-1);
}
.rokto-app .rokto-search-bar select,
.rokto-app .rokto-search-bar input {
  padding: 0.75rem 0.95rem;
  background: var(--rk-surface);
  border: 1.5px solid var(--rk-border-strong);
  border-radius: var(--rk-r-md);
  color: var(--rk-text);
  font-size: 0.95rem;
  font-family: inherit;
}

.rokto-app .rokto-results { display: grid; gap: var(--rk-s-3); }
.rokto-app .rokto-donor-card {
  background: var(--rk-elevated);
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-r-lg);
  padding: var(--rk-s-5);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--rk-s-4);
  align-items: center;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.rokto-app .rokto-donor-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--rk-sh-2);
  border-color: var(--rk-border-strong);
}
.rokto-app .rokto-donor-bg {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--rk-brand), var(--rk-brand-2));
  color: white;
  border-radius: var(--rk-r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: var(--rk-sh-1);
}
.rokto-app .rokto-donor-info { min-width: 0; }
.rokto-app .rokto-donor-info h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  display: flex; align-items: center; gap: 6px;
  color: var(--rk-heading);
}
.rokto-app .rokto-verified {
  background: var(--rk-success-soft);
  color: var(--rk-success);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: var(--rk-r-full);
  font-weight: 700;
}
.rokto-app .rokto-donor-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--rk-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rokto-app .rokto-contact-btn { padding: 0.6rem 1.1rem; font-size: 0.88rem; }
.rokto-app .rokto-empty {
  text-align: center;
  padding: var(--rk-s-7) var(--rk-s-4);
  color: var(--rk-muted);
  background: var(--rk-elevated);
  border: 2px dashed var(--rk-border);
  border-radius: var(--rk-r-lg);
}

.rokto-app .rokto-urgency {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.7rem; font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--rk-r-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rokto-app .rokto-urgency--critical {
  background: var(--rk-danger-soft); color: var(--rk-danger);
}
.rokto-app .rokto-urgency--urgent {
  background: var(--rk-warn-soft); color: var(--rk-warn);
}
.rokto-app .rokto-urgency--planned {
  background: var(--rk-info-soft); color: var(--rk-info);
}

/* ════════════ EMERGENCY FAB (mobile) ════════════ */
.rk-fab {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 16px;
  z-index: 40;
  background: var(--rk-brand);
  color: white;
  padding: 0.85rem 1.2rem;
  border-radius: var(--rk-r-full);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--rk-sh-3), var(--rk-sh-glow);
  align-items: center;
  gap: 6px;
}
.rk-fab::before {
  content: ''; width: 8px; height: 8px;
  background: white; border-radius: 50%;
  animation: rk-pulse-sm 1.4s ease-in-out infinite;
}

/* ════════════ MOBILE BOTTOM NAV ════════════ */
.rk-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 40;
  background: var(--rk-elevated);
  border-top: 1px solid var(--rk-border);
  box-shadow: 0 -4px 12px rgba(15, 23, 42, 0.06);
  padding: 6px 0 8px;
  grid-template-columns: repeat(4, 1fr);
}
.rk-bottom-nav a {
  display: flex; flex-direction: column;
  align-items: center; gap: 2px;
  padding: 6px 4px;
  text-decoration: none;
  color: var(--rk-muted);
  font-size: 0.7rem;
  font-weight: 500;
}
.rk-bottom-nav a svg { width: 22px; height: 22px; }
.rk-bottom-nav a.is-active { color: var(--rk-brand); }
.rk-bottom-nav a.is-active span { font-weight: 700; }

/* ════════════ AD SLOT ════════════ */
.rokto-app .ad-slot {
  background: var(--rk-surface);
  border: 1px dashed var(--rk-border);
  color: var(--rk-faint);
  font-size: 0.8rem;
  padding: var(--rk-s-5);
  border-radius: var(--rk-r-md);
  text-align: center;
  margin: var(--rk-s-7) 0;
}

/* ════════════ BREADCRUMBS ════════════ */
.rokto-app #breadcrumbs {
  font-size: 0.85rem;
  color: var(--rk-muted);
  margin-bottom: var(--rk-s-5);
}
.rokto-app #breadcrumbs a {
  color: var(--rk-muted);
  text-decoration: none;
}
.rokto-app #breadcrumbs a:hover { color: var(--rk-brand); }

/* ════════════ MOBILE NAV (slide down) ════════════ */
.rokto-mobile-nav {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--rk-elevated);
  border-bottom: 1px solid var(--rk-border);
  padding: var(--rk-s-3) var(--rk-s-4);
  flex-direction: column;
  gap: 2px;
  z-index: 49;
  box-shadow: var(--rk-sh-2);
}
.rokto-mobile-nav.is-open { display: flex; }
.rokto-mobile-nav a {
  color: var(--rk-text);
  text-decoration: none;
  padding: 0.85rem 0.7rem;
  border-radius: var(--rk-r-md);
  font-weight: 500;
  font-size: 0.95rem;
}
.rokto-mobile-nav a.is-active { color: var(--rk-brand); background: var(--rk-brand-soft); }

/* ════════════ RESPONSIVE ════════════ */
@media (max-width: 900px) {
  .rokto-nav { display: none; }
  .rokto-mobile-toggle { display: inline-flex; }
  .rokto-app .rokto-header-cta { padding: 0.5rem 0.95rem; font-size: 0.82rem; }
  .rokto-footer-inner { grid-template-columns: 1fr 1fr; gap: var(--rk-s-5); }
  .rokto-footer-bottom { flex-direction: column; gap: var(--rk-s-1); }
  .rk-bottom-nav { display: grid; }
  .rk-fab { display: inline-flex; }
  .rokto-app .rokto-main { padding-bottom: 84px; }
  .rk-compat-grid { grid-template-columns: 1fr; }
  .rk-compat-arrow { display: none; }
}

@media (max-width: 600px) {
  .rokto-footer-inner { grid-template-columns: 1fr; }
  .rokto-app .rokto-search-bar { grid-template-columns: 1fr; }
  .rokto-app .rokto-donor-card { grid-template-columns: auto 1fr; }
  .rokto-app .rokto-contact-btn { grid-column: 1 / -1; width: 100%; }
  .rokto-app .rokto-field-row { grid-template-columns: 1fr; }
  .rokto-header-inner { padding: var(--rk-s-3) var(--rk-s-4); }
  .rokto-app .rokto-stats { gap: var(--rk-s-2); }
  .rokto-app .rokto-hero-cta { flex-direction: column; }
  .rokto-app .rokto-hero-cta .btn { width: 100%; }
}

/* ════════════════════════════════════════════════════════════════
   LANGUAGE TOGGLE (header)
   ════════════════════════════════════════════════════════════════*/
.rokto-header-actions {
  display: flex;
  align-items: center;
  gap: var(--rk-s-2);
}
.rokto-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--rk-border);
  color: var(--rk-text);
  padding: 0 0.65rem;
  height: 38px;
  border-radius: var(--rk-r-full);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.rokto-lang-btn:hover {
  border-color: var(--rk-brand);
  color: var(--rk-brand);
  background: var(--rk-brand-soft);
}
.rokto-lang-current {
  color: var(--rk-brand);
  font-weight: 700;
}
.rokto-lang-sep {
  color: var(--rk-faint);
  font-weight: 400;
  margin: 0 1px;
}
.rokto-lang-other {
  color: var(--rk-muted);
  font-weight: 500;
}
.rokto-lang-btn:hover .rokto-lang-other { color: var(--rk-brand); }

/* Bengali typography boost when active */
.rokto-app.rokto-lang-bn,
body.rokto-lang-bn .rokto-app {
  font-family: 'Hind Siliguri', 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
body.rokto-lang-bn .rokto-app h1,
body.rokto-lang-bn .rokto-app h2,
body.rokto-lang-bn .rokto-app h3,
body.rokto-lang-bn .rokto-app h4 {
  font-family: 'Hind Siliguri', 'Poppins', sans-serif;
  letter-spacing: -0.005em;
}

/* ════════════════════════════════════════════════════════════════
   DASHBOARD
   ════════════════════════════════════════════════════════════════*/

/* Skeleton loader */
.rk-dash-skeleton {
  display: grid;
  gap: var(--rk-s-4);
  padding: var(--rk-s-3) 0;
}
.rk-skel-line {
  height: 18px;
  border-radius: var(--rk-r-sm);
  background: linear-gradient(90deg, var(--rk-surface) 0%, var(--rk-surface-2) 50%, var(--rk-surface) 100%);
  background-size: 200% 100%;
  animation: rk-skel 1.4s ease-in-out infinite;
}
.rk-skel-line--lg { width: 40%; height: 32px; }
.rk-skel-line--md { width: 65%; height: 18px; }
.rk-skel-card {
  height: 140px;
  border-radius: var(--rk-r-lg);
  background: linear-gradient(90deg, var(--rk-surface) 0%, var(--rk-surface-2) 50%, var(--rk-surface) 100%);
  background-size: 200% 100%;
  animation: rk-skel 1.4s ease-in-out infinite;
}
@keyframes rk-skel {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Anonymous illustration */
.rk-anon-illu {
  width: 76px; height: 76px;
  margin: 0 auto var(--rk-s-4);
  background: linear-gradient(135deg, var(--rk-brand-soft), var(--rk-bg));
  border: 2px solid var(--rk-brand-soft);
  border-radius: var(--rk-r-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
  filter: drop-shadow(0 4px 12px rgba(220,38,38,0.18));
}

/* Welcome / hero strip */
.rk-dash-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--rk-s-5);
  padding: var(--rk-s-6) var(--rk-s-7);
  margin-bottom: var(--rk-s-6);
  background:
    radial-gradient(circle at 90% 10%, var(--rk-brand-soft) 0%, transparent 55%),
    linear-gradient(135deg, var(--rk-elevated) 0%, var(--rk-surface) 100%);
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-r-2xl);
  box-shadow: var(--rk-sh-1);
  position: relative;
  overflow: hidden;
}
.rk-dash-hero::before {
  content: '🩸';
  position: absolute;
  top: -20px; right: -20px;
  font-size: 9rem;
  opacity: 0.06;
  transform: rotate(15deg);
  pointer-events: none;
}
.rk-dash-hero-text { min-width: 0; flex: 1; position: relative; }
.rk-dash-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rk-brand);
  background: var(--rk-brand-soft);
  padding: 4px 12px;
  border-radius: var(--rk-r-full);
  margin-bottom: var(--rk-s-2);
}
.rk-dash-title {
  margin: 0 0 var(--rk-s-2);
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--rk-heading);
  line-height: 1.15;
}
.rk-dash-sub {
  margin: 0;
  color: var(--rk-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 540px;
}
.rk-dash-hero-avatar {
  flex-shrink: 0;
  width: 76px; height: 76px;
  border-radius: var(--rk-r-full);
  background: linear-gradient(135deg, var(--rk-brand) 0%, var(--rk-brand-dark) 100%);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: var(--rk-sh-3), 0 0 0 5px var(--rk-brand-soft);
  position: relative;
  z-index: 1;
}

/* FCM banner upgrade */
.rk-fcm-banner {
  display: flex;
  align-items: center;
  gap: var(--rk-s-4);
  padding: var(--rk-s-4) var(--rk-s-5);
  margin-bottom: var(--rk-s-5);
  background: var(--rk-info-soft);
  border: 1px solid rgba(37, 99, 235, 0.20);
  border-radius: var(--rk-r-lg);
  flex-wrap: wrap;
}
.rk-fcm-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--rk-info);
  color: white;
  border-radius: var(--rk-r-md);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.30);
}
.rk-fcm-text { flex: 1; min-width: 220px; }
.rk-fcm-text strong {
  display: block;
  color: var(--rk-info);
  font-size: 0.98rem;
  margin-bottom: 2px;
}
.rk-fcm-text p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--rk-muted);
  line-height: 1.4;
}

/* Profile card upgrade */
.rk-profile-card {
  background: var(--rk-elevated);
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-r-xl);
  padding: var(--rk-s-6);
  margin-bottom: var(--rk-s-7);
  box-shadow: var(--rk-sh-1);
}
.rk-profile-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--rk-s-3);
  padding-bottom: var(--rk-s-5);
  border-bottom: 1px solid var(--rk-border);
  margin-bottom: var(--rk-s-5);
}
.rk-profile-head-text h2 {
  margin: 0 0 var(--rk-s-1);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rk-heading);
}
.rk-profile-head-text p {
  margin: 0;
  color: var(--rk-muted);
  font-size: 0.92rem;
}
.rk-profile-actions {
  display: flex;
  gap: var(--rk-s-2);
  flex-wrap: wrap;
}
.rk-profile-actions .btn {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
}
.rk-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: var(--rk-s-4);
}
.rk-profile-cell {
  display: flex;
  flex-direction: column;
  gap: var(--rk-s-1);
  padding: var(--rk-s-4);
  background: var(--rk-surface);
  border: 1px solid var(--rk-border);
  border-radius: var(--rk-r-md);
  transition: border-color 0.15s, transform 0.15s;
}
.rk-profile-cell:hover {
  border-color: var(--rk-border-strong);
  transform: translateY(-1px);
}
.rk-profile-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rk-faint);
}
.rk-profile-val {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--rk-heading);
}
.rk-profile-bg {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--rk-brand);
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Status pills inside profile */
.rk-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--rk-r-full);
  font-size: 0.78rem;
  font-weight: 700;
}
.rk-status--ok { background: var(--rk-success-soft); color: var(--rk-success); }
.rk-status--paused { background: var(--rk-warn-soft); color: var(--rk-warn); }
.rk-status--cool { background: var(--rk-surface-2); color: var(--rk-muted); }

/* Section heads */
.rk-section { margin-bottom: var(--rk-s-7); }
.rk-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--rk-s-3);
  margin-bottom: var(--rk-s-4);
}
.rk-section-head h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}
.rk-section-sub {
  color: var(--rk-muted);
  font-size: 0.92rem;
  margin: 0 0 var(--rk-s-4);
}
.rk-empty-illu {
  font-size: 2.6rem;
  margin-bottom: var(--rk-s-3);
  opacity: 0.7;
}
.rokto-app .rokto-empty p {
  margin: 0 0 var(--rk-s-3);
  font-size: 0.95rem;
  color: var(--rk-muted);
}
.rokto-app .rokto-empty p strong {
  color: var(--rk-heading);
}

/* Mobile dashboard tweaks */
@media (max-width: 640px) {
  .rk-dash-hero {
    padding: var(--rk-s-5);
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .rk-dash-hero-avatar { width: 64px; height: 64px; font-size: 1.4rem; }
  .rk-dash-hero-text { width: 100%; }
  .rk-fcm-banner { flex-direction: column; align-items: flex-start; }
  .rk-fcm-banner .btn { width: 100%; }
  .rk-profile-head { flex-direction: column; }
  .rk-profile-actions { width: 100%; }
  .rk-profile-actions .btn { flex: 1; }
}

/* Hide redundant H1 on dashboard since hero shows name */
.rokto-app .rokto-main > h1 { display: none; }

/* ════════════════════════════════════════════════════════════════
   PIN PICKER (request form)
   ════════════════════════════════════════════════════════════════*/
.rk-pin-picker {
  margin-top: var(--rk-s-3);
  border: 1px dashed var(--rk-border-strong);
  border-radius: var(--rk-r-md);
  padding: var(--rk-s-3);
  background: var(--rk-surface);
}
.rk-pin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--rk-s-2);
}
.rk-pin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--rk-elevated);
  border: 1.5px solid var(--rk-border-strong);
  color: var(--rk-heading);
  padding: 0.5rem 0.95rem;
  border-radius: var(--rk-r-md);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.rk-pin-btn:hover {
  border-color: var(--rk-brand);
  color: var(--rk-brand);
  background: var(--rk-brand-soft);
}
.rk-pin-btn--ghost {
  background: transparent;
  font-weight: 500;
}
.rk-pin-btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.rk-pin-status {
  font-size: 0.82rem;
  color: var(--rk-muted);
  flex: 1 1 100%;
  margin-top: 4px;
  line-height: 1.4;
  word-break: break-word;
}
.rk-pin-status--ok { color: var(--rk-success); }
.rk-pin-status--warn { color: var(--rk-warn); }
.rk-pin-status--err { color: var(--rk-danger); }

.rk-pin-map {
  margin-top: var(--rk-s-3);
  height: 320px;
  width: 100%;
  border-radius: var(--rk-r-md);
  overflow: hidden;
  border: 1px solid var(--rk-border);
  z-index: 0;
}
.rk-pin-map .leaflet-container { font-family: inherit; }
@media (max-width: 600px) {
  .rk-pin-map { height: 260px; }
}

.rk-pin-link {
  color: var(--rk-brand);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.rk-pin-link:hover { text-decoration: underline; }
