/* OnlineDiagSoft localized theme — overrides MotoCMS presets with site identity
   navy #050818 / brand blue #1976d2 / glow #48a3ff                    */
:root{
  --ods-navy:#050818; --ods-navy2:#0a1226; --ods-navy3:#0d1428;
  --ods-blue:#1976d2; --ods-blue-l:#48a3ff;
  --ods-text:#d7e0f0; --ods-muted:#93a1c0; --ods-line:rgba(255,255,255,.08);
}
html{background:var(--ods-navy);}
body.moto-background{
  background:var(--ods-navy)!important;
  background-image:radial-gradient(ellipse at top,rgba(72,163,255,.06),transparent 55%)!important;
  color:var(--ods-text)!important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
.moto-page{background:transparent!important;}

/* ---- text widgets: force theme palette ---- */
.moto-widget-text-content,.moto-widget-text-content p,.moto-widget-text-content li,
.moto-widget-text-content span,.moto-widget-text-content div,
.moto-widget-text-content [class*="moto-text"]{color:var(--ods-text)!important;}
.moto-widget-text-content h1,.moto-widget-text-content h2,.moto-widget-text-content h3,
.moto-widget-text-content h4,.moto-widget-text-content h5,.moto-widget-text-content h6,
.moto-widget-text-content h1 *,.moto-widget-text-content h2 *,.moto-widget-text-content h3 *{color:#fff!important;}
.moto-widget-text-content strong,.moto-widget-text-content b{color:#fff!important;}
.moto-widget-text-content a,.moto-widget-text-content a span{color:var(--ods-blue-l)!important;text-decoration:none;}
.moto-widget-text-content a:hover,.moto-widget-text-content a:hover span{color:#fff!important;}
.moto-widget-text-content ul li::marker{color:var(--ods-blue-l);}

/* brand-colored preset text */
[class*="moto-color"]{border-color:var(--ods-line)!important;}

/* ---- links & buttons ---- */
a.moto-link{color:var(--ods-blue-l)!important;}
a.moto-link:hover{color:#fff!important;}
.moto-widget-button-link{
  background:var(--ods-blue)!important;color:#fff!important;
  border-radius:8px!important;padding:.65rem 1.4rem!important;
  box-shadow:0 4px 18px rgba(25,118,210,.35)!important;
  transition:background .2s,box-shadow .2s,transform .2s!important;
  border:0!important;
}
.moto-widget-button-link:hover{background:#1e88e5!important;box-shadow:0 6px 24px rgba(25,118,210,.5)!important;transform:translateY(-1px);}
.moto-widget-button-label,.moto-widget-button-label *{color:#fff!important;}

/* ---- icons ---- */
.moto-widget-text-content .fa,.moto-widget-content .fa{color:var(--ods-blue-l)!important;}
.moto-widget-social-links-extended__link{background:rgba(25,118,210,.12)!important;border:1px solid rgba(72,163,255,.25)!important;border-radius:8px!important;}
.moto-widget-social-links-extended__image{filter:none!important;opacity:.85;}
.moto-widget-social-links-extended__link:hover{background:rgba(25,118,210,.3)!important;}

/* ---- screenshots / images ---- */
.moto-widget-image-picture img{
  border-radius:10px!important;
  box-shadow:0 10px 34px rgba(0,0,0,.55)!important;
  border:1px solid var(--ods-line)!important;
  background:#0d1428;
}
a.moto-widget-image-link:hover img{box-shadow:0 12px 40px rgba(25,118,210,.35)!important;}

/* ---- video widgets ---- */
.moto-widget-video .video-container,.video-frame{border-radius:10px!important;overflow:hidden!important;border:1px solid var(--ods-line)!important;box-shadow:0 10px 34px rgba(0,0,0,.55)!important;}

/* ---- spacers / dividers ---- */
hr,.moto-widget-divider{border-color:var(--ods-line)!important;}
.moto-widget-divider .moto-widget-divider-line{border-color:rgba(72,163,255,.25)!important;}

/* ---- header (first top-level block gets .ods-header from theme script) ---- */
.ods-header,.ods-header .moto-widget-block,.ods-header [class*="moto-bg-color"],.ods-header .container-fluid,.ods-header .row{
  background:linear-gradient(135deg,#000 0%,#060c1c 55%,#0a1226 100%)!important;
}
.ods-header{
  position:sticky!important;top:0;z-index:999!important;
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(72,163,255,.18)!important;
  box-shadow:0 4px 24px rgba(0,0,0,.45);
}
.ods-header *{background-image:none!important;}
.ods-header .moto-widget-menu-list{list-style:none;}
.ods-header .moto-widget-menu-list>li>a,.ods-header .moto-widget-menu-link{color:#fff!important;font-weight:500;letter-spacing:.02em;}
.ods-header .moto-widget-menu-link:hover,.ods-header .moto-widget-menu-item-active>a{color:var(--ods-blue-l)!important;}
.ods-header .moto-widget-menu-sublist{
  background:#0a1226!important;border:1px solid rgba(72,163,255,.22)!important;
  border-radius:10px!important;box-shadow:0 14px 40px rgba(0,0,0,.6)!important;
}
.ods-header .moto-widget-menu-sublist a{color:var(--ods-text)!important;}
.ods-header .moto-widget-menu-sublist a:hover{color:#fff!important;background:rgba(25,118,210,.18)!important;}
.ods-header img{border-radius:6px;}

/* ---- footer (last top-level block gets .ods-footer from theme script) ---- */
.ods-footer{
  background:linear-gradient(180deg,#050818,#03040d)!important;
  border-top:1px solid rgba(72,163,255,.14)!important;
  margin-top:3rem!important;
}
.ods-footer .moto-widget-text-content,.ods-footer .moto-widget-text-content *{color:var(--ods-muted)!important;}
.ods-footer a.moto-link,.ods-footer .moto-widget-text-content a{color:var(--ods-blue-l)!important;}
.ods-footer a:hover{color:#fff!important;}

/* ---- table-ish / specification list ---- */
.moto-widget-text-content table td,.moto-widget-text-content table th{border-color:var(--ods-line)!important;color:var(--ods-text)!important;}
.moto-widget-text-content table th{color:#fff!important;background:rgba(25,118,210,.12)!important;}

/* ---- language dropdown (injected by i18n engine) ---- */
.ods-lang-select{
  background:#0d1428!important;color:#fff!important;
  border:1px solid rgba(72,163,255,.3)!important;border-radius:6px!important;
  font-size:.85rem!important;
}

/* ---- selection & scroll ---- */
::selection{background:rgba(25,118,210,.45);color:#fff;}
