/* === reference-javascript.css === */
.ref-hero { background: var(--secondary); padding: 35px 40px; }
.ref-hero h1 { color: white; font-size: 32px; margin-bottom: 8px; }
.ref-hero p { color: rgba(255,255,255,0.65); font-size: 15px; margin: 0; }
.ref-search-bar { display: flex; gap: 10px; margin-top: 20px; }
.ref-search-bar input { flex: 1; max-width: 450px; padding: 10px 16px; border: none; border-radius: 4px; font-size: 15px; outline: none; }
.ref-layout { max-width: 1200px; margin: 30px auto; padding: 0 20px; }
.cat-section { margin-bottom: 50px; }
.cat-section > h2 { font-size: 22px; color: var(--primary); padding:8px 16px; background:#e8f5e9; border-radius:4px; margin-bottom:12px; display:flex; align-items:center; gap:8px; }
.cat-section > h2 span { font-size:13px; background:var(--primary); color:white; padding:2px 8px; border-radius:10px; }
.ref-table { width:100%; border-collapse:collapse; border-radius:6px; overflow:hidden; }
.ref-table th { background:var(--secondary); color:white; padding:10px 16px; text-align:left; font-size:13px; text-transform:uppercase; letter-spacing:0.5px; }
.ref-row td { padding:10px 16px; border-bottom:1px solid var(--border); font-size:14px; vertical-align:top; }
.ref-row:nth-child(even) td { background:#f9f9f9; }
.ref-row:hover td { background:#e8f5e9; }
.ref-row td:first-child { font-family:'Consolas',monospace; color:#c7254e; font-size:13px; min-width:200px; }
.ref-row td:nth-child(3) { font-family:'Consolas',monospace; color:#555; font-size:12px; max-width:280px; }
.ret-badge { font-size:10px; padding:2px 7px; border-radius:10px; font-weight:700; white-space:nowrap; }
.ret-str{background:#fff3cd;color:#856404;} .ret-num{background:#d1ecf1;color:#0c5460;} .ret-bool{background:#d4edda;color:#155724;} .ret-arr{background:#e2e3e5;color:#383d41;} .ret-obj{background:#fde8f0;color:#7a0031;} .ret-void{background:#e2e3e5;color:#495057;} .ret-any{background:#fff3e0;color:#c14400;}
.filter-tabs { display:flex; gap:8px; flex-wrap:wrap; max-width:1200px; margin:20px auto 0; padding:0 20px; }
.filter-tab { padding:6px 14px; border-radius:20px; border:1.5px solid var(--border); background:var(--bg-card); font-size:13px; cursor:pointer; transition:all 0.2s; color:var(--text-med); }
.filter-tab.active,.filter-tab:hover { background:var(--primary); color:white; border-color:var(--primary); }
  
.ref-empty { padding: 20px; color: #888; }




/* ── Added for the /developers React port (2026-08-03) ───────────────────
   The source app never needed a reusable content-wrapper/hero/flash-info
   class (its pages built each layout inline in PHP), but the React port's
   ~15 pages consistently reach for `.container`/`.section`/`.page-hero`/
   `.btn-lg`/`.portal-flash-info` the same way every other section of this
   site does — matching style.css's real values for visual consistency
   with the rest of edusmartup.com, not invented from scratch. */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.page-hero { background: linear-gradient(135deg, var(--dark, #101d34), var(--secondary, #172a4b)); padding: 50px 0; color: #fff; text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1rem; }
.btn-lg { padding: 14px 30px; font-size: 1rem; border-radius: 999px; }
.portal-flash-info { background: rgba(13,127,242,.1); border: 1px solid rgba(13,127,242,.3); color: var(--ink, #172033); padding: 12px 16px; border-radius: var(--radius-md, 10px); margin-bottom: 12px; }
