


.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: white;;
    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{
  }
  
  .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 {
    min-height: 69vh;
}

.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%;
}

.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.1rem;
  color: #fff;
  flex-shrink: 0;
}

.logo img {
  width: 60px;
  height: auto;
  border-radius: 6px;
}

/* ===== 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: #fff;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.nav-menu li a:hover {
  color: #ff4444;
  text-shadow: 0 0 8px rgba(255, 68, 68, 0.8);
}

/* ===== ICONES ET SELECT ===== */
.lang-select {
  color: #fff;
  padding: 5px 8px;
}

.shopCardIcon, .notifyMenu {
  position: relative;
  display: block;    
  font-size: 14px;
  cursor: pointer;
  color: #fff;
  flex-shrink: 0;
}

.cart-count, .notify-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #ff2222;
  color: #fff;
  font-size: 12px;
  padding: 1px 5px;
  border-radius: 50%;
}

/* ===== MENU BURGER ===== */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
  flex-shrink: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .navbar {
     z-index: 10;
    position: fixed;
    top: 0px;
    right: -100%;
    background: var(--color-background-dark);
    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, 0, 0, 0.6);
  }

  .navbar.active {
    right: 0;
  }

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

  .menu-toggle {
    display: block;
  }

  /* Ajustement : icônes à droite visibles en ligne */
  .header .headerContainer {
    flex-wrap: wrap;
    justify-content: space-between;
    padding-left:10px;
    padding-right:10px;
  }

  .lang-select,
  .shopCardIcon,
  .notifyMenu {
    order: 4;
    margin-top: 5px;
  }
}

.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: linear-gradient(var(--primary-color), var(--secondary-color));
    color: white;
    color: white;
    padding : 10px;
    color:white;
    font-size: 18px;
    border-radius: 8px;
}

.breadCrumb li {
    display: inline-block;
    padding-right : 10px;
}

.breadCrumb  li::after {
  content: " /";
}

.breadCrumb li:last-child::after {
  content: "";  
}


.positionBottom{
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    text-align: center;
}
/* Variables principales */
:root {
  --primary-color: #6a0dad;   /* Violet principal */
  --secondary-color: #8e44ad; /* Violet secondaire */
  --tertiary-color: #9b59b6;  /* Violet tertiaire */
  --background-color: #000000;
  --text-color: #ffffff;
  --shadow-color: rgba(0,0,0,0.5);
}

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

body {
  font-family: 'Fira Code', monospace;
  background: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* Exemple pour les titres */
h1, h2, h3 {
  font-family: 'Fira Code', monospace;
  font-weight: 500; /* Poids de la police (300 à 700) */
}

/* Liens */
a {
  font-family: 'Fira Code', monospace;
  color: var(--text-color);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Header & Footer */
header, footer {
  background: var(--primary-color);
  color: var(--text-color);
  text-align: center;
  padding: 1rem;
}
header nav a {
  margin: 0 10px;
}

/* === Containers === */

.full-seco,.full-first, .full-terc {
margin-bottom: 30px;
}

.full-seco {
  background: linear-gradient(135deg, #111, var(--primary-color));
  padding: 2rem;
  border-left: 6px solid var(--primary-color);
}
.full-first {
  background: #111;
  padding: 2rem;
  border-top: 6px solid var(--secondary-color);
}
.full-terc {
  background: linear-gradient(90deg, #000, #222);
  padding: 2rem;
  border-bottom: 6px solid var(--tertiary-color);
}

/* === Containers FULL === */
.full-seco {
  background: linear-gradient(135deg, #0d0d17, #1a1a2e); /* sombre avec nuance violette */
  padding: 2rem;
  border-left: 6px solid var(--primary-color);
}

.full-first {
  background: linear-gradient(135deg, #121212, #2a1f3d); /* sombre avec nuance secondaire */
  padding: 2rem;
  border-top: 6px solid var(--secondary-color);
}

.full-terc {
  background: linear-gradient(135deg, #1a0f1f, #332244); /* sombre avec nuance tertiaire */
  padding: 2rem;
  border-bottom: 6px solid var(--tertiary-color);
}

/* === Blocks === */
.block-first, .block-seco, .block-terc, 
.container-block-first > div:first-of-type, .container-block-seco > div:first-of-type, .container-block-terc > div:first-of-type {
  background: #1a1a1a;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Différenciation visuelle */
.block-first, .container-block-first > div:first-of-type { border-left: 5px solid var(--primary-color); }
.block-seco , .container-block-seco > div:first-of-type{ border-left: 5px solid var(--secondary-color); }
.block-terc, .container-block-terc > div:first-of-type { border-left: 5px solid var(--tertiary-color); }

/* Effets hover */
.block-first.block-hover:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 12px var(--primary-color);
}
.block-seco.block-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px var(--secondary-color);
}
.block-terc.block-hover:hover {
  transform: rotate(-1deg);
  box-shadow: 0 6px 12px var(--tertiary-color);
}
/* Nuances de fond */
.block-first , .container-block-first > div:first-of-type{ 
  background: #1a1a2e; /* gris très foncé violacé */
  border-left: 5px solid var(--primary-color); 
}
.block-seco n, .container-block-seco > div:first-of-type { 
  background: #2a1f3d; /* gris violacé plus doux */
  border-left: 5px solid var(--secondary-color); 
}
.block-terc , .container-block-terc > div:first-of-type{ 
  background: #332244; /* gris-violet chaud */
  border-left: 5px solid var(--tertiary-color); 
}

/* Effets hover */
.block-first.block-hover:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 12px var(--primary-color);
}
.block-seco.block-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px var(--secondary-color);
}
.block-terc.block-hover:hover {
  transform: rotate(-1deg);
  box-shadow: 0 6px 12px var(--tertiary-color);
}


/* === Table avec class .grid === */
table.grid {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  box-shadow: 0 4px 8px var(--shadow-color);
}
.grid th {
  background: var(--primary-color);
  color: var(--text-color);
  padding: 0.8rem;
  text-align: left;
}
.grid td {
  background: #111;
  padding: 0.8rem;
  border-bottom: 1px solid #222;
}
.grid tr:hover td {
  background: #1f1f1f;
}


.header{
    color:white;
}

#nav-menu-container {
  float: right;
  margin: 0 0 0 0;
}

.nav-menu-container {
    text-align: right;
}

/* ===== MAIN CONTENT ===== */
.mainContent {
  min-height: calc(100vh - 120px);
  padding: 40px 0;
}

a:hover {
    text-decoration: none;
}

#popupNotify{
    background-color:#1a1a2e;
    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:white;
}

.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)
}