.simulator-title {
  padding: 8px 5px;
  background: #2774cc;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 0;
  text-align: center;
}

.js-simulation-block {
  width: 80%;
  margin: 0 auto;
  color: #222 !important;
}

.simulation-tabs {
  display: flex;
  gap: 5px;
  padding: 15px 30px 0;
  justify-content: space-between;
  background: #f1f1f1;
}

.simulation-tabs button {
  flex: 1;
  padding: 8px;
  border: 1px solid #cbcbcc;
  color: #797979;
  border-bottom: none;
  border-radius: 5px 5px 0 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: bold;
  transition: all 0.2s ease;
  line-height: 1.3;
}

.simulation-tabs button.active {
  color: black;
  background: white;
  border-bottom: 1px solid #2774cc;
}

.simulation-wrapper {
  position: relative;
  background: white;
}

.simulation-container {
  background-color: #f1f1f1;
  display: none;
  padding: 0 30px 30px;
}

.simulation-container.active {
  display: block;
}

.form-section {
  padding: 20px;
  background-color: white;
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  font-size: 15px;
  font-weight: bold;
  margin: 0 15px 8px;
}

.input-group {
  display: flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 15px;
}

.input-group input {
  flex: 1;
  font-size: 24px;
  font-weight: bold;
  text-align: right;
  padding: 5px 10px;
  min-width: 0;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
}

.input-group input::placeholder {
  color: #d1d5db;
  font-weight: normal;
}

.input-group .unit {
  width: 40px;
  font-size: 16px;
  margin-left: 8px;
  font-weight: 500;
}

.calculate-btn {
  width: 90%;
  display: block;
  margin: 10px auto 0;
  color: #9ca3af;
  font-size: 25px;
  padding: 8px;
  background: #fbad00;
  box-shadow: 0 5px 0 #CC8D00;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: not-allowed;
  transition: all 0.3s ease;

}

.calculate-btn:enabled {
  background: #fbad00;
  color: white;
  cursor: pointer;
}

.calculate-btn:enabled:hover {
  opacity: 0.8;
}

.result-section {
  display: none;
  text-align: center;
  padding: 20px 0 0;
}

.result-section.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-section-item {
  text-align: center;
  background-color: white;
}

.result-section-item .result-header {
  font-size: 16px;
  font-weight: bold;
  padding: 10px;
}

.result-value {
  font-size: 36px;
  font-weight: bold;
  color: #dc2626;
  background-color: #FDF4F1;
  width: 80%;
  padding: 20px;
  margin: 0 auto;
}

.result-box-chart {
  margin-bottom: 0;
}

.chart-box {
  padding: 20px;
  position: relative;
}

.chart-box .note-chart {
  position: absolute;
  top: 25px;
  left: 23px;
  font-size: 9px;
}

@media (max-width: 767px) {
  .js-simulation-block {
    width: 100%;
  }

  .simulation-tabs {
    padding: 12px 12px 0;
  }

  .simulation-tabs button {
    font-size: 13px;
    padding: 8px;
  }

  .simulation-container {
    padding: 0 12px 12px;
  }

  .input-group input {
    font-size: 20px;
  }

  .result-value {
    font-size: 28px;
  }
}
