/* ═══════════════════════════════════════════════════════════
   MediCare+ Pitch Deck — Design System
   Palette: White · Blue · Purple · Green · Teal · Orange
   Font: Plus Jakarta Sans (body) + Syne (display)
═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:    #2563EB;
  --blue-lt: #EFF6FF;
  --blue-md: #BFDBFE;
  --purple:  #7C3AED;
  --purple-lt:#F5F3FF;
  --purple-md:#DDD6FE;
  --green:   #059669;
  --green-lt:#ECFDF5;
  --green-md:#A7F3D0;
  --teal:    #0891B2;
  --teal-lt: #ECFEFF;
  --orange:  #D97706;
  --orange-lt:#FFFBEB;
  --red:     #DC2626;
  --red-lt:  #FEF2F2;
  --gray-50: #F9FAFB;
  --gray-100:#F3F4F6;
  --gray-200:#E5E7EB;
  --gray-300:#D1D5DB;
  --gray-400:#9CA3AF;
  --gray-600:#4B5563;
  --gray-700:#374151;
  --gray-800:#1F2937;
  --gray-900:#111827;
  --white:   #FFFFFF;
  --font-display: 'Syne', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.15);
}

html, body {
  height: 100%;
  font-family: var(--font-body);
  background: var(--gray-900);
  overflow: hidden;
}

/* ─── PRESENTATION SHELL ─── */
.presentation {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* ─── NAVIGATION BAR ─── */
.slide-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 52px;
  background: rgba(17,24,39,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 1000;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 16px; color: var(--white);
}
.nav-logo-icon {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: white; font-weight: 900;
}
.nav-controls {
  display: flex; align-items: center; gap: 12px;
}
.nav-btn {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  color: white; font-size: 16px; cursor: pointer;
  transition: background .2s;
}
.nav-btn:hover { background: rgba(255,255,255,.2); }
.slide-counter {
  font-size: 13px; color: rgba(255,255,255,.6);
  font-family: var(--font-display);
}
.nav-dots {
  display: flex; gap: 5px;
}
.nav-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  transition: all .2s;
}
.nav-dot.active {
  background: var(--blue);
  width: 18px;
  border-radius: 3px;
}

/* ─── SLIDES ─── */
.slide {
  position: absolute;
  top: 52px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  overflow-y: auto;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}
.slide.exit {
  opacity: 0;
  transform: translateX(-60px);
}

.slide-inner {
  padding: 28px 40px 32px;
  min-height: 100%;
}

/* ─── SLIDE HEADER ─── */
.slide-header {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gray-100);
}
.slide-num {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
  min-width: 52px;
}
.slide-title {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
}
.slide-subtitle {
  font-size: 14px; color: var(--gray-400);
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════
   SLIDE 1 & 17 — COVER / THANK YOU
═══════════════════════════════════════════════ */
.cover-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 40%, #0C4A6E 100%);
  z-index: 0;
}
.cover-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(37,99,235,.3) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(124,58,237,.25) 0%, transparent 50%),
              radial-gradient(ellipse at 60% 80%, rgba(5,150,105,.2) 0%, transparent 50%);
}
.cover-content, .thankyou-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  height: 100%;
  padding: 40px 60px;
  text-align: center;
  color: white;
}
.cover-badge {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: .5px;
}
.cover-logo, .ty-logo {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 12px;
}
.cover-logo-icon, .ty-logo-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 900; color: white;
  box-shadow: 0 8px 32px rgba(37,99,235,.4);
}
.cover-brand, .ty-brand {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 800;
  color: white;
  letter-spacing: -1px;
}
.brand-plus { color: #60A5FA; }
.cover-tagline {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  color: rgba(255,255,255,.7);
  margin-bottom: 8px;
}
.cover-sub {
  font-size: 15px; color: rgba(255,255,255,.5);
  margin-bottom: 28px;
}
.cover-pills {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}
.pill {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px; font-weight: 600;
  backdrop-filter: blur(8px);
}
.pill-blue   { background: rgba(37,99,235,.25);  border: 1px solid rgba(37,99,235,.4);  color: #93C5FD; }
.pill-green  { background: rgba(5,150,105,.25);  border: 1px solid rgba(5,150,105,.4);  color: #6EE7B7; }
.pill-purple { background: rgba(124,58,237,.25); border: 1px solid rgba(124,58,237,.4); color: #C4B5FD; }
.pill-teal   { background: rgba(8,145,178,.25);  border: 1px solid rgba(8,145,178,.4);  color: #67E8F9; }
.cover-stats, .ty-stats {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 20px 40px;
  backdrop-filter: blur(8px);
}
.cover-stat, .ty-stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 28px;
}
.stat-num, .ty-stat-num {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 800; color: white;
}
.stat-label, .ty-stat-label {
  font-size: 12px; color: rgba(255,255,255,.5);
  margin-top: 2px;
}
.cover-stat-div, .ty-stat-div {
  width: 1px; height: 40px;
  background: rgba(255,255,255,.15);
}
/* Orbs */
.cover-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .15;
}
.orb-1 { width: 400px; height: 400px; background: var(--blue);   top: -100px; left: -100px; }
.orb-2 { width: 300px; height: 300px; background: var(--purple); bottom: -80px; right: -80px; }
.orb-3 { width: 250px; height: 250px; background: var(--green);  top: 50%; left: 50%; transform: translate(-50%,-50%); }

/* Thank You extras */
.ty-headline {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 800; color: white;
  margin-bottom: 12px;
}
.ty-sub {
  font-size: 16px; color: rgba(255,255,255,.6);
  max-width: 560px; margin-bottom: 32px; line-height: 1.6;
}
.ty-contact {
  display: flex; gap: 32px; margin-top: 28px;
  flex-wrap: wrap; justify-content: center;
}
.ty-contact-item {
  font-size: 14px; color: rgba(255,255,255,.6);
}
.ty-tagline {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: rgba(255,255,255,.4);
  letter-spacing: 2px;
}

/* ═══════════════════════════════════════════════
   SLIDE 2 — OVERVIEW GRID
═══════════════════════════════════════════════ */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.overview-card {
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s;
}
.overview-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.overview-card h3 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  margin: 10px 0 6px;
  color: var(--gray-900);
}
.overview-card p { font-size: 13px; color: var(--gray-600); line-height: 1.5; }
.ov-icon { font-size: 28px; }
.ov-tag {
  margin-top: 12px;
  font-size: 11px; font-weight: 600;
  color: var(--gray-400);
  letter-spacing: .5px;
  text-transform: uppercase;
}
.card-blue   { background: var(--blue-lt);   border-color: var(--blue-md); }
.card-green  { background: var(--green-lt);  border-color: var(--green-md); }
.card-purple { background: var(--purple-lt); border-color: var(--purple-md); }
.card-orange { background: var(--orange-lt); border-color: #FDE68A; }
.card-teal   { background: var(--teal-lt);   border-color: #A5F3FC; }
.card-rose   { background: #FFF1F2;          border-color: #FECDD3; }

/* ═══════════════════════════════════════════════
   SLIDE 3 — PATIENT FLOW
═══════════════════════════════════════════════ */
.flow-steps {
  display: flex; align-items: center; gap: 4px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.flow-step {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  text-align: center;
  min-width: 110px;
  flex-shrink: 0;
}
.fs-num {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 800;
  color: var(--blue);
  background: var(--blue-lt);
  border-radius: 100px;
  padding: 2px 8px;
  display: inline-block;
  margin-bottom: 6px;
}
.fs-icon { font-size: 22px; margin-bottom: 4px; }
.fs-title { font-size: 12px; font-weight: 700; color: var(--gray-800); }
.fs-desc  { font-size: 10px; color: var(--gray-400); margin-top: 2px; }
.flow-arrow { font-size: 18px; color: var(--gray-300); flex-shrink: 0; }

.patient-features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-bottom: 20px;
}
.pf-section {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 14px;
}
.pf-heading {
  font-size: 12px; font-weight: 700; color: var(--gray-700);
  margin-bottom: 8px;
}
.pf-list { list-style: none; }
.pf-list li {
  font-size: 11px; color: var(--gray-600);
  padding: 3px 0;
  border-bottom: 1px solid var(--gray-100);
}
.pf-list li::before { content: '• '; color: var(--blue); }

/* Phone mockups */
.phone-mockup-row {
  display: flex; gap: 16px; justify-content: center;
}
.phone-mock {
  width: 160px;
  background: var(--gray-900);
  border-radius: 24px;
  padding: 8px;
  box-shadow: var(--shadow-xl);
}
.phone-screen {
  background: white;
  border-radius: 18px;
  padding: 10px 8px;
  min-height: 260px;
  overflow: hidden;
}
.phone-header-bar {
  display: flex; justify-content: space-between;
  font-size: 10px; font-weight: 700; color: var(--gray-700);
  margin-bottom: 8px;
}
.phone-greeting { font-size: 11px; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.phone-cards-row { display: flex; gap: 6px; margin-bottom: 8px; }
.phone-card {
  flex: 1; border-radius: 10px; padding: 8px 6px;
  font-size: 9px; font-weight: 700; text-align: center; line-height: 1.4;
}
.blue-card  { background: var(--blue-lt);  color: var(--blue); }
.green-card { background: var(--green-lt); color: var(--green); }
.phone-section-title { font-size: 9px; font-weight: 700; color: var(--gray-500); margin-bottom: 6px; }
.phone-services { display: flex; gap: 8px; margin-bottom: 8px; }
.svc-icon { font-size: 16px; }
.phone-health-card {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 10px; padding: 8px;
}
.hc-title { font-size: 9px; font-weight: 700; color: rgba(255,255,255,.8); margin-bottom: 4px; }
.hc-stats { display: flex; gap: 8px; }
.hc-stats span { font-size: 9px; color: white; font-weight: 600; }
.profile-avatar { font-size: 32px; text-align: center; margin: 8px 0 4px; }
.profile-name { font-size: 11px; font-weight: 700; text-align: center; color: var(--gray-800); margin-bottom: 8px; }
.profile-info-row { display: flex; gap: 6px; font-size: 9px; color: var(--gray-600); padding: 3px 0; border-bottom: 1px solid var(--gray-100); }
.profile-btn {
  margin-top: 8px;
  background: var(--blue);
  color: white; border-radius: 8px;
  padding: 6px; font-size: 9px; font-weight: 700; text-align: center;
}
.order-card { background: var(--gray-50); border-radius: 8px; padding: 8px; margin-bottom: 6px; }
.order-id { font-size: 9px; font-weight: 700; color: var(--gray-500); }
.order-status { font-size: 9px; font-weight: 700; margin: 2px 0; }
.status-delivered { color: var(--green); }
.status-shipping  { color: var(--blue); }
.order-items { font-size: 9px; color: var(--gray-600); }
.order-price { font-size: 10px; font-weight: 700; color: var(--gray-800); margin-top: 2px; }

/* ═══════════════════════════════════════════════
   SLIDE 4 — AI DOCTOR
═══════════════════════════════════════════════ */
.ai-flow-container {
  display: flex; align-items: stretch; gap: 4px;
  margin-bottom: 16px;
}
.ai-step {
  flex: 1; border-radius: var(--radius-md);
  padding: 16px 12px; text-align: center;
  position: relative;
}
.ai-step h4 { font-size: 13px; font-weight: 700; margin: 6px 0 4px; }
.ai-step p  { font-size: 11px; line-height: 1.4; }
.ai-step-icon { font-size: 24px; }
.ai-step-num {
  position: absolute; top: 8px; right: 8px;
  font-size: 10px; font-weight: 800;
  opacity: .4;
  font-family: var(--font-display);
}
.ai-step-blue   { background: var(--blue-lt);   color: var(--blue); }
.ai-step-purple { background: var(--purple-lt); color: var(--purple); }
.ai-step-teal   { background: var(--teal-lt);   color: var(--teal); }
.ai-step-green  { background: var(--green-lt);  color: var(--green); }
.ai-step-orange { background: var(--orange-lt); color: var(--orange); }
.ai-connector { font-size: 20px; color: var(--gray-300); align-self: center; flex-shrink: 0; }

/* Voice wave */
.ai-wave {
  display: flex; align-items: center; justify-content: center;
  gap: 3px; margin-top: 8px; height: 20px;
}
.ai-wave span {
  display: block; width: 3px; border-radius: 2px;
  background: currentColor; opacity: .5;
  animation: wave 1.2s ease-in-out infinite;
}
.ai-wave span:nth-child(1) { height: 6px;  animation-delay: 0s; }
.ai-wave span:nth-child(2) { height: 12px; animation-delay: .1s; }
.ai-wave span:nth-child(3) { height: 18px; animation-delay: .2s; }
.ai-wave span:nth-child(4) { height: 12px; animation-delay: .3s; }
.ai-wave span:nth-child(5) { height: 6px;  animation-delay: .4s; }
@keyframes wave {
  0%,100% { transform: scaleY(1); }
  50%      { transform: scaleY(1.8); }
}

.ai-features-row {
  display: flex; gap: 8px; margin-bottom: 12px;
}
.ai-feat {
  flex: 1; background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 10px 8px; text-align: center;
  font-size: 11px; font-weight: 600; color: var(--gray-700);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.af-icon { font-size: 18px; }

.emergency-box {
  background: #FFF7ED;
  border: 2px solid #FED7AA;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 14px;
}
.emg-icon { font-size: 28px; flex-shrink: 0; }
.emg-content h4 { font-size: 14px; font-weight: 700; color: var(--orange); margin-bottom: 4px; }
.emg-content p  { font-size: 12px; color: var(--gray-700); margin-bottom: 8px; }
.emg-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.emg-action {
  background: white; border: 1px solid #FED7AA;
  border-radius: 100px; padding: 4px 12px;
  font-size: 11px; font-weight: 600; color: var(--orange);
}

/* AI Chat Mockup */
.ai-chat-mockup {
  position: absolute; right: 40px; top: 90px;
  width: 220px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.chat-header {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
}
.chat-avatar {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.chat-name  { font-size: 12px; font-weight: 700; color: white; }
.chat-status { font-size: 10px; color: rgba(255,255,255,.7); }
.chat-messages { padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.chat-msg {
  max-width: 85%; padding: 7px 10px;
  border-radius: 12px; font-size: 10px; line-height: 1.4;
}
.bot-msg  { background: var(--gray-100); color: var(--gray-700); align-self: flex-start; border-bottom-left-radius: 4px; }
.user-msg { background: var(--blue); color: white; align-self: flex-end; border-bottom-right-radius: 4px; }
.typing { display: flex; gap: 4px; align-items: center; padding: 10px 12px; }
.typing span {
  width: 6px; height: 6px; background: var(--gray-400);
  border-radius: 50%;
  animation: typing 1.2s ease-in-out infinite;
}
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing {
  0%,100% { transform: translateY(0); opacity: .4; }
  50%      { transform: translateY(-4px); opacity: 1; }
}
.chat-input-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px;
  border-top: 1px solid var(--gray-100);
}
.mic-btn, .send-btn { font-size: 14px; cursor: pointer; }
.chat-input-field {
  flex: 1; background: var(--gray-100);
  border-radius: 100px; padding: 5px 10px;
  font-size: 9px; color: var(--gray-400);
}

/* ═══════════════════════════════════════════════
   SLIDE 5 — PRESCRIPTION
═══════════════════════════════════════════════ */
.rx-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rx-card {
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-md);
}
.rx-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.rx-logo { font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--blue); }
.rx-date { font-size: 11px; color: var(--gray-400); }
.rx-patient { margin-bottom: 12px; }
.rx-field { font-size: 12px; color: var(--gray-700); padding: 3px 0; }
.rx-field span { font-weight: 700; color: var(--gray-900); }
.rx-divider { height: 1px; background: var(--gray-200); margin: 12px 0; }
.rx-medicines { margin-bottom: 12px; }
.rx-med { padding: 8px 0; border-bottom: 1px dashed var(--gray-200); }
.rx-med-name { font-size: 13px; font-weight: 700; color: var(--gray-900); }
.rx-med-detail { font-size: 11px; color: var(--gray-500); margin-top: 2px; }
.rx-note {
  background: #FFFBEB; border: 1px solid #FDE68A;
  border-radius: var(--radius-sm); padding: 8px 12px;
  font-size: 11px; color: var(--orange); margin-bottom: 14px;
}
.rx-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.rx-btn {
  padding: 7px 12px; border-radius: var(--radius-sm);
  font-size: 11px; font-weight: 700; border: none; cursor: pointer;
}
.rx-btn-blue   { background: var(--blue);   color: white; }
.rx-btn-green  { background: var(--green);  color: white; }
.rx-btn-gray   { background: var(--gray-100); color: var(--gray-700); }

.rx-features { margin-bottom: 16px; }
.rx-features h4 { font-size: 14px; font-weight: 700; color: var(--gray-800); margin-bottom: 12px; }
.rx-feat-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--gray-100);
}
.rfi-icon {
  width: 32px; height: 32px;
  background: var(--blue-lt); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.rx-feat-item strong { font-size: 12px; color: var(--gray-800); display: block; }
.rx-feat-item p { font-size: 11px; color: var(--gray-500); margin-top: 1px; }

.reminder-card {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 14px;
}
.rem-title { font-size: 13px; font-weight: 700; color: var(--gray-800); margin-bottom: 10px; }
.rem-item { font-size: 12px; padding: 6px 0; border-bottom: 1px solid var(--gray-100); }
.rem-done    { color: var(--green); }
.rem-pending { color: var(--gray-500); }

/* ═══════════════════════════════════════════════
   SLIDE 6 — MEDICINE LIBRARY
═══════════════════════════════════════════════ */
.med-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.med-search-bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 10px 14px;
  margin-bottom: 12px;
}
.med-search-text { font-size: 13px; color: var(--gray-400); }
.med-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.mf-chip {
  padding: 5px 12px; border-radius: 100px;
  font-size: 11px; font-weight: 600;
  background: var(--gray-100); color: var(--gray-600);
  cursor: pointer; border: 1px solid var(--gray-200);
}
.mf-active { background: var(--blue); color: white; border-color: var(--blue); }
.med-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.med-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 12px;
  text-align: center;
  transition: box-shadow .2s;
}
.med-card:hover { box-shadow: var(--shadow-md); }
.med-icon  { font-size: 24px; margin-bottom: 6px; }
.med-name  { font-size: 11px; font-weight: 700; color: var(--gray-800); margin-bottom: 2px; }
.med-type  { font-size: 10px; color: var(--gray-400); margin-bottom: 4px; }
.med-price { font-size: 13px; font-weight: 800; color: var(--blue); margin-bottom: 8px; }
.med-add-btn {
  width: 100%; padding: 5px;
  background: var(--blue-lt); color: var(--blue);
  border: 1px solid var(--blue-md); border-radius: var(--radius-sm);
  font-size: 11px; font-weight: 700; cursor: pointer;
}

.med-detail-popup {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 16px;
  box-shadow: var(--shadow-md); margin-bottom: 12px;
}
.mdp-header { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.mdp-icon { font-size: 32px; }
.mdp-name  { font-size: 14px; font-weight: 700; color: var(--gray-900); }
.mdp-brand { font-size: 11px; color: var(--gray-400); }
.mdp-info  { margin-bottom: 12px; }
.mdp-row   { font-size: 12px; color: var(--gray-700); padding: 4px 0; border-bottom: 1px solid var(--gray-100); }
.mdp-row span { font-weight: 700; color: var(--gray-900); }
.mdp-qty {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; color: var(--gray-700);
  margin-bottom: 12px;
}
.qty-ctrl {
  display: flex; align-items: center; gap: 8px;
  background: var(--gray-100); border-radius: var(--radius-sm); padding: 4px 10px;
}
.qty-ctrl button {
  background: none; border: none; font-size: 16px; cursor: pointer; color: var(--blue);
}
.qty-ctrl span { font-size: 14px; font-weight: 700; }
.mdp-total { font-size: 16px; font-weight: 800; color: var(--blue); margin-left: auto; }
.mdp-cart-btn {
  width: 100%; padding: 10px;
  background: var(--blue); color: white;
  border: none; border-radius: var(--radius-md);
  font-size: 13px; font-weight: 700; cursor: pointer;
}

.ai-rec-box {
  background: var(--purple-lt); border: 1px solid var(--purple-md);
  border-radius: var(--radius-md); padding: 12px; margin-bottom: 12px;
}
.arb-title { font-size: 12px; font-weight: 700; color: var(--purple); margin-bottom: 8px; }
.arb-item  { font-size: 11px; color: var(--gray-700); padding: 4px 0; }
.arb-note  { font-size: 10px; color: var(--gray-400); margin-top: 6px; }

.cart-summary-box {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 12px;
}
.csb-title { font-size: 12px; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.csb-item  { display: flex; justify-content: space-between; font-size: 11px; color: var(--gray-600); padding: 4px 0; }
.csb-divider { height: 1px; background: var(--gray-200); margin: 6px 0; }
.csb-total { display: flex; justify-content: space-between; font-size: 13px; font-weight: 800; color: var(--gray-900); margin-bottom: 10px; }
.csb-checkout {
  width: 100%; padding: 9px;
  background: var(--green); color: white;
  border: none; border-radius: var(--radius-md);
  font-size: 12px; font-weight: 700; cursor: pointer;
}

/* ═══════════════════════════════════════════════
   SLIDE 7 — ORDER & DELIVERY
═══════════════════════════════════════════════ */
.delivery-flow {
  display: flex; align-items: center;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 16px 20px;
  margin-bottom: 20px; gap: 0;
  overflow-x: auto;
}
.df-step {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; flex-shrink: 0; min-width: 80px;
  opacity: .4;
}
.df-step.df-active  { opacity: 1; }
.df-step.df-current { opacity: 1; }
.df-icon {
  width: 40px; height: 40px;
  background: var(--gray-200); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.df-active  .df-icon { background: var(--blue-lt); }
.df-current .df-icon { background: var(--blue); font-size: 20px; box-shadow: 0 0 0 4px var(--blue-md); }
.df-label { font-size: 10px; font-weight: 600; color: var(--gray-600); text-align: center; }
.df-line {
  width: 40px; height: 2px;
  background: var(--gray-200);
  position: absolute; right: -20px; top: 20px;
}
.df-step { position: relative; }
.df-active .df-line { background: var(--blue); }

.delivery-details { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.payment-methods {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 14px; margin-bottom: 12px;
}
.payment-methods h4 { font-size: 13px; font-weight: 700; color: var(--gray-800); margin-bottom: 10px; }
.pm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pm-item {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); padding: 8px 10px;
  font-size: 11px; font-weight: 600; color: var(--gray-700);
}
.address-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 14px; margin-bottom: 12px;
}
.address-card h4 { font-size: 13px; font-weight: 700; color: var(--gray-800); margin-bottom: 10px; }
.addr-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px; border-radius: var(--radius-sm);
  margin-bottom: 6px; border: 1px solid var(--gray-200);
}
.addr-selected { background: var(--blue-lt); border-color: var(--blue-md); }
.addr-label { font-size: 11px; font-weight: 700; color: var(--gray-800); }
.addr-text  { font-size: 10px; color: var(--gray-500); }
.addr-check { margin-left: auto; color: var(--blue); font-weight: 700; }
.cancel-policy {
  background: #FFF7ED; border: 1px solid #FED7AA;
  border-radius: var(--radius-sm); padding: 8px 12px;
  font-size: 11px; color: var(--orange);
  display: flex; gap: 6px; align-items: flex-start;
}

.tracking-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 14px; margin-bottom: 12px;
}
.tc-header {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 700; color: var(--gray-800);
  margin-bottom: 14px;
}
.tc-status {
  background: var(--blue-lt); color: var(--blue);
  border-radius: 100px; padding: 3px 10px;
  font-size: 11px; font-weight: 700;
}
.tc-timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding-bottom: 12px;
  position: relative;
}
.tl-item:not(:last-child)::before {
  content: '';
  position: absolute; left: 7px; top: 16px;
  width: 2px; height: calc(100% - 4px);
  background: var(--gray-200);
}
.tl-item.tl-done::before { background: var(--blue); }
.tl-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0; margin-top: 2px;
}
.tl-dot-active { background: var(--blue); box-shadow: 0 0 0 4px var(--blue-md); }
.tl-dot-empty  { background: var(--gray-200); }
.tl-title { font-size: 12px; font-weight: 600; color: var(--gray-800); }
.tl-time  { font-size: 10px; color: var(--gray-400); }

.notif-card {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 12px;
}
.notif-title { font-size: 12px; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.notif-item  { font-size: 11px; color: var(--gray-600); padding: 5px 0; border-bottom: 1px solid var(--gray-100); }

/* ═══════════════════════════════════════════════
   SLIDE 8 — DOCTOR APP
═══════════════════════════════════════════════ */
.doctor-layout { display: grid; grid-template-columns: 1fr 1fr 1fr 1.2fr; gap: 16px; }
.doctor-flow-col {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 14px;
}
.dfc-title { font-size: 12px; font-weight: 800; color: var(--gray-700); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .5px; }
.doc-step {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 0; border-bottom: 1px solid var(--gray-200);
}
.doc-step:last-child { border-bottom: none; }
.ds-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue); color: white;
  font-size: 10px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ds-title { font-size: 11px; font-weight: 700; color: var(--gray-800); }
.ds-desc  { font-size: 10px; color: var(--gray-400); margin-top: 1px; }

.doctor-dashboard-mock {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 14px;
  box-shadow: var(--shadow-md);
}
.ddm-header {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 700; color: var(--gray-800);
  margin-bottom: 12px;
}
.ddm-online { color: var(--green); font-size: 11px; }
.ddm-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 14px; }
.ddm-stat {
  background: var(--gray-50); border-radius: var(--radius-sm);
  padding: 8px; text-align: center;
}
.ddm-stat-num   { font-size: 14px; font-weight: 800; color: var(--blue); }
.ddm-stat-label { font-size: 9px; color: var(--gray-400); margin-top: 2px; }
.ddm-chart { margin-bottom: 12px; }
.ddm-chart-title { font-size: 11px; font-weight: 700; color: var(--gray-600); margin-bottom: 8px; }
.ddm-bars {
  display: flex; align-items: flex-end; gap: 4px; height: 60px;
}
.ddm-bar {
  flex: 1; background: var(--blue-md); border-radius: 4px 4px 0 0;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 2px;
}
.ddm-bar span { font-size: 8px; color: var(--blue); font-weight: 700; }
.ddm-bar-active { background: var(--blue); }
.ddm-bar-active span { color: white; }
.ddm-withdraw-btn {
  width: 100%; padding: 9px;
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: white; border: none; border-radius: var(--radius-md);
  font-size: 12px; font-weight: 700; cursor: pointer; text-align: center;
}

/* ═══════════════════════════════════════════════
   SLIDE 9 — DOCTOR PROFILE
═══════════════════════════════════════════════ */
.doc-profile-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; }
.doc-profile-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 24px;
  box-shadow: var(--shadow-md); text-align: center;
}
.dpc-avatar { font-size: 56px; margin-bottom: 8px; }
.dpc-name   { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--gray-900); }
.dpc-spec   { font-size: 13px; color: var(--gray-500); margin-bottom: 6px; }
.dpc-rating { font-size: 13px; color: var(--orange); margin-bottom: 14px; }
.dpc-stats-row {
  display: flex; justify-content: center; gap: 0;
  background: var(--gray-50); border-radius: var(--radius-md);
  padding: 12px; margin-bottom: 14px;
}
.dpc-stat { flex: 1; text-align: center; }
.dpc-stat:not(:last-child) { border-right: 1px solid var(--gray-200); }
.dpc-stat-num   { font-size: 18px; font-weight: 800; color: var(--blue); }
.dpc-stat-label { font-size: 10px; color: var(--gray-400); }
.dpc-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 14px; }
.dpc-tag {
  background: var(--blue-lt); color: var(--blue);
  border-radius: 100px; padding: 4px 10px;
  font-size: 11px; font-weight: 600;
}
.dpc-pricing { margin-bottom: 14px; }
.dpc-price-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--gray-100);
  font-size: 12px; color: var(--gray-700);
}
.dpc-price { font-size: 14px; font-weight: 800; color: var(--green); }
.dpc-btns { display: flex; gap: 8px; }
.dpc-btn-online, .dpc-btn-offline {
  flex: 1; padding: 10px;
  border: none; border-radius: var(--radius-md);
  font-size: 12px; font-weight: 700; cursor: pointer;
}
.dpc-btn-online  { background: var(--blue);  color: white; }
.dpc-btn-offline { background: var(--green); color: white; }

.doc-qual-card, .reviews-card, .booking-info-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 16px; margin-bottom: 12px;
}
.doc-qual-card h4, .reviews-card h4, .booking-info-card h4 {
  font-size: 13px; font-weight: 700; color: var(--gray-800); margin-bottom: 12px;
}
.qual-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 0; border-bottom: 1px solid var(--gray-100);
}
.qual-icon { font-size: 18px; flex-shrink: 0; }
.qual-title { font-size: 12px; font-weight: 700; color: var(--gray-800); }
.qual-year  { font-size: 10px; color: var(--gray-400); }
.review-item { padding: 8px 0; border-bottom: 1px solid var(--gray-100); }
.rev-header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.rev-avatar { font-size: 18px; }
.rev-name   { font-size: 12px; font-weight: 700; color: var(--gray-800); }
.rev-stars  { font-size: 11px; margin-left: auto; }
.rev-text   { font-size: 11px; color: var(--gray-600); font-style: italic; }
.bi-item    { font-size: 12px; color: var(--gray-700); padding: 5px 0; border-bottom: 1px solid var(--gray-100); }

/* ═══════════════════════════════════════════════
   SLIDE 10 — ADMIN PANEL
═══════════════════════════════════════════════ */
.admin-layout { display: grid; grid-template-columns: 160px 1fr; gap: 0; height: calc(100% - 80px); }
.admin-sidebar {
  background: var(--gray-900);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  padding: 16px 12px;
}
.asb-logo {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 800; color: white;
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.asb-item {
  padding: 8px 10px; border-radius: var(--radius-sm);
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,.5);
  cursor: pointer; margin-bottom: 2px;
  transition: all .2s;
}
.asb-item:hover { background: rgba(255,255,255,.08); color: white; }
.asb-active { background: var(--blue) !important; color: white !important; }

.admin-main {
  background: var(--gray-50);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 16px;
  overflow-y: auto;
}
.admin-kpi-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 14px; }
.kpi-card {
  border-radius: var(--radius-md); padding: 14px;
  border: 1px solid transparent;
}
.kpi-blue   { background: var(--blue-lt);   border-color: var(--blue-md); }
.kpi-green  { background: var(--green-lt);  border-color: var(--green-md); }
.kpi-purple { background: var(--purple-lt); border-color: var(--purple-md); }
.kpi-orange { background: var(--orange-lt); border-color: #FDE68A; }
.kpi-icon   { font-size: 22px; margin-bottom: 6px; }
.kpi-num    { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--gray-900); }
.kpi-label  { font-size: 11px; color: var(--gray-500); margin-top: 2px; }
.kpi-trend  { font-size: 10px; color: var(--green); font-weight: 600; margin-top: 4px; }

.admin-charts-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; margin-bottom: 12px; }
.admin-chart-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 14px;
}
.acc-title { font-size: 12px; font-weight: 700; color: var(--gray-700); margin-bottom: 10px; }
.bar-chart { display: flex; align-items: flex-end; gap: 6px; height: 80px; }
.bc-bar {
  flex: 1; background: var(--blue-md); border-radius: 4px 4px 0 0;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 2px;
}
.bc-bar span { font-size: 8px; color: var(--blue); font-weight: 700; }
.bc-bar-active { background: var(--blue); }
.bc-bar-active span { color: white; }

.world-map-mock {
  background: var(--gray-50); border-radius: var(--radius-sm);
  height: 90px; position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; gap: 6px; padding: 8px;
  align-content: flex-start;
}
.wm-dot {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); padding: 4px 8px;
  font-size: 9px; font-weight: 600; color: var(--gray-700);
  line-height: 1.3;
}
.wm-dot span { color: var(--blue); font-weight: 800; display: block; }

.admin-controls-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ac-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 14px;
}
.ctrl-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 0; border-bottom: 1px solid var(--gray-100);
  font-size: 12px; color: var(--gray-700);
}
.toggle-on  { background: var(--green);  color: white; border-radius: 100px; padding: 2px 10px; font-size: 10px; font-weight: 700; }
.toggle-off { background: var(--gray-300); color: var(--gray-600); border-radius: 100px; padding: 2px 10px; font-size: 10px; font-weight: 700; }
.sn-item { font-size: 11px; padding: 6px 0; border-bottom: 1px solid var(--gray-100); }
.sn-warn    { color: var(--orange); }
.sn-info    { color: var(--blue); }
.sn-success { color: var(--green); }

/* ═══════════════════════════════════════════════
   SLIDE 11 — HELP CENTER
═══════════════════════════════════════════════ */
.help-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 20px; }
.help-flow { display: flex; flex-direction: column; align-items: center; gap: 0; }
.hf-step {
  width: 100%; border-radius: var(--radius-md); padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
}
.hf-icon  { font-size: 22px; flex-shrink: 0; }
.hf-title { font-size: 12px; font-weight: 700; }
.hf-desc  { font-size: 10px; opacity: .7; }
.hf-blue   { background: var(--blue-lt);   color: var(--blue); }
.hf-purple { background: var(--purple-lt); color: var(--purple); }
.hf-orange { background: var(--orange-lt); color: var(--orange); }
.hf-teal   { background: var(--teal-lt);   color: var(--teal); }
.hf-green  { background: var(--green-lt);  color: var(--green); }
.hf-arrow  { font-size: 18px; color: var(--gray-300); margin: 2px 0; }

.ticket-panel {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 14px; margin-bottom: 12px;
}
.tp-header {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 700; color: var(--gray-800);
  margin-bottom: 12px;
}
.tp-count {
  background: var(--orange-lt); color: var(--orange);
  border-radius: 100px; padding: 3px 10px;
  font-size: 11px; font-weight: 700;
}
.ticket-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px; border-radius: var(--radius-sm);
  margin-bottom: 6px; border: 1px solid var(--gray-200);
}
.ti-high   { border-left: 3px solid var(--red); }
.ti-medium { border-left: 3px solid var(--orange); }
.ti-low    { border-left: 3px solid var(--green); }
.ti-id     { font-size: 10px; font-weight: 700; color: var(--gray-400); min-width: 70px; }
.ti-info   { flex: 1; }
.ti-title  { font-size: 12px; font-weight: 700; color: var(--gray-800); }
.ti-meta   { font-size: 10px; color: var(--gray-400); }
.ti-priority {
  border-radius: 4px; padding: 2px 6px;
  font-size: 9px; font-weight: 800;
}
.high   { background: var(--red-lt);    color: var(--red); }
.medium { background: var(--orange-lt); color: var(--orange); }
.low    { background: var(--green-lt);  color: var(--green); }
.ti-btn {
  padding: 5px 10px; background: var(--blue); color: white;
  border: none; border-radius: var(--radius-sm);
  font-size: 10px; font-weight: 700; cursor: pointer;
}

.ticket-analytics {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 14px;
}
.ta-title { font-size: 12px; font-weight: 700; color: var(--gray-800); margin-bottom: 10px; }
.ta-stats { display: flex; gap: 0; }
.ta-stat  { flex: 1; text-align: center; padding: 0 12px; }
.ta-stat:not(:last-child) { border-right: 1px solid var(--gray-200); }
.ta-num   { font-size: 22px; font-weight: 800; color: var(--gray-800); display: block; }
.ta-stat span:last-child { font-size: 10px; color: var(--gray-400); }
.ta-green  { color: var(--green) !important; }
.ta-orange { color: var(--orange) !important; }
.ta-blue   { color: var(--blue) !important; }

/* ═══════════════════════════════════════════════
   SLIDE 12 — STAFF MANAGEMENT
═══════════════════════════════════════════════ */
.staff-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.staff-table-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 16px;
  box-shadow: var(--shadow-sm);
}
.stc-header {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 700; color: var(--gray-800);
  margin-bottom: 12px;
}
.stc-live { color: var(--green); font-size: 11px; font-weight: 700; }
.staff-table { width: 100%; border-collapse: collapse; }
.staff-table th {
  background: var(--gray-50); padding: 8px 10px;
  font-size: 10px; font-weight: 700; color: var(--gray-500);
  text-align: left; text-transform: uppercase; letter-spacing: .5px;
  border-bottom: 1px solid var(--gray-200);
}
.staff-table td {
  padding: 9px 10px; font-size: 11px; color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}
.st-online  { color: var(--green); font-weight: 700; }
.st-away    { color: var(--orange); font-weight: 700; }
.st-offline { color: var(--gray-400); font-weight: 700; }

.staff-controls { display: flex; flex-direction: column; gap: 12px; }
.sc-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 14px;
}
.sc-card h4 { font-size: 13px; font-weight: 700; color: var(--gray-800); margin-bottom: 10px; }
.sr-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 0; border-bottom: 1px solid var(--gray-100);
  font-size: 12px; color: var(--gray-700);
}
.sl-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0; border-bottom: 1px solid var(--gray-100);
  font-size: 11px; color: var(--gray-700);
}
.sl-ip { font-size: 10px; color: var(--gray-400); font-family: monospace; }

/* ═══════════════════════════════════════════════
   SLIDE 13 — SECURITY
═══════════════════════════════════════════════ */
.security-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; }
.security-layers { }
.sl-title { font-size: 14px; font-weight: 700; color: var(--gray-800); margin-bottom: 12px; }
.sec-layer {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px; border-radius: var(--radius-md);
  margin-bottom: 8px; border: 1px solid transparent;
}
.sl-icon { font-size: 22px; flex-shrink: 0; }
.sl-name  { font-size: 12px; font-weight: 700; margin-bottom: 3px; }
.sl-items { font-size: 11px; opacity: .8; }
.sec-l1 { background: var(--blue-lt);   border-color: var(--blue-md);   color: var(--blue); }
.sec-l2 { background: var(--purple-lt); border-color: var(--purple-md); color: var(--purple); }
.sec-l3 { background: var(--green-lt);  border-color: var(--green-md);  color: var(--green); }
.sec-l4 { background: var(--orange-lt); border-color: #FDE68A;          color: var(--orange); }
.sec-l5 { background: var(--red-lt);    border-color: #FECACA;          color: var(--red); }

.rbac-card, .session-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 14px; margin-bottom: 12px;
}
.rbac-card h4, .session-card h4 { font-size: 13px; font-weight: 700; color: var(--gray-800); margin-bottom: 10px; }
.rbac-table { }
.rbac-row {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  padding: 7px 0; border-bottom: 1px solid var(--gray-100);
  font-size: 11px; color: var(--gray-700); gap: 4px;
}
.rbac-header { font-weight: 700; color: var(--gray-500); font-size: 10px; text-transform: uppercase; }
.sess-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--gray-100);
  font-size: 11px; color: var(--gray-700);
}
.sess-active { color: var(--green); font-weight: 700; font-size: 10px; }
.sess-time   { color: var(--gray-400); font-size: 10px; }
.sess-suspicious { background: var(--red-lt); border-radius: var(--radius-sm); padding: 6px 8px; }
.sess-block {
  background: var(--red); color: white;
  border-radius: 100px; padding: 2px 10px;
  font-size: 10px; font-weight: 700; cursor: pointer;
}

/* ═══════════════════════════════════════════════
   SLIDE 14 — ANALYTICS
═══════════════════════════════════════════════ */
.analytics-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.an-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 14px;
}
.an-large { grid-column: 1; grid-row: 1; }
.an-wide  { grid-column: 1 / -1; }
.an-title { font-size: 12px; font-weight: 700; color: var(--gray-700); margin-bottom: 10px; }
.an-metric { font-size: 11px; color: var(--blue); font-weight: 600; margin-top: 6px; }

.line-chart { position: relative; }
.lc-svg { width: 100%; height: 80px; }
.lc-labels {
  display: flex; justify-content: space-between;
  font-size: 9px; color: var(--gray-400); margin-top: 4px;
}

.donut-chart {
  width: 80px; height: 80px; margin: 0 auto 10px;
  border-radius: 50%;
  background: conic-gradient(var(--blue) 0% 45%, var(--green) 45% 80%, var(--purple) 80% 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.donut-chart::before {
  content: '';
  width: 50px; height: 50px;
  background: white; border-radius: 50%;
  position: absolute;
}
.dc-center {
  position: relative; z-index: 1;
  font-size: 10px; font-weight: 800; color: var(--gray-800);
}
.dc-legend { }
.dcl-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--gray-600); margin-bottom: 4px; }
.dcl-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dcl-blue   { background: var(--blue); }
.dcl-green  { background: var(--green); }
.dcl-purple { background: var(--purple); }

.dp-list { }
.dp-item { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 11px; color: var(--gray-700); }
.dp-bar-wrap { flex: 1; height: 6px; background: var(--gray-100); border-radius: 3px; }
.dp-bar { height: 100%; background: var(--blue); border-radius: 3px; }

.mo-stats { display: flex; gap: 0; margin-bottom: 10px; }
.mo-stat  { flex: 1; text-align: center; }
.mo-stat:not(:last-child) { border-right: 1px solid var(--gray-100); }
.mo-num   { font-size: 18px; font-weight: 800; color: var(--gray-800); display: block; }
.mo-stat span:last-child { font-size: 9px; color: var(--gray-400); }
.mo-green { color: var(--green) !important; }
.mo-blue  { color: var(--blue) !important; }
.mo-bar-chart { display: flex; align-items: flex-end; gap: 4px; height: 50px; }
.mob-bar {
  flex: 1; background: var(--blue-md); border-radius: 3px 3px 0 0;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 2px;
}
.mob-bar span { font-size: 7px; color: var(--blue); font-weight: 700; }
.mob-active { background: var(--blue); }
.mob-active span { color: white; }

.global-stats { }
.gs-item { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.gs-flag { font-size: 16px; flex-shrink: 0; }
.gs-country { font-size: 11px; font-weight: 600; color: var(--gray-700); min-width: 60px; }
.gs-bar-wrap { flex: 1; height: 8px; background: var(--gray-100); border-radius: 4px; }
.gs-bar { height: 100%; background: var(--blue); border-radius: 4px; }
.gs-bar-green  { background: var(--green); }
.gs-bar-purple { background: var(--purple); }
.gs-bar-orange { background: var(--orange); }
.gs-bar-teal   { background: var(--teal); }
.gs-num { font-size: 11px; font-weight: 700; color: var(--gray-700); min-width: 40px; text-align: right; }

/* ═══════════════════════════════════════════════
   SLIDE 15 — SYSTEM FLOWCHART
═══════════════════════════════════════════════ */
.system-flow {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 20px;
}
.sf-row {
  display: flex; align-items: center; gap: 8px;
}
.sf-node {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: white; border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 14px 18px;
  min-width: 100px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s;
}
.sf-node:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.sfn-icon  { font-size: 28px; }
.sfn-label { font-size: 11px; font-weight: 700; color: var(--gray-700); }
.sf-arrow-h { font-size: 20px; color: var(--gray-300); }
.sf-arrow-left { transform: scaleX(-1); }
.sf-connector-down { font-size: 24px; color: var(--gray-300); }

.sf-user    { border-color: var(--blue);   background: var(--blue-lt); }
.sf-reg     { border-color: var(--purple); background: var(--purple-lt); }
.sf-dash    { border-color: var(--teal);   background: var(--teal-lt); }
.sf-ai      { border-color: var(--blue);   background: var(--blue-lt); }
.sf-rx      { border-color: var(--green);  background: var(--green-lt); }
.sf-order   { border-color: var(--green);  background: var(--green-lt); }
.sf-payment { border-color: var(--orange); background: var(--orange-lt); }
.sf-delivery{ border-color: var(--teal);   background: var(--teal-lt); }
.sf-report  { border-color: var(--purple); background: var(--purple-lt); }
.sf-admin   { border-color: var(--blue);   background: var(--blue-lt); }

.sf-side-flows {
  display: flex; gap: 40px; margin-top: 8px;
}
.ssf-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ssf-node {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 8px 16px;
  font-size: 11px; font-weight: 700; color: var(--gray-700);
}
.ssf-doctor  { border-color: var(--green);  background: var(--green-lt);  color: var(--green); }
.ssf-security{ border-color: var(--blue);   background: var(--blue-lt);   color: var(--blue); }
.ssf-support { border-color: var(--orange); background: var(--orange-lt); color: var(--orange); }
.ssf-arrow { font-size: 16px; color: var(--gray-300); }

/* ═══════════════════════════════════════════════
   SLIDE 16 — FUTURE FEATURES
═══════════════════════════════════════════════ */
.future-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.future-card {
  border-radius: var(--radius-lg); padding: 18px;
  border: 1px solid transparent;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.future-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fc-icon  { font-size: 32px; margin-bottom: 8px; }
.fc-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,0,0,.08); border-radius: 100px;
  padding: 2px 8px; font-size: 9px; font-weight: 700;
}
.future-card h4 { font-size: 13px; font-weight: 800; margin-bottom: 6px; }
.future-card p  { font-size: 11px; line-height: 1.5; opacity: .8; margin-bottom: 10px; }
.fc-tech {
  font-size: 9px; font-weight: 700; opacity: .6;
  text-transform: uppercase; letter-spacing: .5px;
}
.fc-blue   { background: var(--blue-lt);   border-color: var(--blue-md);   color: var(--blue); }
.fc-purple { background: var(--purple-lt); border-color: var(--purple-md); color: var(--purple); }
.fc-green  { background: var(--green-lt);  border-color: var(--green-md);  color: var(--green); }
.fc-orange { background: var(--orange-lt); border-color: #FDE68A;          color: var(--orange); }
.fc-red    { background: var(--red-lt);    border-color: #FECACA;          color: var(--red); }
.fc-teal   { background: var(--teal-lt);   border-color: #A5F3FC;          color: var(--teal); }
.fc-indigo { background: #EEF2FF;          border-color: #C7D2FE;          color: #4338CA; }

/* ─── SCROLLBAR ─── */
.slide::-webkit-scrollbar { width: 4px; }
.slide::-webkit-scrollbar-track { background: transparent; }
.slide::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 2px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .slide-inner { padding: 20px 24px; }
  .overview-grid { grid-template-columns: repeat(2,1fr); }
  .future-grid   { grid-template-columns: repeat(2,1fr); }
  .admin-layout  { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
}