/* Step container – cleaner card */
.lcp-step {
    display: none;
    max-width: 1600px;
    margin: 40px auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.lcp-step.active {
    display: block;
}

/* Headings */
.lcp-step h2 {
    font-size: 28px!important;
    font-weight: 600;
    margin-bottom: 30px;
    color: #111;
}

/* Layout */
.loan-container {
    display: flex;
    gap: 40px;
}

/* Slider track */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px!important;
    border:none;
    border-radius: 10px!important;
    background: linear-gradient(
        to right,
        #4f46e5 0%,
        #4f46e5 var(--progress, 0%),
        #e5e7eb var(--progress, 0%),
        #e5e7eb 100%
    );
    outline: none;
    transition: background 0.3s ease;
   
}

/*.elementor-kit-16 input:not([type="button"]):not([type="submit"]), .elementor-kit-16 textarea, .elementor-kit-16 .elementor-field-textual{*/
/*    padding:0!important;*/
/*}*/

input#loan_duration , input#loan_amount{
    padding:0;
    
}
/* Slider thumb */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px!important;
    height: 20px!important;
    background: #4f46e5;
    border-radius: 50%!important;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79,70,229,0.4);
    transition: transform 0.2s ease;
}

input[type="range"]:active::-webkit-slider-thumb {
    transform: scale(1.15);
}

/* Indicator (animated badge) */
.indicator {
    font-size: 15px!important;
    font-weight: 600;
    color: #111;
    margin-top:20px;
    margin-bottom: 25px;
    background: #f9fafb;
    padding: 10px 20px;
    border-radius: 999px!important;
    border: 1px solid #e5e7eb;
    display: inline-block;
    transition: transform 0.25s ease, background 0.25s ease;
}

.indicator.animate {
    transform: scale(1.08);
    background: #eef2ff;
}

/* Right summary card */
.right-container {
    width:50%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    background: linear-gradient(180deg, #fafafa, #f3f4f6);
    border-radius: 18px;
    padding: 30px;
}
.left-container{
    width:50%;
}
.left-container h3{
    font-size:12px!important;
    margin:0!important;
}
.monthly {
    font-size: 20px;
    font-weight:600;
    line-height: 1.5;
    display:flex;
    flex-direction:column;
    align-items:center;
}

/* Smooth monthly animation */
.monthly strong {
    display: inline-block;
    transition: transform 0.25s ease;
}

.monthly strong.bump {
    transform: scale(1.08);
}
#monthly_min,
#monthly_max {
  margin: 0 4px;
}


/* Button */
button.lcp-next {
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    background: #0831A2;
    color: #fff!important;
    border-radius: 12px;
    cursor: pointer;
    border: none;
}

/* Bottom note */
.bottom-container {
    margin-top: 30px;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 900px) {
    .loan-container {
        flex-direction: column;
    }
    .right-container, .left-container{
        width:100%;
    }
    .monthly{
        font-size:16px;
    }
    .monthly strong{
        font-size:22px;
    }
}

/* Base responsive improvements */
.lcp-second {
  padding: 16px;
}

.lcp-second h3 {
  font-size: 20px;
}

/* Grid */
.lcp-second-div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Inputs & selects */
.lcp-second input,
.lcp-second select {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding:5px!important;
}
select:focus {
  outline: none;
  border-color: #1D3CA5;
  box-shadow: 0 0 0 2px rgba(29,60,165,0.1);
}

/* Buttons */
.lcp-second button {
  padding: 14px 22px;
  font-size: 15px;
  border-radius: 10px;
  color:#fff;
}

/* 📱 Mobile optimization */
@media (max-width: 768px) {

  .lcp-second-div {
    grid-template-columns: 1fr;
  }

  .lcp-second h3 {
    font-size: 18px;
    text-align: center;
  }

  .lcp-second label {
    font-size: 13px;
  }

  .lcp-second input,
  .lcp-second select {
    font-size: 16px; /* prevents iOS zoom */
  }

  .lcp-second .lcp-back,
  .lcp-second .lcp-next {
    width: 100%;
  }

  .lcp-second div[style*="justify-content"] {
    flex-direction: column;
    gap: 12px;
  }
}

/* STEP 3 base */
.lcp-step-3 {
  padding: 16px;
}

.lcp-step-3 h3 {
  font-size: 20px;
}

/* Grid */
.lcp-step-3 .lcp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Inputs & selects */
.lcp-step-3 input,
.lcp-step-3 select {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

/* Checkbox */
.lcp-step-3 label {
  line-height: 1.4;
}

/* Buttons */
.lcp-step-3 button {
  padding: 14px 22px;
  font-size: 15px;
  border-radius: 10px;
}

/* 📱 Mobile optimization */
@media (max-width: 768px) {

  .lcp-step-3 .lcp-grid {
    grid-template-columns: 1fr;
  }

  .lcp-step-3 h3 {
    font-size: 18px;
    text-align: center;
  }

  .lcp-step-3 input,
  .lcp-step-3 select {
    font-size: 16px; /* iOS zoom fix */
  }

  /* Remove forced spanning on mobile */
  .lcp-step-3 .full-width {
    grid-column: auto;
  }

  .lcp-step-3 .lcp-back,
  .lcp-step-3 .lcp-submit {
    width: 100%;
  }

  .lcp-step-3 div[style*="justify-content"] {
    flex-direction: column;
    gap: 12px;
  }
}

.lcp-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}

.lcp-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  cursor: pointer;
}

/* 📱 Mobile enhancement */
@media (max-width: 768px) {
  .lcp-checkbox {
    font-size: 15px;
  }

  .lcp-checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 4px;
  }
}