* {
    margin: 0;
}

header {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-top: 2%;
    padding-bottom:2% ;
    color: white;
    font-weight: bolder;
    background-color: #c92823;
}

.D_lang {
    margin-top: 2%;
}

.D_lang a img{
    width: 3%;
    height: auto;
}

#Menu {
    width: 100%;
    margin-top: 1%;
}

#T_Brands,#T_Cat {
    margin-left: auto;
    margin-right: auto;
}


#ShowResult {
    width: 50%;
    height: auto;
}

#ShowResult table,
#ShowBasicFeat table,
#T_Brands,
#T_Cat {
    width: 100%;
    margin-bottom: 1%;
    border: 1px solid rgb(206, 206, 206);
    border-collapse: collapse;
}

#T_Brands th,
#T_Cat th {
    font-weight: bolder;
    padding-top: 1%;
    padding-bottom: 1%;
}
#C_Miss td,
#S_Btn td {
    text-align: center;
    padding-top: 0.5%;
    padding-bottom: 0.5%;
}


#Count_H3 {
    width: 100%;
    text-align: center;
    border-bottom: #c92823 1px solid;
    border-top: #c92823 1px solid;
    margin-bottom: 2%;
}


#ShowBasicFeat table {
    position: fixed;
    width: 40%;
    margin-bottom: 1%;
    border: 1px solid rgb(206, 206, 206);
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
}

select {
    width: 100%;
}

#ShowResult table td,
#ShowResult table th,
#ShowBasicFeat table td,
#ShowBasicFeat table th
 {
    width: 33%;
    border: 1px solid rgb(206, 206, 206);
}

#T_Brands td,
#T_Brands th,
#T_Cat td, 
#T_Cat th {
    width: 20%;
    border: 1px solid rgb(206, 206, 206);
}

.TitleCell th:first-child,
.ProdInfos td:first-child {
    width: 10%!important;
}

.TitleCell {
    background-color: #c92823;
    color: white;
    cursor: default;
}

tr:hover {
    background-color: lightgray;
}

.TitleCell:hover {
    background-color: #c92823;
    color: white;
    cursor: default;
}

.ProdInfos td {
    text-align: center;
}

.TitleFeat,
.TitleFeat:hover {
    color: black;
    background-color: powderblue;
    cursor: default;
}

#ShowResult
{
    width: 65%;
    
}

#ShowBasicFeat {
    width: 30%;
    
}


#ShowResult,
#ShowBasicFeat {

    float: left;
    margin-left: 1%;
}
.container {
    width: 300px;
    height: 50px;
}


/* Réduire la hauteur visible */
.select2-container--default .select2-selection--single {
  height: 100%; /* ajustable */
  padding: 2px 6px;
  font-size: 14px;
}

/* Réduire la hauteur du texte à l'intérieur */
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 26px; /* ajusté à la hauteur ci-dessus */
}

/* Réduire la hauteur de la flèche */
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 26px;
}

.select2-container {
  width: 100% !important; /* ou 100%, selon le besoin */
}

/* Bordure normale */
.select2-container--default .select2-selection--single {

  border-radius: 4px;
  padding: 4px 8px;
}
/* Bordure plus voyante au focus - champ select2 simple */
.select2-container--default.select2-container--focus .select2-selection--single {
  border-top: 3px solid #c92823;
  border-right: 3px solid #c92823;
  border-left: 3px solid #c92823;
  border-bottom: 3px solid transparent; /* on laisse le bas neutre pour éviter double bordure */
  border-radius: 4px 4px 0 0;
}

/* Bordure plus voyante au focus - champ multiselect */
.select2-container--default.select2-container--focus .select2-selection--multiple {
  border-top: 3px solid #c92823;
  border-right: 3px solid #c92823;
  border-left: 3px solid #c92823;
  border-bottom: 3px solid transparent;
  border-radius: 4px 4px 0 0;
}

/* Liste déroulante (dropdown) */
.select2-container--default .select2-dropdown {
  border-top: none; /* Pas de bordure haute pour éviter le chevauchement */
  border-right: 3px solid #c92823;
  border-left: 3px solid #c92823;
  border-bottom: 3px solid #c92823;
  border-radius: 0 0 4px 4px;
  margin-top: -1px; /* colle visuellement le dropdown au champ */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* optionnel : petit effet d'élévation */
}

/* Toutes les options */
.select2-container--default .select2-results__option {
  padding: 8px 12px;
  font-size: 14px;
  color: #333;
}

/* Option survolée ou active (via clavier) */
.select2-container--default .select2-results__option--highlighted {
  background-color: #c92823;
  color: white;
  font-weight: bold;
  border-left: 3px solid #c92823;
}

/* Option sélectionnée */
.select2-container--default .select2-results__option[aria-selected="true"] {
  background-color: #e6f0ff;
  color: #c92823;
  font-weight: 600;
}
