.act-sim *,
.act-sim *::before,
.act-sim *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.act-sim .simulator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1100px) {
  .act-sim .simulator {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   DATAS INPUTS
   ===================================================================== */

.act-sim .panel,
.act-sim .results-panel {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10), 0 2px 8px rgba(0, 0, 0, 0.06);
  height: 100%;
  ;
}

.act-sim .panel-title {
  font-family: 'Anek Bangla', Helvetica, Arial, Lucida, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #8C3520;
  letter-spacing: 0.04em;
  margin-bottom: 36px;
  line-height: 1.15;
}

.act-sim .field {
  margin-bottom: 28px;
}

.act-sim .field:last-child {
  margin-bottom: 0;
}

.act-sim .field label {
  display: block;
  font-family: 'Anek Bangla', Helvetica, Arial, Lucida, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #2B2B2B;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 20px;
}

/* Inputs CA et Temps */
.act-sim .ca-input-wrap {
  display: flex;
  align-items: stretch;
  border: 1.5px solid #DEDEDE;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 0.2s;
}


.act-sim .ca-input-wrap input[type="number"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 16px;
  font-family: 'Anek Bangla', Helvetica, Arial, Lucida, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #1C1C1C;
  background: transparent;
  -moz-appearance: textfield;
}

.act-sim .ca-input-wrap input[type="number"]::-webkit-inner-spin-button,
.act-sim .ca-input-wrap input[type="number"]::-webkit-outer-spin-button {
  opacity: 1;
  cursor: pointer;
}

.act-sim .ca-input-wrap .unit {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background: #F4F4F4;
  border-left: 1.5px solid #DEDEDE;
  font-family: 'Anek Bangla', Helvetica, Arial, Lucida, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #555555;
  white-space: nowrap;
}

/* Slider matières */
.act-sim .slider-wrap {
  position: relative;
}

.act-sim input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  background: #2B2B2B;
  margin-bottom: 10px;
  display: block;
}

.act-sim input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2B2B2B;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 1.5px #2B2B2B;
  cursor: pointer;
  transition: transform 0.15s;
}

.act-sim input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.act-sim input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2B2B2B;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 1.5px #2B2B2B;
  cursor: pointer;
}

.act-sim .slider-labels {
  display: flex;
  justify-content: space-between;
  font-family: 'Anek Bangla', Helvetica, Arial, Lucida, sans-serif;
  font-size: 1rem;
  color: #888888;
}

.act-sim .slider-labels .act-matieres-display {
  font-weight: 700;
  color: #2B2B2B;
}



/* =====================================================================
RESULTS
   ===================================================================== */

.act-sim .results-panel {
  background: #9B3117;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.act-sim .results-panel .panel-title {
  color: #FFF;
  margin-bottom: 10px;
}

.act-sim .result-item {
  display: flex;
  flex-direction: row;
  gap: 4px;
  justify-content: space-between;
}

.act-sim .result-label {
  font-family: 'Anek Bangla', Helvetica, Arial, Lucida, sans-serif;
  font-size: 17px;
  color: #FFF;
  font-weight: 400;
}

.act-sim .result-value {

  font-size: 24px;
  font-weight: 600;
  color: #FFF;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}


.act-sim .result-note {
  font-size: 14px;
  color: #FFF;
}

.act-sim .result-final {
  margin-top: 10px;
  ;
  border-radius: 15px;
  background-color: #F18F1B;
  padding: 10px 15px;
  font-family: 'Anek Bangla', Helvetica, Arial, Lucida, sans-serif
}

.act-sim .result-final .result-label {
  font-size: 1.4rem;
}

.act-sim .result-final .result-value {
  font-size: 1.8rem;
}

.act-sim .pad {
  padding: 0px 20px;
}

.act-sim .pad2 {
  padding-left: 40px;
}

.act-sim .abo-note {

  font-size: 14px;
  color: rgba(255, 255, 255, 0.5) !important;
  padding-top: 20px;
  ;
}



@keyframes act-pulse {
  0% {
    opacity: 1;
  }

  40% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

.act-sim .animating {
  animation: act-pulse 0.3s ease-out;
}