@charset "UTF-8";
.text-info {
  color: #275899 !important;
}

.close {
  background: transparent;
  border: 0;
  color: #000;
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  opacity: .5;
  padding: .25rem .5rem;
}
.close:hover,
.close:focus {
  color: #000;
  opacity: .75;
  text-decoration: none;
}
.modal-header .close {
  margin-left: auto;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -.25rem;
  margin-right: -.25rem;
}
.form-row > .col,
.form-row > [class*="col-"] {
  padding-left: .25rem;
  padding-right: .25rem;
}
.input-group-prepend,
.input-group-append {
  display: flex;
}

.navbar .btn:not(.nav-link),
.navbar .btn.nav-link {
  --bs-nav-link-padding-x: var(--bs-btn-padding-x);
  --bs-nav-link-padding-y: var(--bs-btn-padding-y);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: max-content;
}

#navbar-admin-profil {
  line-height: 1.7;
  min-height: 40px;
  padding-bottom: .375rem;
  padding-top: .375rem;
}

#navbar-admin-profil img {
  height: 20px;
  width: 20px;
}

.navbar .btn-primary,
.navbar .btn-cta {
  color: #fff;
}

.navbar .btn-cta.text-dark {
  color: #212529 !important;
}

.table th a,
.decide-builder-grid th a {
  text-decoration: none;
}

.mon-exploitation {
  --bs-table-bg: #28569b;
  --bs-table-color: #fff;
  --bs-table-striped-bg: #28569b;
  --bs-table-striped-color: #fff;
  background-color: #28569b;
  color: #fff;
}

.mediane {
  --bs-table-bg: #7EE994;
  --bs-table-color: #212529;
  --bs-table-striped-bg: #7EE994;
  --bs-table-striped-color: #212529;
  background-color: #7EE994;
  color: #212529;
}

.mediane *,
.mediane .text-muted,
.mediane .text-secondary,
.mediane small {
  color: #212529 !important;
}

.js_sortable_tree ol,
.js_sortable_tree .menu-sortable-children {
  margin-left: 1.5rem;
}

.table th a:hover,
.table th a:focus,
.decide-builder-grid th a:hover,
.decide-builder-grid th a:focus {
  text-decoration: underline;
}

.auditeurs-accordion .card {
  border: 1px solid #dbe4ec;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  margin-bottom: .75rem;
  overflow: hidden;
}

.auditeurs-accordion .card-header {
  background: #fff;
  border-bottom: 0;
  padding: 0;
}

.auditeurs-accordion .card-header > h4 {
  margin: 0;
}

.auditeurs-accordion .card-header a {
  color: #2e2832;
  padding: .9rem 1rem;
  position: relative;
  text-decoration: none;
}

.auditeurs-accordion .card-header a::after {
  color: #275899;
  content: "\f078";
  font-family: "Font Awesome 6 Pro";
  font-size: .85rem;
  font-weight: 700;
  margin-left: 1rem;
  transition: transform .2s ease;
}

.auditeurs-accordion .card-header a.collapsed::after {
  transform: rotate(-90deg);
}

.auditeurs-accordion .card-header a:hover,
.auditeurs-accordion .card-header a:focus {
  background-color: #f6f9fc;
}

.auditeurs-accordion .card-body {
  border-top: 1px solid #e8eef4;
}

body {
  color: #2e2832 !important;
  background-color: #fbfbfb;
  overflow-x: hidden;
}

body.decide-theme-dark {
  --site-dark-bg: #0d1726;
  --site-dark-surface: #132033;
  --site-dark-surface-soft: #182a43;
  --site-dark-border: rgba(176, 205, 231, 0.22);
  --site-dark-text: #eef7fc;
  --site-dark-muted: #b5c7d8;
  --site-dark-blue: #8fb9ff;
  --site-dark-green: #7ee994;
  background-color: var(--site-dark-bg);
  color: var(--site-dark-text) !important;
}

.homepage {
  background-color: #fbfbfb;
}

.faqcontainer {
  margin-bottom: 3rem;
}

.twoColumns {
  -moz-columns: auto;
       columns: auto;
  -moz-columns: 2;
       columns: 2;
}

p.twoColumns {
  text-align: justify;
  -moz-column-gap: 2rem;
       column-gap: 2rem;
}

.text p,
.text li {
  font-size: 11pt;
  line-height: 1.4rem;
  margin-bottom: 0.5rem;
}

.text h2 {
  margin: 2.5rem 0 1rem;
}

.text h3 {
  margin: 1.5rem 0 0.5rem;
}

.text h4 {
  margin: 0.5rem 0 0.3rem;
}

.text li {
  margin: 0.2rem 0;
}

.spacing {
  margin: 50px 0;
}

.whiteOverlay {
  z-index: 998;
}

.loader {
  width: 48px;
  height: 48px;
  display: inline-block;
  position: relative;
  border-width: 3px 2px 3px 2px;
  border-style: solid dotted solid dotted;
  border-color: #63c771 rgba(255, 255, 255, 0.3) #275899 rgba(151, 107, 93, 0);
  border-radius: 50%;
  box-sizing: border-box;
  animation: 1s rotate linear infinite;
}

.loader:before,
.loader:after {
  content: "";
  top: 0;
  left: 0;
  position: absolute;
  border: 10px solid transparent;
  border-bottom-color: #275899;
  transform: translate(-10px, 19px) rotate(-35deg);
}

.loader:after {
  border-color: #63c771 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
  transform: translate(32px, 3px) rotate(-35deg);
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}
h1,
h2,
h3 {
  font-family: menco;
  font-weight: 500;
  font-style: normal;
}

h1 {
  color: #275899;
}

h1.bannerh1 {
  color: #275899;
  border-bottom: 5px solid #63c771;
  padding-bottom: 5px;
  margin: 100px auto;
  font-weight: normal;
}

.carousel .carousel-item {
  height: 240px;
}

.carousel-item img {
  position: absolute;
  -o-object-fit: cover;
     object-fit: cover;
  top: 0;
  left: 0;
  min-height: 240px;
}

.carousel-item img.img1 {
  -o-object-position: center -225px;
     object-position: center -225px;
}

.carousel-item img.img2 {
  -o-object-position: center -98px;
     object-position: center -98px;
}

.carousel-item img.img3 {
  -o-object-position: center -80px;
     object-position: center -80px;
}

.carouselCustom {
  padding-right: 0;
  padding-left: 0;
}

p,
h4,
li,
ul,
#jumbotron p {
  font-family: "roboto", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: 400;
  font-style: normal;
}

h4 {
  font-size: 1.2rem;
}

h3 {
  color: #3f794b;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
}

h2 {
  color: #275899;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

td h2 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

.fixed-top {
  top: 0px;
}

.faq .card-header .button i.fa {
  font-size: 3rem;
}

.card-header {
  padding: 0.8rem 1.25rem 0.5rem;
}

.card h2.card-header {
  color: #275899;
}

.card-header:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card h2 {
  font-size: 1.3rem;
  font-size: 1.2rem;
  color: #275899;
  font-weight: 500;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0.7rem 0;
  color: #275899 !important;
}

.hero h1,
.jumbotron h1 {
  font-family: menco;
  font-weight: 700;
  font-size: 1.5rem;
  font-style: normal;
  color: #275899;
  margin-bottom: 0rem;
}

p.lead,
.jumbotron p.lead {
  font-weight: 500;
  color: #63c771;
}

h1,
h2 {
  margin-bottom: 2rem;
}

:is(.card) h1,
:is(.card) h2 {
  margin-bottom: 0.5rem;
}

p {
  color: #2e2832;
}

.small {
  margin-bottom: 0.25rem;
}

h2.bilanResult {
  font-family: menco;
  font-size: 2rem;
}

.navbar-brand {
  padding-top: 0px;
}

a.navbar-brand strong {
  font-size: 1.3em;
  color: #275899;
  font-family: menco;
  font-weight: 700;
  font-style: normal;
  position: relative;
  margin-top: 6px;
}

.navbar .btn-secondary:focus,
.navbar .btn-secondary.focus {
  background-color: #e8f3fa;
  color: #495057;
}

.header.navbar {
  padding: 1rem;
  /* padding-bottom: 2.5rem;*/
}

.second-navbar {
  z-index: 12;
  position: relative;
  /*margin-top: 67px;*/
}

#navbarScreens {
  background-color: white;
}

.secondaryMenu {
  margin-top: 97px;
}

.change_select_submit .input-group > .input-group-prepend > select:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.input-group-text {
  border: 0;
  background-color: #275899;
  color: white;
  font-weight: 400;
}

.custom-select {
  /* Look btn-secondary (ton thème) */
  background-color: #e5f2f9;
  color: #212529;
  border: 1px solid #e5f2f9;
  border-radius: 0.25rem;
  /* Flèche custom */
  /* background-image:
     linear-gradient(45deg, transparent 50%, #275899 50%),
     linear-gradient(135deg, #275899 50%, transparent 50%);
   background-size: 10px 10px, 10px 10px;
   background-position: calc(100% - 18px) 50%, calc(100% - 10px) 50%;
   background-repeat: no-repeat;*/
  /* Reset native */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  /* Sizing identique à un btn BS4 */
  padding: 0.375rem 2.25rem 0.375rem 0.75rem;
  line-height: 1.7;
  height: calc(1.5em + 0.75rem + 2px);
  text-align: start;
  cursor: pointer;
}

.custom-select {
  /* Réinitialise l'apparence native pour éviter les conflits */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* Remplace l'image par une flèche unique vers le bas (SVG encodé) */
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 4L0 1h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px;
  background-color: #e5f2f9;
  color: #212529;
  border: 1px solid #e5f2f9;
  border-radius: 0.25rem;
  padding: 0.375rem 2.25rem 0.375rem 0.75rem;
  line-height: 1.7;
  height: calc(1.5em + 0.75rem + 2px);
  text-align: start;
  cursor: pointer;
}

/* Hover = btn-secondary:hover */
.custom-select:hover {
  color: #212529;
  background-color: #c7e3f2;
  border-color: #bbddef;
  filter: brightness(95%);
}

/* Focus (cohérent avec hover) */
.custom-select:focus {
  color: #212529;
  background-color: #c7e3f2;
  border-color: #bbddef;
  border: none;
  outline: 0;
  box-shadow: 0 0 0 0rem rgb(227, 15, 15);
}

/* 2. Uniquement les options du menu déroulant */
.custom-select option {
  background-color: #fff; /* Fond foncé (nécessaire pour le contraste) */
}

/* Disabled */
.custom-select:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.serifBlock {
  font-family: menco;
  font-size: 1.2em;
  font-weight: 300;
  font-style: normal;
  border-left: 5px solid #275899;
  padding-left: 10px;
  line-height: 1.5em;
}

.logoHomepage {
  padding: 0rem;
  margin-bottom: 40px;
  width: 240px;
  background-color: transparent;
  border: 0px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0px 0px 24px rgba(255, 255, 255, 0.8));
}

#formations {
  display: flex;
  height: auto;
  min-height: 100%;
  background: #fff;
  padding: 0;
  border-top: 1px solid #e4f5fa;
}

#jumbotron {
  display: flex;
  height: auto;
  min-height: 100%;
  /* Nouveau th\xc3\xa8me couleurs */
  background: rgba(185, 255, 148, 0.8);
  background: #e4f5fa;
  padding: 0;
  padding: 32px 0;
}

#jumbotron .jumbotron {
  width: auto;
  background-color: transparent;
  text-align: center;
  padding: 0;
}

p.lead,
#jumbotron .jumbotron p.lead {
  font-weight: 700;
  color: #275899;
  font-size: 1.8em;
  line-height: 34px;
  font-family: menco, sans-serif;
}

#jumbotron .jumbotron {
  width: auto;
  background-color: transparent;
  text-align: center;
  padding: 0;
}

p.lead,
#jumbotron .jumbotron p.lead {
  font-weight: 700;
  color: #275899;
  font-size: 1.8em;
  line-height: 34px;
  font-family: menco, sans-serif;
}

p.action {
  color: #2e2832;
}

.menu-item-class {
  margin-right: 1.2rem;
}

.disconnectedPadding {
  margin: 97px 0 0;
}

.connectedPadding {
  margin: 163px 0 0;
}

.connectedPaddingBack {
  padding-top: 100px;
}

.evolution {
  background: #e4f5fa;
}

.capitals-light {
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  color: #275899;
  opacity: 0.7;
}

.triangle,
.plus {
  color: #63c771;
  height: 5px;
  line-height: 48px;
  font-size: 20px;
  margin: 0 12px 0 0;
  vertical-align: middle;
}

.plus.mobile {
  line-height: 12px;
}

.triangle {
  margin: 0 12px 0 0;
}

.plus {
  margin: 12px 0 12px 0;
}

.faq .btn-link,
.card .btn-link:hover,
.faq .btn-link:hover {
  text-decoration: none;
  color: #2e2832;
}

i {
  margin-right: 0.5rem;
}

.menu-item-class a i {
  color: #3360a0;
}

i.fa-toggle-off {
  margin-bottom: 0.5rem;
  color: orange;
}

i.fa-toggle-on {
  color: #63c771;
}

.btn-success {
  color: #2e2832;
  background-color: #63c771;
}

.btn-success:hover,
.btn-success:focus,
.btn-success.focus,
.btn-success:not(:disabled):not(.disabled):active,
.btn-success:not(:disabled):not(.disabled).active,
.show > .btn-success.dropdown-toggle {
  background-color: #63c771;
  border-color: #b9ff94;
}

.menu-item-class.active {
  font-weight: bold;
  border-bottom: 2px solid #275899;
}

.btn-success.disabled,
.btn-success:disabled {
  background-color: gray;
  border-color: lightgray;
}

.btn:hover {
  filter: brightness(95%);
}

.btn-info {
  background-color: #275899;
  border-color: #275899;
}

.btn-success {
  background-color: #b9ff94;
  border-color: #63c771;
}

.btn-cta {
  color: white;
  background-color: #b9ff94;
  border-color: #63c771;
}

.btn-cta:hover {
  background-color: #63c771;
  color: white;
}

.bg-white {
  background-color: white;
}

.bg-menu {
  background: #b9ff94;
}

.color-darkCarbon {
  color: #63c771;
}

a.btn i.darkCarbon {
  color: #275899;
}

.bg-goal {
  background: rgba(233, 126, 126, 0.631372549);
}

.header {
  background: white;
  padding-top: 6em;
}

.hero {
  padding-top: 136px;
}

.header a,
.nav a strong,
.navbar-nav .nav-link,
.navbar-brand {
  color: #2e2832;
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: #275899;
}

.navbar-brand-logo:hover,
.navbar-brand-logo:focus {
  background-color: transparent !important;
  color: inherit !important;
}

.navbar-nav:hover,
.nav-link:hover {
  color: #275899;
  font-size: 1em;
}

.secondaryMenu {
  /*background-color: #fbfbfb;*/
  background-color: #fff;
}

.bg-banner-footer {
  width: 100%;
  background: white;
}

.navbar li:not(btn),
.navbar a,
.bg-banner a {
  font-size: 1em;
  color: #2e2832;
}

.navbar a:focus:not(.navbar-brand-logo),
.bg-banner a:focus {
  font-size: 1em;
  color: #275899;
}

.bg-banner li.dropdown-submenu a:focus {
  font-size: 1em;
  color: white;
}

.navbar a.btn:focus:not(.navbar-brand-logo),
.bg-banner a.btn:focus {
  color: #2e2832;
}

.dropdown-submenu a,
.bg-banner a {
  color: #2e2832;
}

.navbar-dark:hover .navbar-nav:hover .nav-link:hover,
.bg-banner a:hover {
  font-size: 1em !important;
  color: #275899;
}

.header.navbar .navbar-nav .nav-link:hover,
.header.navbar .navbar-nav .nav-link:focus,
.header.navbar .navbar-nav .dropdown-toggle:hover,
.header.navbar .navbar-nav .dropdown-toggle:focus,
.header.navbar .menu-item-class:hover,
.header.navbar .menu-item-class:hover > .nav-link,
.header.navbar .dropdown-menu .dropdown-item:hover,
.header.navbar .dropdown-menu .dropdown-item:focus {
  background-color: transparent !important;
  color: inherit !important;
}

.header.navbar .dropdown-menu .dropdown-item:hover,
.header.navbar .dropdown-menu .dropdown-item:focus {
  background-color: rgba(39, 88, 153, 0.08) !important;
  color: #275899 !important;
}

.topMenu {
  flex-basis: auto;
  width: 100%;
}

/* Le conteneur doit être capable de "porter" la largeur du contenu */
.dropdown {
  display: inline-block;
}

/* Dropdown long : scroll + largeur auto + alignement clean */
.dropdown-menu-fit {
  /* Largeur */
  min-width: 100%;
  width: max-content;
  width: -moz-max-content;
  max-width: 90vw;
  white-space: nowrap;
  line-height: 1.7;
  /* Hauteur / scroll */
  max-height: 60vh;
  overflow-y: auto;
  overflow-x: hidden;
  /* Scroll Firefox */
  scrollbar-width: thin;
}

/* Scroll Chrome / Edge / Safari */
.dropdown-menu-fit::-webkit-scrollbar {
  width: 8px;
}

.dropdown-menu-fit::-webkit-scrollbar-track {
  background: transparent;
}

.dropdown-menu-fit::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 4px;
}

/* Items : texte sur une seule ligne */
.dropdown-item {
  white-space: nowrap;
}

.dropdown-menu-fit button.dropdown-item {
  padding: 0 0 0 1.2rem;
}

.bg-banner .navbar-brand a:hover {
  background-color: transparent;
}

.btn-outline-light:hover {
  background-color: #275899;
}

.btn-outline-secondary:hover {
  color: #fff;
  background-color: #275899;
  border-color: #275899;
}

.bg-info {
  background-color: #275899 !important;
}

.section {
  padding: 100px 0;
}

#slogan {
  background-color: #fff;
  height: auto;
  padding: 100px 0;
}

#slogan,
#slogan .lead {
  color: #275899;
}

#slogan h1,
#slogan .lead {
  color: #275899;
  font-weight: 500;
}

.logs {
  background-color: #fbfbfb;
  padding-bottom: 2em;
}

.form-text {
  font-size: 0.8em;
}

.form-control {
  height: auto;
}

#cfd {
  background-color: #fbfbfb;
}

#feature h3 {
  color: #63c771;
}

#feature p {
  text-align: justify;
}

#feature i {
  margin-bottom: 0.2em;
}

table.highchart tbody h3 {
  color: #2e2832;
}

.tinputs table {
  display: flex;
}

.tinputs thead,
.tinputs tr {
  display: inline-flex;
  flex-direction: column;
}

.tinputs th,
.tinputs td {
  height: 100px;
}

td label span.text-danger {
  position: absolute;
  background: white;
  padding: 8px 16px;
  border: 1px solid #dc3545;
  border-radius: 0.25rem;
  /*margin-top: 7px;
  left: calc(60% - 218px)*/
}

.tableFixHead {
  height: auto;
}

.header-bilan-elem h3 strong {
  font-weight: 800;
}

.list-group-item .col.text-center {
  font-size: 0.8rem;
}

li.list-group-item {
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.ateliersList {
  list-style: none;
  margin-left: 1em;
}

.mascotte {
  transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  -o-object-fit: contain;
     object-fit: contain;
}

.talk {
  display: block;
  --r: 25px;
  /* the radius */
  --t: 20px;
  /* the size of the tail */
  padding: calc(2 * var(--r) / 3) !important;
  /* Define the standard mask property for better compatibility */
  mask: radial-gradient(var(--t) at var(--_d) 0, rgba(0, 0, 0, 0) 98%, #000 102%) var(--_d) 100%/calc(100% - var(--r)) var(--t) no-repeat, conic-gradient(at var(--r) var(--r), #000 75%, rgba(0, 0, 0, 0) 0) calc(var(--r) / -2) calc(var(--r) / -2) padding-box, radial-gradient(50% 50%, #000 98%, rgba(0, 0, 0, 0) 101%) 0 0/var(--r) var(--r) space padding-box;
  -webkit-mask: radial-gradient(var(--t) at var(--_d) 0, rgba(0, 0, 0, 0) 98%, #000 102%) var(--_d) 100%/calc(100% - var(--r)) var(--t) no-repeat, conic-gradient(at var(--r) var(--r), #000 75%, rgba(0, 0, 0, 0) 0) calc(var(--r) / -2) calc(var(--r) / -2) padding-box, radial-gradient(50% 50%, #000 98%, rgba(0, 0, 0, 0) 101%) 0 0/var(--r) var(--r) space padding-box;
  background: #275899 border-box;
  border-radius: 0.25rem;
  margin-left: 0;
}

.talk h5 {
  font-family: "coniferous", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.4;
  color: white;
}

.talk p {
  color: white;
  line-height: 1.25;
  position: relative;
  word-wrap: break-word;
}

.left {
  --_d: 0%;
  border-left: var(--t) solid rgba(0, 0, 0, 0);
  margin-right: 0;
  place-self: baseline;
}

.right {
  --_d: 100%;
  border-right: var(--t) solid rgba(0, 0, 0, 0);
  margin-left: auto;
  place-self: center;
}

.helpToggle {
  position: fixed;
  font-size: 1.5rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  border-radius: 50%;
  background: #e4f5fa;
  text-align: center;
  border: 2px solid #63c771;
  height: 4rem;
  width: 4rem;
  cursor: pointer;
  transform: translate3d(0, 0, 0);
  animation-name: shakeMe;
  animation-delay: 5s;
  animation-duration: 5s;
  animation-iteration-count: 3;
  animation-timing-function: linear;
}

.helpToggle i {
  margin: 0;
  color: #275899;
  line-height: 4rem;
}

@keyframes shakeMe {
  2%, 18% {
    transform: translate3d(-5px, 0, 0);
  }
  4%, 16% {
    transform: translate3d(5px, 0, 0);
  }
  6%, 10%, 14% {
    transform: translate3d(-5px, 0, 0);
  }
  8%, 12% {
    transform: translate3d(5px, 0, 0);
  }
  18.1% {
    transform: translate3d(0px, 0, 0);
  }
}
.card table {
  margin-bottom: 0;
}

.legende {
  margin-top: -3rem;
}

.legende div {
  height: 1.2rem;
}

.text-silver {
  color: silver;
}

.navbar-light .navbar-nav .nav-link {
  color: rgba(0, 0, 0, 0.65);
}

.legende i {
  margin: 0;
  color: silver;
}

nav.second-navbar i {
  color: #275899;
}

nav.second-navbar .btn-primary i {
  color: #63c771;
}

#nav2 {
  min-height: 56px;
  padding-bottom: .5rem;
  padding-top: .5rem;
}

#nav2 .navbar-brand {
  margin-right: .75rem;
  padding: 0;
}

#nav2 .btn {
  border-radius: 6px;
  font-size: 1rem;
  line-height: 1.35;
  min-height: 40px;
  padding: .45rem .85rem;
}

#nav2 .btn-cta {
  color: #212529 !important;
}

#nav2 .dropdown-toggle::after,
#navbar-admin-profil.dropdown-toggle::after {
  margin-left: .55em;
  vertical-align: .12em;
}

#stickyMenu .input-group-text {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}

#stickyMenu .input-group .dropdown-toggle {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

#stickyMenu {
  margin-left: -0.75rem;
  margin-right: -0.75rem;
  width: calc(100% + 1.5rem);
}

#stickyMenu.sticky-fixed {
  position: fixed;
  z-index: 999;
  background-color: #fbfbfb;
  border-bottom: 1px solid #dee2e6;
  padding: .75rem 0;
  margin-left: 0;
  margin-right: 0;
}

/*------------------------------------
- COLOR primary
------------------------------------*/
.alert-primary {
  color: #0e2039;
  background-color: #a6c0e8;
  border-color: #96b5e4;
}

.alert-primary hr {
  border-top-color: #82a7de;
}

.alert-primary .alert-link {
  color: #040911;
}

.badge-primary {
  color: #fff;
  background-color: #28569b;
}

.badge-primary[href]:hover,
.badge-primary[href]:focus {
  color: #fff;
  background-color: #1d3f72;
}

.bg-primary {
  background-color: #28569b !important;
}

a.bg-primary:hover,
a.bg-primary:focus,
button.bg-primary:hover,
button.bg-primary:focus {
  background-color: #1d3f72 !important;
}

.border-primary {
  border-color: #28569b !important;
}

.btn-primary {
  color: #fff;
  background-color: #28569b;
  border-color: #28569b;
}

.btn-primary:hover {
  color: #fff;
  background-color: #20467e;
  border-color: #1d3f72;
}

.btn-primary:focus,
.btn-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(40, 86, 155, 0.5);
}

.btn-primary.disabled,
.btn-primary:disabled {
  color: #fff;
  background-color: #597194;
  border-color: #597194;
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #1d3f72;
  border-color: #1a3866;
}

.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(40, 86, 155, 0.5);
}

.btn-outline-primary {
  color: #28569b;
  background-color: transparent;
  border-color: #28569b;
}

.btn-outline-primary:hover {
  color: #fff;
  background-color: #28569b;
  border-color: #28569b;
}

.btn-outline-primary:focus,
.btn-outline-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(40, 86, 155, 0.5);
}

.btn-outline-primary.disabled,
.btn-outline-primary:disabled {
  color: #28569b;
  background-color: transparent;
}

.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
  color: #fff;
  background-color: #28569b;
  border-color: #28569b;
}

.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(40, 86, 155, 0.5);
}

.list-group-item-primary {
  color: #0e2039;
  background-color: #96b5e4;
}

.list-group-item-primary.list-group-item-action:hover,
.list-group-item-primary.list-group-item-action:focus {
  color: #0e2039;
  background-color: #82a7de;
}

.list-group-item-primary.list-group-item-action.active {
  color: #fff;
  background-color: #0e2039;
  border-color: #0e2039;
}

.table-primary,
.table-primary > th,
.table-primary > td {
  background-color: #96b5e4;
}

.table-hover .table-primary:hover {
  background-color: #82a7de;
}

.table-hover .table-primary:hover > td,
.table-hover .table-primary:hover > th {
  background-color: #82a7de;
}

.text-primary {
  color: #28569b !important;
}

a.text-primary:hover,
a.text-primary:focus {
  color: #1d3f72 !important;
}

/*------------------------------------
- COLOR cta
------------------------------------*/
.bg-min {
  background: #7ee994;
}

.list-group-item-success {
  background-color: #7ee994;
  color: #22ca44;
}

.alert-cta {
  color: #22ca44;
  background-color: #12c106;
  border-color: #11a103;
}

.alert-cta hr {
  border-top-color: #105100;
}

.alert-cta .alert-link {
  color: #1b9e36;
}

.badge-cta {
  color: #212529;
  background-color: #7ee994;
}

.badge-cta[href]:hover,
.badge-cta[href]:focus {
  color: #212529;
  background-color: #52e16f;
}

.bg-cta {
  background-color: #7ee994 !important;
}

a.bg-cta:hover,
a.bg-cta:focus,
button.bg-cta:hover,
button.bg-cta:focus {
  background-color: #52e16f !important;
}

.border-cta {
  border-color: #7ee994 !important;
}

.btn-cta {
  color: #212529;
  background-color: #7ee994;
  border-color: #7ee994;
}

.btn-cta:hover {
  color: #212529;
  background-color: #5fe37a;
  border-color: #52e16f;
}

.btn-cta:focus,
.btn-cta.focus {
  box-shadow: 0 0 0 0.2rem rgba(126, 233, 148, 0.5);
}

.btn-cta.disabled,
.btn-cta:disabled {
  color: #212529;
  background-color: #7ee994;
  border-color: #7ee994;
}

.btn-cta:not(:disabled):not(.disabled):active,
.btn-cta:not(:disabled):not(.disabled).active,
.show > .btn-cta.dropdown-toggle {
  color: #212529;
  background-color: #52e16f;
  border-color: #45df65;
}

.btn-cta:not(:disabled):not(.disabled):active:focus,
.btn-cta:not(:disabled):not(.disabled).active:focus,
.show > .btn-cta.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(126, 233, 148, 0.5);
}

.btn-outline-cta {
  color: #7ee994;
  background-color: transparent;
  border-color: #7ee994;
}

.btn-outline-cta:hover {
  color: #212529;
  background-color: #7ee994;
  border-color: #7ee994;
}

.btn-outline-cta:focus,
.btn-outline-cta.focus {
  box-shadow: 0 0 0 0.2rem rgba(126, 233, 148, 0.5);
}

.btn-outline-cta.disabled,
.btn-outline-cta:disabled {
  color: #7ee994;
  background-color: transparent;
}

.btn-outline-cta:not(:disabled):not(.disabled):active,
.btn-outline-cta:not(:disabled):not(.disabled).active,
.show > .btn-outline-cta.dropdown-toggle {
  color: #212529;
  background-color: #7ee994;
  border-color: #7ee994;
}

.btn-outline-cta:not(:disabled):not(.disabled):active:focus,
.btn-outline-cta:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-cta.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(126, 233, 148, 0.5);
}

.list-group-item-cta {
  color: #22ca44;
  background-color: #11a103;
}

.list-group-item-cta.list-group-item-action:hover,
.list-group-item-cta.list-group-item-action:focus {
  color: #22ca44;
  background-color: #105100;
}

.list-group-item-cta.list-group-item-action.active {
  color: #212529;
  background-color: #22ca44;
  border-color: #22ca44;
}

.table-cta,
.table-cta > th,
.table-cta > td {
  background-color: #11a103;
}

.table-hover .table-cta:hover {
  background-color: #105100;
}

.table-hover .table-cta:hover > td,
.table-hover .table-cta:hover > th {
  background-color: #105100;
}

.text-cta {
  color: #7ee994 !important;
}

a.text-cta:hover,
a.text-cta:focus {
  color: #52e16f !important;
}

/*------------------------------------
- COLOR secondary
------------------------------------*/
.btn-secondary {
  color: #212529;
  background-color: #e5f2f9;
  border-color: #e5f2f9;
}

.btn-secondary:hover {
  color: #212529;
  background-color: #c7e3f2;
  border-color: #bbddef;
}

.btn-secondary:focus,
.btn-secondary.focus {
  box-shadow: 0 0 0 0.2rem rgba(229, 242, 249, 0.5);
}

.btn-secondary.disabled,
.btn-secondary:disabled {
  color: #212529;
  background-color: #e5f2f9;
  border-color: #e5f2f9;
}

.btn-secondary:not(:disabled):not(.disabled):active,
.btn-secondary:not(:disabled):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle {
  color: #212529;
  background-color: #bbddef;
  border-color: #afd7ec;
}

.btn-secondary:not(:disabled):not(.disabled):active:focus,
.btn-secondary:not(:disabled):not(.disabled).active:focus,
.show > .btn-secondary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(229, 242, 249, 0.5);
}

.btn-outline-secondary {
  color: #275899;
  background-color: transparent;
  border-color: #e5f2f9;
}

.btn-outline-secondary:hover {
  color: #212529;
  background-color: #e5f2f9;
  border-color: #e5f2f9;
}

.btn-outline-secondary:focus,
.btn-outline-secondary.focus {
  box-shadow: 0 0 0 0.2rem rgba(229, 242, 249, 0.5);
}

.btn-outline-secondary.disabled,
.btn-outline-secondary:disabled {
  color: #e5f2f9;
  background-color: transparent;
}

.btn-outline-secondary:not(:disabled):not(.disabled):active,
.btn-outline-secondary:not(:disabled):not(.disabled).active,
.show > .btn-outline-secondary.dropdown-toggle {
  color: #212529;
  background-color: #e5f2f9;
  border-color: #e5f2f9;
}

.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,
.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-secondary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(229, 242, 249, 0.5);
}

/*------------------------------------
- COLOR info
------------------------------------*/
.btn-info {
  color: #212529;
  background-color: #e5f2f9;
  border-color: #e5f2f9;
}

.btn-info:hover {
  color: #212529;
  background-color: #c7e3f2;
  border-color: #bbddef;
}

.btn-info:focus,
.btn-info.focus {
  box-shadow: 0 0 0 0.2rem rgba(229, 242, 249, 0.5);
  color: #212529;
  background-color: #e5f2f9;
}

.btn-info.disabled,
.btn-info:disabled {
  color: #212529;
  background-color: #e5f2f9;
  border-color: #e5f2f9;
}

.btn-info:not(:disabled):not(.disabled):active,
.btn-info:not(:disabled):not(.disabled).active,
.show > .btn-info.dropdown-toggle {
  color: #212529;
  background-color: #bbddef;
  border-color: #afd7ec;
}

.btn-info:not(:disabled):not(.disabled):active:focus,
.btn-info:not(:disabled):not(.disabled).active:focus,
.show > .btn-info.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(229, 242, 249, 0.5);
}

.btn-outline-info {
  color: #e5f2f9;
  background-color: transparent;
  border-color: #e5f2f9;
}

.btn-outline-info:hover {
  color: #212529;
  background-color: #e5f2f9;
  border-color: #e5f2f9;
}

.btn-outline-info:focus,
.btn-outline-info.focus {
  box-shadow: 0 0 0 0.2rem rgba(229, 242, 249, 0.5);
}

.btn-outline-info.disabled,
.btn-outline-info:disabled {
  color: #e5f2f9;
  background-color: transparent;
}

.btn-outline-info:not(:disabled):not(.disabled):active,
.btn-outline-info:not(:disabled):not(.disabled).active,
.show > .btn-outline-info.dropdown-toggle {
  color: #212529;
  background-color: #e5f2f9;
  border-color: #e5f2f9;
}

.btn-outline-info:not(:disabled):not(.disabled):active:focus,
.btn-outline-info:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-info.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(229, 242, 249, 0.5);
}

/* Style de base pour .btn-link */
.btn-link {
  color: #28569b; /* Utilisation du bleu moyen pour les liens */
  background-color: transparent;
  border: none; /* Pas de bordure, comme un lien classique */
  font-weight: 600; /* Font-medium pour donner un peu plus de force visuelle */
}

/* Survol */
.btn-link:hover,
.btn-link:focus {
  color: #1d3f72; /* Bleu foncé pour l'état de survol */
  text-decoration: underline; /* Ajoute un soulignement au hover pour renforcer l'interaction */
}

/* État actif */
.btn-link:active {
  color: #4a8b5f; /* Vert foncé pour un état actif, attirant l'attention sur l'action */
  text-decoration: none;
}

/* Désactivé */
.btn-link.disabled,
.btn-link:disabled {
  color: #96b5e4; /* Bleu clair pour un lien désactivé, signifiant un état non interactif */
  text-decoration: none;
}

#block_center {
  margin-bottom: 150px;
}

#navbar-methodologie {
  position: fixed;
}

.navbar-methodologie {
  position: relative;
  overflow: auto;
  height: 100%;
  overflow-x: clip;
  padding-left: 15px;
}

::-moz-selection {
  /* Code for Firefox */
  background: #7ee994;
}

::selection {
  background: #7ee994;
}

.sectionAzote {
  position: relative;
  width: 898px;
  height: 420px;
  background-image: url(../images/BilanAzote.jpg);
  background-repeat: no-repeat;
  background-size: 898px auto;
}

.bilanN {
  position: absolute;
  line-height: 20px;
}

.bilanN.entrees {
  top: 32px;
  left: 32px;
}

.bilanN.excedentsazote {
  top: 45px;
  left: 350px;
}

.bilanN.depositionatmospherique {
  top: 155px;
  left: 60px;
}

.bilanN.semences {
  top: 225px;
  left: 100px;
}

.bilanN.engraismineraux {
  top: 205px;
  left: 320px;
}

.bilanN.achatanimaux {
  top: 295px;
  left: 60px;
}

.bilanN.aliments {
  top: 345px;
  left: 125px;
}

.bilanN.engraisorganiques {
  top: 275px;
  left: 400px;
}

.bilanN.engraisorganiques h5 {
  background: linear-gradient(90deg, #26589a 0%, #6cb971 100%);
}

.bilanN.fixationsymbiotique {
  top: 345px;
  left: 280px;
}

.bilanN.sorties {
  text-align: right;
  top: 32px;
  right: 40px;
}

.bilanN.venteanimaux {
  top: 345px;
  left: 610px;
}

.bilanN.productionlaitiere {
  top: 285px;
  left: 710px;
}

.bilanN.exportationcultures {
  top: 185px;
  left: 550px;
}

.bilanN.efficienceazotee {
  text-align: center;
  top: 98px;
  left: 336px;
}

.bilanN.autonomieazote {
  text-align: center;
  top: 98px;
  left: 480px;
}

.bilanN h3,
.bilanN h5,
.bilanN p {
  color: white !important;
  background-color: #275899;
  margin: 0;
  padding: 1px 6px 4px;
}

.bilanN h5 {
  font-weight: bold;
  font-size: 1rem;
}

.bilanN p {
  font-weight: 500;
  font-size: 0.9rem;
  display: inline;
}

.bilanN.out h3,
.bilanN.out h5,
.bilanN.out p {
  background-color: #467b49;
}

.bilanN.static h3,
.bilanN.static h5,
.bilanN.static p {
  background-color: #a25f14;
}

.highlightedBorder {
  border: 1px solid #63c771;
  border-radius: 5px;
  padding: 15px;
}

.legendeEchelle {
  max-width: 50px;
  background: #9dc0dc;
  padding: 0;
}

.legendeEchelle p.verticalText {
  padding: 30px 10px;
  margin: 0;
}

.legendeEchelle.echelleProduits {
  background: url(../../assets/images/echelleProduits.png) no-repeat top center #9dc0dc;
}

.legendeEchelle.echelleAteliers {
  background: url(../../assets/images/echelleAtelier.png) no-repeat top center #9dc0dc;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: #7ee994;
  color: white;
}

.small-font {
  font-size: 0.8em;
}

.gauge-container {
  width: 90%;
  margin: 0 auto;
  height: auto;
  display: block;
  padding: 10px;
}

.gauge-container > .gauge .dial {
  stroke: #969398;
  stroke-width: 3;
  fill: rgba(0, 0, 0, 0);
}

.gauge-container.underMin > .gauge .dial {
  stroke: #337999;
}

.gauge-container > .gauge .value {
  stroke: #2e2832;
  stroke-width: 6;
  fill: rgba(0, 0, 0, 0);
}

.gauge-container > .gauge .value-text {
  fill: #2e2832;
  font-family: Dosis, Menco, sans-serif;
  font-size: 0.8em;
}

body.decide-theme-dark #stickyMenu.sticky-fixed {
  background-color: var(--site-dark-surface) !important;
  border-bottom-color: var(--site-dark-border) !important;
}

body.decide-theme-dark .header-bilan-elem-1,
body.decide-theme-dark .header-bilan-elem-1.bg-light {
  background-color: var(--site-dark-surface-soft) !important;
  border-color: var(--site-dark-border) !important;
  color: var(--site-dark-blue) !important;
}

body.decide-theme-dark .header-bilan-elem-2,
body.decide-theme-dark .header-bilan-elem-2.text-secondary,
body.decide-theme-dark .header-bilan-elem-2.text-info {
  background-color: var(--site-dark-surface) !important;
  border-color: var(--site-dark-border) !important;
  color: var(--site-dark-text) !important;
}

body.decide-theme-dark .legendeEchelle {
  background-color: #284461;
}

body.decide-theme-dark .legendeEchelle.echelleProduits,
body.decide-theme-dark .legendeEchelle.echelleAteliers {
  background-color: #284461;
  background-blend-mode: multiply;
}

body.decide-theme-dark .gauge-container > .gauge .dial {
  stroke: rgba(181, 199, 216, 0.6);
}

body.decide-theme-dark .gauge-container > .gauge .value-text {
  fill: var(--site-dark-text);
}

body.decide-theme-dark select.form-control,
body.decide-theme-dark select.form-select {
  background-position: right .65rem center;
  background-repeat: no-repeat;
  background-size: 12px 10px;
  padding-right: 2rem;
}

body.decide-theme-dark .table .mon-exploitation,
body.decide-theme-dark .table-striped > tbody > tr:nth-of-type(odd) > .mon-exploitation,
body.decide-theme-dark .table-striped > tbody > tr:nth-of-type(even) > .mon-exploitation {
  background-color: #28569b !important;
  color: #ffffff !important;
}

body.decide-theme-dark .table .mediane,
body.decide-theme-dark .table-striped > tbody > tr:nth-of-type(odd) > .mediane,
body.decide-theme-dark .table-striped > tbody > tr:nth-of-type(even) > .mediane {
  background-color: #7ee994 !important;
  color: #132033 !important;
}

body.decide-theme-dark .table .mediane *,
body.decide-theme-dark .table-striped > tbody > tr:nth-of-type(odd) > .mediane *,
body.decide-theme-dark .table-striped > tbody > tr:nth-of-type(even) > .mediane *,
body.decide-theme-dark .table .mediane .text-muted,
body.decide-theme-dark .table .mediane .text-secondary,
body.decide-theme-dark .table .mediane small {
  color: #132033 !important;
}

body.decide-theme-dark .bubble-option {
  background-color: #f1f1f1 !important;
  border-color: #d5dbe3 !important;
  color: #132033 !important;
}

body.decide-theme-dark .bubble-option:hover,
body.decide-theme-dark .bubble-option:focus {
  background-color: #ffffff !important;
  border-color: #8fb9ff !important;
  color: #132033 !important;
  outline: 3px solid #8fb9ff;
  outline-offset: 2px;
}

body.decide-theme-dark .bubble-option.selected {
  background-color: #0d6efd !important;
  border-color: #8fb9ff !important;
  color: #ffffff !important;
}

body.decide-theme-dark .diag-line {
  background: linear-gradient(45deg, #22344f 12.5%, #132033 12.5%, #132033 37.5%, #22344f 37.5%, #22344f 62.5%, #132033 62.5%, #132033 87.5%, #22344f 87.5%);
  background-size: 15px 15px;
}

body.decide-theme-dark table.highchart tbody h3,
body.decide-theme-dark .highcharts-title,
body.decide-theme-dark .highcharts-subtitle,
body.decide-theme-dark .highcharts-axis-labels text,
body.decide-theme-dark .highcharts-axis-title,
body.decide-theme-dark .highcharts-data-label text,
body.decide-theme-dark .highcharts-legend-item text,
body.decide-theme-dark .highcharts-text-outline {
  fill: var(--site-dark-text) !important;
  color: var(--site-dark-text) !important;
  stroke: none !important;
}

body.decide-theme-dark .highcharts-background,
body.decide-theme-dark .highcharts-plot-background,
body.decide-theme-dark .highcharts-root,
body.decide-theme-dark .highcharts-container,
body.decide-theme-dark .highcharts-series-group {
  background: transparent !important;
  fill: transparent !important;
}

body.decide-theme-dark .highcharts-grid-line,
body.decide-theme-dark .highcharts-axis-line,
body.decide-theme-dark .highcharts-tick,
body.decide-theme-dark .highcharts-plot-line {
  stroke: rgba(176, 205, 231, 0.16) !important;
}

body.decide-theme-dark img[src*="/assets/images/pictograms/"],
body.decide-theme-dark img[src*="../../assets/images/pictograms/"] {
  background: transparent !important;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(3, 10, 20, 0.2);
  padding: 0.25rem;
  background-color: rgba(143, 185, 255, 0.08) !important;
}

.decide-durability-report #legend [tabindex="0"] {
  border-radius: 4px;
  cursor: pointer;
}

.decide-durability-report #flower:focus,
.decide-durability-report #legend [tabindex="0"]:focus {
  outline: 3px solid #132033;
  outline-offset: 3px;
}

body.decide-theme-dark .decide-durability-report #legend {
  background-color: var(--site-dark-surface-soft) !important;
  border-color: var(--site-dark-border) !important;
  box-shadow: 0 12px 28px rgba(3, 10, 20, 0.32);
  color: var(--site-dark-text) !important;
}

body.decide-theme-dark .decide-durability-report #legend h3,
body.decide-theme-dark .decide-durability-report #legend li {
  color: var(--site-dark-text) !important;
}

body.decide-theme-dark .decide-durability-report #legend [tabindex="0"]:hover,
body.decide-theme-dark .decide-durability-report #legend [tabindex="0"]:focus {
  background-color: rgba(143, 185, 255, 0.12);
  outline-color: var(--site-dark-blue);
}

body.decide-theme-dark .decide-durability-report #flower:focus,
body.decide-theme-dark .decide-durability-report #petals path[tabindex="0"]:focus {
  outline-color: var(--site-dark-blue);
}

body.decide-theme-dark .decide-durability-report .tooltip {
  background-color: #eef7fc;
  color: #07111f;
}

body.decide-theme-dark .decide-durability-report .gradient-legend {
  border-color: var(--site-dark-border);
}

body.decide-theme-dark .decide-durability-report .durability-group-label-bg {
  fill: rgba(19, 32, 51, 0.92) !important;
}

#accordionAuditeurs h4 a {
  color: #2e2832;
}

#accordionAuditeurs h4 a:hover {
  text-decoration: none;
}

.badge-secondary {
  background-color: #9dbfdc;
}

td label {
  display: inline;
}

#tableEntiere textarea {
  resize: none;
}

g text {
  font-size: 0.9em !important;
  font-weight: normal !important;
}

#navbarSupportedContent .navbar-nav {
  flex-direction: row;
}

.bg-light {
  background-color: #e5f2f9 !important;
}

.vous {
  display: flex;
  align-content: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.bubble-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.bubble-option {
  padding: 10px 20px;
  background-color: #f1f1f1;
  color: #132033;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: 0.3s;
  border: 1px solid transparent;
}

.bubble-option:hover {
  background-color: #e0e0e0;
  color: #132033;
}

.bubble-option:focus {
  outline: 3px solid #132033;
  outline-offset: 2px;
}

.bubble-option.selected {
  background-color: #007bff;
  color: white;
  border-color: #0056b3;
}

.section {
  background: var(--bg, #fff);
}

.section--white {
  --bg: #fff;
}

.section--alt {
  --bg: #f7f9fc;
} /* ta couleur d’alternance */
.navbar-toggler {
  background-color: #e4f5fa;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%2888, 88, 88, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

#navbarResponsive ul li {
  width: 100%;
}

#accordionAuditeurs .card .row {
  flex-grow: 1;
}

.quote-text {
  font-size: 2em;
  font-weight: 400;
  text-align: center;
  line-height: 1.4;
  padding: 20px;
  animation: fadeIn 2s ease 0s 1 normal forwards;
}

@keyframes fadeIn {
  0% {
    transform: scale(0.8);
  }
  100% {
    transform: scale(1);
  }
}
blockquote p {
  font-family: "Georgia", "Baskerville", "Garamond", "Times New Roman", "Palatino Linotype", "Book Antiqua", serif;
}

.big-quote {
  font-size: 5em;
  font-family: "Playfair Display", "Baskerville", "Georgia", serif;
  color: #7EE994;
  max-height: 60px;
  display: inline-block;
  overflow: hidden;
  line-height: 0.8;
}

.team img {
  width: 40%;
  border-radius: 5px;
}

.toggle-circle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 21px;
  height: 21px;
  background-color: #275899;
  color: white;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  padding-bottom: 3px;
  top: -4px;
}

.group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar a.btn.btn-link {
  text-align: left;
}

.sidebar p + strong {
  font-size: 1rem;
}

@media (min-width: 576px) {
  .modal-dialog.helpModal {
    max-width: 960px;
  }
  #navbarScreens {
    top: 0px;
    background-color: white;
  }
}
@media (max-width: 991.98px) {
  #formations {
    padding-top: 37px;
    padding-top: 62px;
  }
  .second-navbar {
    margin-top: 144px;
    margin-top: 124px;
  }
  .fingersOptimized a,
  .fingersOptimized ul li a {
    padding: 10px 1.5rem;
  }
}
@media (max-width: 1199.98px) {
  #navbar-methodologie {
    position: relative;
    margin-top: 1rem;
  }
  .navbar-nav {
    padding-left: 0;
  }
  .header.navbar {
    box-shadow: -1px 4px 21px 0px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: -1px 4px 21px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: -1px 4px 21px 0px rgba(0, 0, 0, 0.25);
  }
  .menu-item-class {
    margin-right: 0;
  }
  .secondaryMenu {
    margin-top: 100px;
  }
}
/* --- Styles du modal social --- */
#leave-guard {
  position: fixed;
  inset: 0;
  z-index: 1055;
}

#leave-guard .lg-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

#leave-guard .lg-modal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 480px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  padding: 24px 20px 16px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans";
  animation: lg-pop 0.18s ease-out;
}

#leave-guard .lg-close {
  position: absolute;
  top: 8px;
  right: 8px;
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

#leave-guard h3 {
  margin: 8px 0 8px;
  font-size: 1.25rem;
}

#leave-guard p {
  margin: 0 0 16px;
  color: #555;
}

#leave-guard .lg-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

#leave-guard .lg-actions .lg-stay {
  border: 1px solid #d0d7de;
  background: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
}

#leave-guard .lg-actions .lg-leave {
  border: none;
  background: #d21f3c;
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
}

@keyframes lg-pop {
  from {
    opacity: 0;
    transform: translate(-50%, -46%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
.only-pdf {
  display: none;
}

.pdf-loader-overlay {
  align-items: center;
  background: #fff;
  color: #2e2832;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  padding: 2rem;
  position: fixed;
  text-align: center;
  z-index: 10000;
}

.pdf-loader-overlay:not(.d-none) {
  display: flex;
}

.pdf-loader-panel {
  align-items: center;
  background: #fff;
  border: 1px solid #d9e6ef;
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(39, 88, 153, .16);
  display: flex;
  flex-direction: column;
  max-width: 480px;
  padding: 2rem;
  width: min(90vw, 480px);
}

.pdf-loader-spinner {
  height: 4rem;
  margin-bottom: 1.25rem;
  width: 4rem;
}

.pdf-loader-title {
  color: #275899;
  font-size: 1.35rem;
  font-weight: 700;
}

.pdf-loader-subtitle {
  color: #667085;
  font-size: 1rem;
  margin-top: .35rem;
}

.pdf-loader-progress {
  background: #e8f3fa;
  border-radius: 999px;
  height: .75rem;
  margin-top: 1.5rem;
  overflow: hidden;
  width: 100%;
}

.pdf-loader-progress-bar {
  background: #63c771;
  height: 100%;
  transition: width .2s ease;
  width: 0;
}

.pdf-loader-progress-text {
  color: #667085;
  font-size: .95rem;
  margin-top: .75rem;
}

.pdf-job-banner {
  left: 50%;
  max-width: min(920px, calc(100vw - 2rem));
  position: fixed;
  top: 92px;
  transform: translateX(-50%);
  width: max-content;
  z-index: 1085;
}

.pdf-job-banner-main {
  align-items: center;
  background: #183153;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(24, 49, 83, .28);
  color: #fff;
  display: flex;
  gap: .9rem;
  min-width: min(720px, calc(100vw - 2rem));
  padding: .85rem 1rem;
}

.pdf-job-banner.is-done .pdf-job-banner-main {
  background: #1d6f42;
}

.pdf-job-banner.is-error .pdf-job-banner-main {
  background: #8a2633;
}

.pdf-job-banner-icon {
  align-items: center;
  background: rgba(255, 255, 255, .14);
  border-radius: 999px;
  display: flex;
  flex: 0 0 auto;
  height: 2.35rem;
  justify-content: center;
  width: 2.35rem;
}

.pdf-job-banner-content {
  flex: 1 1 auto;
  min-width: 180px;
}

.pdf-job-banner-title {
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.2;
}

.pdf-job-banner-text {
  color: rgba(255, 255, 255, .86);
  font-size: .86rem;
  line-height: 1.25;
  margin-top: .15rem;
}

.pdf-job-banner-progress {
  background: rgba(255, 255, 255, .22);
  border-radius: 999px;
  height: .45rem;
  margin-top: .5rem;
  overflow: hidden;
}

.pdf-job-banner-progress-bar {
  background: #63c771;
  height: 100%;
  transition: width .25s ease;
  width: 0;
}

.pdf-job-pill {
  align-items: center;
  background: #183153;
  border: 0;
  border-radius: 999px;
  bottom: 1rem;
  box-shadow: 0 12px 32px rgba(24, 49, 83, .26);
  color: #fff;
  cursor: pointer;
  display: flex;
  gap: .45rem;
  font-weight: 700;
  left: 4rem;
  line-height: 1;
  padding: .7rem 1rem;
  position: fixed;
  transition: box-shadow .2s ease, transform .2s ease;
  white-space: nowrap;
  z-index: 1085;
}

.pdf-job-pill:hover,
.pdf-job-pill:focus {
  box-shadow: 0 16px 36px rgba(24, 49, 83, .34);
  color: #fff;
  transform: translateY(-1px);
}

.pdf-job-pill.is-done {
  background: #1d6f42;
}

.pdf-job-pill.is-error {
  background: #8a2633;
}

.pdf-job-toast {
  border: 0;
  box-shadow: 0 14px 36px rgba(24, 49, 83, .24);
}

.pdf-job-toast .toast-header,
.pdf-job-toast .toast-body {
  background: #183153;
  color: #fff;
}

.pdf-job-toast.is-done .toast-header,
.pdf-job-toast.is-done .toast-body {
  background: #1d6f42;
}

.pdf-job-toast.is-error .toast-header,
.pdf-job-toast.is-error .toast-body {
  background: #8a2633;
}

.pdf-job-toast .btn-close {
  filter: invert(1) grayscale(1) brightness(2);
}

@media (max-width: 767.98px) {
  .pdf-job-banner {
    top: 72px;
    width: calc(100vw - 1rem);
  }

  .pdf-job-banner-main {
    align-items: stretch;
    flex-direction: column;
    min-width: 0;
  }

  .pdf-job-pill {
    bottom: .75rem;
    left: .75rem;
    max-width: calc(100vw - 1.5rem);
  }
}

body.pdf-export-mode {
  background: #fff !important;
}

body.pdf-export-mode #stickyMenu,
body.pdf-export-mode .sticky-fixed {
  display: none !important;
}

.nav-bar-fixed {
  position: fixed;
  top: 139px; /* tu peux mettre bottom:0 si tu veux en bas */
  left: 0;
  width: 100%;
  background: white; /* fond pour ne pas que le texte passe en dessous */
  border-bottom: 1px solid #ddd;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between; /* un bouton à gauche, un à droite */
  z-index: 1;
}

.nav-bar-sticky {
  position: sticky;
  top: 100px; /* dès qu'elle atteint le haut de l’écran, elle reste collée */
  background: white;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  z-index: 11;
}

@media (min-width: 992px) {
  .backend-encoding-content .nav-bar-sticky {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    width: calc(100% + 2.5rem);
  }
}

.nav-bar-sticky-first {
  position: sticky;
  top: 0; /* dès qu'elle atteint le haut de l’écran, elle reste collée */
  background: white;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  padding-top: 10px;
  /*display: flex;*/
  justify-content: space-between;
  z-index: 13;
}

.card {
  border-radius: 12px;
  overflow: hidden;
}

.card-header {
  background: #f8f9fa; /* gris clair */
  border-bottom: 1px solid #e0e0e0;
}

.rotate-icon {
  transition: transform 0.3s ease;
}

button[aria-expanded=true] .rotate-icon {
  transform: rotate(180deg);
}

/* Cultures */
#headingCV h5 {
  color: #2E7D32;
} /* Cultures de ventes (jaune doré) */
#headingCF h5 {
  color: #66BB6A;
} /* Cultures fourragères (vert vif) */
/* Bovins */
#headingBL h5 {
  color: #1565C0;
} /* Bovins lait (bleu ciel) */
#headingBV h5 {
  color: #42A5F5;
} /* Bovins viande (rouge brique) */
/* Ovins */
#headingOL h5 {
  color: #6A1B9A;
} /* Ovins lait (violet doux) */
#headingOV h5 {
  color: #AB47BC;
} /* Ovins viande (orange chaud) */
#headingPO h5 {
  color: #f37fff;
} /* Ovins lait (violet doux) */
#gbox_datagrid {
  z-index: 0;
}

/* Builder forms and grids */
.decide-builder-form,
.decide-builder-grid,
.decide-builder-inputs,
.decide-builder-grid-nav,
.decide-builder-grid-summary {
  --builder-blue: #275899;
  --builder-green: #63c771;
  --builder-ink: #2e2832;
  --builder-muted: #667085;
  --builder-border: #d9e6ef;
  --builder-soft: #f4f9fc;
  --builder-soft-green: #effaf1;
}

.decide-builder-form {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  border: 1px solid var(--builder-border);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 10px 28px rgba(39, 88, 153, 0.08);
}

.decide-builder-form label {
  color: var(--builder-blue);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.decide-builder-form .form-group,
.decide-builder-form .input-group {
  margin-bottom: 0.85rem;
}

.decide-builder-form .form-control,
.decide-builder-form .custom-select,
.decide-builder-grid .form-control,
.decide-builder-inputs .form-control {
  background-color: #ffffff;
  border: 1px solid var(--builder-border);
  border-radius: 6px;
  color: var(--builder-ink);
  min-height: 38px;
  box-shadow: inset 0 1px 2px rgba(39, 88, 153, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

/* Bootstrap 5 does not style select.form-control like a dropdown.
   Keep legacy form-control classes but make selects visually explicit. */
.decide-builder-form select.form-control,
.decide-builder-grid select.form-control,
.decide-builder-inputs select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%232e2832' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 6 6 6 6-6'/%3e%3c/svg%3e");
  background-position: right .65rem center;
  background-repeat: no-repeat;
  background-size: 12px 10px;
  padding-right: 2rem;
}

.decide-builder-form select.form-control[multiple],
.decide-builder-grid select.form-control[multiple],
.decide-builder-inputs select.form-control[multiple] {
  background-image: none;
  padding-right: .75rem;
}

.decide-builder-form textarea.form-control {
  min-height: 86px;
}

.decide-builder-form .form-control:hover,
.decide-builder-form .custom-select:hover,
.decide-builder-grid .form-control:hover,
.decide-builder-inputs .form-control:hover {
  border-color: #b7d7e9;
  background-color: #fbfdff;
}

.decide-builder-form .form-control:focus,
.decide-builder-form .custom-select:focus,
.decide-builder-grid .form-control:focus,
.decide-builder-inputs .form-control:focus {
  border-color: var(--builder-green);
  box-shadow: 0 0 0 0.2rem rgba(99, 199, 113, 0.18);
}

.decide-builder-form .select2-container .select2-selection,
.decide-builder-grid .select2-container .select2-selection,
.decide-builder-inputs .select2-container .select2-selection {
  border: 1px solid var(--builder-border);
  border-radius: 6px;
  min-height: 38px;
}

.decide-builder-form .select2-container--default .select2-selection--single .select2-selection__rendered,
.decide-builder-grid .select2-container--default .select2-selection--single .select2-selection__rendered,
.decide-builder-inputs .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--builder-ink);
  line-height: 36px;
}

.decide-builder-form .input-group-addon,
.decide-builder-form .input-group-text,
.decide-builder-grid .input-group-addon,
.decide-builder-grid .input-group-text,
.decide-builder-inputs .input-group-addon,
.decide-builder-inputs .input-group-text {
  background: var(--builder-blue);
  border-color: var(--builder-blue);
  color: #ffffff;
}

.decide-builder-form .form-text {
  color: var(--builder-muted);
  font-size: 0.8rem;
  margin-top: -0.35rem;
}

.decide-builder-actions {
  border-top: 1px solid var(--builder-border);
  margin-top: 1.25rem !important;
  padding-top: 1rem;
}

.decide-builder-form .btn-cta,
.decide-builder-grid .btn-cta,
.decide-builder-inputs .btn-cta {
  border-radius: 6px;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(99, 199, 113, 0.18);
}

.decide-builder-actions .input-group > .btn-cta,
.decide-builder-actions .input-group > .input-group-btn > .btn-cta,
.decide-builder-inputs .input-group > .btn-cta,
.decide-builder-inputs .input-group > .input-group-btn > .btn-cta {
  border-bottom-right-radius: 6px !important;
  border-top-right-radius: 6px !important;
}

.decide-builder-form button.btn-cta,
.decide-builder-grid button.btn-cta,
.decide-builder-inputs button.btn-cta {
  background-color: #7ee994 !important;
  border-color: #7ee994 !important;
  color: #212529 !important;
}

.decide-builder-form button.btn-cta:hover,
.decide-builder-form button.btn-cta:focus,
.decide-builder-grid button.btn-cta:hover,
.decide-builder-grid button.btn-cta:focus,
.decide-builder-inputs button.btn-cta:hover,
.decide-builder-inputs button.btn-cta:focus {
  background-color: #5fe37a !important;
  border-color: #52e16f !important;
  color: #212529 !important;
}

.decide-builder-grid a.btn-cta {
  background-color: #275899 !important;
  border-color: #275899 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 16px rgba(39, 88, 153, 0.16);
}

.decide-builder-grid a.btn-cta:hover,
.decide-builder-grid a.btn-cta:focus {
  background-color: #1f477b !important;
  border-color: #1f477b !important;
  color: #ffffff !important;
}

.decide-builder-grid-nav,
.decide-builder-grid-summary {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin-bottom: 0.75rem;
  padding: 0;
  box-shadow: none;
}

.decide-builder-grid-summary p {
  color: var(--builder-muted);
  margin: 0;
}

.decide-builder-grid-summary .badge {
  background-color: var(--builder-blue);
  color: #ffffff;
}

.decide-builder-grid,
.decide-builder-inputs {
  background: #ffffff;
  border: 1px solid var(--builder-border);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(39, 88, 153, 0.08);
  overflow: auto;
}

.decide-builder-grid .decide-builder-table,
.decide-builder-inputs .decide-builder-edit-table {
  background: #ffffff;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 0;
}

.decide-builder-grid .table th,
.decide-builder-inputs .table th {
  background: #eef7fc;
  border-color: var(--builder-border);
  color: var(--builder-blue);
  font-size: 0.82rem;
  font-weight: 700;
  vertical-align: middle;
}

.decide-builder-grid .table td,
.decide-builder-inputs .table td {
  border-color: #e7eef4;
  color: var(--builder-ink);
  vertical-align: middle;
}

.decide-builder-grid .table-striped tbody tr:nth-of-type(odd),
.decide-builder-inputs .table-striped tbody tr:nth-of-type(odd) {
  background-color: #fbfdff;
}

.decide-builder-grid .table-hover tbody tr:hover,
.decide-builder-inputs .table-hover tbody tr:hover {
  background-color: var(--builder-soft-green);
}

.decide-builder-grid .alert-warning,
.decide-builder-inputs .alert-warning {
  background-color: #fff7df;
  border-color: #f5d98c;
  color: #6d5100;
}

.decide-builder-grid .table-inactive {
  background: #f1f4f7;
  color: #7a8794;
}

.decide-builder-inputs {
  margin: 0.75rem 0 1rem;
}

.decide-builder-inputs .btn-group .btn {
  border-radius: 6px;
  margin-right: 0.35rem;
}

/* Keep rounded corners on action buttons even inside Bootstrap btn-group */
.decide-builder-inputs .btn-group,
.decide-builder-actions .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.decide-builder-inputs .btn-group > .btn,
.decide-builder-actions .btn-group > .btn {
  border-radius: 6px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.decide-builder-inputs .btn-group > .btn:not(:first-child),
.decide-builder-actions .btn-group > .btn:not(:first-child),
.decide-builder-inputs .btn-group > .btn:not(:last-child):not(.dropdown-toggle),
.decide-builder-actions .btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
  border-radius: 6px !important;
}

/* Backend encoding sidebar */
.backend-encoding-layout {
  display: block;
  background-color: #ffffff;
}

.backend-encoding-sidebar.second-navbar {
  background-color: #ffffff;
}

.backend-encoding-sidebar .encoding-form-link {
  align-items: center;
  display: flex;
  gap: 0.45rem;
  justify-content: space-between;
}

.backend-encoding-sidebar .encoding-form-link-muted {
  opacity: 0.58;
}

.backend-encoding-sidebar .encoding-form-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.backend-encoding-sidebar .encoding-form-badge {
  border-radius: 6px;
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.22rem 0.38rem;
  white-space: nowrap;
}

.backend-encoding-sidebar .encoding-form-badge-count {
  background-color: #e8f3fa;
  color: #275899;
}

.backend-encoding-sidebar .encoding-form-badge-done {
  background-color: #e9f8ef;
  color: #237445;
}

.backend-encoding-sidebar .encoding-form-badge-todo {
  background-color: #fff3cd;
  color: #795300;
}

.backend-encoding-sidebar .encoding-form-badge-muted {
  background-color: #edf0f3;
  color: #6c757d;
}

.backend-encoding-content {
  background-color: #ffffff;
}

@media (min-width: 992px) {
  .backend-encoding-layout {
    --backend-sidebar-width: 292px;
    --backend-sidebar-collapsed-width: 44px;
    --backend-header-offset: 92px;
    display: flex;
    align-items: flex-start;
    min-height: calc(100vh - var(--backend-header-offset));
    position: relative;
  }
  .backend-encoding-sidebar.second-navbar {
    align-items: flex-start;
    align-self: stretch;
    flex: 0 0 var(--backend-sidebar-width);
    height: calc(100vh - var(--backend-header-offset));
    width: var(--backend-sidebar-width);
    max-height: none;
    overflow-y: auto;
    padding: 0.85rem 0.75rem 1.25rem;
    position: sticky;
    top: var(--backend-header-offset);
    z-index: 11;
    border-right: 1px solid #d9e6ef;
    border-bottom: 0;
  }
  .backend-sidebar-toggle {
    position: absolute;
    top: .25rem;
    left: calc(var(--backend-sidebar-width) - 36px);
    width: 32px;
    height: 32px;
    border: 1px solid #d9e6ef;
    border-radius: 6px;
    background: #f7fbff;
    color: #275899;
    padding: 0;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    z-index: 12;
  }
  .backend-encoding-layout.sidebar-collapsed .backend-encoding-sidebar.second-navbar {
    flex-basis: var(--backend-sidebar-collapsed-width);
    width: var(--backend-sidebar-collapsed-width);
    padding: .35rem .25rem;
    border-right: 1px solid #d9e6ef;
    overflow: hidden;
  }
  .backend-encoding-layout.sidebar-collapsed .backend-encoding-sidebar .backend-encoding-menu {
    opacity: 0;
    pointer-events: none;
  }
  .backend-encoding-layout.sidebar-collapsed .backend-encoding-content .addContainer {
    padding-left: .9rem;
  }
  .backend-encoding-layout.sidebar-collapsed .backend-sidebar-toggle {
    left: 6px;
  }
  .backend-encoding-layout.sidebar-collapsed .backend-sidebar-toggle i {
    transform: rotate(180deg);
  }
  .backend-encoding-sidebar .navbar-toggler {
    display: none !important;
  }
  .backend-encoding-sidebar #navbarScreens {
    display: block !important;
  }
  .backend-encoding-sidebar .backend-encoding-menu {
    flex-basis: auto;
  }
  .backend-encoding-sidebar .backend-encoding-nav {
    flex-direction: column;
    width: 100%;
    padding-top: 0 !important;
  }
  .backend-encoding-sidebar .menu-item-class {
    width: 100%;
    margin-right: 0;
    margin-bottom: 0.15rem;
  }
  .backend-encoding-sidebar .menu-item-class.active {
    border-bottom: 0;
  }
  .backend-encoding-sidebar .menu-item-class > .nav-link,
  .backend-encoding-sidebar #bilan_backend .btn {
    align-items: center;
    border-radius: 6px;
    display: flex;
    justify-content: flex-start;
    min-height: 40px;
    padding: 0.55rem 0.7rem;
    text-align: left;
    white-space: normal;
    width: 100%;
  }
  .backend-encoding-sidebar .menu-item-class > .nav-link {
    color: #2e2832;
    gap: 0.2rem;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  }
  .backend-encoding-sidebar .menu-item-class > .nav-link:hover,
  .backend-encoding-sidebar .menu-item-class > .nav-link:focus {
    background-color: #f4f9fc;
    color: #275899;
  }
  .backend-encoding-sidebar .dropdown-toggle::after {
    margin-left: .7rem;
  }
  .backend-encoding-sidebar .menu-item-class.active > .nav-link {
    background-color: #e8f3fa;
    color: #275899;
    font-weight: 700;
  }
  .backend-encoding-sidebar .menu-item-class > .nav-link.is-current,
  .backend-encoding-sidebar .dropdown-item.is-current,
  .backend-encoding-sidebar a.is-current {
    background-color: #e8f3fa;
    color: #275899;
    font-weight: 700;
  }
  .backend-encoding-sidebar .menu-item-class > .nav-link.is-current {
    box-shadow: inset 3px 0 0 #63c771;
  }
  .backend-encoding-sidebar .dropdown-menu {
    background-color: #f8fbfd !important;
    border: 0;
    border-left: 3px solid #d9e6ef;
    border-radius: 0 6px 6px 0;
    box-shadow: none;
    float: none;
    margin: 0.2rem 0 0.5rem 0.45rem;
    max-height: none;
    min-width: 0;
    overflow-y: visible;
    padding: 0.3rem 0.25rem;
    position: static !important;
    transform: none !important;
    width: calc(100% - 0.45rem);
  }
  .backend-encoding-sidebar .dropdown-submenu > .dropdown-menu.show {
    display: block;
    margin: 0.15rem 0 0.25rem 0.85rem;
    width: calc(100% - 0.85rem);
  }
  .backend-encoding-sidebar .dropdown-submenu > .dropdown-toggle {
    color: #2e2832;
  }
  .backend-encoding-sidebar .dropdown-submenu > .dropdown-toggle:hover,
  .backend-encoding-sidebar .dropdown-submenu > .dropdown-toggle:focus,
  .backend-encoding-sidebar .dropdown-submenu > .dropdown-toggle[aria-expanded="true"] {
    background-color: #effaf1;
    color: #275899;
  }
  .backend-encoding-sidebar .dropdown-item {
    border-radius: 6px;
    color: #2e2832;
    display: block;
    font-size: 0.94rem;
    line-height: 1.25;
    overflow: hidden;
    padding: 0.45rem 0.65rem 0.45rem 1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .backend-encoding-sidebar .dropdown-item:hover,
  .backend-encoding-sidebar .dropdown-item:focus {
    background-color: #effaf1;
    color: #275899;
  }
  .backend-encoding-sidebar .menu-item-class > .nav-link.encoding-form-link,
  .backend-encoding-sidebar .dropdown-item.encoding-form-link,
  .backend-encoding-sidebar .dropdown-submenu > .dropdown-toggle.encoding-form-link {
    display: flex;
    justify-content: space-between;
  }
  .backend-encoding-content {
    flex: 1 1 auto;
    min-width: 0;
    background-color: #ffffff;
  }
  .backend-encoding-content .addContainer {
    background-color: #ffffff;
    min-height: calc(100vh - var(--backend-header-offset));
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

.social-- form .btn.btn-cta[type="submit"] {
  margin-top: 1rem !important;
}

/* Global light/dark theme */
.global-theme-toggle {
  align-items: center;
  border-radius: 8px;
  display: inline-flex !important;
  height: 32px;
  justify-content: center;
  min-width: 32px;
  padding: 0;
  width: 32px !important;
}

.global-theme-toggle i {
  margin-right: 0;
}

.nav-bar-sticky .btn-info,
.nav-bar-sticky .btn-secondary {
  background-color: #e5f2f9;
  border-color: #d5e9f4;
  color: #2e2832;
}

.nav-bar-sticky .btn-info:hover,
.nav-bar-sticky .btn-info:focus,
.nav-bar-sticky .btn-secondary:hover,
.nav-bar-sticky .btn-secondary:focus {
  background-color: #d7ebf6;
  border-color: #c7e1ef;
  color: #2e2832;
}

body.decide-theme-dark .nav-bar-sticky-first,
body.decide-theme-dark .nav-bar-sticky,
body.decide-theme-dark .header.navbar,
body.decide-theme-dark .topMenu,
body.decide-theme-dark .navbar,
body.decide-theme-dark .secondaryMenu,
body.decide-theme-dark .homepage,
body.decide-theme-dark .hero.header-pdf,
body.decide-theme-dark #header,
body.decide-theme-dark main,
body.decide-theme-dark footer,
body.decide-theme-dark section,
body.decide-theme-dark .bg-white,
body.decide-theme-dark .bg-light,
body.decide-theme-dark .bg-banner,
body.decide-theme-dark .bg-banner-footer,
body.decide-theme-dark .evolution,
body.decide-theme-dark #formations,
body.decide-theme-dark #jumbotron,
body.decide-theme-dark #jumbotron .jumbotron,
body.decide-theme-dark #navbarScreens,
body.decide-theme-dark .backend-encoding-layout,
body.decide-theme-dark .backend-encoding-content,
body.decide-theme-dark .backend-encoding-content .addContainer,
body.decide-theme-dark .backend-encoding-sidebar.second-navbar {
  background-color: var(--site-dark-bg) !important;
  color: var(--site-dark-text) !important;
}

body.decide-theme-dark .nav-bar-sticky {
  border-color: var(--site-dark-border) !important;
  box-shadow: 0 10px 24px rgba(3, 10, 20, 0.22);
}

body.decide-theme-dark .nav-bar-sticky .btn {
  background-color: rgba(143, 185, 255, 0.14) !important;
  border-color: rgba(143, 185, 255, 0.24) !important;
  color: var(--site-dark-text) !important;
}

body.decide-theme-dark .nav-bar-sticky .btn:hover,
body.decide-theme-dark .nav-bar-sticky .btn:focus {
  background-color: rgba(143, 185, 255, 0.22) !important;
  border-color: rgba(143, 185, 255, 0.34) !important;
  color: #ffffff !important;
}

body.decide-theme-dark h1,
body.decide-theme-dark h2,
body.decide-theme-dark h3,
body.decide-theme-dark h4,
body.decide-theme-dark h5,
body.decide-theme-dark h6,
body.decide-theme-dark .page-header,
body.decide-theme-dark .route-title,
body.decide-theme-dark .card h2,
body.decide-theme-dark .card h3,
body.decide-theme-dark .card h2.card-header,
body.decide-theme-dark .hero h1,
body.decide-theme-dark .jumbotron h1,
body.decide-theme-dark .capitals-light {
  color: var(--site-dark-blue) !important;
}

body.decide-theme-dark p,
body.decide-theme-dark li,
body.decide-theme-dark ul,
body.decide-theme-dark label,
body.decide-theme-dark .text,
body.decide-theme-dark .card-text,
body.decide-theme-dark p.action {
  color: var(--site-dark-text) !important;
}

body.decide-theme-dark p.lead,
body.decide-theme-dark .jumbotron p.lead,
body.decide-theme-dark #jumbotron .jumbotron p.lead {
  color: var(--site-dark-green) !important;
}

body.decide-theme-dark h1.bannerh1 {
  border-bottom-color: var(--site-dark-green);
}

body.decide-theme-dark a.navbar-brand strong,
body.decide-theme-dark .navbar-nav .nav-link,
body.decide-theme-dark .navbar-brand,
body.decide-theme-dark .navbar a:not(.btn),
body.decide-theme-dark .backend-encoding-sidebar .menu-item-class > .nav-link,
body.decide-theme-dark .backend-encoding-sidebar .dropdown-submenu > .dropdown-toggle,
body.decide-theme-dark .backend-encoding-sidebar .dropdown-item {
  color: var(--site-dark-text) !important;
}

body.decide-theme-dark .navbar a:hover:not(.btn),
body.decide-theme-dark .navbar a:focus:not(.btn),
body.decide-theme-dark .backend-encoding-sidebar .menu-item-class > .nav-link:hover,
body.decide-theme-dark .backend-encoding-sidebar .menu-item-class > .nav-link:focus,
body.decide-theme-dark .backend-encoding-sidebar .dropdown-item:hover,
body.decide-theme-dark .backend-encoding-sidebar .dropdown-item:focus {
  background-color: rgba(143, 185, 255, 0.12) !important;
  color: var(--site-dark-blue) !important;
}

body.decide-theme-dark .header.navbar .menu-item-class.active > a,
body.decide-theme-dark .header.navbar .nav-link.active,
body.decide-theme-dark .header.navbar .nav-link:hover,
body.decide-theme-dark .header.navbar .nav-link:focus {
  background-color: transparent !important;
  color: var(--site-dark-text) !important;
}

body.decide-theme-dark .header.navbar .navbar-brand-logo:hover,
body.decide-theme-dark .header.navbar .navbar-brand-logo:focus {
  background-color: transparent !important;
  color: var(--site-dark-text) !important;
}

body.decide-theme-dark .header.navbar .dropdown-menu .dropdown-item:hover,
body.decide-theme-dark .header.navbar .dropdown-menu .dropdown-item:focus {
  background-color: rgba(143, 185, 255, 0.12) !important;
  color: var(--site-dark-blue) !important;
}

body.decide-theme-dark #usrDropdownBtn,
body.decide-theme-dark #yearDropdownBtn {
  background-color: #223755 !important;
  border-color: rgba(143, 185, 255, 0.24) !important;
  color: #eef7fc !important;
}

body.decide-theme-dark #usrDropdownBtn:hover,
body.decide-theme-dark #usrDropdownBtn:focus,
body.decide-theme-dark #yearDropdownBtn:hover,
body.decide-theme-dark #yearDropdownBtn:focus {
  background-color: #294264 !important;
  border-color: rgba(143, 185, 255, 0.4) !important;
  color: #ffffff !important;
}

body.decide-theme-dark .dropdown-menu-fit {
  background-color: #eef4fb !important;
  border: 1px solid #c8d9ea !important;
  box-shadow: 0 18px 38px rgba(3, 10, 20, 0.32);
}

body.decide-theme-dark .dropdown-menu-fit .dropdown-item,
body.decide-theme-dark .dropdown-menu-fit button.dropdown-item {
  background-color: transparent !important;
  color: #132033 !important;
}

body.decide-theme-dark .dropdown-menu-fit .dropdown-item:hover,
body.decide-theme-dark .dropdown-menu-fit .dropdown-item:focus,
body.decide-theme-dark .dropdown-menu-fit button.dropdown-item:hover,
body.decide-theme-dark .dropdown-menu-fit button.dropdown-item:focus {
  background-color: #dfeafb !important;
  color: #132033 !important;
}

body.decide-theme-dark .dropdown-menu-fit .dropdown-item.active,
body.decide-theme-dark .dropdown-menu-fit .dropdown-item:active,
body.decide-theme-dark .dropdown-menu-fit button.dropdown-item.active,
body.decide-theme-dark .dropdown-menu-fit button.dropdown-item:active {
  background-color: #7ee994 !important;
  color: #132033 !important;
}

body.decide-theme-dark .change_select_submit .dropdown-menu-fit.dropdown-menu,
body.decide-theme-dark .change_select_submit .dropdown-menu-fit.dropdown-menu.show {
  background-color: #eef4fb !important;
  border: 1px solid #c8d9ea !important;
  color: #132033 !important;
}

body.decide-theme-dark .change_select_submit .dropdown-menu-fit.dropdown-menu .dropdown-item,
body.decide-theme-dark .change_select_submit .dropdown-menu-fit.dropdown-menu button.dropdown-item {
  color: #132033 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.decide-theme-dark .change_select_submit .dropdown-menu-fit.dropdown-menu .dropdown-item:hover,
body.decide-theme-dark .change_select_submit .dropdown-menu-fit.dropdown-menu .dropdown-item:focus,
body.decide-theme-dark .change_select_submit .dropdown-menu-fit.dropdown-menu button.dropdown-item:hover,
body.decide-theme-dark .change_select_submit .dropdown-menu-fit.dropdown-menu button.dropdown-item:focus {
  background-color: #dfeafb !important;
  color: #132033 !important;
}

body.decide-theme-dark .backend-encoding-sidebar .menu-item-class.active > .nav-link,
body.decide-theme-dark .backend-encoding-sidebar .menu-item-class > .nav-link.is-current,
body.decide-theme-dark .backend-encoding-sidebar .dropdown-item.is-current,
body.decide-theme-dark .backend-encoding-sidebar a.is-current {
  background-color: rgba(143, 185, 255, 0.14) !important;
  color: var(--site-dark-blue) !important;
}

body.decide-theme-dark .backend-encoding-sidebar .dropdown-menu,
body.decide-theme-dark .dropdown-menu {
  background-color: var(--site-dark-surface-soft) !important;
  border-color: var(--site-dark-border) !important;
  color: var(--site-dark-text) !important;
}

body.decide-theme-dark .backend-sidebar-toggle {
  background: var(--site-dark-surface-soft);
  border-color: var(--site-dark-border);
  color: var(--site-dark-blue);
}

body.decide-theme-dark .card,
body.decide-theme-dark .modal-content,
body.decide-theme-dark .list-group-item,
body.decide-theme-dark .decide-builder-form,
body.decide-theme-dark .decide-builder-grid,
body.decide-theme-dark .decide-builder-inputs {
  background-color: var(--site-dark-surface) !important;
  border-color: var(--site-dark-border) !important;
  color: var(--site-dark-text) !important;
}

body.decide-theme-dark .card-header,
body.decide-theme-dark .modal-header,
body.decide-theme-dark .modal-footer {
  background-color: var(--site-dark-surface-soft) !important;
  border-color: var(--site-dark-border) !important;
  color: var(--site-dark-blue) !important;
}

body.decide-theme-dark hr,
body.decide-theme-dark .border,
body.decide-theme-dark .border-top,
body.decide-theme-dark .border-bottom,
body.decide-theme-dark .border-left,
body.decide-theme-dark .border-right,
body.decide-theme-dark .dropdown-divider,
body.decide-theme-dark .table,
body.decide-theme-dark table,
body.decide-theme-dark .nav-bar-sticky-first,
body.decide-theme-dark .nav-bar-sticky,
body.decide-theme-dark .backend-encoding-sidebar.second-navbar {
  border-color: var(--site-dark-border) !important;
}

body.decide-theme-dark hr {
  opacity: 1;
}

body.decide-theme-dark .form-control,
body.decide-theme-dark .form-select,
body.decide-theme-dark .custom-select,
body.decide-theme-dark .input-group-text,
body.decide-theme-dark .select2-container .select2-selection,
body.decide-theme-dark .select2-dropdown {
  background-color: var(--site-dark-surface-soft) !important;
  border-color: var(--site-dark-border) !important;
  color: var(--site-dark-text) !important;
}

body.decide-theme-dark .form-control::placeholder {
  color: var(--site-dark-muted);
}

body.decide-theme-dark .select2-container--default .select2-selection--single .select2-selection__rendered,
body.decide-theme-dark .select2-results__option {
  color: var(--site-dark-text) !important;
}

body.decide-theme-dark .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: rgba(143, 185, 255, 0.22) !important;
}

body.decide-theme-dark select.form-control,
body.decide-theme-dark select.form-select,
body.decide-theme-dark .decide-builder-form select.form-control,
body.decide-theme-dark .decide-builder-grid select.form-control,
body.decide-theme-dark .decide-builder-inputs select.form-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23eef7fc' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 6 6 6 6-6'/%3e%3c/svg%3e");
}

body.decide-theme-dark #usr_selected,
body.decide-theme-dark #year_selected {
  background: #eef4fb !important;
  background-color: #eef4fb !important;
  border-color: #c8d9ea !important;
  color: #132033 !important;
  caret-color: #132033 !important;
}

body.decide-theme-dark #usr_selected option,
body.decide-theme-dark #year_selected option {
  background-color: #ffffff !important;
  color: #132033 !important;
}

body.decide-theme-dark #usr_selected:focus,
body.decide-theme-dark #year_selected:focus {
  background-color: #ffffff !important;
  border-color: #8fb9ff !important;
  color: #132033 !important;
  box-shadow: 0 0 0 0.15rem rgba(143, 185, 255, 0.24) !important;
}

body.decide-theme-dark #usr_selected::placeholder,
body.decide-theme-dark #year_selected::placeholder {
  color: #5f7188 !important;
}

body.decide-theme-dark #usr_selected::-webkit-calendar-picker-indicator,
body.decide-theme-dark #year_selected::-webkit-calendar-picker-indicator,
body.decide-theme-dark #usr_selected::-webkit-inner-spin-button,
body.decide-theme-dark #year_selected::-webkit-inner-spin-button {
  filter: none;
  opacity: 1;
}

body.decide-theme-dark .table,
body.decide-theme-dark .decide-builder-table,
body.decide-theme-dark .decide-builder-edit-table {
  --bs-table-bg: var(--site-dark-surface);
  --bs-table-color: var(--site-dark-text);
  --bs-table-border-color: var(--site-dark-border);
  --bs-table-striped-bg: #17263d;
  --bs-table-striped-color: var(--site-dark-text);
  --bs-table-hover-bg: rgba(143, 185, 255, 0.08);
  --bs-table-hover-color: var(--site-dark-text);
  background-color: var(--site-dark-surface) !important;
  color: var(--site-dark-text) !important;
}

body.decide-theme-dark .table th,
body.decide-theme-dark .table td,
body.decide-theme-dark .decide-builder-grid .table th,
body.decide-theme-dark .decide-builder-grid .table td,
body.decide-theme-dark .decide-builder-inputs .table th,
body.decide-theme-dark .decide-builder-inputs .table td {
  background-color: transparent !important;
  border-color: var(--site-dark-border) !important;
  color: var(--site-dark-text) !important;
}

body.decide-theme-dark .decide-builder-form,
body.decide-theme-dark .decide-builder-grid,
body.decide-theme-dark .decide-builder-inputs {
  --builder-blue: var(--site-dark-blue);
  --builder-green: var(--site-dark-green);
  --builder-ink: var(--site-dark-text);
  --builder-muted: var(--site-dark-muted);
  --builder-border: var(--site-dark-border);
  --builder-soft: var(--site-dark-surface-soft);
  --builder-soft-green: rgba(143, 185, 255, 0.08);
}

body.decide-theme-dark .text-muted,
body.decide-theme-dark .text-dark,
body.decide-theme-dark .text-secondary,
body.decide-theme-dark .form-text,
body.decide-theme-dark small {
  color: var(--site-dark-muted) !important;
}

body.decide-theme-dark .text-info,
body.decide-theme-dark a:not(.btn) {
  color: var(--site-dark-blue) !important;
}

body.decide-theme-dark .color-darkCarbon {
  color: var(--site-dark-text) !important;
}

body.decide-theme-dark .btn-secondary,
body.decide-theme-dark .btn-light {
  background-color: rgba(143, 185, 255, 0.14);
  border-color: rgba(143, 185, 255, 0.18);
  color: var(--site-dark-text) !important;
}

body.decide-theme-dark .btn-secondary:hover,
body.decide-theme-dark .btn-secondary:focus,
body.decide-theme-dark .btn-light:hover,
body.decide-theme-dark .btn-light:focus {
  background-color: rgba(143, 185, 255, 0.22);
  border-color: rgba(143, 185, 255, 0.3);
  color: #ffffff !important;
}

body.decide-theme-dark .btn-primary {
  background-color: #244d8b;
  border-color: #244d8b;
}

body.decide-theme-dark .btn-info {
  background-color: var(--site-dark-blue);
  border-color: var(--site-dark-blue);
  color: #07111f !important;
}

body.decide-theme-dark .btn-info:hover,
body.decide-theme-dark .btn-info:focus {
  background-color: #a8c8ff;
  border-color: #a8c8ff;
  color: #07111f !important;
}

body.decide-theme-dark .btn-cta,
body.decide-theme-dark .btn-success {
  color: #07111f !important;
}

body.decide-theme-dark .decide-builder-grid a.btn-cta,
body.decide-theme-dark .decide-builder-grid a.btn-info,
body.decide-theme-dark .decide-builder-inputs a.btn-cta,
body.decide-theme-dark .decide-builder-inputs a.btn-info,
body.decide-theme-dark a.btn-cta[title="Modifier"],
body.decide-theme-dark a.btn-info[title="Modifier"] {
  background-color: #275899 !important;
  border-color: #275899 !important;
  color: #ffffff !important;
}

body.decide-theme-dark .decide-builder-form .form-control:hover,
body.decide-theme-dark .decide-builder-form .custom-select:hover,
body.decide-theme-dark .decide-builder-grid .form-control:hover,
body.decide-theme-dark .decide-builder-inputs .form-control:hover {
  background-color: var(--site-dark-surface-soft) !important;
  border-color: rgba(143, 185, 255, 0.28) !important;
  color: var(--site-dark-text) !important;
}

body.decide-theme-dark .decide-builder-grid .table-hover tbody tr:hover,
body.decide-theme-dark .decide-builder-inputs .table-hover tbody tr:hover {
  background-color: rgba(143, 185, 255, 0.08) !important;
}

.logo-theme-dark {
  display: none;
}

body.decide-theme-dark .logo-theme-light {
  display: none !important;
}

body.decide-theme-dark .logo-theme-dark {
  display: inline-block !important;
}

body.decide-theme-dark .homepage img[src*="logo"]:not(.logoHomepage),
body.decide-theme-dark .homepage img[src*="Logo"]:not(.logoHomepage),
body.decide-theme-dark .bg-banner-footer img {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.decide-theme-dark .logo-awac-dark-fix {
  filter: invert(1) hue-rotate(180deg) saturate(1.1) brightness(1.2);
}

body.decide-theme-dark .alert-danger {
  background-color: rgba(220, 53, 69, 0.16);
  border-color: rgba(220, 53, 69, 0.35);
  color: #ffc6cf;
}

body.decide-theme-dark .alert-success {
  background-color: rgba(25, 135, 84, 0.18);
  border-color: rgba(25, 135, 84, 0.35);
  color: #b9f5cf;
}

/* Dashboard */
.decide-dashboard {
  --dashboard-blue: #275899;
  --dashboard-blue-soft: #e8f3fa;
  --dashboard-green: #63c771;
  --dashboard-green-soft: #effaf1;
  --dashboard-border: #d9e6ef;
  --dashboard-text: #2e2832;
  --dashboard-muted: #667085;
  --dashboard-surface: #ffffff;
  --dashboard-surface-soft: #f7fbff;
  --dashboard-page: #ffffff;
  --dashboard-hero: radial-gradient(circle at 8% 20%, rgba(99, 199, 113, 0.18), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f3faf5 48%, #edf6fb 100%);
  --dashboard-shadow: 0 12px 28px rgba(39, 88, 153, 0.08);
  --dashboard-card-shadow: 0 10px 24px rgba(39, 88, 153, 0.07);
  background: var(--dashboard-page);
  border-radius: 16px;
  color: var(--dashboard-text);
  padding: 0.25rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

body.decide-theme-dark .decide-dashboard {
  --dashboard-blue: #8fb9ff;
  --dashboard-blue-soft: #162d4f;
  --dashboard-green: #7ee994;
  --dashboard-green-soft: rgba(126, 233, 148, 0.14);
  --dashboard-border: rgba(176, 205, 231, 0.14);
  --dashboard-text: #eef7fc;
  --dashboard-muted: #b5c7d8;
  --dashboard-surface: #132033;
  --dashboard-surface-soft: #182a43;
  --dashboard-page: #0d1726;
  --dashboard-hero: radial-gradient(circle at 10% 18%, rgba(126, 233, 148, 0.18), transparent 30%),
    linear-gradient(135deg, #12243a 0%, #102033 52%, #0f2d21 100%);
  --dashboard-shadow: 0 16px 34px rgba(3, 10, 20, 0.35);
  --dashboard-card-shadow: 0 14px 30px rgba(3, 10, 20, 0.28);
}

body.decide-theme-dark .decide-dashboard .dashboard-card,
body.decide-theme-dark .decide-dashboard .dashboard-bilan-item,
body.decide-theme-dark .decide-dashboard .dashboard-context-card {
  border-color: rgba(176, 205, 231, 0.14);
}

body.decide-theme-dark .decide-dashboard .dashboard-card .card-header {
  border-bottom-color: rgba(176, 205, 231, 0.12);
}

.dashboard-context-card {
  align-items: center;
  background: var(--dashboard-hero);
  border: 1px solid var(--dashboard-border);
  border-radius: 14px;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0.75rem 0 1rem;
  padding: 1.2rem 1.35rem;
  box-shadow: var(--dashboard-shadow);
}

.dashboard-context-card h1 {
  color: var(--dashboard-green);
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0.1rem 0 0.35rem;
}

.dashboard-context-main {
  min-width: 0;
}

.dashboard-context-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.dashboard-meta-pill {
  align-items: center;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(39, 88, 153, 0.12);
  border-radius: 999px;
  color: var(--dashboard-muted);
  display: inline-flex;
  font-size: 0.95rem;
  gap: 0.15rem;
  padding: 0.35rem 0.65rem;
}

body.decide-theme-dark .decide-dashboard .dashboard-meta-pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.dashboard-context-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.dashboard-eyebrow {
  color: var(--dashboard-blue);
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-grid {
  align-items: flex-start;
}

.dashboard-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dashboard-card {
  background: var(--dashboard-surface);
  border: 1px solid var(--dashboard-border);
  border-radius: 14px;
  box-shadow: var(--dashboard-card-shadow);
  overflow: hidden;
}

.dashboard-card .card-header {
  background: var(--dashboard-surface-soft);
  border-bottom: 1px solid var(--dashboard-border);
  color: var(--dashboard-blue);
  font-size: 1.05rem;
  font-weight: 800;
  padding: 0.9rem 1rem;
}

.dashboard-card .card-body {
  padding: 1rem;
}

.dashboard-farm-card .card-body > h2 {
  color: var(--dashboard-green);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.dashboard-muted {
  color: var(--dashboard-muted);
}

.dashboard-inline-action {
  margin-top: 0.25rem;
}

.dashboard-ateliers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.dashboard-ateliers-list li {
  background: var(--dashboard-green-soft);
  border: 1px solid rgba(99, 199, 113, 0.45);
  border-radius: 999px;
  color: var(--dashboard-green);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
}

.dashboard-farm-card #form_atelier {
  background: var(--dashboard-surface-soft);
  border: 1px solid var(--dashboard-border);
  border-radius: 12px;
  padding: 0.85rem;
}

.dashboard-farm-card .ateliersList h4 {
  color: var(--dashboard-blue);
  font-size: 0.95rem;
  font-weight: 800;
  margin-top: 0.75rem;
}

.dashboard-next-action {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(39, 88, 153, 0.96), rgba(37, 111, 54, 0.9)),
    var(--dashboard-blue);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(39, 88, 153, 0.16);
  color: #ffffff;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: auto 1fr auto;
  padding: 1rem;
}

.dashboard-next-action .dashboard-eyebrow,
.dashboard-next-action p {
  color: rgba(255, 255, 255, 0.78);
}

.dashboard-next-action h2 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0.1rem 0 0.2rem;
}

.dashboard-next-action p {
  margin: 0;
}

.dashboard-next-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  display: flex;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.dashboard-next-icon i {
  font-size: 1.35rem;
}

.dashboard-next-action .btn {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--dashboard-blue);
  font-weight: 800;
  white-space: nowrap;
}

.dashboard-bilans-card .card-body {
  display: grid;
  gap: 0.85rem;
}

.dashboard-bilan-item {
  background: var(--dashboard-surface);
  border: 1px solid var(--dashboard-border);
  border-radius: 12px;
  padding: 0.95rem;
  position: relative;
}

.dashboard-bilan-item::before {
  background: var(--dashboard-green);
  border-radius: 999px;
  content: "";
  height: 34px;
  left: -1px;
  position: absolute;
  top: 1rem;
  width: 4px;
}

.dashboard-bilan-economy::before {
  background: var(--dashboard-blue);
}

.dashboard-bilan-social::before {
  background: #78b7dd;
}

.dashboard-bilan-isac::before {
  background: #95a5b3;
}

.dashboard-bilan-item .card-title {
  color: var(--dashboard-blue);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.dashboard-bilan-item .progress {
  background: var(--dashboard-surface-soft);
  border-radius: 999px;
  height: 0.7rem;
  overflow: hidden;
}

.dashboard-bilan-item .card-text {
  color: var(--dashboard-muted);
  margin: 0.75rem 0;
}

.dashboard-bilan-item .btn,
.dashboard-side-card .btn {
  margin-bottom: 0.35rem;
  margin-right: 0.35rem;
}

.dashboard-side-card .card-body h4 {
  color: var(--dashboard-blue);
  font-size: 1rem;
  font-weight: 800;
}

.dashboard-side-card .list-group-item {
  background: var(--dashboard-surface);
  border-color: var(--dashboard-border);
  color: var(--dashboard-text);
}

.dashboard-side-card .list-group-item:hover,
.dashboard-side-card .list-group-item:focus {
  background: var(--dashboard-green-soft);
  color: var(--dashboard-blue);
}

body.decide-theme-dark .decide-dashboard .card,
body.decide-theme-dark .decide-dashboard .form-control,
body.decide-theme-dark .decide-dashboard .input-group-text {
  background-color: var(--dashboard-surface);
  border-color: var(--dashboard-border);
  color: var(--dashboard-text);
}

body.decide-theme-dark .decide-dashboard .form-control::placeholder {
  color: var(--dashboard-muted);
}

body.decide-theme-dark .decide-dashboard .btn-secondary {
  background: rgba(143, 185, 255, 0.14);
  border-color: rgba(143, 185, 255, 0.18);
  color: var(--dashboard-text);
}

body.decide-theme-dark .decide-dashboard .color-darkCarbon {
  color: var(--dashboard-text) !important;
}

body.decide-theme-dark .decide-dashboard .btn-primary {
  background-color: #244d8b;
  border-color: #244d8b;
}

body.decide-theme-dark .decide-dashboard .text-muted,
body.decide-theme-dark .decide-dashboard .form-text {
  color: var(--dashboard-muted) !important;
}

body.decide-theme-dark .backend_energes_import-index .breadcrumb {
  background-color: var(--site-dark-surface-soft) !important;
  border: 1px solid var(--site-dark-border) !important;
}

body.decide-theme-dark .backend_energes_import-index .breadcrumb-item,
body.decide-theme-dark .backend_energes_import-index .breadcrumb-item.active {
  color: var(--site-dark-muted) !important;
}

body.decide-theme-dark .backend_energes_import-index .alert-warning {
  background-color: rgba(126, 233, 148, 0.1) !important;
  border-color: rgba(126, 233, 148, 0.3) !important;
  color: var(--site-dark-text) !important;
}

body.decide-theme-dark .backend_energes_import-index .alert-warning li,
body.decide-theme-dark .backend_energes_import-index .alert-warning li font {
  color: var(--site-dark-text) !important;
}

body.decide-theme-dark .backend_energes_import-index .alert-warning .text-danger {
  color: #ff9a9a !important;
}

body.decide-theme-dark .backend_energes_import-index #myAwesomeDropzone {
  background-color: var(--site-dark-surface) !important;
  border: 1px dashed var(--site-dark-border) !important;
}

body.decide-theme-dark .backend_energes_import-index #myAwesomeDropzone .dz-message,
body.decide-theme-dark .backend_energes_import-index #myAwesomeDropzone .dz-message h3 {
  color: var(--site-dark-blue) !important;
}

body.decide-theme-dark .breadcrumb {
  background-color: var(--site-dark-surface-soft) !important;
  border: 1px solid var(--site-dark-border) !important;
}

body.decide-theme-dark .breadcrumb-item,
body.decide-theme-dark .breadcrumb-item.active {
  color: var(--site-dark-muted) !important;
}

body.decide-theme-dark .alert-warning {
  background-color: rgba(126, 233, 148, 0.1) !important;
  border-color: rgba(126, 233, 148, 0.3) !important;
  color: var(--site-dark-text) !important;
}

body.decide-theme-dark .alert-warning li,
body.decide-theme-dark .alert-warning li font {
  color: var(--site-dark-text) !important;
}

body.decide-theme-dark .alert-warning .text-danger {
  color: #ff9a9a !important;
}

body.decide-theme-dark .dropzone {
  background-color: var(--site-dark-surface) !important;
  border: 1px dashed var(--site-dark-border) !important;
}

body.decide-theme-dark .dropzone .dz-message,
body.decide-theme-dark .dropzone .dz-message h3,
body.decide-theme-dark .dropzone .dz-message .dz-button {
  color: var(--site-dark-blue) !important;
}

@media (max-width: 991.98px) {
  .dashboard-context-card,
  .dashboard-next-action {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .dashboard-context-card {
    flex-direction: column;
  }

  .dashboard-context-actions,
  .dashboard-context-actions .btn,
  .dashboard-next-action .btn {
    width: 100%;
  }
}
