#race-calculator-popup {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.race-calculator-content {
  z-index: 9999;
  background-color: #fff;
  border-radius: 0;
  width: 600px;
  max-width: 95%;
  text-align: center;
  position: relative;
  height: 90%;
  max-height: 800px;
  overflow-y: auto;
}
.page.race-calculator-content {
  z-index: 1;
  background-color: #fff;
  border-radius: 0;
  width: 600px;
  max-width: 95%;
  text-align: center;
  position: relative;
  height: 800px;
  max-height: 800px;
  overflow-y: auto;
}
/* Stilizzare la scrollbar per WebKit (Chrome, Safari) */
.race-calculator-content::-webkit-scrollbar {
  width: 8px; /* Ridurre la larghezza della scrollbar */
}

.race-calculator-content::-webkit-scrollbar-track {
  background: #f1f1f1; /* Colore di sfondo della track */
  border-radius: 10px; /* Bordo arrotondato per la track */
}

.race-calculator-content::-webkit-scrollbar-thumb {
  background: #007bff; /* Colore della scrollbar */
  border-radius: 10px; /* Bordo arrotondato per la scrollbar */
}

.race-calculator-content::-webkit-scrollbar-thumb:hover {
  background: #0056b3; /* Colore della scrollbar al passaggio del mouse */
}

/* Stilizzare la scrollbar per Firefox */
.race-calculator-content {
  scrollbar-width: thin; /* Ridurre la larghezza della scrollbar */
  scrollbar-color: #007bff #f1f1f1; /* Colore della scrollbar e della track */
}

.rc-description-title {
  padding-top: 20px;
  color: white;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 0;
}

.rc-description {
  padding-top: 5px;
  color: white;
  text-align: center;
  line-height: 1.3;
  font-size: 18px;
  margin-bottom: 0;
}

.race-calculator-close {
  position: absolute;
  top: 0;
  right: 10px;
  cursor: pointer;
  color: white;
  font-size: 40px;
  line-height: 40px;
}

.rc-form-header {
  background-image: url("../images/WL_24_01_Start_II.jpg");
  background-position: center;
  height: 230px;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rc-form-header h2 {
  color: white;
  font-size: 30px;
  padding-top: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.rc-thumbs {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.rc-form h3 {
  font-size: 24px;
  padding-top: 20px;
  text-transform: uppercase;
}

.rc-result-title {
  font-size: 24px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 10px;
  line-height: 1.2;
}

.rc-result-content {
  padding: 0 40px;
  text-align: center;
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 10px;
}
#race-calculator-initial {
  background-image: url("../images/WL_24_01_Start_II.jpg");
  background-size: cover;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  bg-repeat: no-repeat;
  background-position: center;
}

.rc-logo {
  margin-top: 20px;
}

.rc-banner {
  margin-top: 15px;
}

.step {
  display: none;
}

.rc-start-test {
  margin-top: auto;
}

.rc-button {
  background-color: #dd3824;
  color: white;
  padding: 10px 20px;
  text-transform: uppercase;
  margin-bottom: 5px;
  cursor: pointer;
}

.rc-button-share {
  background-color: #0073cf;
  color: white;
  padding: 10px 20px;
  text-transform: uppercase;
  margin-bottom: 20px;
  margin-top: 5px;
  margin-right: 5px;
  cursor: pointer;
}

.rc-button-share-instagram {
  background-color: #0073cf;
  color: white;
  padding: 10px 20px;
  text-transform: uppercase;
  margin-bottom: 20px;
  margin-top: 5px;
  cursor: pointer;
}

.rc-button:disabled {
  background-color: #aaa; /* Colore di sfondo per il bottone disabilitato */
  color: #666; /* Colore del testo per il bottone disabilitato */
  cursor: not-allowed; /* Cambia il cursore per indicare che non è cliccabile */
}

.rc-hr {
  height: 1px;
  border-top: 1px solid #0073cf;
  width: 80%;
  margin: 0 auto 10px;
}

.rc-form-content {
  padding: 20px 40px;
}

.rc-result h2 {
  color: white;
  background: #0073cf;
  margin-bottom: 0;
  text-align: center;
}

.rc-result h3 {
  margin-top: 10px;
  text-align: center;
}

.rc-div-center {
  display: flex;
  justify-content: center;
}
/* Nascondere il radio button originale */
.custom-radio {
  display: none;
}

.radio-input {
  display: flex;
  align-items: start;
  margin-bottom: 20px;
}

/* Stilizzare il radio button come un checkbox */
.custom-radio + .custom-radio-label {
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  user-select: none;
  margin-left: 10px;
  text-align: left;
  font-size: 17px;
  line-height: 1.2;
  text-transform: initial;
}

/* Creare l'aspetto del checkbox */
.custom-radio + .custom-radio-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border: 1px solid #0073cf;
  border-radius: 0px;
  background-color: #daeaf7;
}

/* Gestire lo stato selezionato del radio button */
.custom-radio:checked + .custom-radio-label::before {
  background-color: #0073cf;
}

.custom-radio:checked + .custom-radio-label::after {
  content: "\2714";
  position: absolute;
  color: white;
  left: 3px;
  top: 0px;
}
