@charset "UTF-8";@import url("https://fonts.googleapis.com/css?family=Rubik:300,400,500,700&display=swap");

/* body{
    background-color: black;
} */

:root {
  --color-white: #fff;
  --color-black: #333;
  --color-gray: #75787b;
  --color-gray-light: #bbb;
  --color-gray-disabled: #e8e8e8;
  --color-blue: #3264fe;
  --color-blue-dark: #3264fe;
  --font-size-small: .75rem;
  --font-size-default: .875rem;
}

.bg-container {
    font-family: 'Rubik', sans-serif;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: visible;
    transition: max-height 1s ease-in-out;
    position: relative; /* Ajouter position relative à la div parente */
}

.bg-titre {
    margin-top: 5px;
    margin-bottom: 10px;
    text-align: center;
}

.bg-titre h2{
    font-family: 'Rubik', sans-serif;
}

/* Barre de chargement */
#loading-bar-bg {
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background-color: #2872fa; /* Couleur de la barre de chargement */
  transition: width 5s; /* Ajout de la transition pour une animation en douceur */
}

.titre-disque {
    font-family: 'Rubik', sans-serif;
    font-size: 30px;
    font-weight: 400;
}

p.alert-form-valid {
    margin-top: 10px;
    color:#df1b1b;
}

.errorAPI {
  margin-bottom: 20px;
  color:#df1b1b;
}

.step {
    text-align: center;
}

.step-resultat {
  margin-top: -25px;
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip .tooltiptext {
    visibility: hidden;
    font-size: 14px;
    width: 400px;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    position: absolute;
    bottom: -40px; /* Positionne le tooltip au milieu de la hauteur du texte */
    right: 125%; /* Positionne le tooltip à gauche du texte */
    margin-left: 0; /* Réinitialise la marge gauche */
    margin-right: 10px; /* Ajoute une marge à droite pour l'espace entre le texte et le tooltip */
    opacity: 0;
    transition: opacity 0.3s;
    z-index:99999999 !important;
}


.tooltip img {
    width: 16px !important;
    height: 16px !important;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

span .libelle-question {
    font-size: 20px;
}

.button-container {
  display: flex; /* Ajout de flex pour aligner les boutons sur la même ligne */
  justify-content: space-around; /* Ajuster selon vos préférences de mise en page */
  flex-wrap: wrap; /* Permet le passage à la ligne des éléments flexibles */
}

.computer-usage-button {
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.computer-usage-button img {
  width: 100px !important;
  height: 100px !important;
}


.btn-build-generator {
  font-family: 'Rubik', sans-serif;
  background-color: white;
  padding: 5px;
  margin: 15px;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s; /* Ajout de border-color à la transition */
  overflow: hidden;
  z-index: 1;
  position: relative; /* Ajout d'une position relative pour le positionnement de la bordure */
  border: 2px solid transparent; /* Ajout d'une bordure initiale transparente */
}

.btn-build-generator:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transform: translateY(-5px);
}

.btn-build-generator.selected {
  border-color: #2872fa; /* Couleur de la bordure pour l'état sélectionné */
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s; /* Ajout de border-color à la transition */
}

.btn-build-generator img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}


div.btn-container{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

div.btn-container i{
    display: inline-block;
    position: relative;
    top: -9px;
}

.select2-form {
    margin-top:15px;
    margin-bottom:20px;
}

.select2-global {
  width: 400px;
}

.select2-selection__choice {
  height: 40px;
  line-height: 40px;
  padding-right: 16px !important;
  padding-left: 16px !important;
  background-color: #2872fa !important;
  color: white !important;
  border: none !important;
  border-radius: 3px !important;
}

.select2-selection__choice__remove {
  color: white !important;
  margin-right: 5px !important;
}

/* Tabs multi options */
.tabs{
  margin-top:20px;
  margin-bottom:20px;
  font-size:15px;
  padding:0px;
  list-style:none;
  background:#fff;
  box-shadow:0px 5px 20px rgba(0,0,0,0.1);
  display:inline-block;
  border-radius:50px;
  position:relative;
}

.tabs a{
  text-decoration:none;
  color: black;
  text-transform:uppercase;
  padding:10px 20px;
  display:inline-block;
  position:relative;
  z-index:1;
  transition-duration:0.3s;
}

.tabs a.active{
  color:#fff;
  transition: color 0.5s; /* Ajout de border-color à la transition */
}

.tabs a i{
  margin-right:5px;
}

.tabs .selector{
  height:100%;
  display:inline-block;
  position:absolute;
  left:0px;
  top:0px;
  z-index:1;
  border-radius:50px;
  /* Modifier dans le js */
  transition-duration:0.6s;
  /* cubic-bezier(0.68, -0.55, 0.265, 1.55) */
  transition-timing-function: cubic-bezier(0.68, 0, 0.265, 1.55);
  background: #2872fa;
}

.tabs .selector.disabled {
    background: #777777;
}

.mobile-display-2k:before {
  content: "2560x1440";
}

.mobile-display-4k:before {
  content: "3840x2160";
}

.mobile-display-simple:before {
  content: "Simple";
}

.mobile-display-moyen:before {
  content: "Moyen (Animation)";
}

.mobile-display-complexe:before {
  content: "Complexe (Animation + Rendu HD)";
}

.mobile-display-fichier:before {
  content: "Stockage Fichier";
}

.mobile-display-jeu:before {
  content: "Serveur de Jeu";
}

.mobile-display-250go:before {
  content: "250 Go";
}

.mobile-display-500go:before {
  content: "500 Go";
}

.mobile-display-1to:before {
  content: "1 To";
}

.mobile-display-2to:before {
  content: "2 To";
}

.mobile-display-4to:before {
  content: "4 To";
}

.mobile-display-8to:before {
  content: "8 To";
}

.contenu-step4 {
    border-bottom: 1px solid #ccc; /* Ajoute une bordure inférieure pour séparer les lignes */
    margin-bottom: 15px;
}

.add-storage {
    margin-bottom: 15px;
}

/* Style pour déplacer le bouton à droite */
.btn-center-right {
  float: right;
  left: 100px;
  bottom: 20px;
  border-radius: 50% !important; /* Utilisez 50% pour rendre le bouton parfaitement rond */
  width: 40px !important; 
  height: 40px !important;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.4);
}

.range {
    width: 70vmin;
    margin: 0 auto; 
    display: flex;
    flex-direction: row; 
    align-items: center;
    justify-content: space-between; 
    padding: 20px;
    border-radius: 5px;
}

input[type="range"]{
    position: relative;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: block;
    width: 80%;
    height: 8px;
    background-color: #d5d5d5;
    border-radius: 8px;
    outline: none;
}
input[type="range"]::-webkit-slider-runnable-track{
    -webkit-appearance: none;
    height: 8px;
}
input[type="range"]::-moz-track{
    -moz-appearance: none;
    height: 8px;
}
input[type="range"]::-ms-track{
    appearance: none;
    height: 8px;
}
input[type="range"]::-webkit-slider-thumb{
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    background-color: #3264fe;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -6px;
    border: none;
}
input[type="range"]::-moz-range-thumb{
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    background-color: #3264fe;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -6px;
    border: none;
}
input[type="range"]::-ms-thumb{
    appearance: none;
    height: 20px;
    width: 20px;
    background-color: #3264fe;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -6px;
    border: none;
}
input[type="range"]:active::-webkit-slider-thumb{
    background-color: #ffffff;
    border: 3px solid #3264fe;
}
.slider-value{
    min-width: 80px;
    left: 10px;
    position: relative;
    background-color: #3264fe;
    color: #ffffff;
    text-align: center;
    padding: 10px 5px;
    border-radius: 5px;
}

.slider-value img {
  margin-left: 5px !important;
  width: 16px !important;
  height: 16px !important;
}




#tableauComposants {
    width: 100%;
    min-width: 850px;
    border-collapse: collapse;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    border: none !important; /* Supprime toutes les bordures du tableau */
  }

  th {
    padding: 10px;
    text-align: left;
    border: none !important; /* Supprime toutes les bordures des cellules */
  }

  tr td {
    padding: 10px;
    text-align: left;
    border: none;
    border-bottom: 1px solid #ccc !important; /* Supprime toutes les bordures du tableau */
  }

  tr td.td-reload-composant {
    border: none !important;
  }

  tr td.td-tooltip {
    border: none !important;
  }

  th {
    background-color: #f2f2f2;
  }

  td img {
    max-width: 45px;
    max-height: 45px;
  }

  a.link-composant {
    color: black;
  }


  .container-bg-footer-btn{
    display: flex;
    justify-content: center; /* Pour centrer horizontalement les éléments */
    align-items: center; /* Pour aligner verticalement les éléments */
  }
  
  .container-mon-historique {
    position: absolute;
    width: auto;
    left: 30px;
    font-size: 15px;
    text-align: left;
  }
  
  .container-mon-historique a {
    color: rgb(105, 104, 104);
  }
  
  .container-mon-historique a:hover {
    color: rgb(0, 0, 0);
    cursor: pointer;
  }
  
  .container-mon-historique #forward-arrow {
    fill: #2872fa;
    margin-left: -5px;
    margin-bottom: -7px;
    rotate: 180deg;
    transition: transform 0.3s ease-in-out; /* Transition pour une animation fluide */
  }
  
  .container-mon-historique:hover #forward-arrow {
    transform: translateX(10px); /* Déplacer la flèche de 20 pixels vers la droite lorsqu'elle est survolée */
    fill: #3264fe;
  }


  .container-upgrade-setup-from-bg {
    position: absolute;
    width: auto;
    right: 30px;
    font-size: 15px;
    text-align: right;
  }
  
  .container-upgrade-setup-from-bg a {
    color: rgb(105, 104, 104);
  }
  
  .container-upgrade-setup-from-bg a:hover {
    color: rgb(0, 0, 0);
    cursor: pointer;
  }
  
  .container-upgrade-setup-from-bg #forward-arrow {
    fill: #2872fa;
    margin-left: -5px;
    margin-bottom: -7px;
    transition: transform 0.3s ease-in-out; /* Transition pour une animation fluide */
  }
  
  .container-upgrade-setup-from-bg:hover #forward-arrow {
    transform: translateX(10px); /* Déplacer la flèche de 20 pixels vers la droite lorsqu'elle est survolée */
    fill: #3264fe;
  }
  

  .progress-bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .progress-bar-bg {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    width: 350px;
  }
  .progress-bar-bg li {
    flex: 2;
    position: relative;
    padding: 0 0 14px 0;
    font-size: var(--font-size-default);
    line-height: 1.5;
    color: var(--color-blue);
    font-weight: 600;
    white-space: nowrap;
    overflow: visible;
    min-width: 0;
    text-align: center;
    border-bottom: 2px solid var(--color-gray-disabled);
  }
  .progress-bar-bg li:first-child,
  .progress-bar-bg li:last-child {
    flex: 1;
  }
  .progress-bar-bg li:last-child {
    text-align: right;
  }
  .progress-bar-bg li:before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    background-color: var(--color-gray-disabled);
    border-radius: 50%;
    border: 2px solid var(--color-white);
    position: absolute;
    left: calc(50% - 6px);
    bottom: -6px;
    z-index: 3;
    transition: all .2s ease-in-out;
  }
  .progress-bar-bg li:first-child:before {
    left: 0;
  }
  .progress-bar-bg li:last-child:before {
    right: 0;
    left: auto;
  }
  .progress-bar-bg span {
    transition: opacity .3s ease-in-out;
  }
  .progress-bar-bg li:not(.is-active) span {
    opacity: 0;
  }
  .progress-bar-bg .is-complete:not(:first-child):after,
  .progress-bar-bg .is-active:not(:first-child):after {
    content: "";
    display: block;
    width: 100%;
    position: absolute;
    bottom: -2px;
    left: -50%;
    z-index: 2;
    border-bottom: 2px solid var(--color-blue);
    transition: width 1s;
  }
  .progress-bar-bg li:last-child span {
    width: 200%;
    display: inline-block;
    position: absolute;
    left: -100%;
  }
  
  .progress-bar-bg .is-complete:last-child:after,
  .progress-bar-bg .is-active:last-child:after {
    width: 200%;
    left: -100%;
  }
  
  .progress-bar-bg .is-complete:before {
    background-color: var(--color-blue);
  }
  
  .progress-bar-bg .is-active:before,
  .progress-bar-bg li:hover:before,
  .progress-bar-bg .is-hovered:before {
    background-color: var(--color-white);
    border-color: var(--color-blue);
  }
  .progress-bar-bg li:hover:before,
  .progress-bar-bg .is-hovered:before {
    transform: scale(1.33);
  }
  
  .progress-bar-bg li:hover span,
  .progress-bar-bg li.is-hovered span {
    opacity: 1;
  }
  
  .progress-bar-bg:hover li:not(:hover) span {
    opacity: 0;
  }
  
  .x-ray .progress-bar-bg,
  .x-ray .progress-bar-bg li {
    border: 1px dashed red;
  }
  
  .progress-bar-bg .has-changes {
    opacity: 1 !important;
  }
  .progress-bar-bg .has-changes:before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    position: absolute;
    left: calc(50% - 4px);
    bottom: -20px;
  }
  
  
/* Style de la modal */
.modal {
  align-items: center;
  display: none;
  position: fixed;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
  z-index: 9999999;
}

.modal-content {
  font-family: 'Rubik', sans-serif;
  text-align: center;
  background-color: #fefefe;
  margin: 15% auto;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 7px;
  width: 500px;
  height: 250px;
}

.modal-titre {
  margin-top: 5px;
  margin-bottom: 10px;
  font-size: 24px;
}

.popup-connexion-texte {
  margin-bottom: 0px;
}

.popup-connexion-link {
  margin-bottom: 10px;
}

.label-dont-show-again{
  font-family: 'Rubik', sans-serif;
}

.popup-connexion-boutton{
  margin-top: 10px;
}

.button-cancel{
  /* color: black !important; */
  background-color: #999898 !important;
}

.button-cancel:hover{
  background-color: #888787 !important;
}

.close {
  color: #aaa;
  float: right;
  margin-top: -15px;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


.bu-name-setup {
  border-bottom: 1px solid #ccc !important;
}

.bg-entete-build {
  display: flex;
  font-size: 17px;
  text-align: left;
}

.edit-button {
  margin-right: 3px;
}

.edit-button .edit-icon {
  width: 23px;
  height: 23px;
  margin-bottom: -4px;
  cursor: pointer;
  transition: transform 0.3s;
}

.edit-button .edit-icon:hover {
  transform: scale(120%);
}

.alert-consommable {
  background-color: #bfd5ff;
  border: 1px solid #90b7ff;
  padding: 15px;
  margin: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.alert-consommable h2 {
  font-family: 'Rubik', sans-serif;
  color: #2872fa;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
}

.alert-consommable p {
  font-size: 14px;
  margin-bottom: 5px;
}

.alert-consommable a {
  color: #2872fa;
  text-decoration: none;
  font-weight: bold;
}

.tableau-container{
  overflow: visible;
}


.prev-step {
  background-color: rgb(200 200 200) !important;
  color: #2d2d2d !important;
}

.prev-step:hover {
  background-color: rgb(187 187 187) !important;
}



@media screen and (max-width: 1024px) {

  .bg-container {
    display: block;
    justify-content: center;
  }

  .container-mon-historique {
    display: none;
  }

}

@media screen and (max-width: 985px) {

  .tableau-container {
    overflow: auto;
  }

}

@media screen and (max-width: 630px) {

  /* Tabs multi options */
  .tabs.disk-size-button{
    max-width: 400px;
    margin-top:20px;
    margin-bottom:20px;
    font-size:15px;
    padding:0px;
    list-style:none;
    background:#fff;
    box-shadow:0px 5px 20px rgba(0,0,0,0.1);
    display:inline-block;
    border-radius:50px;
    position:relative;
  }
  
  .tabs.disk-size-button a{
    font-size: 13px;
    text-decoration:none;
    color: black;
    text-transform:uppercase;
    padding: 5px 3px;
    display:inline-block;
    position:relative;
    z-index:1;
    transition-duration:0.3s;
  }

  .tabs.disk-size-button a.active{
    color:#fff;
    transition: color 0.5s; /* Ajout de border-color à la transition */
  }
  
  .tabs.disk-size-button a i{
    margin-right:5px;
  }
  
  .tabs.disk-size-button .selector{
    height:100%;
    display:inline-block;
    position:absolute;
    left:0px;
    top:0px;
    z-index:1;
    border-radius:50px;
    /* Modifier dans le js */
    transition-duration:0.6s;
    /* cubic-bezier(0.68, -0.55, 0.265, 1.55) */
    transition-timing-function: cubic-bezier(0.68, 0, 0.265, 1.55);
    background: #2872fa;
  }
  
  .tabs.disk-size-button .selector.disabled {
      background: #777777;
  }

}


@media screen and (max-width: 550px) {

  .progress-bar-bg {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    width: 250px;
  }

  .computer-usage-button {
    max-width: 105px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .computer-usage-button img {
    width: 60px !important;
    height: 60px !important;
  }

  .btn-build-generator {
    font-family: 'Rubik', sans-serif;
    font-size: 12px;
    background-color: white;
    padding: 5px;
    margin: 7px;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s, border-color 0.3s; /* Ajout de border-color à la transition */
    overflow: hidden;
    z-index: 1;
    position: relative; /* Ajout d'une position relative pour le positionnement de la bordure */
    border: 2px solid transparent; /* Ajout d'une bordure initiale transparente */
  }

  .btn-build-generator:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transform: translateY(0px);
  }

  .select2-global {
    width: 250px;
  }

    /* Tabs multi options */
  .tabs{
    max-width: 400px;
    margin-top:20px;
    margin-bottom:20px;
    font-size:15px;
    padding:0px;
    list-style:none;
    background:#fff;
    box-shadow:0px 5px 20px rgba(0,0,0,0.1);
    display:inline-block;
    border-radius:50px;
    position:relative;
  }

  .tabs a{
    font-size: 13px;
    text-decoration:none;
    color: black;
    text-transform:uppercase;
    padding: 5px 3px;
    display:inline-block;
    position:relative;
    z-index:1;
    transition-duration:0.3s;
  }

  .tabs a.active{
    color:#fff;
    transition: color 0.5s; /* Ajout de border-color à la transition */
  }

  .tabs a i{
    margin-right:5px;
  }

  .tabs .selector{
    height:100%;
    display:inline-block;
    position:absolute;
    left:0px;
    top:0px;
    z-index:1;
    border-radius:50px;
    /* Modifier dans le js */
    transition-duration:0.6s;
    /* cubic-bezier(0.68, -0.55, 0.265, 1.55) */
    transition-timing-function: cubic-bezier(0.68, 0, 0.265, 1.55);
    background: #2872fa;
  }

  .tabs .selector.disabled {
      background: #777777;
  }

  .mobile-display-simple {
    content: "Simple";
  }

  .mobile-display-moyen:before {
    content: "Moyen";
  }

  .mobile-display-complexe:before {
    content: "Complexe";
  }

  .titre-disque {
    font-size: 24px;
  }

}

@media screen and (max-width: 510px) {

  .modal-content {
    width: 90%;
    height: auto;
  }

}

@media screen and (max-width: 457px) {

  .mobile-display-fichier:before {
    content: "Stock Fich";
  }

  .mobile-display-jeu:before {
    content: "Serv Jeu";
  }

}


@media screen and (max-width: 425px) {

  .range {
    width: 70vmin;
    margin: 0 auto; 
    display: flex;
    flex-direction: column; /* Modifier la direction de la flexbox en ligne (row) */
    align-items: center;
    justify-content: space-between; /* Ajuster l'espacement entre le range slider et slider-value */
    padding: 20px;
    border-radius: 5px;
  }

  input[type="range"]{
    margin-bottom: 10px;
    position: relative;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: block;
    width: 100%;
    height: 8px;
    background-color: #d5d5d5;
    border-radius: 8px;
    outline: none;
}

}


@media screen and (max-width: 385px) {

  .generate-build{
    margin: 5px;
  }

}


@media screen and (max-width: 365px) {

  .mobile-display-250go:before {
    content: "250Go";
  }

  .mobile-display-500go:before {
    content: "500Go";
  }

  .mobile-display-1to:before {
    content: "1To";
  }
  
  .mobile-display-2to:before {
    content: "2To";
  }
  
  .mobile-display-4to:before {
    content: "4To";
  }
  
  .mobile-display-8to:before {
    content: "8To";
  }

}


@media screen and (max-width: 343px) {

  .mobile-display-250go:before {
    content: "250Go";
  }

  .mobile-display-500go:before {
    content: "500Go";
  }

  .mobile-display-1to:before {
    content: "1T";
  }
  
  .mobile-display-2to:before {
    content: "2T";
  }
  
  .mobile-display-4to:before {
    content: "4T";
  }
  
  .mobile-display-8to:before {
    content: "8T";
  }

}

@media screen and (max-width: 326px) {

  .mobile-display-2k:before {
    content: "2k";
  }
  
  .mobile-display-4k:before {
    content: "4k";
  }

}


@media screen and (max-width: 290px) {

  .progress-bar-bg {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    width: 230px;
  }

}