


/********************************************************************/
/*  PROPRIETES GENERALES - GENERAL PROPERTIES                       */
/********************************************************************/

body, html {  
			margin:0px;
			height:100%; 
			font-family: Verdana, Arial, Helvetica, sans-serif; 
			font-size: 12px; 
			}
#conteneur {
			margin: 0 auto; 
			border: 0px; 
			}
.adminmsg	{
			font-family: Verdana, Arial, Helvetica, sans-serif;
			}
#closebutton
            {
            border:1px solid #A29DFB; 
            background-color: #FFFFCC;
            color: #FF0000;
            width:40%;
            }

#root {
			position:absolute;
			width:300px;
			margin-left:50%;
			margin-top:100px;
			background-color:#F4F4F4;
			border:1px solid #333;
			z-index: 100;
		}
.slogan h1:before
{ 
content:"Bienvenue dans notre boutique en ligne";
}
.slogan h2:before
{ 
content:":: ";
}
#handle {
			margin:2px;
			padding:2px;
			width: 98%;
			color:white;
			background-color: navy;
			font-weight: bold;
			text-align:center;
		}
#admin {
			width:100%;
			color:#000000;
			font-family:Arial;
			font-size:0.8em;
		}
.leftcolumn {
    flex: 0 0 180px;
    order: 1;
	margin: 0 0 0 10px;
}
.centpourcent {
  width: 100%;
}

@media (min-width: 481px) and (max-width: 768px) {
  .leftcolumn {
    flex: 0 0 180px
  }
}

@media (min-width: 769px) {
  .leftcolumn {
    flex: 0 0 180px
  }
}

/********************************************************************/
/*  BOITE DE DIALOGUE FORMULAIRE - FORM DIALOG BOX                  */
/********************************************************************/

#formconfirmation {
  border: 20px solid #508210ff;
  position: fixed;
  width: 40%;
  height: 40%;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #afd183ff;
  text-align: center;
  Color: #000;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
#formconfirmation p, #formconfirmationrejected p {
  font-size: 1.2em;
}
#formconfirmationrejected {
  border: 20px solid #822110ff;
  position: fixed;
  width: 40%;
  height: 40%;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #ce887bff;
  text-align: center;
  Color: #000;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


@media screen and (max-width: 400px) {
  #formconfirmation, #formconfirmationrejected {
    width: 90%;
    height: auto;
    padding: 20px;
  }
}


/********************************************************************/
/*  CONFIGURATION L ALBUM PHOTO - PHOTOGALLERY CONFIGURATION         */
/********************************************************************/

.photobody	{
			margin:0px;
			margin-bottom:0px; 
			background-color:#C9D9E1; 
			background:url('../wscatalog/images/Dialog_bg.gif') repeat-x; 
			
			}
div.noscroll {	
	height: 220px;	
	width: 300px;	
	overflow: auto;	
	padding: 8px;
	}

.TabPhoto    { border: 1px solid #333399 }

.out {
  display:block; 
  background:#bbb; 
  border:1px solid #ddd; 
  position:relative;
  margin:3em 0;
  }
.in {
  text-align:center; 
  background:#fff; 
  border:1px solid #555; 
  position:relative; 
  padding:5px;
  font-weight:normal;
  }
.ltin {
  left:-5px;
  }
.tpin {
  top:-5px;
  }
.narrow {width:8em;} /* change to suit */
.adminpopup {
	font-size: 12pt;
	background: url('/images/AdmBackground.gif');
}
.adminpopup table {
	font-size: 12pt;
	font-family: Verdana;
	padding: 0 10px;
	width: 80%;
}
.adminpopup h1 {
	background-position: 10px;
	text-align: left;
	text-indent: 30px;
	font-family: verdana;
	font-size: small;
	background-color: #EBEBE9;
	padding: 5px;
	background-image: url('/imagesCSS/FlecheUpload.gif');
	background-repeat: no-repeat;
}
.admclosebtn {
	position: relative;
	text-align: right;
	margin: -50px 10px 0 65%;
	float: right;
	z-index: 99;
}
.admclosebtn input {
	background-color: #333333;
	color: #ffffff;
}
.admclosebtn input:hover
 {
	background-color: #ff0000;
	color: #ffffff;
}

.slogan h1, .slogan h2 {
	text-align: left; 
	color: #000000
}

/* Styles optimisés avec préfixe admin_ - Sans variables CSS */
input[type="radio"] {
  accent-color: #0078D4; /* bleu Microsoft */
  transform: scale(1.2);
}

.admin_container {
  /*max-width: 1200px;*/
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
  color: #333;
}

.admin_header {
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #dee2e6;
}

.admin_h1 {
  font-size: 28px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 10px;
}

.admin_title {
  font-size: 24px;
  font-weight: 600;
  color: #3498db;
  margin-bottom: 20px;
}

.admin_subtitle {
  font-size: 20px;
  font-weight: 500;
  color: #2c3e50;
  margin-bottom: 15px;
}

.admin_form-container {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 30px;
  vertical-align: top; 
}

.admin_product-inactive {
  color: #f00;
  background-color: #f0a8aeff;
}
.admin_form-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
  gap: 15px;
}

.admin_form-group {
  flex: 1 1 300px;
}

.admin_label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #495057;
  font-size: initial;
}

/* 📥 Select */
.admin_select {
  flex: 1;
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 200px;
}

/* 🔘 Bouton */
.admin_button {
  padding: 6px 12px;
  font-size: 14px;
  background-color: #4A90E2;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.admin_button_rouge {
  padding: 6px 12px;
  font-size: 14px;
  background-color: #e24a4aff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.admin_button_rouge:hover {
  background-color: #f41414ff;
}

.admin_button:hover {
  background-color: #357ABD;
}
.small{
  padding: 8px 15px;
  font-size: 14px;
  min-width: 120px;
  margin:  0;
}


.admin_button-outline {
  background: #1d7ab7ff;
  border: 1px solid #3498db;
  color: #ffffff;
}

.admin_button-outline:hover {
  background-color: #3498db;
  color: white;
}

.admin_alert {
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 20px;
  color: #856404;
}

.admin_blockquote {
  background-color: #e9ecef;
  border-left: 4px solid #3498db;
  padding: 15px;
  margin-bottom: 13px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.admin_selected-cat {
  font-weight: 600;
  color: #2c3e50;
}

.admin_form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .admin_form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.admin_form-card {
  background-color: white;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 📝 Champ texte */
.admin_text-input {
  flex: 1;
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 200px;
  width: 100%;
}


.admin_textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 16px;
  min-height: 120px;
  resize: vertical;
}

.admin_iframe-container {
  margin: 20px 0;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  overflow: hidden;
}

.admin_success-message {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 20px;
  border-radius: 8px;
  margin: 30px 0;
  text-align: center;
}

.admin_back-link {
  display: inline-block;
  margin-top: 15px;
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
}

.admin_back-link:hover {
  text-decoration: underline;
}

.admin_form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #dee2e6;
}



.admin_form-section-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #2c3e50;
  padding-bottom: 8px;
  border-bottom: 1px solid #dee2e6;
}

.admin_form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.admin_form-checkbox input {
  width: 18px;
  height: 18px;
}

.admin_form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.admin_form-header-info {
  flex: 1;
}

.admin_form-header-actions {
  flex-shrink: 0;
}

/* Correction des erreurs de validation */
.admin_input-error {
  border-color: #dc3545;
}

.admin_error-message {
  color: #dc3545;
  font-size: 14px;
  margin-top: 5px;
  display: none;
}

.admin_product-item {
    padding: 8px;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
}
.admin_product-item:hover {
    background-color: #f0f0f0;
}
.admin_product-inactive {
    opacity: 0.6;
}
.admin_product-item.selected {
    background-color: #d0eaff;
}
.admin_position-select {
  width: 150px;
}

.admin_cat-option-active {
  font-weight: bold;
}

.admin_cat-option-inactive {
  color: #6c757d;
  font-style: italic;
}
/* Ajout spécifique pour le bouton danger */
.admin_button-danger {
    background-color: #dc3545;
    color: white;
}
.admin_button-danger:hover {
    background-color: #c82333;
}
/* 🧱 Section globale */
.admin_form-section {
  padding: 10px 15px;
  margin-bottom: 10px;
  border-bottom: 1px solid #ddd;
  transition: background-color 0.3s;
}

/* 🖱️ Effet au survol */
.admin_form-section:hover {
  background-color: #EEEFFD;
}

/* 📐 Ligne de formulaire */
.admin_form-line {
  display: flex;
  /*align-items: center;*/
  flex-wrap: wrap;
  gap: 15px;
}

/* 🏷️ Libellé */
.admin_label-inline {
  flex: 0 0 250px;
  font-weight: bold;
  white-space: nowrap;
  color: #333;
}

/* ✅ Champ texte compact */
.admin_text-input-small {
  width: auto;
  padding: 4px 6px;
  font-size: 13px;
  font-family: Verdana, sans-serif;
}

/* ✅ Groupe radio horizontal */
.admin_radio-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Verdana, sans-serif;
  font-size: 13px;
}

/* ✅ Iframe stylisé */
.admin_iframe {
  border: none;
  width: 388px;
  height: 40px;
  overflow: hidden;
}

/* ✅ Image miniature */
.admin_icon-preview {
  width: 28px;
  height: 29px;
  vertical-align: middle;
}
@media screen and (max-width: 600px) {
  .admin_form-line {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin_label-inline {
    flex: none;
    margin-bottom: 5px;
  }
  .admin_text-input,
  .admin_select {
    width: 100%;
  }
}



.subcat_container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  font-family: Arial, sans-serif;
}

/* Zone principale */
.subcat_main {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.subcat_main_img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.subcat_main_info {
  margin-top: 1rem;
}

.subcat_main_title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 0.5rem;
}


h1.subcat_main_title a, h1.subcat_main_title a:visited {
  color: #3498db;
}
.subcat_main_desc {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
}

.subcat_main_price {
  font-size: 1.5rem;
  color: orange;
  font-weight: bold;
}

/* Zone secondaire en grille */
.subcat_sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.subcat_item {
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid #ddd;
  gap: 1rem;

}

.subcat_item_img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.subcat_item_title {
  font-size: 1.2rem;
  color: orange;
  margin: 0.5rem 0 0.3rem;
  text-align: initial;

}

.subcat_item_ref {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.3rem;
}

.subcat_item_price {
  font-size: 1.3rem;
  color: #8c5e09;
  font-weight: bold;
  background-color: #eae4e4;
  padding: 0.5rem;
  border-radius: 6px;
  text-align: center;
}

/* Responsive avec Grid */
@media screen and (max-width: 768px) {
  .subcat_container {
    grid-template-columns: 1fr;
  }
.subcat_main {
  display: flex;
  flex-direction: column;
}
.modes_paiement {
  display: flex; 
  gap: 10px; 
  justify-content: center; 
  flex-direction: column;
}

.admin_form-container {
  padding: 25px;
  margin-bottom: 20px;
  text-align: center;
  vertical-align: top; 
  width: 100%;
}

  .subcat_sidebar {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media screen and (max-width: 480px) {
  .subcat_main_title {
    font-size: 1.5rem;
  }

  .subcat_main_desc {
    font-size: 0.95rem;
  }
.subcat_main {
  display: flex;
  flex-direction: column;
}

  .subcat_item_title {
    font-size: 1rem;
  }

  .subcat_item_price {
    font-size: 0.95rem;
  }
}

#summaryList > li > ul {
  margin-left: 20px;
  padding-left: 0;
  list-style: none;
}

#summaryList > li > ul > li {
  padding-left: 15px;
  position: relative;
}

#summaryList > li > ul > li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #007BFF;
}

.item_number {
  display: inline-block;
  width: 25px;
  height: 25px;
  background-color: #bfd4dbff; /* couleur du rond */
  color: #000000;              /* couleur du chiffre */
  border-radius: 50%;        /* rend le bloc parfaitement rond */
  text-align: center;
  line-height: 25px;         /* aligne verticalement le chiffre */
  font-weight: bold;
  font-size: 16px;
}

.modes_paiement {
  display: flex; 
  gap: 10px; 
  justify-content: center; 
  align-items: flex-start;
  text-align: center;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 6px 10px;
  border-radius: 4px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* au-dessus du bouton */
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}


    .client_commande {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: #fff;
      padding: 15px;
      margin-bottom: 15px;
      border-radius: 8px;
      box-shadow: 0 0 5px rgba(0,0,0,0.1);
    }
    .client_infos {
      flex: 1;
      color: #000000 !important;
    }
    .client_infos strong {
      font-size: 1.1em;
    }
    .client_actions a {
      margin-left: 10px;
      text-decoration: none;
      padding: 6px 12px;
      border-radius: 4px;
      font-size: 0.9em;
    }
    .client_afficher {
      background-color: #007bff;
      color: white;
    }
    .client_supprimer {
      background-color: #dc3545;
      color: white;
    }
    @media (max-width: 600px) {
      .client_commande {
        flex-direction: column;
        align-items: flex-start;
      }
      .client_actions {
        margin-top: 10px;
      }
    }
