.rc-container {
  display: flex;
  background: #fafcfb;
  border-radius: 22px;
  box-shadow: 0 4px 32px rgba(35,67,53,0.09);
  width: 100%;
  margin: 30px auto;
  padding: 18px 12px;
  font-family: 'Roboto', Arial, sans-serif;
  user-select:none;
}

.rc-panel {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(35,67,53,0.06);
  padding: 34px 28px;
  margin: 14px;
  animation: fadeInPanel 0.7s ease;
}

.rc-input-panel{
    width: 60%;
}

.rc-result-panel{
    width: 40%;
}


.piyush-box{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:20px;
}


@keyframes fadeInPanel {
  0% { opacity: 0; transform: translateY(30px);}
  50% { opacity: 0.5;}
  100% { opacity: 1; transform: translateY(0);}
}

.rc-input-panel h3 {
  font-size: 26px;
  color: #234335;
  font-weight: 800;
  margin-bottom: 18px;
}

.rc-input-panel label {
  margin: 10px 0;
  display: block;
  font-size: 16px;
  color: #234335;
  font-weight: 500;
}

input[type="number"], input[readonly] {
  font-size: 17px;
  background: #ecf1ee;
  border-radius: 11px;
  border: none;
  padding: 6px;
  margin: 2px 0 7px;
  color: #234335;
  font-weight: 600;
}

input[type="range"] {
  width: 100%;
  accent-color: #234335;
  margin-bottom: 10px;
  height: 7px;
  border-radius: 13px;
}

input[type="range"]::-webkit-slider-thumb {
  transition: box-shadow 0.2s, background 0.2s;
  box-shadow: 0 2px 8px rgba(35,67,53,0.17);
}


input[type="range"]:active::-webkit-slider-thumb {
  background: #234335;
}

.rc-input-panel button {
  width: 100%;
  background: #234335;
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  padding: 12px 0;
  border-radius: 16px;
  border: none;
  margin-top: 28px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(47,65,53,0.18);
  transition: background 0.15s, transform 0.15s;
}

.rc-input-panel button:hover {
  background: #183026;
}

.rc-reset {
  margin-top: 25px;
  font-size: 16px;
}

.rc-reset a {
  color: #234335;
  text-decoration: underline;
}

.rc-result-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #f7faf6;
  border-radius: 16px;
  min-height: 420px;
}

.rc-results {
  margin-top: 40px;
  color: #234335;
  font-size: 21px;
  text-align: center;
  font-weight: 650;
}

.rc-results b {
  color: #234335;
  font-size: 22px;
}

/* Added clear border lines for better separation */

.rc-results div {
  padding: 14px 0;
  border-bottom: 1px solid #dee2e7;
}

.rc-results div:last-child {
  border-bottom: none;
}

.piyush-box input[type="number"]{
    width: 20%;
}

@media(max-width:700px) {
  .rc-container {
    flex-direction: column;
  }
  .rc-panel {
    margin: 14px auto;
  }
  
  .rc-input-panel{
    width: 100%;
}

.rc-result-panel{
    width: 100%;
}
}
