:root{
 --wl-blue:#0b508b;
 --wl-blue-2:#173f63;
 --wl-gray:#363f46;
 --wl-soft:#f3f6f9;
 --wl-line:#d8e0e7;
 --atual-yellow:#ffd800;
 --atual-black:#171717;
 --erp-shadow:0 5px 18px rgba(22,45,67,.08);
 --erp-radius:10px;
}
html,body{background:#f5f7fa}
body{color:#283540}

/* Topo */
#id-top,.tmenudiv{
 background:linear-gradient(100deg,#102f50 0%,#0b508b 62%,#143a5b 100%)!important;
 box-shadow:0 2px 10px rgba(3,28,50,.24);
 border-bottom:3px solid var(--atual-yellow)!important;
}
.tmenu,.tmenu a,.tmenu .tmenucenter{transition:all .15s ease}
.tmenu:hover,.tmenu.selected,.tmenu.tmenusel{
 background:rgba(255,255,255,.10)!important;
}
.tmenu a,.tmenu .tmenucenter{border-radius:8px!important}
.login_block,.login_block a{color:#fff!important}

/* Menu lateral */
#id-left{
 background:#fff!important;
 border-right:1px solid var(--wl-line)!important;
 box-shadow:3px 0 12px rgba(23,49,72,.04);
}
#id-left .vmenu,#id-left .menu_contenu{background:transparent!important}
#id-left a{transition:color .12s ease,background .12s ease}
#id-left .menu_contenu:hover,#id-left .vsmenu:hover{
 background:#eef5fa!important;
 color:var(--wl-blue)!important;
}
#wlerpvisual-brand{
 margin:10px 9px 13px;
 padding:8px;
 border:1px solid #dbe3ea;
 border-radius:12px;
 background:linear-gradient(145deg,#fff,#f2f6f9);
 box-shadow:0 3px 10px rgba(16,48,73,.07);
}
#wlerpvisual-brand .wlev-title{
 font-size:10px;font-weight:800;letter-spacing:.08em;text-align:center;color:#607080;margin:0 0 7px
}
#wlerpvisual-brand .wlev-logos{display:grid;grid-template-columns:1fr 1fr;gap:7px;align-items:center}
#wlerpvisual-brand img{display:block;width:100%;height:38px;object-fit:contain;background:#fff;border-radius:7px;padding:2px;box-sizing:border-box}

/* Conteúdo */
#id-right{background:#f5f7fa!important}
.fiche,.fichecenter{color:#283540}
.titre,.refid,.refidno{
 color:#183e61!important;
 font-weight:700;
}
.underbanner{border-color:#dbe3e9!important}

/* Abas */
.tabs{border-bottom-color:#d4dde5!important}
.tabactive,.tabunactive{
 border-radius:9px 9px 0 0!important;
 transition:all .14s ease;
}
.tabactive{
 background:#fff!important;
 border-top:3px solid var(--wl-blue)!important;
 color:var(--wl-blue)!important;
 font-weight:800!important;
}
.tabunactive:hover{
 background:#edf5fb!important;
 color:var(--wl-blue)!important;
}

/* Botões */
.button,.butAction,.button-save,.button-edit,.butActionRefused{
 border-radius:8px!important;
 font-weight:700!important;
 box-shadow:0 2px 5px rgba(28,57,82,.10)!important;
 transition:transform .10s ease,box-shadow .10s ease,filter .10s ease!important;
}
.button:hover,.butAction:hover,.button-save:hover,.button-edit:hover{
 transform:translateY(-1px);
 box-shadow:0 5px 12px rgba(28,57,82,.15)!important;
}
.butAction,.button-save{
 background:linear-gradient(135deg,#6f4e82,#805a91)!important;
 border-color:#6f4e82!important;
 color:#fff!important;
}
.button:not(.button-cancel):not(.button-delete){
 border-color:#b7c7d4!important;
}
.butActionDelete,.button-delete{
 border-radius:8px!important;
}
.button-cancel{
 border-radius:8px!important;
 background:#eef1f4!important;
 color:#46535e!important;
}

/* Formulários */
input.flat,select.flat,textarea.flat,
input[type=text],input[type=email],input[type=tel],input[type=number],input[type=date],input[type=password],select,textarea{
 border-radius:7px!important;
 border-color:#cbd6df!important;
 transition:border-color .13s ease,box-shadow .13s ease!important;
}
input.flat:focus,select.flat:focus,textarea.flat:focus,
input[type=text]:focus,input[type=email]:focus,input[type=tel]:focus,input[type=number]:focus,input[type=date]:focus,input[type=password]:focus,select:focus,textarea:focus{
 border-color:#4f88b2!important;
 box-shadow:0 0 0 3px rgba(11,80,139,.10)!important;
 outline:none!important;
}

/* Tabelas/listagens */
table.liste{
 background:#fff!important;
 border:1px solid #dbe3e9!important;
 border-radius:10px;
 box-shadow:0 3px 12px rgba(25,50,72,.045);
 overflow:hidden;
}
.liste_titre,.liste_titre_sel{
 background:linear-gradient(180deg,#f5f8fb,#eaf1f6)!important;
 color:#33495b!important;
 font-weight:800!important;
}
tr.oddeven{transition:background .10s ease}
tr.oddeven:hover{background:#f3f8fc!important}
table.border td,table.border th{border-color:#e1e7ec!important}

/* Cards / caixas */
.box,.info-box,.fichethirdleft .box,.fichetwothirdright .box{
 border-radius:11px!important;
 border-color:#dbe3e9!important;
 box-shadow:var(--erp-shadow)!important;
}
.box_titre,.box-title{
 color:#1d4769!important;
 font-weight:800!important;
}
.info,.ok,.warning,.error{
 border-radius:9px!important;
}

/* Badges */
.badge,.badge-status,.status4,.status6{
 border-radius:999px!important;
}

/* Busca lateral */
#id-left input[type=text],#id-left input[type=search]{
 border-radius:9px!important;
 background:#f7f9fb!important;
}

/* Pequeno detalhe WL + Atual */
.fichecenter:before{
 content:"";
 display:block;
 height:2px;
 margin:0 0 10px;
 background:linear-gradient(90deg,var(--wl-blue) 0 72%,var(--atual-yellow) 72% 100%);
 border-radius:3px;
 opacity:.78;
}

/* Responsivo */
@media(max-width:1000px){
 #wlerpvisual-brand{display:none}
 .button,.butAction{border-radius:7px!important}
}
