.mt25 {
  margin-top: 25px; 
}

.valueForm {
  display: flex; 
  gap: 100px;
}

.valueForm:has(.postSubmtion__panel:not(.hidden)) {
  {#  flex-direction: column; #} 
  flex-wrap: wrap;
}


.postSubmtion__panel {
  flex-basis: 100%; 
}

@media (max-width: 767px) {
  .valueForm {
    flex-direction: column; 
  }
  
  .postSubmtion__panel {
    width: 100%; 
  }
  
}

.valueForm__leftPanel,
.valueForm__rightPanel {
  flex-basis: 50%; 
  flex: 1; 
}

@media (max-width: 765px) {
  
  .valueForm__leftPanel, 
  .valueForm__rightPanel {
    width: 100%; 
  }
  
}

.valueForm__leftPanel {
  display: flex;
  flex-direction: column;
  justify-content: center; 
  gap: 50px;
}

.valueForm__rightPanel {
  background-color: white; 
  padding: 25px; 
  border-radius: 10px; 
}

.postSubmtion__panel-one  {
  flex: 1;
}

@media (max-width: 765px) {
  
  .postSubmtion__panel-one  {
    width: 100%;
  }
  
}

.valueForm [type=radio]:checked, 
.valueForm [type=radio]:not(:checked) {
  opacity: 1;
  pointer-events: auto;
  position: static;
}

.radio-row label {
  width: 40%;
  margin-right: 25px;
  display: inline-block;
  border-bottom: 1px solid lightgrey;  
  margin-bottom: 25px; 
  padding-bottom: 10px; 
}

.valueForm input[type="radio"] {
 appearance: none; /* Remove default styling */
  -webkit-appearance: none; /* For Safari */
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: white; /* Default background color */
  margin-right: 10px;
  display: inline-block;
  transition: background-color 0.3s, border-color 0.3s;
}

.valueForm input[type="radio"]:checked {
  background-color:  #2A3D63;
  outline: 1px solid #2A3D63;
  outline-offset: 1px; 
}

.radio-title {
  font-size: 20px;
}
  
  
.input-container {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px; 
  }

  button {
    background-color: #E8892F;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
  }

  button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
  }

  input[type="number"] {
    width: 50px;
    background-color: white !important;
    text-align: center;
    font-size: 14px;
    padding: 5px;
  }

  input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(to right, #E8892F 50%, #ddd 50%);
    outline: none;
    transition: background 0.3s;
  }

  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #E8892F;
    border-radius: 50%;
    cursor: pointer;
  }

  /* Thumb while being moved */
  input[type="range"]:active::-webkit-slider-thumb {
    background: #E8892F;
    transform: scale(1.2); /* Make the thumb slightly larger */
    outline: 2px solid white; /* Semi-transparent outer outline */
  }

  input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #2A3D63;
    border-radius: 50%;
    cursor: pointer;
  }


.range-title {
  margin-right: auto; 
  font-weight: bold;
  font-size: 24px; 
}

.form-row {
  display: flex;
  gap: 20px;
}


  
  .form-row {
    flex-direction: column;
    gap: 0; 
  }



.form-group {
  flex-basis: 50%; 
}

.form-group.full {
  flex-basis: 100%; 
}

.form-text {
  font-size: 15px;
  line-height: 1.4;
  padding: 15px 0;
}


/* Style for the circle with the question mark */
.help-icon {
  display: inline-block;
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #2A3D63;
  color: #2A3D63;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  
  display: none; 
}

/* Style for the tooltip popup */
.tooltip {
  visibility: hidden;
  position: absolute;
  bottom: 70px; /* Position it above the icon */
  left: 50%;
  transform: translateX(-50%);
  background-color: #2A3D63;
  color: white;
  border-radius: 5px;
  font-size: 12px;
  min-width: 350px;
  text-align: left;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
  box-shadow: -3px 2px 6px rgba(0, 0, 0, 0.3);
}

.tooltip__top {
  background-color: white;
  padding: 20px; 
  color: #1C1C1C; 
}

.tooltip__bottom {
  padding: 20px; 
}

.tooltip__top h3 {
  font-size: 21px;
  margin-bottom: 15px; 
}

/* Show the tooltip when the icon is hovered */
.help-icon:hover .tooltip {
  visibility: visible;
  opacity: 1;
  z-index: 999; 
}




.titleTooltip {
  display: flex;
  align-items: center; 
  gap: 10px;
  margin-right: auto; 
}

.submit-button,
.recalculate-button {
  background-color: #E8892F; 
  border-radius: 10px; 
  font-size: 14px; 
  padding: 15px 20px;
  border-radius: 50px;
  text-transform: capitalize;
}

.recalculate-button {
  margin-top: 15px; 
  font-size: 20px;
  padding: 15px 30px;
} 

/* Remove spinner arrows for WebKit browsers (Chrome, Safari, Edge) */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Remove spinner arrows for Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

input[type=color], input[type=date], input[type=datetime-local], input[type=datetime], input[type=email], input[type=file], input[type=month], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=time], input[type=url], input[type=week], select, select:focus, textarea {
  background-color: #F0F8FC;
}


{# TABLE #}


.calc-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
}

.calc-table th, 
.calc-table td {
  padding: 8px 12px;
  text-align: left;
  border: 1px solid #ddd;
}

.calc-table th {
  background-color: rgb(var(--color-primary));
  color: white;
}

.calc-table .unchangeable {
  background-color: #e7f4e7; /* Light green background for unchangeable numbers */
}

.calc-table .inputs {
  background-color: #fff4e7; /* Light orange background for inputs */
}


.valueForm:has(.postSubmtion__panel:not(.hidden)) .valueForm__leftPanel {
    /* Apply styles when the child does not have 'hidden' class */
    justify-content: center; 
}

.tbody {
  border-bottom: none; 
  padding-bottom: 25px;
}


.data-container {
  background-color: white; 
  border-radius: 8px;
  border: 1px solid #979797; 
  padding: 25px 35px; 
}

.data__title {
  border-bottom: 1px solid darkgrey; 
  padding-bottom: 25px; 
}

.data-item p {
  margin: 0;
}

.data-item .label {
  font-size: 17px; 
  font-weight: bold; 
}

.toggle-btn {
  width: 100%;
  text-align: center;
  padding: 10px; 
  border-radius: 50px;
  margin: 25px 0; 
  background-color: #E8892F;
  color: white;
  cursor: pointer; 
}

.data-item .value {
  color: black;
  font-size: 45px; 
  font-weight: bold;
}

@media (max-width: 767px) {

  .data-item .value {
    font-size: 35px; 
  }
  
}



.data__subtitle {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 25px;
  margin-bottom: 0; 
  font-weight: bold;
}

.data__subtitle span:first-child {
  color: green;
}

.data__subtitle span:last-child {
  color: #F6A106;
}

.data__subtitle-recalc {
  margin-top: 0;
}



.data-group {
  display: flex;
  flex-wrap: wrap; /* Allows items to wrap to the next line */
  justify-content: flex-start; /* Aligns items to the left */
  gap: 50px; /* Adds spacing between items */
  margin-bottom: 30px;
  margin-top: 30px;
}

.data-item {
  flex: 1; /* Makes items take equal width */
  min-width: 300px; /* Set a reasonable minimum width */
  background-color: #efefef;
  text-align: center;
  padding: 20px;
}

@media (max-width: 767px) {
  
  .data-item {
    min-width: unset; 
  }
}


.data-item {
  font-family: 'Barlow Condensed', Arial, "Helvetica";
  background-color: #efefef;
}

.data-item.first {
  background-color: #efefef;
}

.data-item.second {
  background-color: #F4FAFF;
}

.data-item.third  {
  background-color: #E8FFE8;
}


.data-item .eyebrow {
  font-size: 28px;
  font-weight: bold; 
}


.lg-text {
  font-size: 12px;
  line-height: 1.4;
  font-family: 'Barlow Condensed';
} 


.data__title--i {
  border-bottom: 1px solid darkgrey;
  padding-bottom: 25px;
}

.data-item--i .value {
  color: #E8892F;
  font-size: 45px; 
  font-weight: bold;
  margin: 0;
  line-height: 1; 
}

.data-item--i .label {
  margin-bottom: 5px;
  font-size: 22px;
  font-family: 'Barlow Condensed';
  font-weight: bold;
}

@media (max-width: 400px) {
  .data-item--i .value {
    font-size: 35px;
  }
}

.data__subtitle--i {
 font-family: "Barlow Condensed", sans-serif;
}


.emailValidation {
  align-items: center;
  color: #D92D20; /* HubSpot error red */
  font-size: 14px;
  margin-top: 15px;
  background-color: #FEECEC; /* Light red background */
  padding: 8px;
  border-radius: 4px;
}


@keyframes bounce {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
  75% { transform: translateX(-1px); }
}

.bounce {
  animation: bounce 0.3s ease-in-out 2;
}
