.registration-form-companyBTPType, .registration-form-productCategory, .registration-form-companyBTPTypeAutre {
  display: none;
}

.label-input .col-form-label{
  color:#1B1E21;
  font-size:14px;
}
input[type="date"]::-webkit-calendar-picker-indicator {
  color: rgba(0, 0, 0, 0);
  opacity: 1;
  display: block;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20fill='currentColor'%20class='bi%20bi-calendar3'%20viewBox='0%200%2016%2016'%3E%3Cpath%20d='M14%200H2a2%202%200%200%200-2%202v12a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V2a2%202%200%200%200-2-2M1%203.857C1%203.384%201.448%203%202%203h12c.552%200%201%20.384%201%20.857v10.286c0%20.473-.448.857-1%20.857H2c-.552%200-1-.384-1-.857z'%3E%3C/path%3E%3Cpath%20d='M6.5%207a1%201%200%201%200%200-2%201%201%200%200%200%200%202m3%200a1%201%200%201%200%200-2%201%201%200%200%200%200%202m3%200a1%201%200%201%200%200-2%201%201%200%200%200%200%202m-9%203a1%201%200%201%200%200-2%201%201%200%200%200%200%202m3%200a1%201%200%201%200%200-2%201%201%200%200%200%200%202m3%200a1%201%200%201%200%200-2%201%201%200%200%200%200%202m3%200a1%201%200%201%200%200-2%201%201%200%200%200%200%202m-9%203a1%201%200%201%200%200-2%201%201%200%200%200%200%202m3%200a1%201%200%201%200%200-2%201%201%200%200%200%200%202m3%200a1%201%200%201%200%200-2%201%201%200%200%200%200%202'%3E%3C/path%3E%3C/svg%3E") no-repeat;
  width: 20px;
  height: 20px;
  border-width: thin;
}
.btn-nextForm button, .btn-nextForm a{
  background-color: #2A3042;
}

.btn-nextForm button:hover, .btn-nextForm a:hover{
  background-color: #484d5d;
}

.btn-nextForm a{
  color: #fff;
}
.switch.btn {
  min-width:12.7rem !important;
}
.switch-group .switch-on{
  background-color: #2A3042;
}
#progressbar {
  margin-bottom: 30px;
  overflow: hidden;
  /*CSS counters to number the steps*/
  counter-reset:none;
}
#progressbar li {
  list-style-type: none;
  color: #C9C9C9;
  font-size: 16px;
  width: 33.33%;
  float: left;
  position: relative;
  text-align: center;
}
#progressbar li:before {
    content: '.';
    counter-increment: step;
    width: 24px;
    height: 24px;
    line-height: 26px;
    display: block;
    font-size: 50px;
    color: #C9C9C9;
    background: white;
    border-radius: 25px;
    margin: 0 auto 10px auto;
}

/*progressbar connectors*/
#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: #C9C9C9;
    position: absolute;
    left: -50%;
    top: 26px;
    z-index: 0; /*put it behind the numbers*/
}

#progressbar li:first-child:after {
    /*connector not needed before the first step*/
    content: none;
}
#progressbar li.active:before, #progressbar li.active:after {
  color: #5B9EBE;
}
#progressbar li.active{
  color: #5B9EBE;
}
.card-title {
  color: #052038;
  font-weight: 500;
  font-size: 24px;
}
.select-chapter{
  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='%23343a40' stroke-linecap='round' fill-rule='evenodd' stroke-linejoin='round' stroke-width='2' d='M3.646 9.146a.5.5 0 0 1 .708 0L8 12.793l3.646-3.647a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 0-.708m0-2.292a.5.5 0 0 0 .708 0L8 3.207l3.646 3.647a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 0 0 0 .708'/%3e%3c/svg%3e");
  background-size: 22px 18px;
  padding: 1rem 1.75rem 1rem .75rem;
  font-weight: 500;
  font-size: 1rem;
}
.unite-select{
  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='%23343a40' stroke-linecap='round' fill-rule='evenodd' stroke-linejoin='round' stroke-width='2' d='M3.646 9.146a.5.5 0 0 1 .708 0L8 12.793l3.646-3.647a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 0-.708m0-2.292a.5.5 0 0 0 .708 0L8 3.207l3.646 3.647a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 0 0 0 .708'/%3e%3c/svg%3e");
  background-size: 22px 18px;
  padding: 1rem 1.75rem 1rem .75rem;
  font-size: 14px;
}
.blue-color {
  color: #052038;
}
.btn-add-chapter {
  background-color: #5B9EBE;
  border-color: #5B9EBE;
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.25rem;
}
.color-second {
  color: #2A3042;
}
.blue-icone {
  color: #0B87AC;
}
.accordion-button {
  color: #052038 !important;
  background-color: transparent !important;
}
.accordion-button.btn-subchapter:not(.collapsed){
  -webkit-box-shadow: none;
  box-shadow: none;
}
.accordion-item {
  border:inherit;
  border-bottom: 1px solid rgba(0,0,0,.125);
  
}
.btn-subchapter .bi-layers{
  color: #0B87AC;
  background-color: #EBFBFE;
}
.btn-add-subchapter {
  width: 100%;
  background-color: #2A3042;
}
.btn-add-article {
  width: 100%;
  background-color: #5B9EBE;
}
.btn-chapter .delete-chapter, .btn-subchapter .delete-subchapter, .btn-subchapter .bi-pencil-square{
  color: #5B9EBE;
  border: 1px solid #5B9EBE;
  border-radius: 5px;
}
.btn-chapter .delete-chapter:hover, .btn-subchapter .delete-subchapter:hover, .btn-subchapter .bi-pencil-square:hover
{
  background-color: #5B9EBE;
  color: white;
}

.action-btn .delete-article, .action-btn .bi-pencil-square {
  background-color: #5B9EBE;
  color: white;
  border-radius: 5px;
}

.border-box {
  height: 1px;
  background: #2A3042;
}
.btn-add-subchapter:hover{
  background-color: #484d5d;
}
.btn-subchapter::after{
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-caret-down-fill" viewBox="0 0 16 16"%3E%3Cpath d="M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 1-1.506 0z"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-size: contain;
  width: 16px;
  height: 16px;
}
.btn-subchapter:not(.collapsed)::after{
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-caret-down-fill" viewBox="0 0 16 16"%3E%3Cpath d="M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 1-1.506 0z"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-size: contain;
  width: 16px;
  height: 16px;
}
.action-btn button {
  border: none;
  background-color: transparent;
}
.btn-add-article:hover{
  background-color: #3a6894;
}

.action-btn a:hover .bi-pencil-square, .action-btn .delete-article:hover{
  background-color: #3a6894;
}
.btn-add-chapter:hover{
  background-color: #3a6894;
}
.form-subchapter{
  padding: 1rem .75rem;
}
.list-article{
  font-size: 14px;
  line-height: 42px;
}
.key-list{
  line-height: 42px;
}
.btn_Laborcost{
  background-color: #5B9EBE;
  border-color: #5B9EBE;
  color: white;
  padding: .8rem 2rem;
  border-radius: 0.25rem;
  top: 3px;
  right: 3px;
}
.btn_Laborcost:hover{
  background-color: #3a6894;
}
.form-article .form-control{
  padding: 1rem .75rem;
}
.product-box .bi-building-fill-add{
  margin-right: 3px;
}
.bg-blue {
  background-color: #2A3042;
}
.bg-blue .col-form-label{
  color: #fff;
  font-size: 16px;
  font-weight: bolder;
}
.bg-blue .form-control{
  background: transparent;
    color: white;
    border: transparent;
    font-size: 16px;
}
 #article_addProduct_submit {
  background-color: #2A3042;
  border-color: transparent;
}
#submit-add-article {
    background-color: #5B9EBE;
    border-color: transparent;
    width: 100%;
    font-size: 22px;
    font-weight: bold;
}
.add-product {
  background-color: #2A3042;
  border-color: transparent;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
}
.add-product:hover{
  color: #fff;
}
.add-product:hover{
  background-color: #484d5d;
}
#submit-add-article:hover, #article_addProduct_submit:hover{
  background-color: #484d5d;
}
.border-right {
  border-right: 1px solid #fff;
}
.btn-login {
  background-color: #2A3042;
  border-color: transparent;
  color: white;
  /* padding: .8rem 2rem; */
  border-radius: 0.25rem;
}
.btn-login:hover{
  background-color: #484d5d;
}
.type-projet {
  padding: 0.5rem 1.75rem 0.5rem 0.75rem;
}
.button-premium {
  /* background-color: #5B9EBE; */
  border: 1px solid #5B9EBE;
  /* color: white; */
  padding: .8rem 2rem;
  border-radius: 0.25rem;
}
.button-premium:hover{
  background-color: #5B9EBE !important;
  color: white !important;
}
.button-premium:hover .bi-file-earmark-pdf, .button-premium:hover .bi-eye, .button-premium:hover .bi-check2-square{
  color: white !important;
}

.custom-toggle-container {
    position: relative;
    display: inline-block;
    width: 350px;
    height: 40px;
}

.custom-toggle-container input {
    display: none;
}

.custom-toggle-container .label-chapter {
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(245, 245, 245, 0.2);
    border: 1px solid rgba(202, 206, 211, 1);
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
    overflow: hidden;
    font-family: sans-serif;
    font-size: 14px;
    line-height: 40px;
    text-align: center;
}

.custom-toggle-container label .on,
.custom-toggle-container label .off {
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-toggle-container label .on {
    left: 0;
    background: #2A3042;
    color: white;
    border-radius: 5px 0 0 5px;
}

.custom-toggle-container label .off {
    right: 0;
    color: #333;
    border-radius: 0 5px 5px 0;
}

.custom-toggle-container .toggle + label .on {
    transform: translateX(0%);
}

.custom-toggle-container .toggle + label .off {
    transform: translateX(0%);
}

.custom-toggle-container .toggle.off + label .on {
    transform: translateX(-0%);
    background: transparent;
    color: #333;
}

.custom-toggle-container .toggle.off + label .off {
    transform: translateX(0%);
    background: #2A3042;
    color: white;
}
.custom-toggle-container .toggle-group label {
  background: transparent;
  color: transparent;
}
.custom-toggle-container .toggle{
  position: absolute;
  z-index: 100;
  width: 100% !important;
  height: 42px !important;
}
.custom-toggle-container .toggle.btn-primary {
  background: transparent;
  border-color: transparent;
}
.custom-toggle-container .toggle[disabled="disabled"] + .label-chapter {
  pointer-events: none;
  opacity: 0.5;
}
.cursor-default {
  cursor: default !important;
}
.dataTables_filter label{
  width: 100%;
  display: flex;
  align-items: baseline;
}
.dataTables_filter label .form-control {
  width: 100% !important;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  border: 1px solid #ced4da;
}
.toggle-disabled-overlay + .label-chapter {
    opacity: 0.5;
    cursor: not-allowed;
}
.button-chapter {
  color: #052038;
  font-size: 14px;
  background-color: #F2F8FF;
  border: 1px dashed #171A1B;
  border-radius: 8px;
}
.lien-deconnexion{
  bottom: 50px;
  left: 20px;
  color: #a6b0cf;
  text-decoration: none;
  font-size: 14px;
  align-items: center;
}
.lien-deconnexion:hover{
  color: #fff;
}
/* Conteneur multi-select */
.select2-container .select2-selection--multiple {
  background: #fff;
  border: 2px solid #2A3042;
  border-radius: 8px;
  padding: 6px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  min-height: 46px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: border-color 0.2s ease-in-out;
}

.select2-container .select2-selection--multiple:hover {
  border-color: #5B9EBE;
}

/* Tags sélectionnés */
.select2-container--default .select2-selection__choice {
  background-color: #5B9EBE !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 4px 10px !important;
  margin-top: 4px !important;
  font-weight: 500;
  font-size: 13px;
}

/* Texte des tags */
.select2-container--default .select2-selection__choice__display {
  color: #fff !important;
}

/* Bouton "X" de suppression */
.select2-container--default .select2-selection__choice__remove {
  color: rgba(255, 255, 255, 0.8) !important;
  margin-right: 6px;
  font-weight: bold;
}
.select2-container--default .select2-selection__choice__remove:hover {
  color: #fff !important;
}

/* Placeholder */
.select2-container--default .select2-selection__placeholder {
  color: #aaa;
  font-style: italic;
}

/* Dropdown */
.select2-dropdown {
  background: #fff;
  border: 2px solid #2A3042;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);

  /* Animation */
  animation: fadeInSlide 0.25s ease forwards;
  transform-origin: top center;
  opacity: 0;
}

/* Animation keyframes */
@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(-5px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Options */
.select2-results__option {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  padding: 8px 12px;
  transition: background 0.15s ease;
}

.select2-results__option:hover {
  background-color: rgba(91, 158, 190, 0.15);
  color: #2A3042;
}

/* Option sélectionnée */
.select2-container--default .select2-results__option--selected {
  background-color: #5B9EBE !important;
  color: #fff !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
  border-right: 0;
}
#dashboardPriceChart,
#priceHistoryChart {
  width: 100% !important;
  height: 300px !important; /* tu peux mettre auto si tu veux */
  display: block;
}
#product-list .product-box {
  background: #F2F8FF;
  border: 1px solid #CED4DA;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#product-list .product-box .bx {
  font-size: 20px;
  color: #0B87AC;
}
