/* VM TECH brand v2 for app.vmtech.ca (Nov 2026) — same logo, fonts and backgrounds as vmtech.ca. Loaded last. */
@font-face{font-family:"Montserrat";font-weight:900;font-style:normal;font-display:swap;src:url("/brand/fonts/Montserrat-Black.woff2") format("woff2")}
@font-face{font-family:"Montserrat";font-weight:800;font-style:normal;font-display:swap;src:url("/brand/fonts/Montserrat-ExtraBold.woff2") format("woff2")}
:root{--brandfont:"Montserrat","Red Hat Display","Segoe UI",Arial,sans-serif;--maroon:#4B0A1E;--on-dark:#FFF6EA;--on-dark-2:rgba(255,246,234,.78)}

/* ---- logo sizes per place ---- */
.topbar .brand,.auth-top .brand{display:inline-flex;align-items:center;text-decoration:none;--vm-logo-h:40px;--vm-logo-fs:24px}
@media (max-width:560px){.topbar .brand{--vm-logo-h:32px;--vm-logo-fs:19px}}
@media (max-width:380px){.topbar .brand .vm-logo b{display:none}}
:is(html.popup,html:has(body.appmode)) .topbar .brand,body.appmode .topbar .brand{--vm-logo-h:28px;--vm-logo-fs:17px}
.side-brand{--vm-logo-h:30px;--vm-logo-fs:18px;--vm-logo-ink:#FBF7EF;display:flex;align-items:center;text-decoration:none}
@media (max-width:900px){.side-brand{--vm-logo-h:26px;--vm-logo-fs:16px}}
.admin-foot-logo{--vm-logo-h:20px;--vm-logo-fs:12px}

/* ---- footer on the wave background (like vmtech.ca) ---- */
.site-foot{background:#2A0812 url("/brand/bg-back.webp") center bottom/cover no-repeat!important;position:relative;border-top:1px solid rgba(244,174,24,.25)!important}
.site-foot::before{content:"";position:absolute;inset:0;background:rgba(42,8,18,.72);pointer-events:none}
.site-foot .wrap{position:relative;z-index:1;color:var(--on-dark-2)}
.site-foot a{color:rgba(255,255,255,.85)}
.site-foot a:hover{color:var(--gold,#F4AE18)}

/* ---- sign-in / sign-up on the brand background, with the logo and "Remote Support" on top ---- */
body.client:has(main .auth){background:#4B0A1E url("/brand/bg-front.webp") center top/cover no-repeat fixed}
body.client:has(main .auth) main.wrap{position:relative}
body.client:has(main .auth) .topbar{background:#FBF7EF!important}
body.client .auth .auth-logo{display:flex;flex-direction:column;align-items:center;gap:10px;margin:0 0 22px;--vm-logo-h:58px;--vm-logo-fs:34px;--vm-logo-ink:#fff}
body.client .auth .auth-logo::after{content:"Remote Support";font:800 13px/1 var(--brandfont);letter-spacing:.22em;text-transform:uppercase;color:var(--gold,#F4AE18)}
body.client .auth .auth-card{box-shadow:0 30px 70px -25px rgba(0,0,0,.6);border-color:rgba(244,174,24,.35)}
body.client:has(main .auth) .flash,body.client:has(main .auth) .errors{position:relative}
@media (max-width:560px){body.client .auth .auth-logo{--vm-logo-h:44px;--vm-logo-fs:26px}}
/* the side window / app keeps the plain cream look (small screen) */
:is(html.popup) body.client:has(main .auth),body.client.appmode:has(main .auth){background:var(--cream,#FBF7EF)}
:is(html.popup) body.client .auth .auth-logo,body.client.appmode .auth .auth-logo{--vm-logo-ink:#3A0C1A;--vm-logo-h:40px;--vm-logo-fs:24px}

/* ---- "Call us" strip on the wave background ---- */
.call-strip{background:#4B0A1E url("/brand/bg-back.webp") center/cover no-repeat;position:relative;overflow:hidden}
.call-strip>*{position:relative}
