.cost-calculator-wrapper {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 16px;
  svg {
    max-width: 100%;
  }
}

/* LEFT SECTION - Bottles */
.bottles-section {
  background: white;
  padding: 40px 70px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  height: fit-content;
  align-self: center;
  border-radius: 4px;
}

.people-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: #3b82f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-title {
  font-weight: 700;
  font-size: 1rem;
  line-height: 170%;
  letter-spacing: 0%;
  text-align: center;
  color: #003d4c;
  margin-bottom: 24px;
}

.people-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.people-count {
  font-weight: 700;
  font-size: 5.125rem;
  line-height: 110.00000000000001%;
  color: #004d6c;
}

.people-text {
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 160%;
  color: #003d4c;
}

/* SLIDER STYLING */
.slider-container {
  margin: 24px 0;
  position: relative;
}

.bedarProductRangeSlider {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: #e5e7eb;
  outline: none;
  cursor: pointer;
}

.bedarProductRangeSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #0097db;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  background-image: url("data:image/svg+xml,%0A%3Csvg width='25' height='24' viewBox='0 0 25 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.25 2.25H14.75V4.5H10.25V2.25Z' fill='%230097DB'/%3E%3Cpath d='M15.05 6H9.95L8.75 9V21.75H16.25V9L15.05 6Z' fill='%230097DB'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 25px 24px;
  transition: all 0.2s ease;
}

.bedarProductRangeSlider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.bedarProductRangeSlider::-moz-range-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #3b82f6;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* CALCULATION RESULTS */
.calculation-result {
  padding: 20px 0;
}

.result-label {
  margin-bottom: 8px;
}

.bottles-info {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 8px;
}
.bottles-info > div:first-of-type {
  display: flex;
  flex-direction: column;
  color: #525b6f;
  font-size: 1rem;
}
.bottles-info > div:first-of-type .title {
  font-weight: 700;
  line-height: 170%;
  color: #003d4c;
}
.bottles-count {
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 130%;
  color: #003d4c;
}

.bottles-details {
  font-weight: 700;
  font-size: 1rem;
  line-height: 170%;
}

/* RIGHT SECTION - Water Dispenser */
.dispenser-section {
  background: #004d6c;
  color: white;
  padding: 47px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 4px;
}

.dispenser-header {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.dispenser-image {
  max-width: 170px;
  max-height: 170px;
  margin: 0;
}
.dispenser-image img {
  width: 100%;
  height: 100%;
  margin: 0;
}
.dispenser-title {
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 120%;
  letter-spacing: 0%;
}

.savings-highlight {
  margin: 40px 0;
  display: flex;
  gap: 12px;
  color: #fff;
}

.savings-icon {
  width: 53px;
  height: 53px;
}

.savings-amount {
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 130%;
}

.savings-period {
  background: #f59e0b;
  color: #003d4c;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
  display: inline-block;
}
.secondary-benefits {
  display: flex;
  gap: 26px;
}
.dispenser-benefits {
  margin-top: 16px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
  font-size: 0.875rem;
  font-weight: 700;
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.cta-button {
  background: #e06438;
  color: white;
  font-weight: 700;
  font-size: 18px;
  line-height: 170%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  width: fit-content;
  padding: 10px 30px;
  text-decoration: none;
}
.calculation-basis {
  text-align: center;
}
.calculation-basis button {
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 160%;
  text-align: center;
  text-decoration: underline;
  color: #003d4c;
  border: none;
  outline: none;
  background:transparent;
  cursor: pointer;
}

@media (max-width: 991px) {
  .cost-calculator-wrapper {
    grid-template-columns: 1fr;
    margin: 10px !important;
    justify-items: center;
  }
  .bottles-section {
    width: 75%;
  }
  .bottles-section,
  .dispenser-section {
    padding: 40px 26px;
  }
  .bottles-info,
  .dispenser-header,
  .savings-highlight,
  .secondary-benefits {
    justify-content: center;
  }
  .dispenser-header {
    gap: 20px;
  }
  .cta-button {
    width: auto;
  }
}

#calculation-modal {
  border: none;
  border-radius: 8px;
  padding: 2rem;
  max-width: 800px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  font-size: .875rem;
  line-height: 1.5;
  font-weight: 400;
}

#calculation-modal::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  outline:none;
}

#calculation-modal .modal-content{
 border: none;
}