*{margin:0;padding:0;box-sizing:border-box;}
body{font-family:'Inter',sans-serif;background:#f5f7fa;color:#1f2937;}

/* Top Bar */
.topbar{background:white;padding:8px 16px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:100;}
.topbar-left{display:flex;align-items:center;gap:12px;}
.back{background:none;border:none;font-size:20px;color:#FF6B35;cursor:pointer;}
.time{font-size:13px;color:#6b7280;font-weight:500;}
.title{font-size:18px;font-weight:700;}
.bell{position:relative;cursor:pointer;padding:6px;}
.bell svg{color:#4b5563;}
.badge{position:absolute;top:0;right:0;background:#ef4444;color:white;font-size:10px;font-weight:700;padding:2px 5px;border-radius:10px;min-width:16px;text-align:center;}

/* Orange Nav */
.orange-nav{background:#D4711A;display:flex;gap:8px;padding:0 16px;position:sticky;top:48px;z-index:99;}
.orange-nav a{padding:14px 20px;color:rgba(255,255,255,0.85);text-decoration:none;font-size:14px;font-weight:500;border-bottom:3px solid transparent;}
.orange-nav a:hover{color:white;background:rgba(255,255,255,0.1);}
.orange-nav a.active{color:white;border-bottom-color:white;font-weight:600;}

/* Main Layout */
.main-layout{display:grid;grid-template-columns:480px 1fr;height:calc(100vh - 148px);overflow:hidden;}

/* LEFT SIDEBAR */
.insights-sidebar{background:#f9fafb;border-right:1px solid #e5e7eb;padding:24px 16px;overflow-y:auto;}
.insights-sidebar h2{font-size:18px;font-weight:700;margin-bottom:20px;color:#111827;}

.insight-card{background:white;border:1px solid #e5e7eb;border-radius:12px;padding:16px;margin-bottom:12px;cursor:pointer;transition:all 0.2s;}
.insight-card:hover{border-color:#FF6B35;box-shadow:0 4px 12px rgba(0,0,0,0.08);transform:translateY(-2px);}
.insight-card.active{background:#f0f9ff;border-color:#0891b2;box-shadow:0 2px 8px rgba(8,145,178,0.1);}
.card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;}
.insight-count{font-size:12px;font-weight:600;color:#0891b2;}
.card-actions{display:flex;gap:6px;}
.card-actions button{background:none;border:none;font-size:16px;cursor:pointer;opacity:0.6;}
.card-actions button:hover{opacity:1;}
.card-title{font-size:15px;font-weight:600;color:#111827;margin-bottom:12px;line-height:1.4;}
.sub-insights{list-style:none;padding:0;font-size:13px;color:#6b7280;}
.sub-insights li{padding:6px 0;display:flex;justify-content:space-between;}
.sub-insights span{color:#9ca3af;font-size:11px;}

/* RIGHT PANEL */
.detail-panel{background:white;padding:32px;overflow-y:auto;}
.panel-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid #e5e7eb;}
.panel-header h1{font-size:24px;font-weight:700;color:#111827;line-height:1.3;max-width:800px;}
.panel-actions{display:flex;gap:8px;}
.icon-btn{background:#f3f4f6;border:1px solid #d1d5db;width:36px;height:36px;border-radius:8px;cursor:pointer;font-size:16px;display:flex;align-items:center;justify-content:center;}
.icon-btn:hover{background:#e5e7eb;}
.insight-badge{display:inline-block;padding:4px 12px;background:#e0f2fe;color:#0891b2;border-radius:16px;font-size:13px;font-weight:600;margin-bottom:24px;}

/* Content Sections */
.content-header{display:flex;gap:16px;padding:28px;background:linear-gradient(135deg,rgba(255,107,53,0.08),rgba(255,107,53,0.03));border-radius:16px;margin-bottom:28px;border-left:6px solid #FF6B35;}
.header-icon{width:48px;height:48px;background:linear-gradient(135deg,#FF6B35,#E85A2A);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0;}
.header-category{font-size:13px;font-weight:600;color:#FF6B35;text-transform:uppercase;letter-spacing:0.5px;margin-bottom:6px;}
.header-title{font-size:22px;font-weight:700;color:#111827;}

.chart-section{background:white;padding:28px;border-radius:16px;box-shadow:0 2px 12px rgba(0,0,0,0.08);margin-bottom:28px;}
.chart-section h3{font-size:18px;font-weight:700;margin-bottom:20px;}
.trend-chart{height:200px;position:relative;display:flex;justify-content:space-between;padding:20px 10px 40px 50px;border-left:2px solid #e5e7eb;border-bottom:2px solid #e5e7eb;}
.trend-chart::before{content:'New Starts';position:absolute;left:0;top:50%;transform:translateY(-50%) rotate(-90deg);font-size:12px;color:#6b7280;font-weight:600;}
.trend-chart::after{content:'Week';position:absolute;bottom:10px;right:50%;transform:translateX(50%);font-size:12px;color:#6b7280;font-weight:600;}
.trend-point{flex:1;display:flex;align-items:flex-end;justify-content:center;position:relative;height:100%;}
.dot{position:absolute;width:36px;height:36px;background:linear-gradient(135deg,#ef4444,#dc2626);border-radius:50%;display:flex;align-items:center;justify-content:center;color:white;font-weight:700;font-size:12px;box-shadow:0 3px 10px rgba(239,68,68,0.4);}
.trend-point span{position:absolute;bottom:-25px;font-size:11px;color:#6b7280;font-weight:600;}
.chart-note{margin-top:14px;padding:12px;background:#fef2f2;border-radius:8px;border-left:4px solid #ef4444;font-size:14px;color:#374151;}

.narrative-section{margin-bottom:28px;}
.narrative-section h3{font-size:18px;font-weight:700;margin-bottom:14px;}
.narrative-section p{font-size:15px;color:#374151;line-height:1.8;margin-bottom:14px;}
.narrative-section p:last-child{margin-bottom:0;}

.insight-cards-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:16px;}
.mini-insight-card{background:white;border:2px solid #e5e7eb;border-radius:10px;padding:16px;cursor:pointer;transition:all 0.2s;}
.mini-insight-card:hover{border-color:#0891b2;box-shadow:0 4px 12px rgba(8,145,178,0.1);transform:translateY(-2px);}
.mini-insight-card h4{font-size:15px;font-weight:600;color:#111827;margin-bottom:8px;}
.mini-insight-card p{font-size:13px;color:#6b7280;line-height:1.5;}
.mini-insight-card .card-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;background:rgba(8,145,178,0.1);border-radius:8px;font-size:16px;margin-bottom:10px;}

.hcp-explore-section h3{font-size:20px;font-weight:700;margin-bottom:18px;}
.hcp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px;}

.hcp-card{background:white;border:2px solid #e5e7eb;border-radius:12px;padding:20px;box-shadow:0 2px 8px rgba(0,0,0,0.06);cursor:pointer;transition:all 0.3s;}
.hcp-card:hover{border-color:#FF6B35;box-shadow:0 8px 20px rgba(0,0,0,0.12);transform:translateY(-4px);}
.hcp-header{display:flex;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid #e5e7eb;margin-bottom:12px;}
.hcp-header h4{font-size:17px;font-weight:700;}
.hcp-header p{font-size:13px;color:#6b7280;}
.drop-badge{padding:6px 12px;background:rgba(239,68,68,0.1);color:#ef4444;border-radius:8px;font-size:16px;font-weight:700;}
.hcp-stats{display:flex;gap:10px;margin-bottom:12px;justify-content:center;}
.hcp-stats>div{padding:12px 20px;background:#f9fafb;border-radius:8px;text-align:center;}
.hcp-stats label{display:block;font-size:11px;color:#9ca3af;margin-bottom:4px;font-weight:600;}
.hcp-stats value{font-size:18px;font-weight:700;color:#111827;}
.hcp-summary{padding:12px;background:#f9fafb;border-radius:8px;margin-bottom:12px;}
.hcp-summary p{font-size:13px;color:#4b5563;line-height:1.5;}
.view-detail{width:100%;padding:10px;background:#f0f9ff;border:none;border-radius:8px;font-size:14px;font-weight:600;color:#0891b2;cursor:pointer;}
.view-detail:hover{background:#e0f2fe;}

/* Bottom Nav */
.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:white;border-top:1px solid #e5e7eb;padding:8px 12px;display:flex;justify-content:space-around;z-index:90;}
.bottom-nav button{display:flex;flex-direction:column;align-items:center;gap:4px;background:none;border:none;cursor:pointer;position:relative;}
.bottom-nav span{font-size:11px;color:#6b7280;}
.bottom-nav button.active span{color:#FF6B35;font-weight:600;}

@media (max-width:1024px){
    .main-layout{grid-template-columns:1fr;}
    .insights-sidebar{border-right:none;border-bottom:1px solid #e5e7eb;}
}


.veeva-bottom-nav {
  position: sticky;
  top: 98px; /* topbar + orange nav */

  z-index: 995;
  height: 56px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;

  display: flex;                 /* 🔁 switch from grid */
  justify-content: center;       /* ✅ center in middle */
  align-items: center;
  gap: 40px;                     /* spacing like other pages */

  padding: 0 12px;
}

.bottom-item {
  padding: 14px 20px;
  border-bottom: 3px solid transparent;
}

.bottom-item.active {
  color: #FF6B35;
  border-bottom-color: #FF6B35;
}
.bottom-item{
  font-size:14px;  
    font-weight:700;
 /* was ~12px → +2px */
}

.veeva-bottom-nav .bottom-item{
  font-size:14px;   /* +2px */
  font-weight:700;  /* optional, keeps consistency */
}


.bottom-item.active{
  font-size:14px;   /* keep same size */
  font-weight:700;
}



/* nav items */
.bottom-item {
  text-decoration: none;
  color: #6b7280;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;

  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

/* icon */
.bottom-item .bottom-icon {
  font-size: 18px;
  line-height: 1;
}

/* active state */
.bottom-item.active {
  color: #ff6b35;
}

/* hover */
.bottom-item:hover {
  color: #ff6b35;
}

/* IMPORTANT: remove page bottom padding added earlier */
body {
  padding-bottom: 0 !important;
}


