.container {
  max-width: 800px;
  margin: 0 auto;
/*   padding: 20px; */
}

.headers {
  text-align: center;
	 background: linear-gradient(180deg, #6630C6 0%, #330F95 100%);


	padding: 31px;
    border-radius: 15px;
    margin-bottom: 10px;
}

.headers h1 {
  font-size: 45px !important;
  font-weight: 700;
  color:white;
  margin-bottom: 8px;
  line-height: 1.2;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.section {
  background: #ffffff;
  padding: 25px !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb !important;
}

.section h2 {
  color: #1e40af;
  font-size: 1.5em !important;
  margin-bottom: 20px;
  font-weight: 600;
}

.module {
  margin-bottom: 20px;
}

.module:last-child {
  margin-bottom: 0;
}

.module h3 {
  color: #1f2937;
  font-size: 1.1em !important;
  margin-bottom: 12px;
  font-weight: 500;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slider {
  width: 100%;
  height: 8px !important;
  border-radius: 5px !important;
  background: #dbeafe;
  outline: none !important;
  -webkit-appearance: none;
  appearance: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50%;
  background: #3b82f6;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider::-webkit-slider-thumb:hover {
  background: #1e40af;
  transform: scale(1.1);
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #3b82f6;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.slider::-moz-range-thumb:hover {
  background: #1e40af;
  transform: scale(1.1);
}

.input-display {
  display: flex;
  align-items: center;
  gap: 8px;
}

.number-input {
  width: 70px;
  padding: 10px 12px !important;
  font-size: 1.1em;
  border: 2px solid #93c5fd !important;
  border-radius: 8px !important;
  text-align: center;
  font-weight: 600;
  color: #1e40af;
  transition: all 0.2s ease;
}

.number-input:focus {
  outline: none !important;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.max-value {
  color: #6b7280;
  font-size: 1.1em;
  font-weight: 500;
}

.results {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  padding: 30px;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  color: white;
}

.results h2 {
  font-size: 1.8em;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 600;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-bottom: 25px;
}

.result-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 20px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.result-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.result-item.total {
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: 25px;
}

.result-label {
  font-size: 1.1em;
  font-weight: 500;
}

.result-value {
  font-size: 2em;
  font-weight: 700;
}

.result-item.total .result-value {
  font-size: 2.5em;
}

.reset-btn {
  width: 100%;
  padding: 15px 30px !important;
  font-size: 1.1em;
  font-weight: 600;
  color: #1e40af !important;
  background: white !important;
  border: none !important;
  border-radius: 10px !important;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.reset-btn:hover {
  background: #dbeafe;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.reset-btn:active {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .calculator-grid {
    grid-template-columns: 1fr 1fr;
  }

  .results-grid {
    grid-template-columns: 1fr 1fr;
  }

  .result-item.total {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
 

  .container {
    padding: 0px !important;
  }

  h1 {
    font-size: 35px!important;
  }

  .section {
    padding: 20px;
  }

  .results {
    padding: 20px;
  }

  .result-value {
    font-size: 1.5em;
  }

  .result-item.total .result-value {
    font-size: 2em;
  }
}