/**
 * PRO X-BAR — thème dédié base-xbar.com
 * Palette alignée login + https://pro.x-bar.co/
 * cyan #2ec8e8 / #3ad0ea → bleu #5f86f3 → violet #8b6cf6 / #9a68f6
 */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap");

:root {
  --xbar-cyan: #2ec8e8;
  --xbar-cyan-soft: #3ad0ea;
  --xbar-blue: #5f86f3;
  --xbar-violet: #8b6cf6;
  --xbar-violet-deep: #9a68f6;
  --xbar-ink: #111111;
  --xbar-muted: #5c6570;
  --xbar-bg: #f4f7fb;
  --xbar-white: #ffffff;
  --xbar-grad: linear-gradient(90deg, #2ec8e8 0%, #5f86f3 52%, #9a68f6 100%);
  --xbar-grad-hot: linear-gradient(90deg, #3ad0ea 0%, #5f86f3 48%, #8b6cf6 100%);
}

body {
  background:
    radial-gradient(ellipse at top left, rgba(46, 200, 232, 0.14), transparent 45%),
    radial-gradient(ellipse at bottom right, rgba(154, 104, 246, 0.12), transparent 42%),
    var(--xbar-bg) !important;
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  color: #2a3140;
}

body,
p {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
}

a {
  color: var(--xbar-blue) !important;
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
}

a:hover {
  color: var(--xbar-violet-deep) !important;
}

.crbnMenu a,
#tableau_resultat a {
  color: #333 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--xbar-blue);
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
}

.carousel-control {
  color: #333;
  text-decoration: none;
}

.carousel-control:hover {
  color: var(--xbar-violet);
  text-decoration: none;
}

/* Header */
.englobe_entete {
  width: 100%;
  height: 85px;
  background: rgba(255, 255, 255, 0.92);
  position: fixed;
  padding: 6px;
  top: 0;
  z-index: 99;
  border: none;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, #2ec8e8, #5f86f3, #9a68f6) 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(95, 134, 243, 0.12);
}

ul.menu li div {
    padding-top: 0px !important;
    padding-bottom: 21px;
    height: 10px !important;
}

-button.ui-widget.ui-state-default.ui-corner-all.ui-button-text-only.recherche_histo {
    padding-top: 3px !important;
}

.entete .menu {
  height: 85px;
  background: none;
}

.entete {
  height: 85px;
  top: 10px;
  border-bottom: none;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  background: none !important;
  box-shadow: none !important;
}

.entete .menu ul li a,
.entete .menu ul li.actif a,
.entete .menu ul li a b,
.entete .menu ul li.actif a b {
  font-weight: 500;
  letter-spacing: 0.4px;
  color: #333;
}

.entete .infos_user div,
.entete .menu ul li a,
.entete .menu ul li.actif a,
.entete .menu ul li a b,
.entete .menu ul li.actif a b,
.entete .choix_langue {
  color: #333 !important;
}

.entete .menu ul li {
  list-style: none;
  padding: 0 8px 0 2px;
  margin: 0;
  display: inline-block;
  border-right: 0;
  opacity: 1;
  background: none !important;
}

.entete .menu ul li.actif {
  opacity: 1;
  border: 0;
  border-right: none;
  border-radius: 0;
}

.entete .infos_user {
  float: right;
  background: none;
  padding: 0;
  width: 197px;
  height: 63px;
  border: 0;
  border-left: none;
}

 /*hire*/

.entete .infos_user:has(> a.logout-nav) {
  width: auto;
  height: 85px;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.entete .infos_user:has(> a.logout-nav) > div {
  display: none;
}

.entete .infos_user a.logout-nav,
.entete .infos_user a.logout-nav i,
.entete .infos_user a.logout-nav b {
  color: #333 !important;
  font-weight: 500 !important;
  letter-spacing: 0.4px;
  text-decoration: none !important;
}

.entete .infos_user a.logout-nav {
  float: none;
  height: auto;
  min-height: 0;
  align-self: stretch;
  border-radius: 8px;
}

.entete .infos_user a.logout-nav i {
  font-size: 20px;
  padding: 8px 10px 0;
}

.entete .infos_user a.logout-nav b {
  font-size: 8.5px !important;
  text-transform: uppercase;
}

.entete .infos_user a.logout-nav:hover {
  background: var(--xbar-grad) !important;
}

.entete .infos_user a.logout-nav:hover,
.entete .infos_user a.logout-nav:hover i,
.entete .infos_user a.logout-nav:hover b {
  color: #fff !important;
}

.entete .logo a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  line-height: 0;
}

.entete .logo img.logo_xbar {
  width: auto;
  max-width: 280px;
  height: 52px;
  object-fit: contain;
  display: block;
}


 /**/

 .entete .infos_user:has(> a.logout-nav) {
  width: auto;
  height: 85px;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.entete .infos_user:has(> a.logout-nav) > div {
  display: none;
}

.entete .infos_user a.logout-nav,
.entete .infos_user a.logout-nav b {
  color: #333 !important;
  font-weight: 500 !important;
  letter-spacing: 0.4px;
  text-decoration: none !important;
}

.entete .infos_user a.logout-nav i {
  color: #333 !important;
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  font-style: normal;
}

.entete .infos_user a.logout-nav {
  float: none;
  height: auto;
  min-height: 0;
  align-self: stretch;
  border-radius: 8px;
}

.entete .infos_user a.logout-nav i {
  font-size: 20px;
  padding: 8px 10px 0;
}

.entete .infos_user a.logout-nav b {
  font-size: 8.5px !important;
  text-transform: uppercase;
}

.entete .infos_user a.logout-nav:hover {
  background: var(--xbar-grad) !important;
}

.entete .infos_user a.logout-nav:hover,
.entete .infos_user a.logout-nav:hover i,
.entete .infos_user a.logout-nav:hover b {
  color: #fff !important;
}

.entete .logo {
  font-size: 30px;
  font-weight: bold;
  float: left;
  padding: 8px 20px 0 0;
  background: none;
  display: flex;
  align-items: center;
  height: 70px;
  box-sizing: border-box;
}

 

 /**/

 /*.entete .logo {
  font-size: 30px;
  font-weight: bold;
  float: left;
  padding: 8px 20px 0 0;
  .entete .logo {
  background: none;
  display: flex;
  align-items: center;
  height: 70px;
  box-sizing: border-box;
}*/

.entete .logo a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  line-height: 0;
}

.entete .logo img {
  width: 120px;
}

.entete .logo img.logo_xbar {
  width: auto;
  max-width: 180px;
  height: 52px;
  object-fit: contain;
  display: block;
}


.entete .choix_langue {
  float: right;
  width: 70px;
  height: 53px;
  background: none;
  padding: 5px 40px;
  text-align: center;
  display: none;
}

.entete .menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.entete .menu ul li:hover {
  border-top: 2px solid transparent;
  background: var(--xbar-grad) !important;
}

.entete .menu ul li div {
  height: 58px !important;
}

.entete .menu ul li:hover a b,
.entete .menu ul li:hover i.fa,
.entete .menu ul li:hover i.fas {
  color: #fff !important;
}

.cell:hover {
    background-color: #f5faff !important;
    color: #FFFFFF;
}


/* Corps */
.corps {
  width: 1082px;
  margin: 20px auto;
  background: none !important;
  box-shadow: 0 0 0 #aaa !important;
}

.title_bloc {
  padding: 14px 10px;
  text-align: center;
}

.zone_ajout_pdt span,
.title_catalogue,
.zone_ajout_pdt,
.title_bloc,
.cell_entete {
  color: var(--xbar-blue) !important;
  font-weight: 600 !important;
  font-size: 15px;
}

.cell_entete {
  background-color: #ffffff;
}

/* Boutons / UI — ne pas cibler le datepicker (sinon grille décalée) */
.ui-button.ui-state-default,
button.ui-state-default,
a.ui-button.ui-state-default,
.title_container.report_modif,
.title_container {
  border: none;
  background-image: none;
  font-weight: 600 !important;
  color: #ffffff;
  border-radius: 8px;
  background: var(--xbar-grad-hot);
  margin: 10px;
  font-size: 14px;
}

.ui-button.ui-state-default:hover,
button.ui-state-default:hover,
a.ui-button.ui-state-default:hover,
.title_container.report_modif:hover,
.title_container:hover {
  color: #fff;
  background: linear-gradient(
    90deg,
    #2bbfdb 0%,
    #4d74ea 52%,
    #7a58ef 100%
  ) !important;
}

.ui-button,
.title_container {
  background: var(--xbar-grad-hot) !important;
  border-radius: 8px !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(95, 134, 243, 0.25);
}

.ui-button:hover,
.title_container:hover {
  background: linear-gradient(90deg, #2bbfdb 0%, #4d74ea 52%, #7a58ef 100%) !important;
}

.ui-button:active,
.title_container:active {
  background: linear-gradient(90deg, #24aec8 0%, #4167d8 52%, #6d4de0 100%) !important;
  color: #fff !important;
}

.btn_valider {
  background: var(--xbar-grad-hot) !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 6px 14px rgba(95, 134, 243, 0.28);
}

button,
button.recherche_histo {
  margin: 0;
  background: url("/images/btn_rechercher.png") no-repeat scroll center 3px #5f86f3 !important;
  
}


button[disabled],
html input[disabled] {
  background: #5f86f3;
  opacity: 0.5;
}

#tab_marque .ui-state-default:hover,
#tab_marque .ui-corner-top:hover {
  border: none !important;
}

li.ui-state-active a,
li.ui-state-active {
  background: var(--xbar-grad-hot) !important;
}

.ui-state-default {
  border: none !important;
}

.sscat:hover {
  border: 3px solid var(--xbar-violet) !important;
  padding: 6px 9px 6px 0;
}

#detail_facture {
  background: url("/images/btn_detail_commande.png") 15px center no-repeat #f4f7fb;
  color: #333;
}

.carousel {
  position: relative;
  height: 400px !important;
  background-color: #fff;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(95, 134, 243, 0.12);
}

.carousel-caption {
  position: static;
  padding-top: 50px;
  color: var(--xbar-blue) !important;
  text-align: center;
}

.carousel-caption .prix,
.carousel-caption .prix_conseil {
  width: auto;
  float: none;
  text-align: center;
}

a.logout {
  color: var(--xbar-blue) !important;
}

.flash .flash_info {
  background: url(/images/Circle-Info.png) 5px center no-repeat #e8fbff;
  border-color: #3ad0ea;
}

.flash .flash_erreur {
  background: url(/images/warning.png) 5px center no-repeat #f3ecff;
  border-color: #8b6cf6;
}

.even {
  background-color: #f5faff;
}

.odd {
  background-color: #eef2ff;
}

.b_t,
.b_l,
.b_b,
.b_r {
  border-color: #dbe4f5 !important;
}

 


/* ---------- Footer PRO X-BAR ---------- */



.englobe_footer_xbar,
.englobe_footer_xbar.englobe_footer_accueil,
.englobe_footer_xbar .footer_xbar {
  background: linear-gradient(166deg, #2ec8e8 0%, #5f86f3 52%, #9a68f6 100%) !important;
  color: #ffffff !important;
  border-top: 0;
}

.englobe_footer_xbar.englobe_footer_accueil {
  height: auto;
  min-height: 160px;
  padding-bottom: 10px;
}

.footer_xbar {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  border-top: none !important;
  color: #ffffff !important;
}

.footer_xbar_brand_img {
  height: 28px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  vertical-align: middle;
  display: inline-block;
}


.footer_xbar a,
.footer_xbar a:hover,
.footer_xbar a:visited,
.footer_xbar a:focus {
  color: #ffffff !important;
  text-decoration: underline;
}

.footer_xbar_col {
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.footer_xbar_logo {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
}

.footer_xbar_pro {
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 0.5px;
  margin-right: 4px;
  color: #ffffff;
}

.footer_xbar_name {
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 18px;
  color: #111111;
}

.footer_xbar_label {
  color: rgba(255, 255, 255, 0.72);
}

.footer_xbar_ico {
  display: inline-block;
  width: 28px;
  height: 28px;
  vertical-align: middle;
  margin-right: 4px;
  border-radius: 8px;
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  box-shadow: 0 4px 10px rgba(17, 24, 60, 0.18);
}

.footer_xbar_ico-mail {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%233ad0ea'/%3E%3Cstop offset='1' stop-color='%238b6cf6'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='3.2' y='5.5' width='17.6' height='13' rx='2.2' fill='none' stroke='url(%23g)' stroke-width='2'/%3E%3Cpath d='M4.2 7.2 12 13.1 19.8 7.2' fill='none' stroke='url(%23g)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.footer_xbar_ico-web {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%233ad0ea'/%3E%3Cstop offset='1' stop-color='%238b6cf6'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='12' cy='12' r='8.2' fill='none' stroke='url(%23g)' stroke-width='2'/%3E%3Cpath d='M4.2 12h15.6M12 3.8c2.4 2.5 3.6 5.2 3.6 8.2s-1.2 5.7-3.6 8.2c-2.4-2.5-3.6-5.2-3.6-8.2s1.2-5.7 3.6-8.2z' fill='none' stroke='url(%23g)' stroke-width='2'/%3E%3C/svg%3E");
}

.footer_xbar_ico-address {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%233ad0ea'/%3E%3Cstop offset='1' stop-color='%238b6cf6'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M12 21s-6.2-5.1-6.2-10.1A6.2 6.2 0 0 1 12 4.7a6.2 6.2 0 0 1 6.2 6.2C18.2 15.9 12 21 12 21z' fill='none' stroke='url(%23g)' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='10.8' r='2.2' fill='url(%23g)'/%3E%3C/svg%3E");
}

.footer_xbar_ico-phone {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%233ad0ea'/%3E%3Cstop offset='1' stop-color='%238b6cf6'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M7.2 3.8h3.1l1.2 4.1-1.9 1.1a11.2 11.2 0 0 0 4.4 4.4l1.1-1.9 4.1 1.2v3.1c0 .9-.7 1.6-1.6 1.6A13.6 13.6 0 0 1 5.6 5.4c0-.9.7-1.6 1.6-1.6z' fill='none' stroke='url(%23g)' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.footer_xbar_tagline {
  color: rgba(255, 255, 255, 0.9);
}

.footer_xbar_copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 30px;
}

.footer_xbar_copy strong {
  color: #111111;
  font-style: italic;
}

 /* Historique des commandes — hover (revient au normal hors survol) / sélection au clic */
#tableau_resultat tbody td.cell:hover,
#tableau_resultat tbody tr:hover td.cell {
  background: linear-gradient(90deg, #3ad0ea 0%, #5f86f3 52%, #8b6cf6 100%) !important;
  background-color: #5f86f3 !important;
  color: #ffffff !important;
}

#tableau_resultat tbody td.cell_blue,
#tableau_resultat tbody td.cell_blue:hover {
  background: linear-gradient(90deg, #2ec8e8 0%, #5f86f3 48%, #9a68f6 100%) !important;
  background-color: #5f86f3 !important;
  color: #ffffff !important;
}

.ui-datepicker-calendar .ui-state-default {
  background-color: #d6e8ff !important;
}

.ui-datepicker-calendar .ui-state-highlight,
.ui-datepicker-calendar .ui-state-active {
  background: linear-gradient(90deg, #3ad0ea 0%, #5f86f3 52%, #8b6cf6 100%) !important;
  background-color: #5f86f3 !important;
  color: #ffffff !important;
}

.menu li.historique.actif,
.menu li.historique:hover {
  background: linear-gradient(90deg, #3ad0ea 0%, #5f86f3 52%, #8b6cf6 100%) !important;
}

.menu li.historique.actif a b,
.menu li.historique.actif i.fa,
.menu li.historique.actif i.fas,
.menu li.historique:hover a b,
.menu li.historique:hover i.fa,
.menu li.historique:hover i.fas {
  color: #ffffff !important;
}

.effet_button:hover .ui-button-text,
.effet_button.ui-state-hover .ui-button-text,
button.effet_button:hover .ui-button-text {
  background: linear-gradient(90deg, #3ad0ea 0%, #5f86f3 52%, #8b6cf6 100%) !important;
  background-color: #5f86f3 !important;
  color: #ffffff !important;
}

.effet_button:hover,
.ui-button.effet_button:hover {
  background: linear-gradient(90deg, #2bbfdb 0%, #4d74ea 52%, #7a58ef 100%) !important;
  background-color: #5f86f3 !important;
  color: #ffffff !important;
}

.ui-button-text:hover, .ui-button-text a:hover {
    background-color: #5f86f3 !important;
    border: none;
}
