@import url(https://fonts.googleapis.com/css?family=Nunito);
@charset "UTF-8";
/*$primary-color: #1d7ec1;*/
/*$secondary-color: #1c3c53;*/
.loading {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 9999999;
}
.loading .lds-roller {
  display: inline-block;
  position: fixed;
  left: calc(50% - 60px);
  top: calc(50vh - 60px);
  width: 120px;
  height: 120px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  vertical-align: middle;
  text-align: center;
}
.loading .lds-roller div {
  margin-left: calc(50% - 40px);
  margin-top: calc(50% - 40px);
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.loading .lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: black;
  margin: -4px 0 0 -4px;
}
.loading .lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.loading .lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}
.loading .lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.loading .lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}
.loading .lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.loading .lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}
.loading .lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.loading .lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.loading .lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.loading .lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}
.loading .lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.loading .lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}
.loading .lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.loading .lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}
.loading .lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.loading .lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.backoffice .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.backoffice .btn-primary:not(:disabled):not(.disabled):active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.backoffice .btn-success {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.backoffice .btn-success:not(:disabled):not(.disabled):active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.backoffice .btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.backoffice .btn-outline-primary:hover, .backoffice .btn-outline-primary:not(:disabled):not(.disabled):active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}
.backoffice th a {
  color: var(--primary-color);
}
.backoffice th a i {
  color: #fff;
}
.backoffice .breadcrumb a {
  color: var(--primary-color);
}
.backoffice .card-primary .nav-link.active {
  border-top-color: var(--primary-color) !important;
}
.backoffice .card-primary .nav-link {
  color: var(--primary-color) !important;
}
.backoffice .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary {
  background-color: var(--primary-color) !important;
}
.backoffice .bootstrap-switch {
  height: 38px;
}
.backoffice .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default, .backoffice .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default {
  height: 38px;
}

.login-page .card-outline {
  border-top-color: var(--secondary-color) !important;
}
.login-page .btn-primary {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
}

.backoffice .div__SupportInfoImg img {
  height: 60px !important;
}
.backoffice .div__DashCards {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.backoffice .div__DashCards .div__DashCard {
  width: 100%;
}
.backoffice .div__DashCards .div__DashCard a {
  gap: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  max-width: 250px;
  height: 180px;
  overflow: hidden;
  font-size: 1.3rem;
}
.backoffice .content-wrapper > .content-header {
  padding-left: 1px !important;
}
.backoffice .text-grey {
  color: #a0a0a0 !important;
}
.backoffice .sidebar li p {
  margin-bottom: 5px !important;
}
.backoffice .bg-inverse {
  background-color: var(--secondary-color) !important;
  color: #fff !important;
}
.backoffice .bg-inverse:hover {
  background-color: var(--primary-color) !important;
}
.backoffice .bg-inverse.active {
  background-color: var(--primary-color) !important;
}
.backoffice table td {
  padding: 3px 10px;
  vertical-align: middle;
}
.backoffice table th {
  padding: 3px 10px;
  font-size: 0.9rem;
}
.backoffice .td-long-text {
  min-width: 100px;
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  display: table-cell;
  overflow-x: auto;
}
.backoffice .td-long-text::-webkit-scrollbar {
  height: 8px; /* Hauteur de la scrollbar */
}
.backoffice .td-long-text::-webkit-scrollbar-track {
  background: #f1f1f1; /* Couleur de la piste */
}
.backoffice .td-long-text::-webkit-scrollbar-thumb {
  background: #888; /* Couleur de la poignée */
  border-radius: 4px; /* Arrondir les coins de la poignée */
}
.backoffice .td-long-text::-webkit-scrollbar-thumb:hover {
  background: #555; /* Couleur de la poignée au survol */
}
.backoffice .td-long-text {
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}
.backoffice .lang-column {
  display: none;
}
.backoffice .td__name {
  color: #000;
  line-height: 1.3;
  font-weight: 500;
}
.backoffice .td__meta {
  padding: 2px;
  border: 1px solid #E8E9ED;
}
.backoffice .td__metaTitle {
  color: #1a0dab;
  line-height: 1;
  font-size: 0.95rem;
  font-family: Arial;
  font-weight: 500;
}
.backoffice .td__metaDescription {
  color: #4d5156;
  line-height: 1;
  font-size: 0.8rem;
  font-family: Arial;
}
.backoffice .sticky-footer {
  position: sticky;
  bottom: 0;
  border-top: 2px solid #ccc;
  background: #eee;
}
.backoffice .sticky-footer td {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.backoffice .border-warning-dashed {
  border-bottom: 3px solid #edb100 !important;
  background-color: #ffe9a7;
}
.backoffice .div__Support {
  background-color: #4D4D4F;
  color: #fff;
}
.backoffice .div__Support .card-header {
  text-align: center;
}
.backoffice .div__Support .card-header .card-title {
  text-align: center;
  width: 100%;
}
.backoffice .div__Support .div__SupportInfo {
  text-align: center;
}
.backoffice .div__Support .div__SupportInfo .div__SupportInfoImg {
  text-align: center;
}
.backoffice .div__Support .div__SupportInfo .div__SupportInfoImg img {
  margin: auto;
}
.backoffice .div__Support .div__SupportInfo .div__SupportInfoData {
  padding-top: 10px;
}
.backoffice .div__Support .div__SupportInfo .div__SupportInfoData .div__SupportInfoDataText {
  padding-bottom: 10px;
}
.backoffice .div__Support .div__SupportInfo .div__SupportInfoData .div__SupportInfoDataText a {
  color: #E8E9ED;
}
.backoffice th a {
  color: #4D4D4F;
}
.backoffice .content-header h1 {
  font-size: 1.5rem;
  color: var(--primary-color);
}
.backoffice .btn-disabled {
  pointer-events: none;
  cursor: not-allowed;
  background-color: #f8f9fa;
  border-color: #ddd;
  color: #b3b1b1;
}
.backoffice .bg-currency {
  background-color: #E8E9ED;
}
.backoffice .bg-currency h3,
.backoffice .bg-currency p,
.backoffice .bg-currency h6,
.backoffice .bg-currency small,
.backoffice .bg-currency a {
  color: var(--primary-color);
}
.backoffice .bg-order {
  background-color: #358a41;
}
.backoffice .bg-order h3,
.backoffice .bg-order p,
.backoffice .bg-order h6,
.backoffice .bg-order small,
.backoffice .bg-order a {
  color: #E8E9ED;
}
.backoffice .bg-user {
  background-color: #0C4A4A;
}
.backoffice .bg-user h3,
.backoffice .bg-user p,
.backoffice .bg-user h6,
.backoffice .bg-user small,
.backoffice .bg-user a {
  color: #E8E9ED;
}
.backoffice .bg-product {
  background-color: #e3342f;
}
.backoffice .bg-product h3,
.backoffice .bg-product p,
.backoffice .bg-product h6,
.backoffice .bg-product small,
.backoffice .bg-product a {
  color: #E8E9ED;
}
.backoffice .bg-reduction {
  background-color: #f6993f;
}
.backoffice .bg-reduction h3,
.backoffice .bg-reduction p,
.backoffice .bg-reduction h6,
.backoffice .bg-reduction small,
.backoffice .bg-reduction a {
  color: #E8E9ED;
}
.backoffice .avatar {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: auto;
  margin-bottom: 1.2rem;
}
.backoffice .avatar .small {
  margin-top: 0;
  margin-bottom: 0;
  width: 30px;
  height: 30px;
}
.backoffice .chatgpt {
  margin-top: 10px;
  margin-bottom: 10px;
}
.backoffice .ai-prompt {
  background-color: black;
  color: white;
  font-family: monospace;
  font-size: 16px;
  padding: 10px;
  border: none;
}
.backoffice .ai-prompt-result {
  font-family: monospace;
  font-size: 16px;
  padding: 10px;
  border: 1px solid #CCC;
}

.editable-input {
  border-radius: 2px 0px 0px 2px;
  color: inherit;
}

.editable-button {
  border-radius: 0px 2px 2px 0px;
}

.dropzone {
  width: 100%;
  text-align: center;
  font-size: 1.25rem;
  background-color: #c8dadf;
  position: relative;
  padding: 75px 20px;
  outline: 2px dashed #92b0b3;
  outline-offset: -10px;
  transition: outline-offset 0.15s ease-in-out, background-color 0.15s linear;
}
.dropzone.is-uploaded {
  /* width:50% */
}
.dropzone.is-uploading .box__input, .dropzone.is-success .box__input, .dropzone.is-error .box__input {
  visibility: hidden;
}
.dropzone.is-uploading .box__uploading, .dropzone.is-success .box__success, .dropzone.is-error .box__error {
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  transform: translateY(-50%);
}
.dropzone.is-dragover {
  outline-offset: -20px;
  outline-color: #c8dadf;
  background-color: #fff;
}
.dropzone.is-uploading .box__input {
  visibility: none;
}
.dropzone.is-uploading .box__uploading {
  display: block;
}
.dropzone .box__icon {
  width: 100%;
  height: 80px;
  fill: #92b0b3;
  display: block;
  margin-bottom: 40px;
}
.dropzone .box__restart {
  font-weight: 700;
}
.dropzone .box__restart:focus,
.dropzone .box__restart:hover {
  color: #39bfd3;
}
.dropzone .box__file {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}
.dropzone .box__file + label {
  max-width: 80%;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  display: inline-block;
  overflow: hidden;
  font-weight: 400;
}
.dropzone .box__file + label:hover strong,
.dropzone .box__file:focus + label strong,
.dropzone .box__file.has-focus + label strong {
  color: #39bfd3;
}
.dropzone .box__file:focus + label,
.dropzone .box__file.has-focus + label {
  outline: 1px dotted #000;
  outline: -webkit-focus-ring-color auto 5px;
}
.dropzone .box__dragndrop,
.dropzone .box__uploading,
.dropzone .box__success,
.dropzone .box__error {
  display: none;
}
.dropzone .box__uploading {
  font-style: italic;
}
.dropzone .box__success {
  animation: appear-from-inside 0.25s ease-in-out;
}
@keyframes appear-from-inside {
  from {
    transform: translateY(-50%) scale(0);
  }
  75% {
    transform: translateY(-50%) scale(1.1);
  }
  to {
    transform: translateY(-50%) scale(1);
  }
}
.dropzone .box__dragndrop {
  display: inline;
}

.box__uploaded {
  display: flex;
  flex-wrap: wrap;
}
.box__uploaded .box__image, .box__uploaded .box__video {
  box-sizing: border-box;
  background-clip: padding-box;
  height: 200px;
  flex-grow: 10;
  flex-basis: 100px;
  border: 10px solid #d8edf3;
  padding: 10px;
}
.box__uploaded .box__image.is-selected, .box__uploaded .box__video.is-selected {
  border: 10px solid #71acbd !important;
}
.box__uploaded .box__image:hover, .box__uploaded .box__video:hover {
  border: 10px solid #c8dadf;
}
.box__uploaded .box__image img, .box__uploaded .box__video img {
  max-height: 100%;
  min-width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  vertical-align: bottom;
}
.box__uploaded .box__image span, .box__uploaded .box__video span {
  background-color: #F06861;
  width: 25px;
  height: 25px;
  color: #fff;
  border-radius: 3px;
  text-align: center;
  position: absolute;
  margin-left: -20px;
  margin-top: -5px;
}

.dpz {
  /* display:flex; */
  width: 100%;
}

.box__setting {
  display: none;
  height: 100%;
  width: 100%;
  background-color: #c8dadf;
  position: relative;
}
.box__setting .empty {
  display: block;
  font-size: 1.2rem;
  color: gray;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 20px;
}
.box__setting label {
  margin-left: 1.5rem;
}
.box__setting .settings {
  width: 100%;
  padding: 20px;
}
.box__setting .settings button {
  margin-top: 20px;
}
.box__setting .help {
  width: 100%;
  color: gray;
  text-align: center;
  margin-top: 10px;
}

.bootstrap-duallistbox-container .info-container .info {
  display: none;
}

.border-success {
  border: 2px solid #28a745;
}

.alert.custom {
  position: fixed;
  z-index: 100000;
  left: 0;
  top: 0;
  width: 100%;
  border-radius: 0;
}

.card {
  border-radius: 0 0.25rem 0.25rem 0.25rem;
}

.content-wrapper > .content {
  padding: 0 1rem;
}

.content-header {
  background-color: #f8fafc;
  padding: 1.8rem 1rem 0.25rem 1rem;
  margin-left: 0.5rem;
  margin-bottom: 0.5rem;
}

.content-header h1 {
  font-weight: 600;
}

.content-header h1 span {
  padding: 1rem 1rem 1.3rem 1rem;
  background-color: white;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.13), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.content-wrapper {
  background-color: #f8fafc;
}

.content-overflow-y {
  overflow: hidden;
  overflow-y: auto;
  max-height: 250px;
}
.content-overflow-y .row {
  margin: 0 !important;
}

.main-sidebar {
  background-color: white;
}

.main-footer {
  padding: 0.25rem 1rem;
}

.brand-logo {
  height: 100px;
  display: flex;
  align-items: center;
}

.brand-logo a {
  width: 100%;
  text-align: center;
}

.brand-logo img {
  max-width: 80%;
  max-height: 70px;
}

.nav-pills .nav-link {
  color: #4D4D4F;
  padding: 0.4rem 1rem;
}
.nav-pills .nav-link p {
  line-height: 14px;
}

.nav-pills .nav-link.active {
  color: #fff;
  background-color: var(--primary-color);
}

.nav-pills .menu-open .nav-treeview .nav-link.active {
  color: var(--primary-color);
  background-color: #f8fafc;
}

.nav-pills > .nav-item > a {
  font-weight: 700 !important;
}

.nav-treeview .nav-item a p {
  font-size: 0.9rem !important;
  line-height: 12px;
}

.nav-treeview .nav-item a {
  border-radius: 0px !important;
}

.nav-treeview .nav-item i {
  font-size: 0.8rem !important;
  /*  margin-left: 15px !important;
   margin-right: 5px !important; */
  margin-left: 0px !important;
  margin-right: 0px !important;
}

.nav-treeview .nav-item:hover {
  background-color: #d4d4d4;
}

.nav-pills .nav-link:not(.active):hover {
  color: var(--primary-color);
}

.nav-sidebar .nav-link > .right, .nav-sidebar .nav-link > p > .right {
  top: 0.6rem;
}

.nav-item hr {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.select2 {
  width: 100% !important;
}

.select2-container--default .select2-selection--multiple {
  border: 1px solid #ced4da !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  color: black;
}

.select2-container--default .select2-selection--single {
  height: auto !important;
  border: 1px solid #ced4da !important;
  padding: 0.32rem 0.75rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__choice {
  color: black;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 5px !important;
}

.backoffice .text-order-state1 {
  color: var(--primary-color);
}

.section__OrderProductsTitle {
  margin: 1rem 0 1rem 0;
}

.section__OrderProductsItem {
  padding: 1rem;
  border: 1px solid #D8D8D8;
  border-radius: 5px;
  margin-bottom: 1rem;
}
.section__OrderProductsItem .section__OrderProductsItemLink {
  text-decoration: none;
  color: black;
  line-height: 150px;
}
.section__OrderProductsItem .section__OrderProductsItemLink .section__OrderProductsItemImage {
  height: auto;
  max-height: 200px;
  max-width: 100%;
}
.section__OrderProductsItem .section__OrderProductsItemReference {
  color: #323030;
}
.section__OrderProductsItem .section__OrderProductsItemInStock {
  background-color: green;
}
.section__OrderProductsItem .section__OrderProductsItemInStock span {
  padding: 0.5rem;
  color: #fff;
  font-size: 0.9rem;
}
.section__OrderProductsItem .section__OrderProductsItemNoStock {
  background-color: orangered;
}
.section__OrderProductsItem .section__OrderProductsItemNoStock span {
  padding: 0.5rem;
  color: #fff;
  font-size: 0.9rem;
}
.section__OrderProductsItem .section__OrderProductsItemName {
  font-weight: bold;
  margin: 1rem 0 1rem 0;
}
.section__OrderProductsItem .section__OrderProductsItemPriceUnit {
  color: #323030;
}
.section__OrderProductsItem .section__OrderProductsItemPriceUnit .productPrice .productPriceDisplayed {
  font-size: 1rem !important;
}
.section__OrderProductsItem .section__OrderProductsItemPriceUnit .productPrice .productPriceDisplayed .productPriceOlder {
  font-size: 0.9rem !important;
}
.section__OrderProductsItem .section__OrderProductsItemQuantity {
  margin-top: 0.2rem;
  margin-right: 1rem;
  text-transform: uppercase;
}
.section__OrderProductsItem .section__OrderProductsItemPrice span {
  font-size: 1.4rem;
  color: var(--primary-color);
  font-weight: bold;
}
.section__OrderProductsItem .productPrice {
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
}
.section__OrderProductsItem .productPrice .productPriceDisplayed {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
}
.section__OrderProductsItem .productPrice .productPriceOlder {
  text-decoration: line-through;
  font-size: 1.2rem;
  margin-right: 0.5rem;
}
.section__OrderProductsItem .productPrice .productPriceCurrency {
  color: #000;
  font-size: 0.8rem;
  margin-left: 0.3rem;
}

table .btn-collapse::before {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
table .btn-collapse.collapsed::before {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

table tr.with-collapse {
  font-size: 0.8rem;
  background-color: rgba(0, 0, 0, 0.075);
}
table tr.with-collapse .editable-input {
  font-size: 0.8rem;
}
table tr.with-collapse thead tr {
  background-color: #b3b3b3;
}
table tr.with-collapse thead tr:hover {
  color: inherit;
  background-color: #b3b3b3;
}
table tr.with-collapse > td {
  padding: 0px;
}
table tr.with-collapse .collapse th {
  border-top: none;
}

.panel-heading a:before {
  font-family: "Glyphicons Halflings";
  content: "\e114";
  float: right;
  transition: all 0.5s;
}

.panel-heading.active a:before {
  transform: rotate(180deg);
}

.div__LoginImg {
  max-width: 100%;
}

.roller {
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* 
 * Section Builder - Styles Complets
 * Interface professionnelle pour la construction de pages
 */
/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.section-item,
.row-item,
.column-item,
.block-item {
  animation: fadeInUp 0.3s ease-out;
}

/* === BUILDER CONTAINER === */
.builder-container {
  min-height: 500px;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
}

/* === EMPTY STATE === */
.empty-state {
  text-align: center;
  padding: 100px 20px;
  background: white;
  border: 3px dashed #dee2e6;
  border-radius: 12px;
  margin: 20px 0;
}

.empty-state i {
  font-size: 5rem;
  color: #6c757d;
  opacity: 0.3;
  margin-bottom: 20px;
  display: block;
}

.empty-state h4 {
  color: #495057;
  margin-bottom: 10px;
}

.empty-state p {
  color: #6c757d;
  font-size: 1.1rem;
}

/* === SECTION ITEM === */
.section-item {
  background: white !important;
  border: 2px dashed #e0e0e0 !important;
  border-radius: 12px !important;
  padding: 0 !important;
  margin-bottom: 30px !important;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.section-item:hover {
  border-color: #007bff !important;
  box-shadow: 0 4px 16px rgba(0, 123, 255, 0.15) !important;
}

.section-item.sortable-chosen {
  border-style: solid !important;
  border-color: #007bff !important;
  transform: scale(1.02);
}

/* === SECTION TOOLBAR === */
.section-toolbar {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  padding: 12px 20px !important;
  border-radius: 10px 10px 0 0 !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: grab;
}

.section-toolbar:active {
  cursor: grabbing;
}

.section-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-toolbar-left i.drag-handle {
  font-size: 1.2rem;
  cursor: grab;
  opacity: 0.7;
}

.section-toolbar-left i.drag-handle:hover {
  opacity: 1;
}

.section-label {
  font-weight: 600 !important;
  font-size: 1rem !important;
  letter-spacing: 0.5px;
}

.section-toolbar-right {
  display: flex;
  gap: 8px;
}

.toolbar-btn {
  background: rgba(255, 255, 255, 0.2) !important;
  border: none !important;
  color: white !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem !important;
  display: flex;
  align-items: center;
  gap: 6px;
}

.toolbar-btn:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-1px);
}

.toolbar-btn i {
  font-size: 0.9rem;
}

/* === SECTION BODY === */
.section-body {
  padding: 25px !important;
  min-height: 150px;
  background: #fafbfc !important;
}

/* === ROW ITEM === */
.row-item {
  background: white !important;
  border: 3px solid #17a2b8 !important;
  border-radius: 12px !important;
  padding: 0 !important;
  margin-bottom: 20px !important;
  position: relative;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(23, 162, 184, 0.1) !important;
}

.row-item:hover {
  border-color: #138496 !important;
  box-shadow: 0 4px 12px rgba(23, 162, 184, 0.2) !important;
  transform: translateY(-2px);
}

.row-item.sortable-chosen {
  border-style: solid !important;
  border-width: 4px !important;
  transform: scale(1.02);
}

.row-toolbar {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%) !important;
  color: white !important;
  padding: 10px 15px !important;
  border-radius: 9px 9px 0 0 !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: grab;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.row-toolbar:active {
  cursor: grabbing;
}

.row-body {
  padding: 20px !important;
  min-height: 120px;
  background: #f8f9fa !important;
}

/* === COLUMNS CONTAINER === */
.columns-container {
  display: flex !important;
  gap: 15px !important;
  flex-wrap: wrap !important;
  min-height: 100px;
  width: 100%;
  padding: 5px !important;
}

.columns-container.empty {
  border: 3px dashed #ffc107 !important;
  border-radius: 10px !important;
  padding: 40px !important;
  text-align: center;
  background: #fffbf0 !important;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === COLUMN ITEM === */
.column-item {
  background: white !important;
  border: 3px solid #ffc107 !important;
  border-radius: 10px !important;
  padding: 0 !important;
  min-height: 150px;
  position: relative;
  transition: all 0.3s;
  box-shadow: 0 3px 10px rgba(255, 193, 7, 0.15) !important;
  flex-shrink: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

.column-item:hover {
  border-color: #ff9800 !important;
  box-shadow: 0 5px 15px rgba(255, 152, 0, 0.25) !important;
  transform: translateY(-3px);
}

.column-item.sortable-chosen {
  border-style: solid !important;
  border-width: 4px !important;
  transform: scale(1.03);
}

.column-toolbar {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%) !important;
  color: #000 !important;
  padding: 8px 12px !important;
  border-radius: 7px 7px 0 0 !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  cursor: grab;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  flex-shrink: 0;
}

.column-toolbar:active {
  cursor: grabbing;
}

.column-body {
  padding: 15px !important;
  min-height: 100px;
  background: #fffef9 !important;
  border-radius: 0 0 7px 7px !important;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.column-body.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px !important;
  color: #6c757d;
  background: #fafafa !important;
}

/* === BLOCKS CONTAINER === */
.blocks-container {
  min-height: 80px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blocks-container.empty {
  border: 2px dashed #ced4da !important;
  border-radius: 8px !important;
  padding: 25px !important;
  text-align: center;
  background: #f1f3f5 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* === BLOCK ITEM === */
.block-item {
  background: #ffffff !important;
  border: 2px solid #dee2e6 !important;
  border-radius: 8px !important;
  padding: 15px !important;
  margin-bottom: 0 !important;
  position: relative;
  transition: all 0.3s;
  cursor: grab;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

.block-item:active {
  cursor: grabbing;
}

.block-item:hover {
  border-color: #007bff !important;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2) !important;
  transform: translateY(-2px);
}

.block-item.sortable-chosen {
  opacity: 0.6;
  transform: scale(0.98);
}

.block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid #e9ecef !important;
}

.block-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #007bff;
  color: white;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3) !important;
}

.block-type-badge.image {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
  box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3) !important;
}

.block-type-badge.video {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
  box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3) !important;
}

.block-type-badge.text {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%) !important;
  box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3) !important;
}

.block-actions {
  display: flex;
  gap: 6px;
}

.block-actions .btn {
  padding: 6px 10px !important;
  font-size: 0.8rem !important;
  border-radius: 6px !important;
  transition: all 0.2s;
}

.block-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

.block-content-preview {
  margin-top: 10px;
}

.block-image {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.block-video-preview {
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.block-text-preview {
  padding: 12px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #dee2e6;
  max-height: 150px;
  overflow: hidden;
  position: relative;
}

.block-text-preview::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(transparent, #f8f9fa);
}

/* === ADD BUTTONS === */
.add-btn-inline {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px !important;
  background: #f8fff9 !important;
  border: 3px dashed #28a745 !important;
  border-radius: 10px !important;
  color: #28a745 !important;
  cursor: pointer;
  transition: all 0.3s;
  margin: 10px 0 !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  box-shadow: 0 2px 6px rgba(40, 167, 69, 0.1) !important;
}

.add-btn-inline:hover {
  background: #d4edda !important;
  border-color: #1e7e34 !important;
  border-style: solid !important;
  color: #1e7e34 !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2) !important;
}

.add-btn-inline i {
  font-size: 1.5rem;
}

/* === DRAG & DROP FEEDBACK === */
.sortable-ghost {
  opacity: 0.3 !important;
  background: #e3f2fd !important;
  border: 3px dashed #2196f3 !important;
}

.sortable-drag {
  opacity: 0.9;
  transform: rotate(2deg);
}

/* === BADGES === */
.element-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.3) !important;
  padding: 4px 10px !important;
  border-radius: 5px !important;
  font-size: 0.75rem !important;
  margin-left: 10px !important;
  font-weight: 600 !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(5px);
}

/* === CUSTOM FILE INPUT === */
.custom-file-label::after {
  content: "Parcourir";
}

/* === IMAGE PREVIEW === */
#image-preview img {
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* === LOADING STATE === */
.saving-indicator {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #28a745;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  animation: fadeInUp 0.3s ease-out;
}

/* === SCROLLBAR MODAL === */
.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .columns-container {
    flex-direction: column !important;
  }
  .column-item {
    width: 100% !important;
    flex: none !important;
  }
  .section-toolbar,
  .row-toolbar {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .toolbar-btn {
    width: 100%;
    justify-content: center;
  }
}
.order-state {
  margin: 1rem;
}

.order-state1 {
  background-color: #4169E1;
  color: white;
}

.text-order-state1 {
  color: #4169E1;
}

.order-state2 {
  background-color: #32CD32;
  color: white;
}

.text-order-state2 {
  color: #32CD32;
}

.order-state3 {
  background-color: #FF8C00;
  color: white;
}

.text-order-state3 {
  color: #FF8C00;
}

.order-state4 {
  background-color: #8A2BE2;
  color: white;
}

.text-order-state4 {
  color: #8A2BE2;
}

.order-state5 {
  background-color: #108510;
  color: white;
}

.text-order-state5 {
  color: #108510;
}

.order-state6 {
  background-color: #DC143C;
  color: white;
}

.text-order-state6 {
  color: #DC143C;
}

.order-state7 {
  background-color: #ec2e15;
  color: white;
}

.text-order-state7 {
  color: #ec2e15;
}

.order-state8 {
  background-color: #FF69B4;
  color: white;
}

.text-order-state8 {
  color: #FF69B4;
}

.order-state9 {
  background-color: #8f0621;
  color: white;
}

.text-order-state9 {
  color: #8f0621;
}

.order-state10 {
  background-color: #01B887;
  color: white;
}

.text-order-state10 {
  color: #01B887;
}

.order-state11 {
  background-color: #4169E1;
  color: white;
}

.text-order-state11 {
  color: #4169E1;
}

.order-state12 {
  background-color: #FF8C00;
  color: white;
}

.text-order-state12 {
  color: #FF8C00;
}

.quotation-state {
  margin: 1rem;
}

.quotation-state1 {
  background-color: #4169E1;
  color: white;
}

.text-quotation-state1 {
  color: #4169E1;
}

.select-quotation-state1 { /* !important used for overriding all other customisations */
  background: url("/images/icons/carret-down.png") #4169E1 no-repeat 98.5% !important;
  color: white;
}

.quotation-state2 {
  background-color: #FF8C00;
  color: white;
}

.text-quotation-state2 {
  color: #FF8C00;
}

.select-quotation-state2 { /* !important used for overriding all other customisations */
  background: url("/images/icons/carret-down.png") #FF8C00 no-repeat 98.5% !important;
  color: white;
}

.quotation-state3 {
  background-color: #32CD32;
  color: #ffffff;
}

.text-quotation-state3 {
  color: #32CD32;
}

.select-quotation-state3 { /* !important used for overriding all other customisations */
  background: url("/images/icons/carret-down.png") #32CD32 no-repeat 98.5% !important;
  color: white;
}

.quotation-state4 {
  background-color: #ec2e15;
  color: white;
}

.text-quotation-state4 {
  color: #ec2e15;
}

.select-quotation-state4 { /* !important used for overriding all other customisations */
  background: url("/images/icons/carret-down.png") #ec2e15 no-repeat 98.5% !important;
  color: white;
}

.lang-switch {
  display: flex;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #b7c5d1;
}
.lang-switch .lang-switch-label {
  margin-right: 10px;
  font-style: italic;
}
.lang-switch .lang-switch-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lang-switch .lang-switch-list li {
  display: inline;
  text-align: center;
  padding: 2px;
  margin: 0;
}
.lang-switch .lang-switch-list li button, .lang-switch .lang-switch-list li a {
  min-width: 80px;
}

.lang-column td {
  border-top: 0px;
  width: 30px;
  padding: 2px;
  text-align: center;
}
.lang-column td img {
  width: 100%;
}
.lang-column tr:hover {
  background-color: transparent !important;
}

.login-page .div__CardModule {
  border-top: 3px solid var(--primary-color);
}
.login-page .div__CardModule img {
  width: 100%;
}
.login-page .div__CardModule .btn.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
