.pc-container {
  max-width: 1200px;
  margin: 0 auto;
}

.pc-header {
  margin-bottom: 3rem;
}

.pc-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c5282;
}

.pc-header p {
  color: #718096;
}

.pc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pc-calculator-panel,
.pc-result-panel {
  min-width: 0;
}

@media (max-width: 768px) {
  .pc-grid {
    grid-template-columns: 1fr;
  }
}

.pc-calculator-panel {
  background: #c4deea;
  border-radius: 36px;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.pc-calculator-panel h2 {
  font-size: 25px;
  font-weight: 500;
  color: #24556e;
  margin-bottom: 28px;
}

.pc-result-panel {
  background: #24556e;
  border-radius: 1.5rem;
  padding: 2.5rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.pc-icon-wrapper {
    width: 90px;
    height: 90px;
    background: #2f5d73;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 48px;
}

.pc-features {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.pc-form-group {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pc-form-group label {
  font-size: 1.25rem;
  font-weight: 600;
  color: #24556e;
}

.pc-form-group input {
  width: 100%;
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
  border: 2px solid #24556e;
  background: #c2dfed;
  font-size: 1.5rem;
  font-weight: 500;
  color: #24556e;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc-form-group input:focus {
  border-color: #1e3a5f;
  box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.15);
}

.pc-hint-text {
  font-size: 1rem;
  color: #24556e;
  opacity: 0.8;
}

.pc-slider-container {
  position: relative;
  padding-top: 2.4rem;
}

.pc-slider-value {
  position: absolute;
  top: 0;
  left: 0;
  background: #24556e;
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  transform: translateX(-50%);
  transition: left 0.15s ease;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

/* Triangle pointer */
.pc-slider-value::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #24556e;
}

.pc-slider-container input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #5f7f92; /* track color */
  border-radius: 4px;
  outline: none;
  margin-top: 13px;
}

/* Chrome, Safari */
.pc-slider-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: #2f5d73; /* dark circle */
  border-radius: 50%;
  border: none;
  cursor: pointer;
  margin-top: -8px; /* centers thumb vertically */
}

/* Firefox */
.pc-slider-container input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: #2f5d73;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

/* Firefox track */
.pc-slider-container input[type="range"]::-moz-range-track {
  background: #5f7f92;
  height: 6px;
  border-radius: 4px;
}

.pc-result-badge {
  background: #e4bc32;
  color: #FFFFFF;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  font-size: 2.5rem;
  font-weight: 700;
}

.pc-result-amount {
  font-size: clamp(2.0rem, 5.8vw, 4.3rem);
  font-weight: 700;
  margin: 1.5rem 0;
  line-height: 1.1;
  white-space: nowrap;
}

.pc-disclaimer {
  font-size: 0.875rem;
  color: #FFFFFF;
}

.pc-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 2rem 0;
}

.pc-apply-button {
  background: #a0d7f0;
  color: white;
  padding: 1.25rem;
  border-radius: 12px;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  width: 50%;
}

.pc-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #2c5282;
}

.pc-feature-item::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #5f7f92;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  flex-shrink: 0;
}

.pc-features {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .pc-features {
    flex-wrap: wrap;
  }
}

.pc-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 1.25rem;   /* space below slider */
  padding: 0 4px;        /* aligns with slider edges */
}

.pc-slider-labels span {
  font-size: 1rem;
  color: #24556e;
  opacity: 0.9;
}

.pc-slider-group label {
  color: #24556e;
  padding-bottom: 10px;
}

.pc-apply-button:hover,
.pc-apply-button:focus {
    background: #e4bc32;
	color: #24556e;
}

@media screen and (max-width: 600px) {
	.pc-result-badge{
		font-size: 1.5rem !important;
	}
	
	.pc-apply-button{
		font-size: 1.5rem !important;
		width: 70% !important;
	}
	
	.pc-calculator-panel h2{
		font-size: 25px !important;
	}
}