/* =====================================================================================
   MOS - saajha header + footer (Home page jaisa hi) - naye pages bas ye file + modules/mos-chrome.js jodte hain
   Page mein: <div id="mosHeader"></div> ... <div id="mosFooter"></div>   aur body par class="mos-chrome"
   ===================================================================================== */
body.mos-chrome { padding-top: 50px; min-height: 100vh; display: flex; flex-direction: column; }
/* (30 Oct) Module pages ka header - Maintenance / Process page jaisa patla: [⬅ Home] [module ka naam] ........ [Unit 3] [profile] */
.mc-top, .mc-foot { box-sizing: border-box; }
.mc-top { position: fixed; top: 0; left: 0; width: 100%; height: 50px; z-index: 1000; background: #1e293b; border-bottom: 2px solid #f97316;
  display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 0 16px; font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif; }
.mc-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mc-back { background: #0f172a; border: 1px solid #334155; color: #f97316; padding: 6px 12px; border-radius: 6px; font-weight: 600; text-decoration: none; font-size: 11.5px; white-space: nowrap; }
.mc-back:hover { background: #f97316; color: #fff; }
.mc-l h1 { font-size: 14px; margin: 0; color: #f8fafc; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-me { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; position: relative; }
.mc-av { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #f97316; background: radial-gradient(circle at 30% 30%, #fb923c, #c2410c);
  color: #fff; font-weight: 700; font-size: 12px; display: grid; place-items: center; cursor: pointer; padding: 0; overflow: hidden; }
.mc-av img { width: 100%; height: 100%; object-fit: cover; }
.mc-menu { position: absolute; top: 42px; right: 0; background: #0f172a; border: 1px solid #334155; border-radius: 12px; padding: 6px; min-width: 190px; box-shadow: 0 12px 30px rgba(0,0,0,.5); display: none; }
.mc-menu.open { display: block; }
.mc-menu a, .mc-menu button { display: block; width: 100%; text-align: left; background: none; border: 0; color: #f1f5f9; font: 600 13px system-ui, sans-serif; padding: 9px 10px; border-radius: 8px; cursor: pointer; text-decoration: none; }
.mc-menu a:hover, .mc-menu button:hover { background: #1e293b; }
.mc-menu .lo { color: #f87171; }
.mc-foot { background: #111827; border-top: 1px solid #1f2937; padding: 10px 20px; width: 100%; margin-top: auto; }
.mc-foot .fg { display: flex; flex-direction: column; gap: 10px; max-width: 1200px; margin: 0 auto; }
.mc-foot h4 { margin: 0 0 5px; color: #94a3b8; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; }
.mc-foot .scroller { overflow: hidden; background: #0b1120; padding: 8px; border-radius: 8px; border: 1px solid #1e293b; }
.mc-foot .track { display: inline-flex; align-items: center; animation: mcScroll 32s linear infinite; }
.mc-foot .scroller:hover .track { animation-play-state: paused; }
.mc-foot .track img.customer-img { height: 38px; width: 100px; object-fit: contain; margin-right: 22px; background: #fff; padding: 3px 6px; border-radius: 5px; flex-shrink: 0; }
.mc-foot .track img.comp-img { height: 44px; width: 80px; object-fit: cover; margin-right: 22px; border-radius: 5px; border: 1px solid #334155; flex-shrink: 0; }
@keyframes mcScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.mc-foot .fb { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; flex-wrap: wrap; gap: 10px; }
.mc-foot .cp { color: #64748b; } .mc-foot .loc { color: #38bdf8; font-weight: 500; }
.mc-foot .mb { color: #94a3b8; font-weight: 500; display: flex; gap: 8px; align-items: center; } .mc-foot .mb strong { color: #f97316; }
.mc-foot .wa { background: #25D366; color: #fff; padding: 3px 9px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 10.5px; }
@media (max-width: 760px) {
  .mc-top { padding: 0 12px; } .mc-l h1 { font-size: 12.5px; }
  .mc-foot .track img.customer-img { height: 28px; width: 75px; margin-right: 14px; }
  .mc-foot .track img.comp-img { height: 34px; width: 60px; margin-right: 14px; }
  .mc-foot .fb { justify-content: center; text-align: center; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .mc-foot .track { animation: none; } }
@media print { .mc-top, .mc-foot { display: none; } body.mos-chrome { padding-top: 0; } }
