body{
    margin: 0;
    padding: 0;
    font-family: 'Space Grotesk', sans-serif;
    background: #190120;
}

/*tooltip*/

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

.tooltip .tooltiptext {
  visibility: hidden;
  background-color: black; 
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 45px 10px;
  position: absolute;
  z-index: 1;
  top: -30px; 
  left: -180px; 
  transform: translate(0%, -100%);
  white-space: pre-wrap;
  opacity: 0;
  line-height: 1.5;
  letter-spacing: 0.5px;
  width: 224px; 
}


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

.tooltip > span {
  background-color: #B600EA; 
  color: white;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  position: absolute;
  top: -15px; 
  right: -7px; 
  transform: translate(50%, -50%);
}

/* common-classes */
.primary-btn{
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(182, 0, 234, 0.00) 0%, rgba(182, 0, 234, 0.12) 99.99%, rgba(182, 0, 234, 0.32) 100%), rgba(182, 0, 234, 0.12);
    box-shadow: 0px 0px 12px 0px rgba(191, 151, 255, 0.24) inset;
}
.secondary-btn{
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(182, 0, 234, 0.00) 0%, rgba(182, 0, 234, 0.12) 99.99%, rgba(182, 0, 234, 0.32) 100%), rgba(182, 0, 234, 0.72);
    box-shadow: 0px 0px 12px 0px rgba(191, 151, 255, 0.24) inset;
}
.text-purple{
    color:#B600EA;
}

/* range-slider */
input[type="range"] {
    /* removing default appearance */
    -webkit-appearance: none;
    appearance: none; 
    /* creating a custom design */
    width: 100%;
    cursor: pointer;
    outline: none;
    border-radius: 15px;
    /*  overflow: hidden;  remove this line*/
    
    /* New additions */
    height: 6px;
    background: #ccc;
  }

/* currency-bouton */

.custom-radio {
    color: white;
    position: relative;
    padding-left: 25px; 
    cursor: pointer;
    display: inline-block;
    margin-right: 20px;
    transition: font-size 0.3s;
}

.custom-radio input[type="radio"] {
    position: absolute;
    opacity: 0; 
    cursor: pointer;
}

.radio-button {
    position: absolute;
    top: 4.5px;
    left: 6px;
    height: 15px;
    width: 15px;
    background-color: white;
    border-radius: 50%; 
    transition: background-color 0.3s, transform 0.3s;
}

.custom-radio input[type="radio"]:checked ~ .radio-button {
    background-color: #B600EA;
}

/* success */
.qr-info-container.blurred {
    filter: blur(5px);
    position: relative;
  }
  #success-icon {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    z-index: 1;
  }
  .qr-info-container.blurred + #success-icon {
    display: block;
  }

/* random */
.custom-radio {
    color: white;
    position: relative;
    padding-left: 25px; 
    cursor: pointer;
    display: inline-block;
    margin-right: 20px;
    transition: font-size 0.3s;
}

.custom-radio input[type="radio"] {
    position: absolute;
    opacity: 0; 
    cursor: pointer;
}

.radio-button {
    position: absolute;
    top: 4.5px;
    left: 6px;
    height: 15px;
    width: 15px;
    background-color: white;
    border-radius: 50%; 
    transition: background-color 0.3s, transform 0.3s;
}

.custom-radio input[type="radio"]:checked ~ .radio-button {
    background-color: #B600EA;
}


  /* cross */
.cross {
  position: absolute;
  top: 8px;
  right: 8px;
  cursor: pointer;
  fill: #B600EA;
  width: 24px;
  height: 24px;
}

  /* Thumb: webkit */
  input[type="range"]::-webkit-slider-thumb {
    /* removing default appearance */
    -webkit-appearance: none;
    appearance: none; 
    /* creating a custom design */
    height: 15px;
    width: 15px;
    background-color: #B600EA;
    border-radius: 50%;
    border: none;
  
    /* box-shadow: -407px 0 0 400px #f50; emove this line */
    transition: .2s ease-in-out;
  }
  
  /* Thumb: Firefox */
  input[type="range"]::-moz-range-thumb {
    height: 15px;
    width: 15px;
    background-color: #B600EA;
    border-radius: 50%;
    border: none;
    
    /* box-shadow: -407px 0 0 400px #f50; emove this line */
    transition: .2s ease-in-out;
  }
  
  /* Hover, active & focus Thumb: Webkit */
  
  input[type="range"]::-webkit-slider-thumb:hover {
    box-shadow: 0 0 0 10px rgba(255,85,0, .1)
  }
  input[type="range"]:active::-webkit-slider-thumb {
    box-shadow: 0 0 0 13px rgba(255,85,0, .2)
  }
  input[type="range"]:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 13px rgba(255,85,0, .2)
  }
  
  /* Hover, active & focus Thumb: Firfox */
  
  input[type="range"]::-moz-range-thumb:hover {
    box-shadow: 0 0 0 10px rgba(255,85,0, .1)
  }
  input[type="range"]:active::-moz-range-thumb {
    box-shadow: 0 0 0 13px rgba(255,85,0, .2)
  }
  input[type="range"]:focus::-moz-range-thumb {
    box-shadow: 0 0 0 13px rgba(255,85,0, .2)    
  }

/* CSS pour le calculateur */
.calculator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    background: #270132;
    padding: 20px; /* Ajustez la marge intérieure selon vos besoins */
    border-radius: 8px; /* Ajustez la bordure selon vos besoins */
    width: 600px;
}


/* CSS pour le flou d'arrière-plan */
.background-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 50; 
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: opacity 0.3s ease-in-out;
    
}

/* close button */

.close {
    position: fixed;
    top: 4%;
    left: 94%;
    width: 25px;
}

@media only screen and (max-width: 600px) {
    .calculator {
        width: 300px; /* Réduit la largeur pour les petits écrans */
        padding: 10px; /* Réduit le padding */
    }
	.close {
    left: 85%;
}
}

/* Speed indicator */

.service_category {
    font-size: inherit;
    font-weight: 700;
    margin-top: -30px;
    text-align: right;
}

.service_category.SLOWER {
  color: #F3980D;
}

.service_category.FASTER {
  color: #2FDC84;
}

.service_category.FASTEST {
  color: #B600EA;
}

.hidden {
    display: none;
}

  /* checkbox */
  /* The container */
.containerBox {
    position: inherit;
    padding-left: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
  
  /* Hide the browser's default checkbox */
  .containerBox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  /* Create a custom checkbox */
  .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 27px;
    width: 25px;
    border-radius: 5px;
    border: 1px solid #313131;
    background: #190120;
  }
 
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.rotate-svg {
    animation: spin 2s linear infinite; 
}

.slow-spin {
    animation: spin 5s linear infinite;
  
}
  

  /* When the checkbox is checked, add a blue background */
  .containerBox input:checked ~ .checkmark {
    background-color: #B600EA;
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the checkmark when checked */
  .containerBox input:checked ~ .checkmark:after {
    display: block;
  }
  
  /* Style the checkmark/indicator */
  .containerBox .checkmark:after {
    left: 7px;
    top: 5px;
    width: 7px;
    height: 14px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .overlay {
    position: fixed;
    height: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    width: 0%;
    z-index: 1;
    background-color: #190120;
    overflow-x: hidden;
    transition: 0.5s;
}
   /* Style the ? span */
span[title]:hover:after {
    content: attr(title);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

span[title]:hover:after {
    opacity: 1;
}
button:hover{
  opacity: 0.8;
}
button:focus{
  outline: none !important;
}
  
.disply-none{
  display: none;
}

/*invoice*/
@media (max-width: 768px) {
    .qr-info-container {
      flex-direction: column;
    }
    .min-max-info {
      margin-left: 0;
      margin-top: 20px;
      margin-right: 0;
      align-self: flex-start;
    }
  }