 .cc-main-container {
  max-width: 100% !important;
 }
 
 .cc-page-content {
  width:100%;
  background-color: #f6f6f6;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
 }

h2.cc-card-heading {
  text-align: center;
  font-size: 1.3rem;
  margin: 1rem 0;
  font-weight: 700;
}

p.cc-card-body {
  text-align: center; 
  margin-top: -16px; 
  margin-bottom: -6px;
  font-size: 0.8rem;
}

.cc-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin: 0 auto;
  padding: 1rem;
  max-width: 1200px;
}

.additional-calculators {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  width: 20rem;
}

.calculator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed #8b2232;
  width: 100%;
  /* max-width: 20rem; */
  padding: 1rem;
}

.cc-calculator-form {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border-radius: 6px;
  width: 100%;
  max-width: 20rem;
  background-color: #ffffff;
  box-shadow: 4px 5px 40px -5px rgb(194, 193, 193);
}

#add-calculator-1, #add-calculator-3 {
  cursor: pointer;
}

.add-icon {
  font-size: 2.25rem;
  color: #8b2232;
}

.hidden {
  display: none;
}

.cc-tabs {
  display: flex;
  justify-content: space-around;
  cursor: pointer;
  padding: 0;
  border-bottom: 2px solid #ddd;
  width: 100%;
  max-width: 60%;
  margin: 1rem auto;
}

.cc-tabs div {
  padding: 0.5rem 1.25rem;
  border: 1px solid #ddd;
  border-bottom: none;
}

.cc-tabs div.cc-active,
.cc-tabs div:hover {
  background-color: #8b2232;
  color: white;
  border-color: #8b2232;
}

.cc-tab-center {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 65%;
  margin: 1rem auto;
}

.cc-tab-content {
  display: none;
  padding: 1.5rem;
  flex-direction: column;
  gap: 1rem;
}

.cc-tab-content.cc-active {
  display: flex;
}

.cc-form-group {
  margin-bottom: 1rem;
}

.cc-form-group select,
.cc-form-group input {
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* .cc-form-group input{
  max-width: 94%;
} */

button.cc-button {
  padding: 0.75rem 1rem;
  background-color: #8b2232;
  border-radius: 20px;
  text-transform: uppercase;
  color: white;
  border: none;
  width: 100%;
  max-width: 10rem;
  cursor: pointer;
  margin-bottom: 1rem;
}

button.cc-button:hover {
  background-color: #6d1623;
}

/* Media Queries */
@media (max-width: 768px) {
  .cc-container, .additional-calculators {
    flex-direction: column;
  }

  .cc-tabs{
    max-width: 90%;
  }

  .cc-container{
    align-self: center;
    margin: 0;
    padding: 0rem;
  }

  .cc-tabs div span {
    font-size: 0.75rem;
    padding: 0;
  }
  
  .calculator, .cc-calculator-form {
    width: 96%;
  }

  .cc-calculator-form {
  width: 100%;
  max-width: 19rem;
}
}

@media (max-width: 480px) {
  .cc-tabs{
    max-width: 90%;
  }
  .cc-tabs div span {
    font-size: 0.75rem;
    padding: 0;
  }
  .cc-container{
    align-self: center;
    margin: 0;
    padding: 0rem;
  }
  h2.cc-card-heading {
    font-size: 1.25rem;
  }

  .cc-tabs div {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
  .cc-tab-content {
    max-width: 80%;
    margin: 0 auto;
  }
  .calculator {
    max-width: 88%;
  }
    .cc-calculator-form {
  width: 100%;
  max-width: 19rem;
}

  button.cc-button {
    width: 100%;
    max-width: none;
  }
}


.pkr-wrapper {
  position: relative;
}

.pkr-wrapper::before {
  content: "PKR";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #000;
  font-size: 14px;
}

#nv1-car-price {
  padding-left: 40px; 
}
#nv2-car-price {
  padding-left: 40px; 
}
#uc1-car-value {
  padding-left: 40px; 
}
#uc2-car-value {
  padding-left: 40px; 
}


.cs-wrapper {
  position: relative;
}

.cs-wrapper::before {
  content: "Customer Share";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #000;
  font-size: 14px;
}

#nv1-customer-share-amt {
  padding-left: 112px; 
}
#nv2-customer-share-amt {
  padding-left: 112px; 
}
#uc1-customer-share-amt {
  padding-left: 112px; 
}
#uc2-customer-share-amt {
  padding-left: 112px; 
}

.rv-wrapper {
  position: relative;
}

.rv-wrapper::before {
  content: "Residual Value";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #000;
  font-size: 14px;
}

#nv1-residual-amount {
  padding-left: 103px; 
}
#nv2-residual-amount {
  padding-left: 103px; 
}
#uv1-residual-amount {
  padding-left: 103px; 
}
#uv2-residual-amount {
  padding-left: 103px; 
}

.bf-wrapper {
  position: relative;
}

.bf-wrapper::before {
  content: "Bank Finance";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #000;
  font-size: 14px;
}

#nv1-bank-finance {
  padding-left: 95px; 
}
#nv2-bank-finance {
  padding-left: 95px; 
}
#uv1-bank-finance {
  padding-left: 95px; 
}
#uv2-bank-finance {
  padding-left: 95px; 
}

.page-content.cc-page-content {
  background-image: url("https://www.dibpak.com/wp-content/uploads/2024/11/BG-calculators-v4.jpg");
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat; 
}

.uv1-rv-percentage-field, .uv2-rv-percentage-field, .nv1-rv-percentage-field, .nv2-rv-percentage-field {
  display: none;
}

.calculator-radio-btns .form-check-input {
  width: auto !important;
}