body {
  font-family:  Roboto, Arial, sans-serif;
  line-height: 1.45;
  padding: 0px;
  width: 100%;
  margin: auto;
  background-color: #fff;
  color: #111827;
}
a{
  text-decoration: none;
  color: #08344f; 
}
a:hover{
  text-decoration:solid;
}
  



/* HEADER FIXE EN HAUT */
header {
  position: fixed;
  top: 0;
  left: 240px;
  width: calc(100% - 270px);
  height:40px;
  margin-bottom:40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #08344f;
  border-bottom: 1px solid #08344f;
  z-index: 1000;
}


.logo img {
  height: 30px;
  margin-left:0px;
  width: auto;
  display: block;
  margin-bottom:20px;
  margin-top:5px;
}

.logo.login {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.logo.login img {
  height: 50px;
  width: auto;
  display: block;
}


.espace {
  height:40px;
}

header {
  position: fixed;
  background: #08344f;
  width: calc(100% - 240px);
  display: flex;
  justify-content: space-between;


}

aside.nav{
  display: flex;
  height:40px;
  padding-left: 25px;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  color: #EEBA4D;
   text-transform: uppercase;
}


nav {
  display: flex;
  height:40px;
  padding-right: 25px;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}

header [data-lucide]{
  width: 16px;
  height: 16px;
  vertical-align: middle;
  padding-bottom: 0px;
  margin-right:5px;
}

svg[data-lucide].toggle-off {
  width: 30px;
  height: 30px;
  stroke: #EF4444;         /* couleur du trait Lucide */
  fill: none;
  vertical-align: middle;
  padding-top: 1px;
  cursor: pointer; 
}
.off {
  color: #EF4444;         /* couleur du trait Lucide */
}


svg[data-lucide].toggle-on {
  width: 30px;
  height: 30px;
  stroke: #22C55E;         /* couleur du trait Lucide */
  fill: none;
  vertical-align: middle;
  padding-top: 1px;
  cursor: pointer; 
}
.on {
  color: #22C55E;         /* couleur du trait Lucide */
}

nav a {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1em;
  text-decoration: none;
  color: #EEBA4D;
  transition: color 0.2s ease;
}

header nav a:hover {
  color: #EEBA4D; /
}

/* CONTAINER GLOBAL (SOUS LE HEADER) */
.container {
  margin-top: 0px; 
  width: 100%;

  
}

/* LAYOUT PRINCIPAL */
.dashboard-layout {
  display: flex;
  width: 100%;

}

/* CONTENU PRINCIPAL */
.dashboard-content {
  flex: 1;
  display: flex;
  flex-direction: column;

}


/* MESSAGE */
.contenu {
  padding: 25px 50px;
}

/* SIDEBAR FIXE À GAUCHE */
.sidebar {
  top: 0px;
  left: 0px;
  width: 240px;
  min-height: calc(100vh - 10px);
  background-color: #f9fafb;
  background-color: #eeba4d;
  border-right: 1px solid #ddd;
  padding: 0px;
  padding-top: 10px;

  z-index: 999;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  margin: 0px;
  
}

.sidebar a {
  display: block;
  color: #08344f;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease;
  
}


.sidebar [data-lucide]{
  width: 14px;
  height: 14px;
  vertical-align: middle;
  padding-bottom: 3px;
}


/* menu */
.sidebar li.menu a {
  text-transform: uppercase;
  margin-top:0px;
  margin-bottom:0px;
  padding-top:12px;
  padding-bottom:7px;
  font-size: 15px;
  border-top: 1px solid #08344f34;
}
.sidebar li.menu a:hover,
.sidebar li.menu a.active {
  background: #ecedee;
  color: #08344f;
}

.sidebar .submenu a {
  line-height: 1.1; /* 1.8x la taille du texte */
}



/* sousmenu */
.sidebar li.submenu {
  padding-left:10px;
  padding-left:5px;
}

.sidebar li.submenu a {
  font-size: 14px;
  color: #444;
  padding-top:1px;
  padding-bottom:9px;
 
}

.sidebar li.submenu a:hover,
.sidebar li.submenu a:active {
  
  color: #000;
}

/* statistique */
.statistiques p{
  font-size:10px!important;

}

.stats{
  text-transform: uppercase;
  font-size: 15px;
}

/* MESSAGE */
.message {
  width: 100%;
  display:flex;
  flex-direction: column;
}

.info_old {
  display: flex;
  justify-content: space-between;
  padding: 0px 25px;
  margin-bottom: 0px;
   min-height: 40px;         
}
.info {
  display: grid;
  grid-template-columns: 40px 1fr 1fr; 
  padding: 0 25px;
  margin-bottom: 0;
  min-height: 40px;
  align-items: center; /*  centre verticalement le contenu */
}
.info i[data-lucide]{
  width: 20px;
  height: 20px;
  vertical-align: middle;

}


.info p {
  margin: 0;                   
  font-size: 15px;
  line-height: 40px;;
}

.info button{
  margin-top:5px!important;
  margin-bottom:4px!important;
  border:none; 
  padding:6px 10px; 
  border-radius:2px; 
  cursor:pointer;
  transition: background 0.2s;

}



.erreur{
  background-color: #FEE2E2;
  color: #EF4444;
  border-bottom: 1px solid #EF4444;
}
.erreur button{
  background-color: #EF4444;
  border-bottom: 1px solid #FEE2E2;
}
.erreur button:hover {
  background-color: #b82020;;
}

.attention{
  background-color: #FEF3C7;
  color: #F59E0B;
  border-bottom: 1px solid #F59E0B;
}
.attention button{
  background-color: #F59E0B;
  border-bottom: 1px solid #FEF3C7;
}
.attention button:hover {
  background-color: #b1750d;;
}

.ok{
  background: #E0F2FE;
  color: #3B82F6;
  border-bottom: 1px solid #3B82F6;
}
.ok button{
  background-color: #3B82F6;
  border-bottom: 1px solid #E0F2FE;
}
.ok button:hover {
  background-color: hsl(217, 80%, 46%);;
}


.run{
  background: #DCFCE7;
  color: #22C55E;
  border-bottom: 1px solid #22C55E;
}
.run button{
  background-color: #22C55E;
  border-bottom: 1px solid #DCFCE7;
}
.run button:hover {
  background-color:#117c38;
}




.card_dashboard {
  border: 1px solid #ddd;
  border-radius: 2px;
  padding: 16px;
  margin-bottom: 16px;
  background-color: #ffffff;

 
}
.card_site {
  max-width:1100px;
  margin : 24px auto;
  padding: 16px;
  margin-bottom: 16px;
  background-color: #ffffff;

}

.card_login {
  border: 1px solid #ddd;
  max-width:400px;
  margin : 20px auto;
  padding: 16px;
  margin-bottom: 16px;
  background-color: #ffffff;
  

}


h1{ 
  color:#08344f; 
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.3em;
  text-align: left;
}

label{
  display:block;
  margin:6px 0 4px;
  font-weight:500;
}

span.label{
    font-size:12px!important;
}

button:disabled{
  opacity:.5;
  cursor:not-allowed;
}
.progress{
  height:10px;
  background:#ddd;
  border-radius:999px;
  overflow:hidden;
  width:100%;
}
.bar{
  height:100%;
  background:#08344f;
  width:0%;
  transition:width .2s ease;
}

.logs{
  background:#0b1220;
  color:#cbd5e1;
  padding:12px;
  border-radius:2px;
  height:160px;
  font-size:10px;
  overflow:auto;
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas;
  white-space:pre-wrap;
}

.muted{
  color:#6b7280}
.grid2{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:center;
}

.masque{	
  display:none;
}

table{
  width:100%;
  border-collapse:collapse;
  margin-top:12px;
}

  th,td{
  border-bottom:1px solid #ddd;
  padding:10px;
  text-align:left;
  font-size:14px;
}

  tr:hover{
  background:#f9fafb;
}

.subtable{
  margin-left:3px;
  border-left:2px solid #ddd;
  padding-left:5px;
}

.alert{
  background:#e0f2fe;
  color:#08344f;
  padding:8px 12px;
  border-radius:2px;
  margin-bottom:12px;
}

.modal{
  position:fixed;
  top:0;left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.6);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:1000;
}

.modal.active{
  display:flex;
}

.modal-content{
  background:#fff;
  padding:20px;
  border-radius:10px;
  width:360px;
  max-width:90%;
  position:relative;
}

.close-btn{
  position:absolute;
  top:10px;
  right:12px;
  cursor:pointer;
  font-size:20px;
  color:#444;
}

select {
  width: 93%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 2px;
  background-color: #fff;
  font-size: 14px;
  color: #111827;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #6b7280 50%),
                    linear-gradient(135deg, #6b7280 50%, transparent 50%);
  background-position: calc(100% - 15px) calc(50% - 3px),
                       calc(100% - 10px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="url"]{
  width: 93%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 2px;
  background-color: #fff;
  font-size: 14px;
  color: #111827;
    transition: border-color 0.2s ease;
}

textarea {
  min-height: 140px;
  height:270px;
  line-height: 1.5;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 2px;
  width:90%;
  padding:10px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #08344f;
  outline: none;
}

/* ------- Confirmation  ------- */
.confirm-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 0.2s ease;
}

.confirm-content {
  background: #fff;
  border-radius: 8px;
  padding: 25px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 300px;
  width: 80%;
  animation: slideUp 0.25s ease;
}

.confirm-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.confirm-buttons button {
  padding: 8px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease;
}

#confirmYes {
  background: #08344f;
  color: white;
}
#confirmYes:hover {
  background: #08344f;
}

#confirmNo {
  background: #e5e7eb;
  color: #111827;
}
#confirmNo:hover {
  background: #d1d5db;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(15px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}



/* === Boutons === */
button {
  padding: 10px 14px;
  border: 0;
  border-radius: 2px;
  background: #08344f;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  margin-top:15px;
  text-transform: uppercase;
  font-weight: 600;
}
button:hover{background: #062b4e;}


button.btn_action{background:#8CBCB9;}
button.btn_action:hover{background: #6a8f8c;}

#loader span{color:#8CBCB9;}


button.btn_modifier{
    background:none!important;
    color:#111827;
    padding:0px;
    margin-right:10px;
  }
button.btn_modifier:hover{
    background: #fff;
}

/* === Conseils IA (GPT) === */
.advice-box {
  background: #e0f2fe;
  color: #08344f;
  border-radius: 2px;
  padding: 16px 18px;
  margin-top: 16px;
  line-height: 1.6;
  font-size: 16px;
}

.advice-box h4 {
  margin-top: 0;
  color: #08344f;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.advice-box ul {
  margin: 10px 0 0 20px;
  padding: 0;
}

.advice-box li {
  margin-bottom: 6px;
}


.loader {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-top: 2px solid #8CBCB9;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}



/* pour la génération des email  */

.ai-result {
  display: grid;
  gap: 24px;
  margin-top: 30px;
}
.email-card {
  background: #f9fafb;
  border: 1px solid #ddd;
  border-radius: 2px;
  padding: 20px;

  animation: fadeIn 0.4s ease;
}
.email-card h3 {
  margin-top: 0;
  color: #08344f;
  display: flex;
  align-items: center;
  gap: 6px;
}
.email-section {
  margin-top: 10px;
}
.ai-banner {
  background: #e0f2fe;
  color: #08344f;
  padding: 10px 14px;
  border-radius: 2px;
  margin-bottom: 16px;
  font-weight: 500;
}
.signature-block {
  border-top: 1px solid #ddd;
  margin-top: 12px;
  padding-top: 8px;
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
}
#bottom-actions {
  text-align: right;
  margin-top: 20px;
}



footer{
  padding:40px 20px;
  margin-top:20px;
  background: #f9fafb;
  border: 1px solid #ddd;
  border-bottom: none;
  border-radius: 2px;  
  height: fit-content;
  

}


@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes fadeIn {
  from {opacity:0; transform: translateY(10px);}
  to {opacity:1; transform: translateY(0);}
}






.video {
  background: #000;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 1.2em;
}

.section {
  margin-bottom: 60px;
}

.section h2 {
  font-size: 1.8em;
  color: #08344f;
  margin-bottom: 20px;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ✅ 2 colonnes par ligne */
  gap: 20px;
  }

.feature {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 2px;
  padding: 20px;

}

.pricing {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.plan {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 2px;
  padding: 30px;
  width: 250px;
  text-align: center;

  transition: transform 0.2s ease;
}

.plan:hover {
  transform: translateY(-5px);
}

.plan h3 {
  font-size: 1.4em;
  color: #08344f;
  margin-bottom: 10px;
}
.plan .price {
  font-size: 1.8em;
  font-weight: bold;
  color: #111827;
  margin-bottom: 10px;
}

.plan p {
  margin-bottom: 20px;
}

.plan button {
  background: #08344f;
  color: white;
  border: none;
  border-radius: 2px;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 1em;
}

.plan button:hover {
  background: #08344f;
}

/* statistique */
.statistiques {
  padding-left:10px!important;
  padding-top:3px!important;
  border-top: 1px solid #08344f34;
  margin-top: 50px;
}
.statistiques p{
  font-size:14px!important;
}

.statistiques p b{
  font-size:14px!important;
  font-weight: 400;
  color:#08344f;
}


/* Responsive mobile */
@media (max-width: 800px) {
  .features {
    grid-template-columns: 1fr; /*  Sur mobile : 1 par ligne */
  }
  header {
    flex-direction: column; /*  Les éléments s'empilent verticalement */
    align-items: center; /* Optionnel : aligne à gauche */
    justify-content: flex-start; /* Optionnel : en haut du header */
    padding: 4px 4px;
    width:100%;
    height: 80px;
  }
  header nav { 
    margin-top:10px;
  }
  header h1 { 
    font-size: 2em; 
  }
    header p { 
    margin: 0px auto;
    padding: 0 4px;
    align-items:flex-start;
    text-align: left;
  }
  .container {
    width: 100%;
    margin: 0px auto;
    padding: 0px;
    
  }
  .dashboard-layout {
    grid-template-columns: 1fr;
    width:100%;
  }

  body {
   padding: 5px;
  }

  .card_dashboard {
    padding: 4px;
    border:0px;
 
  }
  .card_site {
    padding: 4px;
    margin-bottom: 16px;
    border:0px;
  }

}


