/* Morvanet day theme — hand-made additions on top of the generated light.css */
html.mv-light{color-scheme:light}
html.mv-theme-anim,html.mv-theme-anim *{transition:background-color .35s,color .35s,border-color .35s!important}

/* switch button (same look as the EN pill) */
.mv-theme-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border-radius:12px;border:1px solid rgba(201,168,245,.28);background:rgba(255,255,255,.05);color:#e9ddff;cursor:pointer;transition:background .2s,color .2s;flex:none}
.mv-theme-btn:hover{background:rgba(101,32,196,.35);color:#fff}
.mv-hdr-cta .mv-theme-btn{margin-inline-end:8px}
.mv-theme-li{display:flex;align-items:center;margin-inline-end:6px}
html.mv-light .mv-theme-btn{border-color:rgba(101,32,196,.25);background:#fff;color:#5b1bb3}
html.mv-light .mv-theme-btn:hover{background:#6520c4;color:#fff}

/* drawer row (phones) */
.mv-theme-btn.mv-theme-wide{display:none;width:100%;height:46px;gap:10px;justify-content:flex-start;padding:0 16px;border-radius:14px;font:inherit;font-size:14px;font-weight:600;margin:0 0 10px}
aside.nabsbar .mv-theme-btn.mv-theme-wide{width:calc(100% - 24px);margin:8px 12px 10px}
@media (max-width:1100px){.mv-hdr-cta .mv-theme-btn{display:none!important}.mv-nav .mv-theme-btn.mv-theme-wide{display:inline-flex}}
@media (max-width:991px){.mv-theme-li{display:none!important}aside.nabsbar .mv-theme-btn.mv-theme-wide{display:inline-flex}}

/* logos are white wordmarks: drawn dark violet in day mode */
html.mv-light :is(.mv-logo img,#header .navbar-brand img,#header img.main-logo,.mv-drawer-head img,img.mv-logo-swapped,.mv-foot-logo img,.mv-fabout img){filter:brightness(0) saturate(100%) invert(14%) sepia(78%) saturate(4300%) hue-rotate(262deg) brightness(88%)}

/* soft page background — site: on body; portal: on <html>, body stays clear so its glow (::before) and grid (::after) show */
html.mv-light body.mv-dark{background-color:#e9e6f3!important}
html.mv-light{--mv-surface:#f8f7fd;--mv-surface-2:#f2f0fa;--mv-surface-3:#e8e5f3}

/* site top bar: light ends, purple middle; links and phone in roomy boxes */
html.mv-light .mv-topbar :is(.mv-toplinks a,a.mv-top-phone){background:rgba(255,255,255,.55)!important;border:1px solid rgba(40,28,90,.22)!important;padding:4px 12px!important;border-radius:9px!important;line-height:1.5;color:#2a1d5c!important}
html.mv-light .mv-topbar :is(.mv-toplinks a,a.mv-top-phone):hover{background:#fff!important}
html.mv-light .mv-topbar .mv-wrap>a:not(.mv-top-phone){padding:4px 14px!important;line-height:1.5}

/* ===== portal (WHMCS) day look: neutral grey-white page, light violet cards, violet only as accent ===== */
html.mv-dark.mv-light{background:#e6e2f3!important;--mv-surface:#f4f1fc;--mv-surface-2:#ebe7f8;--mv-surface-3:#e2ddf3}
html.mv-dark.mv-light body{background:transparent!important}
html.mv-dark.mv-light body::before{opacity:.45}
html.mv-dark.mv-light body::after{opacity:.55}
html.mv-dark.mv-light :is(.card,.panel,.card-sidebar,aside.nabsbar .sidebar-img>ul.nab-menu){background:#f4f1fc!important;border:1px solid #dcd6ee!important;box-shadow:0 1px 2px rgba(16,24,40,.04),0 8px 22px rgba(16,24,40,.05)!important}
html.mv-dark.mv-light aside.nabsbar .sidebar-img{background:transparent!important}
html.mv-dark.mv-light .card .list-group-item{background:#ebe7f8!important;border-color:#ddd7ef!important}
html.mv-dark.mv-light .profile-photo{background:#e9e5f6!important}
html.mv-dark.mv-light [class*="bgl-"]{background:#e9e3f8!important}
html.mv-dark.mv-light body table thead th,html.mv-dark.mv-light body .table-list>thead>tr>th,html.mv-dark.mv-light body .dataTables_wrapper table.table-list thead th{background:#e9e5f6!important;color:#1f2033!important;border-color:#dcd6ee!important}
html.mv-dark.mv-light body aside.nabsbar .nab-menu__item.affili{background:#e6e0f7!important}
html.mv-dark.mv-light table tbody td{border-color:#e2ddf0!important}
/* dashboard banners: white card, faint ink grid, a light tint of the banner colour in one corner */
html.mv-dark.mv-light .mv-banner{--mvb-t:rgba(101,32,196,.13);background-color:#f4f1fc!important;background-image:linear-gradient(rgba(40,28,90,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(40,28,90,.045) 1px,transparent 1px),radial-gradient(60% 120% at 100% 0%,var(--mvb-t),transparent 70%)!important;background-size:48px 48px,48px 48px,auto!important;border-color:#dcd6ee!important}
html.mv-dark.mv-light .mv-banner-cyan{--mvb-t:rgba(42,141,179,.14)}
html.mv-dark.mv-light .mv-banner-gold{--mvb-t:rgba(230,160,20,.15)}
