.header ul, .footer ul{
    list-style: none;
}

.header ul li{
    display: inline-block;
    margin-left:5px;
}
  
.header ul li a, .footer ul li a{
    text-decoration:unset;
}

#dialog{
    position: fixed;
    top :15%;
    background-color: black;
    left:15%;
    overflow:auto;
    z-index: 10000;
    min-width: 60%;
    min-height:25%;
    transition-property: opacity;
    transition-duration: 1s;
    border-radius: 20px;
   box-shadow: 5px 5px 15px 5px grey;
   border:1px solid grey;
  }
  
  #rightDialog{
    position: fixed;
    top:0px; 
    right:0px;
    width:400px !important;
    background-color: white; 
    z-index:9999;
    height:calc(100%);
    overflow :auto;
    border-left:1px solid grey;
  }

  #leftDialog{
    position: fixed;
    top:0px; 
    left:0px;
    width:400px !important;
    background-color: white; 
    z-index:9999;   
    height:calc(100%);
    border-right:1px solid grey;
    overflow :auto;
  }
  
   #fullDialog{
    position: fixed;
    top:0px; 
    left:0px;
    width:100% ;
    background-color: white; 
    z-index:9999;   
    height:calc(100%);
    border-right:1px solid grey;
    overflow : auto;
  }
  
#DialogTitle{
    color: white;
    padding :10px;
    top:0px;
    font-size: 15px;
    text-align: center;
    cursor: move;
  }
  
  #dialog #DialogContent{
    padding :15px;
    max-height: 800px;
    overflow:auto;
    filter: alpha(opacity='70');
  }

  #DialogRighContent .container{
      width:100% !important;
  }
  
  .dialogContent, #DialogTitle{
   font-family: "Montserrat",sans-serif;    
  }
  
  .dialogContent .link{
      font-size:14px;
  }
  #divResult {
    z-index: 10040;
    position: absolute;
    height: 200px;
    padding: 5px;
    border: 1px solid grey;
    border-radius: 6px 6px 6px 6px;
    overflow: auto;
    background: none repeat scroll 0 0 white;
}

#divResult ul {
    text-align: left;
}

.txtEditor{
    border:1px solid grey;
    width:100%;
    min-height: 150px;
}

.txtEditor .toolBar{
    border-bottom:1px solid grey;
    width:100%;
    min-height : 35px;
    padding:1px;
}

.txtEditor .toolBar div {
    display: inline-block;
    border : 1px solid #bebebe;
    border-radius: 5px;
    cursor: pointer;
    width :auto;
    padding:5px;
    text-align: center;
}

.txtEditor .inputArea{
    min-height:100px;
}

.txtEditor ul {
    padding:revert;
}

.txtEditor ul li{
    list-style: unset;
}

.txtEditor table tr td{
  border :1px solid grey;
  height:30px;
  width: 30px;
}

.mainContent {
  padding: 30px 0;
}

.width100{
    width:100%;
}

.center{
   text-align: center;
}

.marginTop{
   margin-top:10px;    
}

.marginRight{
   margin-right:10px;    
}

.info label{
    margin-right:10px;
    margin-left:10px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}


.block-height-midlle{
    height:300px;
    margin:0px;
    margin-bottom:15px;
    overflow :auto
}

.block-height-hight{
    height:400px;
    margin:0px;
    margin-bottom:15px;
    overflow :auto
}

.breadCrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0 0;
    margin-bottom: 1rem;
    list-style: none;
    background-color: var(--color-background-light-grey);
    padding : 10px;
    color:white;
    
}


.positionBottom{
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    text-align: center;
}

date-box {
    display: inline-block;
    position: relative;
}
date-box input, time-box input{
    height: 34px;
    padding: 6px 12px;
    border: 1px solid #CFD8DC;
    border-radius: 4px;

}

date-box input {
    padding: 8px;
    font-size: 14px;
    width: 140px;
     color:black;
}

date-box .calendar {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    background: white;
    coolr: black;
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    z-index: 100;
}

date-box table {
    border-collapse: collapse;
    width: 100%;
    text-align: center;
   color:black;
}

date-box th {
    color: #555;
    font-size: 12px;
}

date-box td {
    cursor: pointer;
    padding: 4px;
}

date-box td:hover {
    background: #eee;
    border-radius: 4px;
}

date-box .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    position: relative;
}

date-box button {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}


time-box {
    display: inline-block;
    position: relative;
    font-family: sans-serif;
}

time-box input {
    padding: 8px;
    font-size: 14px;
    width: 100px;
    cursor: pointer;
     color:black;
}

time-box input {
    padding: 8px;
    font-size: 14px;
    width: 140px;
    color:black;
}

time-box .time-picker {
    display: none; /* caché par défaut */
    position: absolute;
    top: 110%;
    left: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    padding: 8px;
    z-index: 100;
}

time-box .time-picker div.selects {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-bottom: 4px;
}

time-box .time-picker select {
    font-size: 14px;
    padding: 4px;
    color:black;
}

time-box .time-picker button {
    width: 100%;
    padding: 4px;
    border: none;
    background-color: #0078D4;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

time-box .time-picker button:hover {
    background-color: #005fa3;
}

tel-box .tel-box {
  display: flex;
  gap: 6px;
}

tel-box select,
tel-box input {
  padding: 6px;
  font-size: 14px;
   background: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
/* ===== RESET & BASE STYLES ===== */
:root {
  --primary-color: #00ff55;            /* Vert Matrix vif */
  --secondary-color: #00c144;          /* Vert plus sombre */
  --accent-color: #00e66b;             /* Survols, bordures */
  --highlight-color: #00ff99;          /* Glow lumineux */
  --dark-color: #d0ffd9;               /* Texte vert pâle */
  --metal-color: #000000;              /* Fond noir profond */
  --light-color: rgba(0, 255, 80, 0.03);
  --border-radius: 8px;
  --font-main: 'Share Tech Mono', monospace; /* Style Terminal futuriste */
  --font-secondary: 'Roboto Mono', monospace;
  --shadow: 0 0 18px rgba(0, 255, 100, 0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--metal-color);
  color: var(--dark-color);
  line-height: 1.6;
  background-image: radial-gradient(circle at top left, #020202 0%, #000 100%);
  overflow-x: hidden;
}

/* ===== HEADER ===== */
.header {
  background: linear-gradient(135deg, #000, #002b11);
  border-bottom: 2px solid var(--primary-color);
  box-shadow: 0 0 15px rgba(0, 255, 80, 0.3);
}

.header .headerContainer {
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  flex-wrap: nowrap;
  gap: 10px;
}

/* ===== LOGO ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--primary-color);
}

.logo img {
  width: 55px;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(0, 255, 80, 0.5));
}

/* ===== NAVIGATION ===== */
.navbar {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
  margin: 0;
}

.nav-menu li a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.nav-menu li a:hover {
  color: var(--primary-color);
  text-shadow: 0 0 12px var(--primary-color);
}

/* ===== ICONES ===== */
.lang-select,
.shopCardIcon,
.notifyMenu {
  color: var(--primary-color);
}

.cart-count,
.notify-count {
  background: var(--primary-color);
  color: black;
  border-radius: 50%;
}

/* ===== MENU BURGER ===== */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--primary-color);
  text-shadow: 0 0 8px var(--primary-color);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    background: #001505;
    width: 65%;
    height: 100vh;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 40px;
    transition: right 0.4s ease;
    box-shadow: -4px 0 12px rgba(0, 255, 80, 0.4);
    z-index: 10;
  }

  .navbar.active {
    right: 0;
  }

  .nav-menu {
    flex-direction: column;
    gap: 20px;
  }

  .menu-toggle {
    display: block;
  }

  .header .headerContainer {
    flex-wrap: wrap;
    justify-content: space-between;
  }
}


.width80{
  width:80%;
  margin:auto;
  }

/* ===== BLOCS ===== */
.block-first,
.block-seco,
.block-terc {
  padding: 25px;
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  background: rgba(0, 30, 0, 0.6);
  box-shadow: 0 0 12px rgba(0, 255, 80, 0.2);
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.block-hover:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 0 25px rgba(0, 255, 120, 0.6);
}

/* ===== TABLEAUX ===== */
.grid {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 15px;
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: #000;
  box-shadow: 0 0 15px rgba(0, 255, 80, 0.2);
}

.grid th {
  background: linear-gradient(135deg, #003912, #00a84f);
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--primary-color);
  padding: 12px;
  text-transform: uppercase;
}

.grid td {
  padding: 12px;
  border-bottom: 1px solid rgba(0, 255, 80, 0.15);
}

.grid tr:nth-child(even) {
  background-color: rgba(0, 255, 80, 0.04);
}

.grid tr:hover {
  background-color: rgba(0, 255, 80, 0.12);
}

/* ===== BOUTONS ===== */
.button {
  display: inline-block;
  position: relative;
  background: linear-gradient(135deg, #003912, #00a84f);
  color: var(--primary-color);
  padding: 12px 25px;
  border-radius: var(--border-radius);
  border: 1px solid var(--primary-color);
  text-transform: uppercase;
  font-family: var(--font-secondary);
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0, 255, 80, 0.3);
  transition: all 0.3s ease;
}

.button:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(0, 255, 120, 0.6);
}

/* Reflet Matrix */
.button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
    rgba(0, 255, 80, 0.1) 0%,
    rgba(0, 255, 80, 0.6) 50%,
    rgba(0, 255, 80, 0.1) 100%);
  transform: skewX(-25deg);
}

.button:hover::before {
  animation: shine 1.2s forwards ease;
}

@keyframes shine {
  from { left: -80%; }
  to { left: 130%; }
}

/* ===== TITRES ===== */
h1, h2, h3 {
  text-shadow: 0 0 12px rgba(0, 255, 80, 0.4);
}

h1 {
  color: var(--primary-color);
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 8px;
}

h2 {
  color: var(--accent-color);
}

h3 {
  color: var(--primary-color);
}

/* ===== LIENS ===== */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--highlight-color);
  text-shadow: 0 0 10px var(--highlight-color);
}

/* ===== DIALOG ===== */
#dialog {
  background-color: rgba(0, 15, 0, 0.9);
  backdrop-filter: blur(8px);
}

#dialog .dialog-content {
  background: #001505;
  border-top: 4px solid var(--primary-color);
  box-shadow: 0 0 25px rgba(0, 255, 80, 0.4);
}

/* ===== FOOTER ===== */
footer {
  background: #000;
  border-top: 1px solid var(--primary-color);
  text-shadow: 0 0 8px rgba(0, 255, 80, 0.4);
}

.btn-primary{
   background-color: var(--metal-color);
   border-color: var(--metal-color);
   color: var(--primary-color)
}

.btn-primary:hover{
     background-color: var(--metal-color);
   border-color: var(--dark-color);
   color: var(--primary-color)
}


/* ===== FULL-WIDTH CONTAINERS ===== */
.full-first, .full-seco, .full-terc {
  padding: 40px 20px;
  margin-bottom: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
}

.full-first {
  background-color: rgba(0, 0, 0, 0.6);
  border-top: 5px solid var(--primary-color);
}

.full-seco {
  background-color: rgba(30, 30, 30, 0.7);
  border-top: 5px solid var(--accent-color);
}

.full-terc {
  background-color: rgba(40, 40, 40, 0.8);
  border: 2px solid var(--secondary-color);
}

/* ===== BLOCKS ===== */
.block-first, .block-seco, .block-terc {
  padding: 25px;
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  background: rgba(20, 20, 20, 0.8);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.block-first { border-left: 5px solid var(--primary-color); }
.block-seco  { border-left: 5px solid var(--accent-color); }
.block-terc  { border: 2px dashed var(--secondary-color); }

/* ===== BLOCK HOVER ANIMATIONS ===== */
.block-first.block-hover:hover,
.block-seco.block-hover:hover,
.block-terc.block-hover:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 25px rgba(255, 0, 0, 0.3);
 opacity: 1;
}

.block-hover::before {
/*  content: "";
  position: absolute;
  top: 0; 
  left: -200%;
  width: 100%; 
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: all 0.6s ease;
  opacity: 0;
*/
}

.block-hover:hover::before {
  left: 100%;
}

/* ===== GRID ===== */
.grid {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 15px;
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.6);
}

.grid th {
  background: linear-gradient(135deg, var(--secondary-color), var(--highlight-color));
  color: white;
  padding: 12px;
  text-align: center;
  font-family: var(--font-secondary);
  font-weight: 700;
  text-transform: uppercase;
}

.grid td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.grid tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.05);
}

.grid tr:hover {
  background-color: rgba(255, 0, 0, 0.15);
}

/* ===== DIALOG ===== */
#dialog {
 
}

#dialog.show { display: flex; }

#dialog .dialog-content {
  background-color: rgba(25, 25, 25, 0.95);
  padding: 30px;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 25px rgba(255, 0, 0, 0.25);
  border-top: 6px solid var(--accent-color);
  color: var(--dark-color);
  animation: fadeIn 0.4s ease;
}

#dialog .close-dialog {
  position: absolute;
  top: 15px; right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: var(--dark-color);
}

#popupNotify{
    background-color:var(--primary-color);
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0px 0px 10px 15px rgb(0 0 0 / 10%);
    width: 200px;
    color:black;
}

.uploadButtons {
    margin: 2px;
    border: 1px dotted var(--accent-color);
    padding: 5px;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    text-align: center;
}

.uploadButtons .btn{
    color: white;
    
}