@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Palette de couleurs dark moderne */
  --bg-primary: #080604;
  --bg-transparent: rgba(8, 6, 4, 0.8);
  --bg-White: #ffffff;
  --bg-image: url('/static/logos/bg.jpg');
  --bg-secondary: #111827;
  --bg-main: #0e0702cd;
  --bg-tertiary: rgba(20, 17, 9, 0.205);
  --bg-input: rgba(255, 255, 255, 0.04);
  
  /* Couleurs d'accent */
  --accent-primary: #d49f2d;      /* teal-400 */
  --accent-secondary: #94620d;    /* teal-600 */
  --accent-glow: rgba(148, 121, 13, 0.35);
  
  --prod-info-bg: #3b2c0b;
  --prod-text-price: #fcf2e1;
  --prod-text-name: #fffaf1;

  /* Couleurs texte */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Bordures et ombres */
  --border-light: rgba(255, 255, 255, 0.08);
  --border-active: #d4972d;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 32px rgba(148, 134, 13, 0.35);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Bordures arrondies */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --indic-clear: #ffe6ba;
  --indic-color: #f59e0b;
  --indic-background: rgba(245, 158, 11, 0.15);
  --indic-border: 1px solid rgba(245, 159, 11, 0.63);

  --indic-background-strong: rgb(46, 31, 6);

  --indic-red: #f43f5e;
  --indic-background-red: rgba(244, 63, 94, 0.15);
  --indic-border-red: 1px solid rgba(244, 63, 94, 0.3);

  --indic-green: #10b9a2;
  --indic-background-green: rgba(16, 185, 185, 0.15);
  --indic-border-green: 1px solid rgba(16, 185, 171, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Style pour desktop */
@media (hover: hover) and (pointer: fine) {
  ::-webkit-scrollbar {
    width: 3px;
    height: 3px;
  }

  ::-webkit-scrollbar-track {
    background: var(--bg-primary);
  }

  ::-webkit-scrollbar-thumb {
    background-color: var(--accent-secondary);
    border-radius: 3px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-primary);
  }
}

/* Cache complètement sur mobile */
@media (hover: none) and (pointer: coarse) {
  ::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    background: transparent;
  }
  
  ::-webkit-scrollbar-thumb {
    background: transparent;
  }
  
  /* Firefox */
  * {
    scrollbar-width: none;
  }
}

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--bg-primary);
  /*background-image: 
    radial-gradient(ellipse at 20% 50%, rgba(0, 0, 0, 0.839) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(1, 0, 0, 0.912) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 80%, rgba(15, 14, 5, 0.911) 0%, transparent 60%),
    var(--bg-image);*/
  
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: multiply, multiply, multiply, normal;
  /* ou */
  /*background-blend-mode: overlay, overlay, overlay, normal;*/
}


/* Style modern des inputs */
input, textarea, select {
  width: 98%;
  height: 50px;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  outline: none;
  transition: all var(--transition-normal);
  
  /* Effet glassmorphisme */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  
  /* Typographie */
  letter-spacing: 0.3px;
  margin: 10px 0;
  /* Modern native select */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="none" stroke="%232dd4bf" stroke-width=".75" d="M2 0L0 2h4zM2 5L0 3h4z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  cursor: pointer;
}

/* Effet focus moderne */
input:focus, textarea:focus, select:focus {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
  background: rgba(17, 24, 39, 0.95);
  transform: translateY(-1px);
}

/* Effet hover */
input:hover, textarea:hover, select:hover {
  border-color: rgba(45, 212, 191, 0.5);
  background: rgba(17, 24, 39, 0.85);
}

/* Input avec label flottant modern */
.input-group {
  position: relative;
  margin-bottom: 24px;
  width: 100%;
  text-align: left;
  justify-content: left;
  align-items: left;
}

.input-group input {
  width: 98%;
  height: 56px;
  padding: 16px;
  background: var(--bg-tertiary);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.input-group label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  pointer-events: none;
  transition: all var(--transition-normal);
  background: transparent;
  padding: 0 4px;
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label {
  top: 0;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--accent-primary);
  background: var(--bg-secondary);
}

/* Input avec icône */
.input-icon {
  position: relative;
  width: 100%;
}

.input-icon i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.input-icon input {
  padding-left: 44px;
}

.input-icon input:focus + i {
  color: var(--accent-primary);
}

i {
  vertical-align: middle;
}

#formArea{
  margin-bottom: 10px;
}

.FormInput {
  width: 98%;
  height: 45px;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: all var(--transition-normal);
}

.FormInput:focus {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
  background: rgba(17, 24, 39, 0.95);
}

/* Style pour les OPTIONS */
option {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 12px;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 500;
  border: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

/* Option au survol */
option:hover {
  background: var(--accent-dim);
  color: var(--accent-primary);
}

/* Option sélectionnée/checked */
option:checked {
  background: linear-gradient(135deg, var(--accent-secondary), #0891b2);
  color: #ffffff;
  font-weight: 600;
}

/* Option au focus */
option:focus {
  background: var(--accent-dim);
  outline: none;
}

/* Option désactivée */
option:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Premier option (placeholder) */
option:first-child {
  color: var(--text-muted);
  font-style: italic;
}

/* Option avec valeur vide */
option[value=""] {
  color: var(--text-muted);
}

/* Groupe d'options */
optgroup {
  background: var(--bg-primary);
  color: var(--accent-primary);
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 10px;
  letter-spacing: 0.5px;
}

optgroup option {
  padding-left: 20px;
}

/* Pour les navigateurs Webkit */
option::-webkit-select {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

/* Pour Firefox */
@-moz-document url-prefix() {
  option {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    padding: 8px;
  }
  
  option:checked {
    background-color: var(--accent-secondary);
    color: #ffffff;
  }
}
.bgGreen{
  background: #0a110b;
}

.bgRed{
  background: #150d10;
}

span,div,i {
  cursor: pointer;
}


 /* Loader plein écran */
    #loader {
      position: fixed;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      background: linear-gradient(135deg, #020203, #1a1103);
      backdrop-filter: blur(5px);
      color: white;
      z-index: 111112;
      opacity: 1;
      visibility: visible;
      transition: opacity 0.5s ease, visibility 0.5s ease;
    }

    #loader.hidden {
      opacity: 0;
      visibility: hidden;
    }


    .spinner {
      width: 50px;
      height: 50px;
      border: 6px solid rgba(136, 249, 255, 0.427);
      border-top-color: #fff;
      border-radius: 50%;
      animation: spin 1s linear infinite;
      margin-bottom: 15px;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    .loading-text {
      font-size: 18px;
      font-weight: 500;
      letter-spacing: 1px;
      animation: pulse 1.4s ease-in-out infinite;
      color: #f2f9c7;
    }

    .loading-textLite {
      font-size: 13px;
      font-weight: 300;
      
      animation: pulseLite 1.4s ease-in-out infinite;
      color: #f2f9c7;
    }

    @keyframes pulse {
      0%, 100% { opacity: 0.65; }
      50% { opacity: 1; }
    }

    @keyframes pulseLite {
      0%, 100% { opacity: 0.85; }
      50% { opacity: 1; }
    }

    .fileWrapper{
      width: 32%;
      border-radius: 10px;
      margin: 10px;
      background-color: #000000;
      padding: 10px;
    }

    .fileWrapperIMG{
      width: 100%;
      border-radius: 5px;
      margin: 2px;
      background-color: #ffffff;
      
    }

    #filesContainer{
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      width: 100%;
    }

    .filesContainer{
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      width: 100%;

    }

    

    .img_attached{
      max-height: 150px;
      width: auto;
      border-radius: 5px;
    }

    .inputCB{
      
      width: 20%;
      display: inline-block;
      margin-right: 5px;
      
    }

    .inputTrie{
      
      width: 75%;
      display: inline-block;
      
    }

    .iframe_attached{
      max-height: 300px;
      width: auto;
      border-radius: 5px;
      border: none;
    }

.box_prod {
  width: 19%;
  background: var(--bg-White);
  border-radius: var(--radius-md);
  cursor: pointer;
  margin: 3px;
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(5px);
  color: var(--text-primary);
  border: 1px solid var(--prod-info-bg);
  letter-spacing: -0.01em;
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1), box-shadow 0.4s ease, border-color 0.3s ease, background 0.3s ease;
}

.headDescription {
  width: 100%;
  
  background: var(--bg-White);
  border-radius: var(--radius-md);
  cursor: pointer;
  margin: 3px;
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(5px);
  color: var(--text-primary);
  border: 1px solid var(--prod-info-bg);
  letter-spacing: -0.01em;
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1), box-shadow 0.4s ease, border-color 0.3s ease, background 0.3s ease;
}

/* Zoom fluide au survol */
.box_prod:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(8px);
  border-color: var(--indic-border);
}

.prodInfos{
      padding:3x;
      background: var(--prod-info-bg);
      position: relative;
      width:65%;
      height:80px !important;
    
    }

    .image_prod{
      width:45%;
      overflow: hidden;
      background: var(--bg-White);
      color: var(--bg-tertiary);
    }

    .image_profile{
      height: 35px;
      width: 35px;
      border-radius: 100%;
      overflow: hidden;
      background: var(--bg-White);
      color: var(--bg-tertiary);
      box-shadow: var(--shadow-sm);
    }

    .image_ticket{
      height: 20px;
      width: 20px;
      border-radius: 100%;
      overflow: hidden;
      background: var(--bg-White);
      color: var(--bg-tertiary);
      box-shadow: var(--shadow-sm);
    }

    .image_bipper{
      width: 45%;
      overflow: hidden;
      background: var(--bg-White);
    }

    .eval_fiche{
      width: 100%;
    }

    .prod_name{
    color: var(--prod-text-name);
    font-size: 12px;
    font-weight: 500;
    line-height: 1; /* ou une valeur plus petite comme 1.1 ou 1 */
  }

    .prod_price{
      color: var(--prod-text-price);
      font-size: 14px;
      font-weight: 500;
      padding: 3px;
    }

    .portprice{
      color: var(--prod-text-price);
      font-size: 14px;
      font-weight: 500;
      position: absolute;
      bottom: -5px;
      padding-bottom: 5px;
      left: 0px;
      background: var(--indic-background-strong);
      padding: 3px;
      width: 100%;
      z-index: 100;
    }

    .imageSelf{
      width:auto;
      height: 60px;
      border-radius: 5px;
    }

    /* Contenu principal */
    #app {
      opacity: 0;
      transition: opacity 0.6s ease-in-out;
      
    }

    #app.visible {
      opacity: 1;
    }


    #printingBox {
      position: fixed;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      background: white;
      color: rgb(0, 0, 0);
      z-index: 111115;
      opacity: 1;
      transition: opacity 0.5s ease, visibility 0.5s ease;
    }

    #printingBox.hidden {
      opacity: 0;
      visibility: hidden;
    }


    #criticalAlerter {
      position: fixed;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      background: linear-gradient(135deg, #020203fa, #1e1402ea);
      color: white;
      z-index: 111113;
      opacity: 1;
      visibility: visible;
      transition: opacity 0.5s ease, visibility 0.5s ease;
    }

    #criticalAlerter.hidden {
      opacity: 0;
      visibility: hidden;
    }




    #Alerter {
      position: fixed;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      background: linear-gradient(135deg, #020203fa, #1e1402ea);
      color: white;
      z-index: 111113;
      opacity: 1;
      visibility: visible;
      transition: opacity 0.5s ease, visibility 0.5s ease;
    }

    #Alerter.hidden {
      opacity: 0;
      visibility: hidden;
    }


    #formBox{
      position: fixed;
      width: 100%;
      inset: 0;
      top: 14vh;
      height: 84vh;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      background: linear-gradient(135deg, #020203fa, #1e1402ea);
      color: white;
      z-index: 10009;
      opacity: 1;
      visibility: visible;
      transition: opacity 0.5s ease, visibility 0.5s ease;
      overflow-x: hidden;
      overflow-y: auto;
      padding-top: 12px;
      padding-bottom: 12px;
      padding-left: 10px;
      padding-right: 10px;
    }

    #formBox.hidden {
      opacity: 0;
      visibility: hidden;
    }


    #BigShowBox{
      position: fixed;
      width: 100%;
      inset: 0;
      top: 14vh;
      height: 84vh;
      display: flex;
      
      justify-content: center;
      
      background: linear-gradient(135deg, #020203fa, #1e1402ea);
      color: white;
      z-index: 10009;
      opacity: 1;
      visibility: visible;
      transition: opacity 0.5s ease, visibility 0.5s ease;
      overflow-x: hidden;
      overflow-y: auto;
      padding-top: 13px;
      padding-bottom: 13px;
      padding-left: 10px;
      padding-right: 10px;
      
    }

    #BigShowBox.hidden {
      opacity: 0;
      visibility: hidden;
    }

    .closeFlotRbt{
      background: #000000;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 2px;
      border-radius: 100%;
      width: 30px;
      height: 30px;
      float: right;
      position: fixed;
      top: 7vh;
      right: 10px;
      z-index: 111111;
      font-size: 20px;
    }

    .head_shop{
      text-align: center; 
      background-image: url('/static/logos/ban1.webp'); 
      background-size: cover; 
      background-position: center;
      width: 100%;
      height: 20vh;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow-x: hidden;
      overflow-y: auto;

    }
    #head_market{
      position: relative;
      top: 7vh;
      padding-bottom: 60px;
      width: 100%;

    }
    .coverOverlay{
      width: 100%;
      height: 100%;
      background: #130a019c;
      display: flex;
      justify-content: center;
      align-items: center;

    }

    .modalDiv {
    position: fixed;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999999; /* Valeur très élevée */
    max-width: 100%;
    width: 400px;
    color: var(--text-primary);
    
    /* Style optionnel */
    background: var(--bg-transparent);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.3);
    pointer-events: auto; /* Conserve l'interactivité */
    isolation: isolate; /* Crée son propre contexte d'empilement */
}

.modalMasterBT {
    position: fixed;
    display: none;
    bottom: 2px;
    left: 0px;
    
    z-index: 999999; /* Valeur très élevée */
    max-width: 100%;
    width: 100%;
    color: var(--text-primary);
    
    /* Style optionnel */
    background: transparent;
    
    border-radius: 10px;
    
    pointer-events: auto; /* Conserve l'interactivité */
    isolation: isolate; /* Crée son propre contexte d'empilement */
}

.categories-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #000000;
}

.scroll-btn {
    flex: 0 0 40px;
    height: 40px;
    border: none;
    background: rgba(0,0,0,0.6);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 1;
}

.scroll-btn:hover {
    background: rgba(0,0,0,0.8);
}

.scroll-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.categories_box::-webkit-scrollbar {
    height: 1px;
}

.categories_box::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

.categories_box::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.categories_box::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.categories_box {
    flex: 1;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
    padding: 15px 20px;
    background: #000000;
    border-radius: 8px;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: thin;
}

.categories_box .category-item {
    flex: 0 0 auto;
    padding: 8px 20px;
    background: var(--indic-background);
    color: var(--indic-color);
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-size: 14px;
}

.categories_box .category-item:hover {
    background: var(--indic-background);
    color: var(--indic-color);
    border-color: var(--indic-border);
    transform: scale(1.05);
}

.categories_box .category-item.active {
    background: var(--indic-background-green);
    color: var(--indic-green);
    border-color: var(--indic-border-green);
}


.blurIt{
  filter: "blur(5px) brightness(0.8) saturate(0.5)"
}

    #tradingBox{
      position: fixed;
      width: 100%;
      inset: 0;
      top: 7vh;
      height: 93vh;
      display: flex;
      justify-content: center;
      align-items: center;
      
      background: var(--bg-primary);
      color: white;
      z-index: 10009;
      opacity: 1;
      visibility: visible;
      transition: all 0.5s ease;
      overflow-x: hidden;
      overflow-y: hidden;
      
    }


    #tradingBox.hidden {
      
      visibility: hidden;
    }

   

    .divTotal {
      position: relative;
      display: flex;
      justify-content: right;
      align-items: end;
      width: 100%;
      right: 5px;
      padding: 10px;
      font-size: 20px;
      text-align: left;
      background: rgba(20, 29, 26, 0.7);
    color: #f5fcf4;
    }

    

  

#product_area {
  position: relative;
  width: 69%;
  inset: 0;
  top: 0;
  height: 100%;
  display: inline-block;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: hidden;
  background: transparent;

}

#body_product_area {
  position: relative;
  padding-top: 15px;
  padding-bottom: 120px;
  width: 100%;
  inset: 0;
  top: 0;
  height: 100%;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;

}

/* Scrollbar moderne */
#body_product_area::-webkit-scrollbar {
  width: 6px;
}

#body_product_area::-webkit-scrollbar-track {
  background: var(--bg-primary);
  border-radius: 10px;
}

#body_product_area::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 10px;
}

#head_product_area {
  position: relative;
  width: 100%;
  inset: 0;
  top: 0;
  height: 7vh;
  display: block;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 0 20px;
  background: var(--bg-primary);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  border-radius: 20px 20px 0 0;
  border-bottom: 1px solid var(--border-light);
}

#side_area {
  position: relative;
  padding-bottom: 120px;
  overflow-x: hidden;
  overflow-y: auto;
  width: 30%;
  inset: 0;
  top: 0;
  height: 100%;
  display: inline-block;
  background: var(--bg-primary);
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.4), inset 1px 0 0 var(--border-light);
}

#ticket_area {
  position: relative;
  width: 100%;
  inset: 0;
  top: 0;
  height: 69%;
  padding: 15px;
}

#head_ticket_area {
  position: relative;
  width: 100%;
  inset: 0;
  top: 0;
  height: 20%;
  padding: 15px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.15), rgba(6, 182, 212, 0.08));
  border-radius: 15px 15px 0 0;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

#body_ticket_area {
  position: relative;
  width: 100%;
  inset: 0;
  top: 0;
  height: 45%;
  padding: 5px;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--bg-primary);
  color: var(--text-primary);
  border-radius: 5px;
  border: 1px solid var(--border-light);
}

#body_ticket_area::-webkit-scrollbar {
  width: 6px;
}

#body_ticket_area::-webkit-scrollbar-track {
  background: var(--bg-primary);
  border-radius: 10px;
}

#body_ticket_area::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 10px;
}

#bottom_ticket_area {
  position: relative;
  width: 100%;
  inset: 0;
  top: 0;
  height: 65%;
  padding: 15px;
  overflow-x: hidden;
  overflow-y: auto;
  background: rgba(17, 24, 39, 0.95);
  border-radius: 0 0 15px 15px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
}

.line_ticket {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  margin: 5px 0;
  padding: 3px 0;
  border-bottom: 1px dashed var(--border-light);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
}

#keyboard_area {
  position: relative;
  width: 100%;
  inset: 0;
  top: 0;
  height: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 15px;
  margin-top: 3px;
  border: 1px solid var(--border-light);
}

#keyboard {
  position: relative;
  width: 100%;
  inset: 0;
  top: 0;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 10px;
  gap: 5px;
}

#set_for_keyboard {
  position: relative;
  width: 14%;
  inset: 0;
  top: 0;
  height: 100%;
  margin: 5px;
  background: rgba(13, 148, 136, 0.08);
  border-radius: 15px;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(13, 148, 136, 0.2);
}

#set_for_keyboard:hover {
  background: rgba(13, 148, 136, 0.18);
  box-shadow: 0 4px 15px var(--accent-glow);
  transform: translateY(-2px);
}

.bt_keyboard {
  position: relative;
  width: 28%;
  height: 22%;
  cursor: pointer;
  background: var(--bg-tertiary);
  margin: 2px;
  padding: 12px;
  text-align: center;
  vertical-align: middle;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bt_keyboard:hover {
  background: linear-gradient(135deg, var(--accent-secondary), #0891b2);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  border-color: var(--accent-primary);
}

.bt_keyboard:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

#boxpaiement {
  display: block;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 15px;
  padding: 3px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-top: 5px;
}

/* Effets de glow modernes */
.glow-effect {
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

/* Animation pour les éléments */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-item, .ticket-item {
  animation: fadeIn 0.3s ease backwards;
}

/* Responsive */
@media screen and (max-width: 992px) {
 
  
  
  .bt_keyboard {
    width: 30%;
    font-size: 0.9rem;
  }
  
  #set_for_keyboard {
    width: 12%;
  }
}

@media screen and (max-width: 768px) {
  #tradingBox {
    display: block;
  }
  #product_area {
    width: 100%;
  }
  #side_area {
    width: 100%;
    display: none;
  }
  .bt_keyboard {
    width: 29%;
    font-size: 0.85rem;
    padding: 8px;
  }
  
  #set_for_keyboard {
    width: 15%;
  }
  
  #head_product_area {
    height: 10vh;
    width: 100%;
  }
  
  #body_product_area {
    height: 85vh;
  }
}

@media screen and (max-width: 480px) {
  #product_area {
    width: 100%;
  }
  #side_area {
    width: 100%;
    margin-top: 15px;
  }
  .bt_keyboard {
    width: 45%;
    font-size: 0.8rem;
  }
  
  #set_for_keyboard {
    width: 20%;
  }
  
  #boxpaiement {
    flex-direction: column;
  }
  
}

@media screen and (max-width: 600px) {

  .box_prod{
      position: relative;
      width: 45%;
      cursor: pointer;
      display: inline-flex;
}
}

    .imgCB{
      
      width: 70px;
      height: auto;
      border-radius: 5px;
      margin: 5px;
      
    }

    .imgQR{
      
      width: 50px;
      height: 50px;
      border-radius: 5px;
      margin: 5px;
      
    }
    #preview_sample{
      display: flex;
      justify-content: center;
      align-items: center;
      
    }
    .div_prev{
      margin: 5px;
    }

    .card{
      margin-bottom: -7px;
      margin-right: 4.3px;
      margin-left: 4.3px;
      
      width: 9cm;
      height: 6cm;
      position: relative;
      background-attachment: fixed;
      background-size: 100% 100% !important;

    }

    .etikette{
      margin: 0px;
      padding: 20px;
      width: 6.9cm;
      height: 3.5cm;
      position: relative;
      background-attachment: fixed;
      background-size: 100% 100% !important;
      border: #c5c5c5 solid 0.5px;

    }

    .cardVerso{
      margin-bottom: -7px;
      margin-left: 10px;
      
      width: 9cm;
      height: 6cm;
      position: relative;
      background-attachment: fixed;
      background-size: 100% 100% !important;

    }
    


    .td_indicator0{
      background: #271b1bff;
    }

    .td_indicator1{
      background: #21291eff;
    }
    .tr_head{
      background: rgb(122, 135, 77);
    }

    .detail_text{
      color: rgb(92, 90, 61);
      font-size: 9px;
    }

    .td_selected{
      background: rgb(0, 0, 0);
    }

    .minibox{
      display: flex;
      justify-content: center;
      align-items: center;
      
    }

    .zArea{
      width: 50%;
      
    }

    .zinput{
      width: 60%;
      
    }
    .zradio{
      width: 40%;
      
    }

    
 /* Le pied de page pour l'affichage normal (non-imprimé) */
 #footerPrinted {
  display: none;
}
#topPrinted {
  display: none;
}

/* ÉCRAN */
.print-header,
.print-footer {
  display: block;
}

/* IMPRESSION */
@media print {
  @page {
    margin: 100px 50px;
  }

  body {
    margin: 0;
  }

  .print-header {
    position: fixed;
    top: -80px;
    left: 0;
    right: 0;
    height: 60px;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid #ccc;
  }

  .print-footer {
    position: fixed;
    bottom: -60px;
    left: 0;
    right: 0;
    height: 40px;
    text-align: center;
    font-size: 12px;
    border-top: 1px solid #ccc;
  }

  .content {
    width: 100%;
  }

  .page {
    page-break-after: always;
  }

  .page:last-child {
    page-break-after: auto;
  }

  /* Numérotation automatique */
  .pageNumber::after {
    content: counter(page);
  }
}


.spanBox {
  width: 15%;
  height: 100px;
  padding: 5px;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 2px;
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 500;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(5px);
}

.selected_option{
  color:var(--indic-color);
  background: var(--indic-background);
  border: 1px solid var(--indic-border);
  border-radius: var(--radius-sm);
}
.infosM{
  font-size: 22px;
  color: var(--text-primary);
  font-weight: 600;
  text-align: center;
}



.spanBoxTD {
  width: 100%;
  border-radius: var(--radius-sm);
  min-height: 45px;
  padding: 5px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 2px;
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 500;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(5px);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
}

/* Effet de brillance au survol */
.spanBox::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 70%
  );
  transform: rotate(25deg);
  transition: all 0.6s ease;
  opacity: 0;
  pointer-events: none;
}

.spanBox:hover::before {
  opacity: 1;
  transform: rotate(25deg) translateX(50%);
}

/* Effet ripple au clic */
.spanBox::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
  pointer-events: none;
}

.spanBox:active::after {
  width: 300px;
  height: 300px;
}

.spanBox:hover {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.15) 0%, rgba(6, 182, 212, 0.08) 100%);
  color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: var(--accent-primary);
}

.spanBox:active {
  transform: translateY(2px);
  box-shadow: var(--shadow-sm);
}

.spanBox:hover i {
  font-size: 28px;
  transition: all 0.3s ease;
}

/* ========== SPANBOX TRANSP ========== */
.spanBoxTransp {
  width: 15%;
  height: 100px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 2px;
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 500;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

/* Effet de brillance pour transp */
.spanBoxTransp::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 70%
  );
  transform: rotate(25deg);
  transition: all 0.6s ease;
  opacity: 0;
  pointer-events: none;
}

.spanBoxTransp:hover::before {
  opacity: 1;
  transform: rotate(25deg) translateX(50%);
}

/* Effet ripple pour transp */
.spanBoxTransp::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
  pointer-events: none;
}

.spanBoxTransp:active::after {
  width: 300px;
  height: 300px;
}

.spanBoxTransp:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: var(--accent-primary);
  backdrop-filter: blur(12px);
}

.spanBoxTransp:active {
  transform: translateY(2px);
  box-shadow: var(--shadow-sm);
}

.spanBoxTransp:hover i {
  font-size: 28px;
  transition: all 0.3s ease;
}

/* Variante avec glow externe */
.spanBox-glow {
  animation: spanGlow 2.5s ease-in-out infinite;
}

@keyframes spanGlow {
  0%, 100% {
    box-shadow: var(--shadow-sm);
  }
  50% {
    box-shadow: var(--shadow-glow);
  }
}

/* Contenu interne amélioré */
.spanBox i,
.spanBoxTransp i {
  font-size: 24px;
  margin-bottom: 5px;
  display: block;
  transition: all 0.3s ease;
}

.spanBox span,
.spanBoxTransp span {
  display: block;
  font-size: 12px;
  margin-top: 5px;
  opacity: 0.9;
}

/* Responsive - sans casser les tailles */
@media screen and (max-width: 1200px) {
  .spanBox, .spanBoxTransp {
    width: 18%;
  }
}

@media screen and (max-width: 992px) {
  .spanBox, .spanBoxTransp {
    width: 22%;
  }
}

@media screen and (max-width: 768px) {
  .spanBox, .spanBoxTransp {
    width: 30%;
    height: 90px;
  }
  
  .spanBox i,
  .spanBoxTransp i {
    font-size: 20px;
  }
  
  .spanBox:hover i,
  .spanBoxTransp:hover i {
    font-size: 24px;
  }
}

@media screen and (max-width: 480px) {
  .spanBox, .spanBoxTransp {
    width: 30%;
    height: 85px;
  }
}

/* Support pour ordinateur de bureau haute résolution */
@media screen and (min-width: 1600px) {
  .spanBox, .spanBoxTransp {
    height: 110px;
  }
  
  .spanBox i,
  .spanBoxTransp i {
    font-size: 28px;
  }
}

.sidebarX {
  width: 25%;
  height: 100vh;
  padding: 10px;
  text-align: left;
  font-size: small;
  position: fixed;
  z-index: 999999; /* Valeur très élevée */
  background: var(--bg-tertiary);
  border-right: 1px solid var(--border-light);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--text-primary);
  pointer-events: auto; /* Conserve l'interactivité */
  isolation: isolate; /* Crée son propre contexte d'empilement */
}

.sugestionBox {
  width: 100%;
  height:auto;
  padding: 5px;
  text-align: left;
  background: #0c0701d0;
  position: absolute;
  z-index: 99999;
  transform: translateY(-10px);
  font-size: 15px;
  
}

.sugestionElem {
  margin-bottom: 3px;
  padding: 5px;
  background-color: #00000093;
  border-bottom: #3b3a3a solid 0.5px;
  color: #f3faf2;
  text-align: left;
  transition: all 0.5s;
  width: 100%;
  cursor: pointer;
}

.sugestionElem:hover {
  background-color: #02302383;
  color: #d0fbcb;
}

#search_tab_{
  display: none;
}

/* Media query pour les écrans plus petits */
@media only screen and (max-width: 900px) {
  .spanBox {
  width: 22%;
  height: 80px;
  }
  .spanBoxTransp {
  width: 22%;
  height: 80px;
  }
  .sidebarX {
  width: 40%;
  }



#product_area{
      position: relative;
      width: 100%;
      height: 100%;
      
}

#side_area{
      
      width: 100%;
      height: 100%;
      border-left: #707070 solid 0px;
      border-bottom: #707070 solid 1px;
      position: relative;
      z-index: 111111111;
      
    }
#ticket_area{
      position: relative;
      width: 100%;
      height: 100%;
}
#body_ticket_area{
      position: relative;
      width: 100%;
      height: 50%;
    }

#bottom_ticket_area{
      position: relative;
      width: 100%;
      height: 50%;
      background: #090a06;
    }





    

}

@media only screen and (max-width: 600px) {
  .spanBox {
  width: 30%;
  height: 80px;
  }
  .spanBoxTransp {
  width: 22%;
  height: 80px;
  }
  .sidebarX {
  width: 60%;
  }

  

    
}

.spanBoxL {
  width: 100%;
  height: 45px;
  padding: 5px;
  background-color: #000000;
  color: #fff;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.5s ease;
  margin: 2px;
  overflow: auto;
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
  text-align: center;
  
}

.spanBoxL:hover {
  background-color: #272727;
}

.bigShowX {
  width: 98%;
  height: 100vh;
  padding-right: 50px;
  padding-left: 10px;
  text-align: left;
  font-size: small;
  position: fixed;
  z-index: 10011;
  background: var(--bg-secondary);  
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--border-light);
  color: var(--text-primary);
  overflow-y: auto;
  display: flex;
}

.bodyRap {
  padding: 20px;
  width: 100%;
  background: transparent;
  color: var(--text-primary);
  box-shadow: none;
  overflow-y: auto;
  overflow-x: hidden;
  text-align: left;
}

#rapCommentBox {
  display: block;
  justify-content: left;
  text-align: left;
}

#rapCommentBoxList {
  display: block;
  justify-content: left;
  text-align: left;
}

#closeBig {
  position: relative;
  right: 20px;
}

.bodyResRap {
  padding: 5px;
  padding-left: 30px;
  background: transparent;
  color: var(--text-primary);
  box-shadow: none;
  max-height: 50vh;
  overflow-y: auto;
}

#rapReply {
  padding: 5px;
  box-shadow: none;
  height: 80px;
  max-height: 50vh;
  overflow-y: auto;
}

.sidebar {
  width: 20%;
  height: 100vh;
  padding: 2px;
  text-align: left;
  font-size: small;
  position: relative;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-light);
}

.sidebarHead {
  width: 100%;
  height: auto;
  padding: 12px;
  text-align: center;
  font-size: small;
  position: relative;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  margin: 5px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.15), rgba(6, 182, 212, 0.08));
  border-radius: var(--radius-sm);
}

.sidebarContent {
  width: 100%;
  height: 89vh;
  padding: 15px;
  padding-top: 25px;
  text-align: left;
  font-size: small;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  background: transparent;
}

.iconBg {
  font-size: 25px;
}

.sidebarMediumTop {
  width: 100%;
  height: 45vh;
  padding: 15px;
  padding-bottom: 25px;
  text-align: left;
  font-size: small;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.sidebarMediumBottom {
  width: 100%;
  height: 54vh;
  padding: 15px;
  padding-top: 25px;
  text-align: left;
  font-size: small;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.mainSection {
  width: 99%;
  height: auto;
  color: var(--text-primary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(5px);
  padding: 15px;
  margin-top: 5px;
  border-radius: var(--radius-md);
  text-align: center;
  font-size: small;
  position: relative;
  overflow: hidden;
  overflow-x: hidden;
  overflow-y: auto;
}

.mainSectionX {
  width: 100%;
  left: 0px;
  height: 90vh;
  background: var(--bg-main);
  color: var(--text-primary);
  margin-top: 10px;
  border-radius: var(--radius-md);
  text-align: center;
  font-size: small;
  position: fixed;
  overflow: hidden;
  overflow-x: hidden;
  overflow-y: auto;
  display: block;
  justify-content: center;
  align-items: center;
  
  padding: 3px;
  padding-bottom: 25px;
  
}

#mainSectionH {
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 25px;
  gap: 6px;
}
#mainSectionB {
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 25px;
  gap: 6px;
}

.mainSectionLarge {
  width: 980%;
  height: auto;
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  margin: 5px;
  border-radius: var(--radius-lg);
  padding: 15px;
  padding-top: 20px;
  padding-bottom: 25px;
  text-align: center;
  font-size: small;
  position: relative;
  overflow: hidden;
  overflow-x: hidden;
  overflow-y: auto;
}

.mainSectionBottom {
  background: var(--bg-main);
  width: 100%;
  height: 100%;
  left: 0px;
  color: var(--text-primary);
  margin-top: 5px;
  padding: 5px;
  text-align: left;
  font-size: small;
  position: fixed;
  overflow-x: hidden;
  overflow-y: hidden;
}

#tabArea {
  width: 100%;
  height: auto;
  text-align: left;
  font-size: small;
  position: relative;
  overflow: auto;
  padding-bottom: 50px;
}
#static_area {
  width: 100%;
  max-height: 20%;
  overflow: auto;
}
#trieArea {
  width: 100%;
  max-height: 170px;
  overflow-x: auto;
  overflow-y: hidden;
}

.specialInput{
  position: relative;
  transform: translateY(-35px);
}

.specialInput:hover{
  position: relative;
  transform: translateY(-35px);
}

#staticTabHead {
  width: 100%;
  max-height: 150px;
  overflow-x: auto;
  overflow-y: hidden;
}

.mainSectionHead {
  width: 100%;
  height: 7vh;
  position: fixed;
  position: -webkit-sticky;
  top: 0;
  color: var(--accent-primary);
  padding: 5px;
  text-align: center;
  font-size: small;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: var(--bg-main);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.headBig {
  width: 100%;
  height: auto;
  position: sticky;
  position: -webkit-sticky;
  top: 0;

  color: rgb(253, 236, 174);
  
  padding: 5px;

  text-align: center;
  font-size: small;
  cursor: pointer;
  transition: background-color 0.3s ease;
  
  display: flex;
  justify-content: space-between;
  align-items: center;

  z-index: 10005;
  background: #0000003b;
}

.flexBox{
  padding: 10px;
  border-radius: 5px;
}



.BigShow {
  width: 100%;
  max-width: 21cm;
}

.mainSectionFooter {
  width: 100%;
  height:3vh;
  color:rgb(49, 50, 32);
  margin-top: 2px;
  padding: 5px;
  border-radius: 2px;
  text-align: center;
  font-size: small;
  position: fixed;
  bottom: 5px;
  left: 0%;
  
}


.sidebarR {
  width: 20%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.99), rgba(57, 23, 0, 100), rgba(1, 3, 3, 0.99));
  padding: 10px;
  padding: 10px;
  padding-top:20px;
  background: url("/static/res/bg-02.png") 0px 0px;
  background-size: 100% 100%;
  
}

.sidebarRBIG {
  width: 30%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.99), rgba(57, 23, 0, 100), rgba(1, 3, 3, 0.99));
  padding: 10px;
  padding: 10px;
  padding-top:20px;
  background: url("/static/res/bg-02.png") 0px 0px;
  background-size: 100% 100%;
}

.content {
  flex-grow: 1;
  margin-left: 0px;
  width: 60%;
  
}

.tableNoborder{
  border:none;
}

textarea {
  resize: none; /* Disable resizing */
  border: none; /* Remove border */
  outline: none; /* Remove outline */
  /* Additional styling as needed */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 15px;
  border-radius: 5px;
  width: 98%;
  max-height: 300px;
  padding: 5px;
  margin: 2px;
  
  /*box-shadow: 2px 2px 20px rgba(206, 206, 206, 0.6);*/

  border-bottom: 1.5px solid #5c593b;
  background-color: #231f1a;
  color: #fdf5df;
}

.Text_input_standar {
  resize: none; /* Disable resizing */
  border: none; /* Remove border */
  outline: none; /* Remove outline */
  /* Additional styling as needed */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 15px;
  border-radius: 5px;
  width: 98%;
  max-height: 300px;
  height: 180px;
  padding: 5px;
  margin: 2px;
  
  /*box-shadow: 2px 2px 20px rgba(206, 206, 206, 0.6);*/

  border-bottom: 1.5px solid #505c3b;
  background-color: #231f1a;
  color: #fdf5df;
}





/* Container de la table avec effet glassmorphisme */
.table-container {
  position: relative;
  background: var(--bg-tertiary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 5px;
  box-shadow: var(--shadow-md);
  overflow-x: auto;
  border: 1px solid var(--border-light);
}

/* Table principale */
table {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 13px;
  border-radius: var(--radius-sm);
  width: 100%;
  border: none;
  color: var(--text-primary);
  text-align: left;
  margin-bottom: 3px;
  border-collapse: collapse;
  overflow: hidden;
  background: transparent;
}

/* Lignes normales avec alternance */
tr {
  font-size: 13px;
  width: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

/* Alternance maintenue sur mobile */
tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

tr:nth-child(odd) {
  background: transparent;
  color: var(--text-primary);
}

/* Style spécifique pour trImportant - écrase l'alternance */
tr.trImportant {
  background: linear-gradient(90deg, rgba(13, 148, 136, 0.15), rgba(13, 148, 136, 0.05)) !important;
  position: relative;
}

tr.trImportant td {
  font-weight: 500;
}

tr.trImportant::after {
  content: '★';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-primary);
  font-size: 10px;
  opacity: 0.8;
  z-index: 1;
}

tr.trImportant td:first-child {
  padding-left: 28px;
}

/* Effet de ligne animée au survol - CORRIGÉ */
tr::before {
  content: none !important; /* Désactive complètement */
  display: none !important;
}

/* Effet hover via background directement */
tr:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--accent-primary);
  transform: translateX(2px);
  box-shadow: var(--shadow-sm);
}

/* En-têtes professionnels */
th {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 14px 12px;
  color:var(--indic-color);
  background-color: var(--indic-background);
  border: 1px solid var(--indic-border);
  position: relative;
  border-bottom: 2px solid var(--border-light);
}

/* Effet de glow sur les en-têtes - CORRIGÉ */
th::after {
  content: none !important; /* Désactive complètement */
  display: none !important;
}

/* Nouvel effet hover pour th sans pseudo-élément */
th:hover {
  border-bottom-color: var(--accent-primary);
  transition: border-bottom-color 0.3s ease;
}

/* Cellules avec polices pro */
td {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 400;
  padding: 12px 12px;
  border: none;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.2s ease;
  line-height: 1.5;
}

/* Animation d'entrée des lignes */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-15px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

tr {
  animation: slideInFromLeft 0.25s ease backwards;
}

/* Délais d'animation progressifs */
tr:nth-child(1) { animation-delay: 0.02s; }
tr:nth-child(2) { animation-delay: 0.04s; }
tr:nth-child(3) { animation-delay: 0.06s; }
tr:nth-child(4) { animation-delay: 0.08s; }
tr:nth-child(5) { animation-delay: 0.10s; }
tr:nth-child(6) { animation-delay: 0.12s; }
tr:nth-child(7) { animation-delay: 0.14s; }
tr:nth-child(8) { animation-delay: 0.16s; }
tr:nth-child(9) { animation-delay: 0.18s; }
tr:nth-child(10) { animation-delay: 0.20s; }

/* Padding cohérent pour cellules */
td:first-child,
th:first-child {
  padding-left: 16px;
}

td:last-child,
th:last-child {
  padding-right: 16px;
}

/* Effet de survol sur les cellules */
td:hover {
  color: var(--indic-color);
  text-shadow: 0 0 4px rgba(212, 187, 45, 0.2);
}

/* Scrollbar moderne */
.table-container::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

.table-container::-webkit-scrollbar-track {
  background: var(--bg-primary);
  border-radius: 10px;
}

.table-container::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 10px;
}

.table-container::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

/* Badges professionnels */
.table-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--accent-primary);
  border: 1px solid rgba(45, 212, 191, 0.3);
  background: rgba(13, 148, 136, 0.1);
  transition: all 0.2s ease;
}

.table-badge:hover {
  background: rgba(13, 148, 136, 0.2);
  transform: scale(1.02);
}

/* Animation de pulsation pour les lignes importantes */
@keyframes gentlePulse {
  0%, 100% {
    background: linear-gradient(90deg, rgba(13, 148, 136, 0.15), rgba(13, 148, 136, 0.05));
  }
  50% {
    background: linear-gradient(90deg, rgba(13, 148, 136, 0.22), rgba(13, 148, 136, 0.12));
  }
}

tr.trImportant {
  animation: gentlePulse 3s ease-in-out infinite !important;
}

/* Responsive */
@media screen and (max-width: 768px) {
  table {
    font-size: 11px;
  }
  
  th, td {
    padding: 8px 8px;
  }
  
  th {
    font-size: 10px;
    letter-spacing: 0.5px;
  }
  
  td {
    font-size: 11px;
  }
  
  .table-badge {
    padding: 2px 6px;
    font-size: 9px;
  }
  
  /* Alternance maintenue sur mobile */
  tr:nth-child(even) {
    background: rgba(18, 12, 7, 0.574);
    color: var(--indic-clear);
  }
  
  tr:nth-child(odd) {
    background: transparent;
    color: var(--text-primary);
  }
}

/* Version compacte */
.table-compact td,
.table-compact th {
  padding: 8px 10px;
}

.table-compact td {
  font-size: 12px;
}

/* Lignes sélectionnées */
tr.selected {
  color:var(--indic-color);
  background-color: var(--indic-background);
  border: 1px solid var(--indic-border);
  
}
tr.hover {
  color:var(--indic-color);
  background-color: var(--indic-background);
  border: 1px solid var(--indic-border);
  
}

tr.selected td:first-child {
  padding-left: 13px;
}

/* Texte professionnel pour les nombres */
td.number-cell {
  font-family: 'JetBrains Mono', 'SF Mono', 'Roboto Mono', monospace;
  font-weight: 500;
  text-align: right;
}

/* Correction supplémentaire pour éviter tout pseudo-élément indésirable */
table th::before,
table th::after,
table td::before,
table td::after,
table tr::before,
table tr::after {
  content: none !important;
  display: none !important;
}

.clearColor{
  color: #ffe173;
}

.importantColor{
  color: #82796d;

}

.important{
  font-size: 22px;
  font-weight: bold;
}

.max_important{
  font-size: 22px;
  font-weight: 500;
}

.Designelem{
  border-radius: 10px;
  padding: 10px;
  margin: 5px;
  border: none;
  background: rgba(0, 0, 0, 0.292);
  color: #989587;
}

.cardDesign{
  height: 170px;
  border-radius: 20px;
  padding: 10px;
  margin: 5px;
  border: none;
  background: rgba(0, 0, 0, 0.249);
  color: #989587;
  
}
.cardDesignVerso{
  height: 170px;
  border-radius: 20px;
  padding: 10px;
  margin: 5px;
  border: none;
  background: rgba(0, 0, 0, 0.274);
  color: #d4d4d4;
  
}

.body {
  font-family: Arial, sans-serif;
  background-color: #18191a;
  margin: auto;
  height: 100vh; /* Make sure the body fills the entire viewport height */
  display: flex; /* Use flexbox for easy centering */
  justify-content: center; /* Center content horizontally */
  align-items: center; /* Center content vertically */
  overflow-x: hidden;
  overflow-y: hidden;
  text-align: center;
  color: #ffefc8;
}

.container {
  width: 500px;
  max-width: 100%;
  margin: 5px;
  padding: 10px;
  background-color: #1d1d1d5f;
  border-radius: 5px;
  
}

.box_select_time {
  width: 300px;
  margin: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.select_time {
  width: 31%;
  margin: 5px;
 
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  
}

.input-group {
  position: relative;
  margin-bottom: 8px;
}



.box_Count {
  position: absolute;
  font-size: 16px;
  padding: 1px;
  width: 20px;
  height: 20px;
  background-color: #fe5f43;
  border-radius: 100%;
  font-size: 11px;
  font-weight: bold;
  z-index: 1111;
  box-shadow: 0 1px 3px rgba(43, 19, 19, 0.8);
  top: 5px;
  left:5px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: pulse 2s infinite;
  
}

/* Définition de l'animation du cœur */
@keyframes heartbeat {
  /* Premier battement */
  0%, 10% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.2);
  }
  18%, 24% {
    transform: scale(1);
  }
  28% {
    transform: scale(1.2);
  }
  32%, 40% {
    transform: scale(1);
  }
  
  /* Pause de 3 secondes (de 40% à 100%) */
  100% {
    transform: scale(1);
  }
}

/* Définition de l'animation */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}



label {
  position: absolute;
  top: 60%;
  left: 10px;
  transform: translateY(-60%);
  color: #74b7ab;
  transition: all 0.3s ease;
  pointer-events: none;
  font-size: 10px;
}

input:focus + label,
input:valid + label {
  top: 0;
  font-size: 10px;
  color: #f9fecc;
  background-color: #171611;
  padding: 2px;
  border-radius: 5px;
}

.idicator0 {
  top: 0;
  font-size: 13px;
  color:var(--indic-red);
  background-color: var(--indic-background-red);
  border: 1px solid var(--indic-border-red);
  padding: 4px 8px;
  border-radius: 20px;
  transform: translateY(0%);
  margin-left: 1px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  font-weight: 600;
}

.idicator1 {
  top: 0;
  font-size: 13px;
  color:var(--indic-green);
  background-color: var(--indic-background-green);
  border: 1px solid var(--indic-border-green);
  padding: 4px 8px;
  border-radius: 20px;
  transform: translateY(0%);
  margin-left: 1px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  font-weight: 600;
}

.idicator {
  top: 0;
  font-size: 13px;
  color:var(--indic-color);
  background-color: var(--indic-background);
  border: 1px solid var(--indic-border);
  padding: 4px 8px;
  border-radius: 20px;
  transform: translateY(0%);
  margin-left: 1px;
  margin-right: 3px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  font-weight: 600;
}

/* Container principal pour les radios */
.mainRadioBox {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 98%;
  gap: 15px;
 
  background: rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  flex-wrap: wrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.radioBox {
  margin: 5px;
  background: rgba(0, 0, 0, 0.4);
  padding: 5px;
  border-radius: 14px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  min-width: 100px;
}

.radioBox:hover {
  background: rgba(255, 200, 50, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 200, 50, 0.3);
}

/* Style pour les labels - EN BAS */
.radioBox span,
.radioBox .radioLabel {
  cursor: pointer;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  transition: color 0.2s ease;
  text-align: center;
  margin-top: 5px;
}

.radioBox:hover span,
.radioBox:hover .radioLabel {
  color: #ffd966;
}

/* Style pour les inputs radio - EN HAUT - FORME RONDE */
.radioBox input[type="radio"],
.radioInput {
  appearance: none;
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  aspect-ratio: 1 / 1;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50% !important;
  margin: 0;
  padding: 0;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  display: block;
  flex-shrink: 0;
}

.radioBox input[type="radio"]:checked,
.radioInput:checked {
  border-color: #ffd966;
  background: #795c06;
  box-shadow: 0 0 8px rgba(255, 217, 102, 0.5);
}

input[type="radio"]{
  border-color: #2c2c2c;
  background: #1a1a1a;
  box-shadow: 0 0 8px rgba(82, 82, 82, 0.5);
  width: 30px;
  height: 30px;
}

input[type="radio"]:checked{
  border-color: #ffd966;
  background: #795c06;
  box-shadow: 0 0 8px rgba(255, 217, 102, 0.5);
}

.radioBox input[type="radio"]:checked::before,
.radioInput:checked::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: #1a1a1a;
  border-radius: 50%;
}

/* Style pour le label radio */
.radioLabel {
  font-size: 13px;
  margin-right: 2px;
  position: relative;
  vertical-align: middle;
  color: #ffffff;
}

/* Version compacte */
.radioBox-compact {
  padding: 12px;
  min-width: 80px;
}

.radioBox-compact .radioLabel,
.radioBox-compact span {
  font-size: 11px;
}

/* Version large */
.radioBox-large {
  padding: 18px;
  min-width: 120px;
}

.radioBox-large .radioLabel,
.radioBox-large span {
  font-size: 14px;
}

.radioBox-large input[type="radio"],
.radioBox-large .radioInput {
  width: 22px;
  height: 22px;
}

/* ========== CHECKBOX AVEC LABEL EN BAS - FORMES CARRÉES ========== */
.mainCheckBox {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 98%;
  gap: 15px;
  
  background: rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  flex-wrap: wrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.checkBox {
  margin: 5px;
  background: rgba(0, 0, 0, 0.4);
  padding: 15px;
  border-radius: 14px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  min-width: 100px;
}

.checkBox:hover {
  background: rgba(255, 200, 50, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 200, 50, 0.3);
}

/* Checkbox personnalisé - TOUJOURS CARRÉ */
.checkInput {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  aspect-ratio: 1 / 1;
  display: block;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 5px !important;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.checkInput:checked {
  background: #ffd966;
  border-color: #806104;
  box-shadow: 0 0 8px rgba(255, 217, 102, 0.5);
}

.checkInput:checked::before {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #1a1a1a;
  font-size: 12px;
  font-weight: bold;
}

/* Label EN BAS pour checkbox */
.checkLabel {
  position: relative;
  vertical-align: middle;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
  transition: color 0.2s ease;
  text-align: center;
  margin-top: 5px;
}

.checkBox:hover .checkLabel {
  color: #ffd966;
}

/* Groupe de checkboxes version horizontale */
.checkGroup {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 16px;
}

.checkGroup .checkBox {
  width: 30%;
  justify-content: flex-start;
  flex-direction: row;
  gap: 15px;
}

.checkGroup .checkLabel {
  margin-top: 0;
}

/* ========== RESPONSIVE - RANGÉES DE 3 SUR MOBILE ========== */
@media screen and (max-width: 900px) {
  .mainRadioBox,
  .mainCheckBox {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: row;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }
  .radioBox,
  .checkBox {
    margin: 0;
    width: auto;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px 8px;
  }
  .radioBox span,
  .radioBox .radioLabel,
  .checkLabel {
    font-size: 11px;
  }
  .radioBox input[type="radio"],
  .radioInput,
  .checkInput {
    width: 18px;
    height: 18px;
  }
}

@media screen and (max-width: 480px) {
  .mainRadioBox,
  .mainCheckBox {
    gap: 8px;
    padding: 10px;
  }
  
  .radioBox,
  .checkBox {
    padding: 10px 6px;
  }
  
  .radioBox span,
  .radioBox .radioLabel,
  .checkLabel {
    font-size: 10px;
  }
  
  .radioBox input[type="radio"],
  .radioInput,
  .checkInput {
    width: 16px;
    height: 16px;
  }
}

/* Pour les écrans très petits - garder 3 colonnes */
@media screen and (max-width: 380px) {
  .mainRadioBox,
  .mainCheckBox {
    gap: 6px;
  }
  
  .radioBox span,
  .radioBox .radioLabel,
  .checkLabel {
    font-size: 9px;
  }
  
  .radioBox,
  .checkBox {
    padding: 8px 4px;
  }
}

/* Version verticale pour usage spécifique */
.mainRadioBox-vertical {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.mainRadioBox-vertical .radioBox {
  width: 100%;
  justify-content: flex-start;
  flex-direction: row;
}

.mainRadioBox-vertical .radioBox span,
.mainRadioBox-vertical .radioBox .radioLabel {
  margin-top: 0;
  margin-left: 10px;
}

/* Animation d'entrée */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.radioBox, .checkBox {
  animation: fadeInUp 0.2s ease backwards;
}

.radioBox:nth-child(1), .checkBox:nth-child(1) { animation-delay: 0.03s; }
.radioBox:nth-child(2), .checkBox:nth-child(2) { animation-delay: 0.06s; }
.radioBox:nth-child(3), .checkBox:nth-child(3) { animation-delay: 0.09s; }
.radioBox:nth-child(4), .checkBox:nth-child(4) { animation-delay: 0.12s; }
.radioBox:nth-child(5), .checkBox:nth-child(5) { animation-delay: 0.15s; }
.radioBox:nth-child(6), .checkBox:nth-child(6) { animation-delay: 0.18s; }

/* Classes supplémentaires pour compatibilité */
.radioInput {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50% !important;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.radioInput:checked {
  border-color: #ffd966;
  background: #6b5207;
  box-shadow: 0 0 8px rgba(255, 217, 102, 0.5);
}

.radioInput:checked::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: #1a1a1a;
  border-radius: 50%;
}

.radioLabel {
  font-size: 13px;
  margin-right: 2px;
  position: relative;
  vertical-align: middle;
  color: #ffffff;
}

/* Force les radios à être rondes */
input[type="radio"],
.radioInput {
  border-radius: 50% !important;
}

/* Force les checkboxes à être carrées */
input[type="checkbox"],
.checkInput {
  border-radius: 5px !important;
}

.total_down{
  margin:5px;
  width: 100%;
  max-width: 16cm;
  background:rgba(8, 7, 5, 0.68);
  padding:3px;
  border-radius:10px;
  position: relative;
  float: right;
  margin-bottom: 40px;
  
}

.infos_line_up{
  margin-top:80px;
  width: 100%;
  background:rgba(9, 11, 10, 0.629);
  padding:3px;
  border-radius:10px;
  text-align: left;
  align-items:start; 
  justify-items:left;
  
}

.amount_total_down_title{
  font-size: 16px;
  font-weight: 500;
  color: #82796d;
  text-align: left;

  align-items:start; 
  justify-items:left;
  
}
.amount_total_down{
  font-size: 25px;
  font-weight: 500;
  color: #ffe173;
  text-align: right;
  
  align-items:end; 
  justify-items:right;
  
}


.rangeMiddle{
  display:inline-block;
  position: relative;
  vertical-align:middle;
  cursor: pointer;
}

.rangeTop{
  display:inline-block;
  position: relative;
  vertical-align:top;
  cursor: pointer;
}

.greyMini{
  color: #888;
  font-size: 10px;
  cursor: pointer;
}

.greyName{
  color: #fbecbb;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.imgName{
  color: #fbecbb;
  font-size: 30px;
  font-weight: 500;
  cursor: pointer;
}

.labelEtiquette {
  position: absolute;
  top: 60%;
  left: 10px;
  transform: translateY(-60%);
  color: #ccf3ec;
  transition: all 0.3s ease;
  pointer-events: none;
  font-size: 13px;
}

span{
  cursor: pointer;
  padding: 3px;
  margin: 2px;
  transition: all 0.5s;
}

span:hover{
  color: #f7ffab;
}

/* Style de base pour tous les boutons */
button,
.spanbutton,
.btShort {
  position: relative;
  font-family: 'Inter', 'Segoe UI', 'Roboto', system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

/* Effet de brillance au survol */
button::after,
.spanbutton::after,
.btShort::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  transform: rotate(25deg);
  transition: all 0.5s ease;
  opacity: 0;
  pointer-events: none;
}

button:hover::after,
.spanbutton:hover::after,
.btShort:hover::after {
  opacity: 1;
  transform: rotate(25deg) translateX(50%);
}

/* ========== SPAN BUTTON ULTRA MODERNE ========== */
.spanbutton {
  width: 98%;
  height: 52px;
  padding: 0 24px;
  background: linear-gradient(135deg, #141414 0%, #0a0a0a 100%);
  color: #fff1c6;
  border-radius: 16px;
  margin: 8px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 217, 102, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border: none;
}

.spanbutton:hover {
  background: linear-gradient(135deg, #142b2b 0%, #060e0f 100%);
  color: #c2fcfa;
  transform: translateY(-3px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 217, 102, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.spanbutton:active {
  transform: translateY(2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 217, 102, 0.2);
}

/* ========== BUTTON STANDARD AVEC OMBRE PROFONDE ========== */

button {
  width: 98%;
  height: 50px;
  background: linear-gradient(135deg, #0c1a1a 0%, #060e0f 100%);
  color: #e3fbfa;
  border-radius: 14px;
  margin: 10px 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(234, 255, 166, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

button:hover {
  background: linear-gradient(135deg, #142b2b 0%, #060e0f 100%);
  color: #c2fcfa;
  transform: translateY(-3px);
  box-shadow: 0 15px 28px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(166, 251, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

button:active {
  transform: translateY(1px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(166, 255, 249, 0.2);
}

/* ========== SHORT BUTTON MODERNE ========== */
.btShort {
  width: auto;
  min-width: 130px;
  height: 46px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #0c1a1a 0%, #060e0f 100%);
  color: #e3fbfa;
  border-radius: 12px;
  margin: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(234, 255, 166, 0.15);
  white-space: nowrap;
}

.btShort:hover {
  background: linear-gradient(135deg, #142b2b 0%, #060e0f 100%);
  color: #c2fcfa;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(234, 255, 166, 0.3);
}

.btShort:active {
  transform: translateY(1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* ========== EFFET GLOW MODERNE ========== */
.glow-button {
  animation: glowPulse 2.5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 217, 102, 0.2), 0 0 0 0 rgba(255, 217, 102, 0);
  }
  50% {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 217, 102, 0.4), 0 0 20px 5px rgba(255, 217, 102, 0.3);
  }
}

/* ========== VARIANTES MODERNES ========== */

/* Bouton primaire (action principale) avec glow jaune */
.btn-primary {
  background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
  color: #1a1a1a;
  box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3), 0 0 0 1px rgba(255, 193, 7, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffd54f 0%, #ffc107 100%);
  color: #000000;
  box-shadow: 0 15px 30px rgba(255, 193, 7, 0.4), 0 0 0 1px rgba(255, 193, 7, 0.6);
  transform: translateY(-3px);
}

/* Bouton secondaire */
.btn-secondary {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Bouton danger */
.btn-danger {
  background: linear-gradient(135deg, #8b0000 0%, #5c0000 100%);
  box-shadow: 0 8px 18px rgba(139, 0, 0, 0.3), 0 0 0 1px rgba(255, 0, 0, 0.2);
}

.btn-danger:hover {
  background: linear-gradient(135deg, #a00000 0%, #8b0000 100%);
  box-shadow: 0 12px 24px rgba(139, 0, 0, 0.4), 0 0 0 1px rgba(255, 0, 0, 0.3);
}

/* Bouton success */
.btn-success {
  background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
  box-shadow: 0 8px 18px rgba(46, 125, 50, 0.3), 0 0 0 1px rgba(76, 175, 80, 0.3);
}

.btn-success:hover {
  background: linear-gradient(135deg, #388e3c 0%, #2e7d32 100%);
  box-shadow: 0 12px 24px rgba(46, 125, 50, 0.4), 0 0 0 1px rgba(76, 175, 80, 0.4);
}

/* Bouton outline moderne */
.btn-outline {
  background: transparent;
  box-shadow: 0 0 0 1.5px #ffd966, 0 4px 12px rgba(0, 0, 0, 0.3);
  color: #ffd966;
}

.btn-outline:hover {
  background: rgba(255, 217, 102, 0.1);
  box-shadow: 0 0 0 2px #ffea9e, 0 8px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

/* Bouton avec icône */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.btn-icon:hover svg {
  transform: scale(1.1);
}

/* Bouton 3D */
.btn-3d {
  box-shadow: 0 8px 0 #0a0a0a, 0 8px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
}

.btn-3d:active {
  transform: translateY(4px);
  box-shadow: 0 4px 0 #0a0a0a, 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Bouton avec effet de verre */
.btn-glass {
  background: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.btn-glass:hover {
  background: rgba(30, 30, 30, 0.8);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Bouton avec ombre interne */
.btn-inset {
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3), 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-inset:active {
  box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.4), 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Groupe de boutons moderne */
.button-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  padding: 10px;
}

.button-group .btShort,
.button-group button {
  flex: 1;
  min-width: 120px;
}

/* État désactivé */
button:disabled,
.spanbutton:disabled,
.btShort:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  filter: grayscale(0.2);
}

/* Focus visible moderne */
button:focus-visible,
.spanbutton:focus-visible,
.btShort:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 217, 102, 0.5), 0 0 0 6px rgba(0, 0, 0, 0.3);
}

/* Animation de chargement */
.btn-loading {
  position: relative;
  color: transparent !important;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  top: 50%;
  left: 50%;
  margin: -11px 0 0 -11px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top: 2px solid #ffd966;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  box-shadow: 0 0 5px rgba(255, 217, 102, 0.5);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media screen and (max-width: 768px) {
  button,
  .spanbutton {
    height: 46px;
    font-size: 13px;
  }
  
  .btShort {
    min-width: 100px;
    height: 42px;
    font-size: 12px;
    padding: 0 20px;
  }
  
  .button-group {
    gap: 10px;
  }
}

@media screen and (max-width: 480px) {
  .button-group {
    flex-direction: column;
    width: 100%;
  }
  
  .button-group .btShort,
  .button-group button {
    width: 100%;
  }
  
  .btShort {
    width: calc(100% - 12px);
    white-space: normal;
  }
}

/* Version large écran */
@media screen and (min-width: 1200px) {
  button,
  .spanbutton {
    height: 54px;
    font-size: 15px;
  }
  
  .btShort {
    height: 48px;
    font-size: 14px;
    padding: 0 32px;
  }
}



/*chat*/


.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  position: sticky;
  z-index: 1000;
}

.header h1 {
  font-size: 24px;
  color: #333;
}

.menu {
  position: relative;
}

#menu-options {
  position: absolute;
  top: 30px;
  right: -50px;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  display: none;
}

#menu-options li {
  list-style: none;
  padding: 5px 0;
  cursor: pointer;
}

.chat-container {
  width: 100%;
  max-width: 750px;
  margin: auto;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  height: 97vh; /* Utilisation de 80% de la hauteur de la fenêtre */
}

.chat-box {
  height: 90%; /* Utilisation de 70% de la hauteur du chat-container */
  overflow-y: auto;
  border-bottom: 1px solid #ccc;
}

.message {
  background-color: #ffffff;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 10px;
  border: 0px solid #ffffff;
  color:#d63c3c;
}
#result {
  background-color: #ffffff;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 10px;
  border: 0px solid #ffffff;
  color:#d63c3c;
}
#message-container{
  width: 100%;
  max-width: 750px;
  position: sticky;
  bottom: 5px;
  z-index: 1000;
  
  border-radius: 30px;
  background-color: #fbfbfc;
  /*border: 1px solid #ccc;*/
  box-shadow: #cfcfcf 1px 1px 5px;
}
#message-input {
  width: calc(100% - 90px);
  padding: 15px;
  border: 0px solid #ccc;
  
  vertical-align:middle;
  max-height: 100px;
  border-radius: 30px;
  background-color: #fbfbfc;
  /*border: 1px solid #ccc;
  box-shadow: #cfcfcf 1px 1px 5px;*/
  
}

.buttonChat {
  
  padding: 5px;
 
  cursor: pointer;
  vertical-align: middle;
  
  display: inline-block;
  
}


.imgLogoMini{
  vertical-align: middle;
  width: 15px;
  margin: 2px;
}
.imgLogoMiniName{
  vertical-align: middle;
  margin: 2px;
  font-size: small;
}
.imgLogo{
  vertical-align: middle;
  width: 30px;
  margin: 5px;
}

.imgLogoLarge{
  vertical-align: middle;
  width: 70px;
  margin: 5px;
}

.imgLogoVLarge{
  vertical-align: middle;
  width: 100px;
  margin: 5px;
}



#imagePreviewContainer {
  display: flex;
  flex-wrap: wrap;
}

.previewImage {
  width: 100px;
  height: 100px;
  margin: 5px;
}

.command_card_box {
    position: fixed; 
    top: 0px; 
    right: 40px;
    display: flex; 
    gap: 10px; 
    z-index: 1;
    color: #030303;
    background-color:var(--prod-info-bg);
      
    border-radius: 5px;
    padding: 5px;
}

.addFile {
  width: 45%;
  height: 90px;
  padding: 10px;
  background: #000000;
  background-size: 150px 90px;
  background-repeat: no-repeat;

  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
  display: inline-block; /* Use flexbox for easy centering */
  justify-content: center; /* Center content horizontally */
  align-items: center; /* Center content vertically */
  vertical-align: middle;
}

.addFile:hover {
  background-color: #3f3f3f;
}

.addFilePort {
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex; /* Use flexbox for easy centering */
  justify-content:space-between; /* Center content horizontally */
  align-items: center; /* Center content vertically */
}

.crBT{
  width: 100%;
  cursor: pointer;
  display: flex; /* Use flexbox for easy centering */
  justify-content: space-between; /* Center content horizontally */
  align-items: center; /* Center content vertically */

}

.chat-containerL {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  height: 97vh; /* Utilisation de 80% de la hauteur de la fenêtre */
}

#message-containerL{
  width: 100%;
  max-width: 1000px;
  position: sticky;
  bottom: 5px;
  z-index: 1000;
  
  border-radius: 30px;
  background-color: #fbfbfc;
  /*border: 1px solid #ccc;*/
  box-shadow: #cfcfcf 1px 1px 5px;
}
#message-inputL {
  width: calc(100% - 90px);
  padding: 15px;
  border: 0px solid #ccc;
  
  vertical-align:middle;
  max-height: 100px;
  border-radius: 30px;
  background-color: #fbfbfc;
  /*border: 1px solid #ccc;
  box-shadow: #cfcfcf 1px 1px 5px;*/
  
}

.buttonChatL {
  
  padding: 5px;
 
  cursor: pointer;
  vertical-align: middle;
  
  display: inline-block;
  
}
.eLEMENTPort {
  width: 98%;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex; /* Use flexbox for easy centering */
  justify-content:space-between; /* Center content horizontally */
  align-items: center; /* Center content vertically */
}

.eLEMENT {
  width: 45%;
  height: 90px;
  margin: 10px;
  padding: 10px;
  background: #f1f1f1;
  background-size: 150px 90px;
  background-repeat: no-repeat;

  color: #292929;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  display: inline-block; /* Use flexbox for easy centering */
  justify-content: center; /* Center content horizontally */
  align-items: center; /* Center content vertically */
  vertical-align: middle;
  border-radius: 5px;
  box-shadow: #cfcfcf 1px 1px 5px;
}

.addFile:hover {
  background-color: #3f3f3f;
}


.paiementMean {
  width: 100%;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex; /* Use flexbox for easy centering */
  justify-content:space-between; /* Center content horizontally */
  align-items: center; /* Center content vertically */
}
.HeLEMENTPort {
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex; /* Use flexbox for easy centering */
  justify-content:space-between; /* Center content horizontally */
  align-items: center; /* Center content vertically */
}
.HeLEMENT {
  width: 35%;
  padding: 10px;
  background: linear-gradient(135deg, rgba(107, 73, 30, 0.9), rgba(1, 9, 15, 0.9));
  
  color: #eeecec;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  display: inline-block; /* Use flexbox for easy centering */
  justify-content: center; /* Center content horizontally */
  align-items: center; /* Center content vertically */
  vertical-align: middle;
  border-radius: 0px;
  text-align: center;
  margin-bottom: 15px;
  border-radius:10px;
  /*box-shadow: #cfcfcf 1px 1px 5px;*/
}

.HeLEMENT:hover {
  background-color: #000000;
  color: #fff;
  box-shadow: 0 0 25px 3px rgba(155, 195, 255, 0.8);
  border-radius: 5px;
  border-bottom: 1px solid #93e2e7;
  border-left: 1px solid #93e2e7;
}
.HeLEMENT_active {
  background-color: #000000;
  color: #fff;
  box-shadow: 0 0 8px 3px rgba(164, 226, 255, 0.8);
  border-bottom: 1px solid #93e2e7;
  border-left: 1px solid #93e2e7;
  border-radius:5px;
}



#horaireBlock{
  text-align: center;
  color: #fff;
  padding: 10px;
}

#addWorkingState{
  font-size: x-large;
  background-color: #272727;
}

#welcomBox{
  text-align:center;
}


.myChat{
  width: fit-content;
  max-width:95%; 
  position:relative;
  margin-left:auto;
  margin-right:0;
  margin-top:10px;
  font-weight: 400;
  font-size: 15px;
}

.botChat{
  width: fit-content;
  max-width:95%; 
  position:relative;
  padding:1px;
  left:10px;
  margin-top:10px;
  font-size: 15px;
  /*font-weight: 400;*/
 
}
.messageElementTextBoxL{
  text-align: left;
  padding-left: 15px;

  box-shadow:3px 3px 6px #f1f1f1;
  width: fit-content;
  /*max-width:95%;*/
  
  position:relative;
  border-radius:20px 0px 20px 20px;
  background:#f5f1f7;
  color:#111111;
  padding:5px;
  margin-left:auto;
  margin-right:0;
  margin-top:0px;
  font-weight: 300;
}

.messageElementTextBoxR{
  text-align: left;
  padding-left: 15px;

  box-shadow:3px 3px 6px #f1f1f1;
  width: fit-content;
  max-width:95%; 
  position:relative;
  border-radius:0px 20px 20px 20px;
  background:#f5f5f5;
  color:#111111;
  padding:5px;
  left:10px;
  margin-top:0px;
  font-weight: 300;
}


/*body, html {
  height: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f0f0f0;
}*/

/*.chat-container {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}*/

.chat-bubble {
  width: 50px;
  height: 20px;
  background-color: #f0f0f0;
  border-radius: 25px;
  position: relative;
}

.typing-animation {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

.dot1 {
  width: 6px;
  height: 6px;
  background-color: #3e9b00;
  border-radius: 100%;
  display: inline-block;
  margin-right: 2px;
  transition: all 0.4;
  animation: dot-animation1 1s infinite;

}

.dot2 {
  width: 7px;
  height: 7px;
  background-color: #b40000;
  border-radius: 100%;
  display: inline-block;
  margin-right: 2px;
  transition: all 0.4;
  animation: dot-animation2 1s infinite;
}

.dot3 {
  width: 8px;
  height: 8px;
  background-color: #ffe600;
  border-radius: 100%;
  display: inline-block;
  margin-right: 2px;
  transition: all 0.4;
  animation: dot-animation3 1s infinite;
}

@keyframes dot-animation1 {
  0%, 10% {
    transform: translateY(0);
    opacity: 1;
    width: 5px;
    height: 5px;
  }
  70%, 100% {
    transform: translateY(-10px);
    opacity: 0;
    width: 7px;
    height: 7px;
  }
}

@keyframes dot-animation2 {
  10%, 40% {
    transform: translateY(0);
    opacity: 1;
    width: 8px;
    height: 8px;
  }
  80%, 100% {
    transform: translateY(-10px);
    opacity: 0;
    width: 7px;
    height: 7px;
  }
}

@keyframes dot-animation3 {
  20%, 60% {
    transform: translateY(0);
    opacity: 1;
    width: 10px;
    height: 10px;
  }
  90%, 100% {
    transform: translateY(-10px);
    opacity: 0;
    width: 8px;
    height: 8px;
  }
}




.miniLogo{
  width:30px;
  height: auto;
  vertical-align:middle;
  display: inline-block;
  margin:10px;
}

.photoUserMini{
  width:40px;
  height: 40px;
  vertical-align:middle;
  display: inline-block;
  margin:5px;
  border-radius:100%;
}

.UsersMiniPhoto{
  width:40px;
  height: 40px;
  vertical-align:middle;
  display: inline-block;
  margin:5px;
  border-radius:100%;
}

.bigLogo{
  width:30px;
  height: auto;
  vertical-align:middle;
  display: inline-block;
  margin:3px;
}





.blockStructure{
  padding: 0px;
  height: calc(60%);
  width: 100%;
  overflow-y: auto;
  text-align: center;
  font-size: small;
  position: relative;
}

#detailCMD{
  font-size: 20px;
  font-weight:bold;
}
.tabTotal{
  position: absolute; 
  bottom: 0%;
  width:98%;
}
.tabTotalPrint{
  position: relative; 
  bottom: auto;
  width:98%;
}


.saisieDoc{
  background-size:100% 100%;
  background-position:0px 0px;
}
.saisieDocPrint{
  position:fixed; 
  top: 0;
  left: 0;
  width:100%;
  z-index: 10005;
  height:100%;
  padding:10px;
  padding-top:4.5cm;
  background-size:100% 100%;
  background-position:0px 0px;
}

.printedArea{
  position:relative; 
  top: 0;
  left: 0;
  width:100%;
  z-index: 10005;
  height:100%;
  padding:10px;
  background-size:100% auto;
  background-position:0px 0px;
  display:none;
}

.saisieArea{
  position:absolute; 
  width:60%;
  height:100%;
  z-index: 10005;
  padding:10px;
  background:linear-gradient(135deg, rgba(0, 0, 0, 0.99), rgba(57, 23, 0, 100), rgba(1, 3, 3, 0.99));
  display:none;
}

.margeEntete{
  display:none;
  height:4.5cm;
  position: relative;
}
.margeEntetePrint{
  display: block;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.5);
  height: 40vh;
  overflow-y: auto;

}

.containerCaisse {
  max-width: 100vw;
  padding: 0px;
  display: flex;
  position: sticky;
  height: 97%;
  overflow: hidden;
  text-align: center;
  font-size: small;
  color:rgb(255, 232, 209);
  /*box-shadow: #cfcfcf 1px 1px 5px;*/
  
}



.contentSMALL {
  flex-grow: 1;
  margin-left: 0px;
  width: 69%;
}

.sidebar h2 {
  margin-top: 0;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin-bottom: 5px;
}

.sidebar li a {
  text-decoration: none;
  color: #333;
  display: block;
  padding: 5px 10px;
  border-radius: 5px;
}

.sidebar li a:hover {
  background-color: #ddd;
}

.MenuElement {
  width: 100%;
  padding: 10px;
  background: #f1f1f1;
  background-size: 150px 90px;
  background-repeat: no-repeat;

  color: #292929;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  display: block; /* Use flexbox for easy centering */
  justify-content: center; /* Center content horizontally */
  align-items: center; /* Center content vertically */
  border-radius: 0px;
  text-align: left;
  /*box-shadow: #cfcfcf 1px 1px 5px;*/
}


/* The Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: 20% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  max-width: 400px;
  text-align: center;
}

/* Modal Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.totalP{
  font-size: x-large;
  font-weight: 700;
}

.contentIcard {
  flex-grow: 1;
  margin-left: 20px;
  max-width: 100%;
  width: 900px;
  text-align:center;
  padding: 10px;
}

.enteteMenu{
  background-color: #333;
  color: #f7f4f4;
  padding: 5px;
  text-align: center;
  justify-content: space-between; 
  justify-items: center;
}

.enteteMenu span{
  display: inline-block;
}

.menuBox{
  display:flex;
  justify-content: space-between; 
  justify-items: center;
}
.product-box {
  display:inline-table;
  background-color: #1d1d1d;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  width: 15%;
  transition: transform 0.3s, box-shadow 0.3s;
  justify-content: space-between;
  cursor: pointer;
  margin: 5px;
}

.product-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product-image {
  width: 100%;
  height: auto;
}

.product-name {
  font-size: 1.0em;
  margin: 10px 0;
  color: #dfdede;
}

.product-price {
  font-size: 1.6em;
  margin: 10px 0;
  color: #1ee99b;
}
.showDesign{
  width: 45%;
  height: auto;
  border-radius: 10px;
  box-shadow: #d6d6d6 2px 2px 10px;
}
/* Media query pour les écrans plus petits */
@media only screen and (max-width: 1100px) {
  .container {
    max-width: 90%;
    margin: 50px auto;
  }
  .product-box {
    display:inline-table;
    background-color: #1d1d1d;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    width: 20%;
    transition: transform 0.3s, box-shadow 0.3s;
    justify-content: space-between;
    cursor: pointer;
    margin: 5px;
  }
  .product-name {
    font-size: 1.0em;
    margin: 10px 0;
    color: #dfdede;
  }
  
  .product-price {
    font-size: 1.3em;
    margin: 10px 0;
    color: #1ee99b;
  }

  .showDesign{
    width: 65%;
    height: auto;
    border-radius: 10px;
    box-shadow: #d6d6d6 2px 2px 10px;
  }
}


/* Base styles for the select input */
.custom-select {
  display: block;
  width: 100%;
  /*max-width: 300px;*/
  padding: 10px 15px;
  font-size: 25px;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ced4da;
  border-radius: 4px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="none" stroke="currentColor" stroke-width=".75" d="M2 0L0 2h4zM2 5L0 3h4z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
}

/* Focus state */
.custom-select:focus {
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Option styles */
.custom-select option {
  color: #495057;
  background-color: #fff;
}

/* Optional: style the container if needed */
.select-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

#ReadMoreScreen{
  background:linear-gradient(135deg, rgba(0, 0, 0, 0.99), rgba(57, 23, 0, 100), rgba(1, 3, 3, 0.99));
  
  width: 60%;
  height: 90vh;
  z-index: 10000;
  display: none;
  transition: all 0.5s;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: #d6d6d6 2px 2px 10px;
  border-radius: 10px;
  overflow-y: auto;
  justify-content: center;
  padding: 10px;
  color:white;


}

#HistoryPrintDocScreen{
  background-color:rgba(255, 255, 255,0.95);
  
  width: 100%;
  height: 100vh;
  z-index: 10006;
  display: none;
  transition: all 0.5s;
  position: absolute;
  top: 0%;
  left: 0%;
  box-shadow: #d6d6d6 2px 2px 10px;
  border-radius: 10px;
  overflow-y: auto;
  justify-content: center;
  padding: 10px;
  background:#fff;

  
}

#total_docBox{
 display: flex;
 position: fixed;
 justify-content: center;
 align-items: center;
 z-index: 100;
 background: #000000 ;
 width: 100%;
 bottom: 0px;
 font-size: large;
}



#univ_resultBox{
 display: none;
 position: fixed;
 justify-content: center;
 align-items: center;
 z-index: 19999;
 background: #000000;
 width: 100%;
 bottom: 50px;
 font-size: small;
 border-radius: 10px;
 padding: 5px;
}

.TotalVal{
  font-size: larger;
  font-weight: 700;
  color:#fff0c4;
}


/* Version simple avec HTML/CSS uniquement */
.a4-modal {
    display: none;
    position: fixed;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255, 255, 255);
    z-index: 999999;
    
}

.a4-modal:target {
    display: flex;
    justify-content: center;
    align-items: center;
}

.a4-modal .a4-content {
    background: white;
    width: 100%;
    
    height: 100%;
    overflow: auto;
    position: fixed;

    padding-left: auto;
    padding-right: auto;
    border: #000000 0px solid;
    
    /* Activer flexbox pour centrer les enfants */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Alignement vertical en haut */
    align-items: center; /* Centrage horizontal TOUS les enfants */
}



/* Pour centrer un div enfant spécifiquement */
.a4-modal .a4-content #contentA4 {
    margin-left: auto;
    margin-right: auto;
}

.a4-modal .close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    text-decoration: none;
    color: #333;
    z-index: 1;
}

#command_print {
    position: fixed; top: 10px; 
    right: 20px;
    display: flex; 
    gap: 10px; 
    z-index: 1;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    padding: 5px;
}





.command_print {
    position: fixed;
    top: 125px; 
    right: 30px;
    display: flex; 
    gap: 10px; 
    z-index: 999999; /* Very high value to ensure it's on top */
    background: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    padding: 5px;
    color: white;
    pointer-events: auto; /* Ensure clicks work if needed */
    isolation: isolate; /* Creates its own stacking context */
}

.btoption{
  text-decoration: none; 
  font-size: 12px; 
  transition: color 0.2s;
  float: right;
  color: white;
  margin: 1px;
}

.addBt{
  font-size: 16px; 
  padding: 5px;
  animation: heartbeat 4s infinite;
}

.addreplyBT{
  
  padding: 15px;
  animation: heartbeat 4s infinite;
}

.moduleName{
  font-size: 20px; 
  padding: 2px;
}

@media screen and (max-width: 230mm) {
    .a4-modal .a4-content {
        width: 95vw;
        min-height: calc(95vw * 1.414);
    }
}

@media print {
    .a4-modal {
        display: block !important;
        background: white !important;
        position: absolute !important;
    }
    
    .a4-modal #command_print {
        display: none !important;
    }
}





