.notif.success {
  background: #2ecc71;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 9999;
}





/*
      .o.       oooooooooo.   oooooooooo.      oooooo     oooo   .oooooo.   ooooo oooooooooooo    oooooooooooo   .oooooo.   ooooooooo.   ooo        ooooo
     .888.      `888'   `Y8b  `888'   `Y8b      `888.     .8'   d8P'  `Y8b  `888' `888'     `8    `888'     `8  d8P'  `Y8b  `888   `Y88. `88.       .888'
    .8"888.      888      888  888      888      `888.   .8'   888      888  888   888             888         888      888  888   .d88'  888b     d'888
   .8' `888.     888      888  888      888       `888. .8'    888      888  888   888oooo8        888oooo8    888      888  888ooo88P'   8 Y88. .P  888
  .88ooo8888.    888      888  888      888        `888.8'     888      888  888   888    "        888    "    888      888  888`88b.     8  `888'   888
 .8'     `888.   888     d88'  888     d88'         `888'      `88b    d88'  888   888       o     888         `88b    d88'  888  `88b.   8    Y     888
o88o     o8888o o888bood8P'   o888bood8P'            `8'        `Y8bood8P'  o888o o888ooooood8    o888o         `Y8bood8P'  o888o  o888o o8o        o888o
*/


/* ===========================
   FORMULAIRE D’AJOUT DE VOIE
   =========================== */

.add-voie-container {
  max-width: 600px;
  margin: 80px auto;
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 28px 24px;
  font-family: 'Segoe UI', Roboto, sans-serif;
  color: #333;
}

.add-voie-container h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  color: #00527a;
  margin-bottom: 25px;
}

.add-voie-container svg {
  width: 24px;
  height: 24px;
  stroke: #00527a;
}

.form-row {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

.form-row label {
  font-weight: 600;
  color: #00527a;
  margin-bottom: 6px;
}

.add-voie-container input,
.add-voie-container select,
.add-voie-container textarea {
  width: calc(100% - 30px);
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  transition: border 0.2s ease, box-shadow 0.2s ease;
  background: white;
}

.add-voie-container input:focus,
.add-voie-container select:focus,
.add-voie-container textarea:focus {
  outline: none;
  border-color: #00527a;
  box-shadow: 0 0 0 3px rgba(0,82,122,0.15);
}

.add-voie-container textarea {
  resize: vertical;
  min-height: 70px;
}

/* --- Boutons principaux --- */
.submit-voie {
  background: #00527a;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease;
}
.submit-voie:hover {
  background: #0070aa;
}
.submit-voie svg {
  stroke: #fff;
}

/* --- Boutons d’image --- */
.image-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}
.btn-photo,
.btn-import {
  flex: 1;
  border: 1px solid #00527a;
  border-radius: 6px;
  background: #f0f8fc;
  color: #00527a;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-photo:hover,
.btn-import:hover {
  background: #00527a;
  color: #fff;
}
.btn-photo svg,
.btn-import svg {
  stroke: currentColor;
}



/* --- Section images --- */
.images-section label {
  font-weight: 600;
  color: #00527a;
  display: block;
  margin-bottom: 8px;
}




/*=====================================================================================*/
/*                         CARROUSSEL SECTEUR */


.carrousel-simple {
  max-width: 600px;
  margin: 20px auto;
  position: relative;
  text-align: center;
}

.carrousel-simple .slides {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.carrousel-simple .slide {
  display: none;
}

.carrousel-simple .slide.active {
  display: block;
}

.carrousel-simple img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.carrousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.carrousel-controls .prev,
.carrousel-controls .next {
  cursor: pointer;
  position:relative!important;
  font-size: 28px;
  padding: 6px 12px;
  color: #333;
  user-select: none;
}
.prev .next{

}
.carrousel-controls .dots {
  display: flex;
  gap: 6px;
  margin: 0 12px;
}

.carrousel-controls .dot {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.carrousel-controls .dot.active {
  background: #333;
}

.carrousel-title {
  margin-top: 10px;
  font-weight: 600;
  font-size: 18px;
}

/*=====================================================================================*/
/*                         COULEURS PRISES CHOIX */

.couleur-grid {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.couleur-option {
  width: 70px;
  height: 70px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, filter 0.2s ease;
  box-shadow: 0 0 4px rgba(0,0,0,0.2);
}

.couleur-option:hover {
  transform: scale(1.05);
}

.couleur-option::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.0);
  border-radius: 10px;
  transition: background 0.2s ease;
  background: rgba(255,255,255,0.30);
}

.couleur-option.selected::after {
 background: rgba(255,255,255,0);
  border: 3px solid #007bff; /* 💙 Bordure bleue bien visible */

/*  backdrop-filter: blur(2px);*/
  box-shadow: 0 0 0 3px #fff inset, 0 0 5px rgba(0,123,255,0.6);
}

/*==========================================================================================
                                COTATIONS :                                                */
.cotation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(55px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.cotation-grid input[type="radio"] {
  display: none;
}

.cotation-grid label {
  display: block;
  padding: 10px 0;
  text-align: center;
  border-radius: 8px;
  background-color: var(--bg);
  color: var(--color, #fff);
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, outline 0.15s ease;
}

.cotation-grid label:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.cotation-grid input[type="radio"]:checked + label {
  outline: 3px solid #00527a;
  box-shadow: 0 0 8px rgba(0,82,122,0.4);
  transform: translateY(-1px);
}

