#step4 input[type="range"]::-webkit-slider-thumb {
  margin-top: -12px;
}
#step4 input[type="range"]::-moz-range-thumb {
  margin-top: -12px;
}
#step4 input[type="range"]::-ms-thumb {
  margin-top: -12px;
}
/* Custom slider styles for results step - updated for color and size */
#step4 input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 70%;
  height: 12px;
  background: #e5e5e5;
  border-radius: 8px;
  outline: none;
  margin: 0 16px;
}
#step4 input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #00c189;
  border: 4px solid #fff;
  box-shadow: 0 2px 8px rgba(0,193,137,0.10);
  cursor: pointer;
  transition: background 0.2s, border 0.2s;
}
#step4 input[type="range"]:focus::-webkit-slider-thumb {
  background: #009e6e;
  border: 4px solid #fff;
}
#step4 input[type="range"]::-ms-fill-lower {
  background: #00c189;
  border-radius: 8px;
}
#step4 input[type="range"]::-ms-fill-upper {
  background: #e5e5e5;
  border-radius: 8px;
}
#step4 input[type="range"]::-moz-range-thumb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #00c189;
  border: 4px solid #fff;
  box-shadow: 0 2px 8px rgba(0,193,137,0.10);
  cursor: pointer;
  transition: background 0.2s, border 0.2s;
}
#step4 input[type="range"]:focus::-moz-range-thumb {
  background: #009e6e;
  border: 4px solid #fff;
}
#step4 input[type="range"]::-webkit-slider-runnable-track {
  height: 12px;
  background: linear-gradient(to right, #00c189 0%, #00c189 var(--slider-percent, 50%), #e5e5e5 var(--slider-percent, 50%), #e5e5e5 100%);
  border-radius: 8px;
}
#step4 input[type="range"]::-ms-thumb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #00c189;
  border: 4px solid #fff;
  box-shadow: 0 2px 8px rgba(0,193,137,0.10);
  cursor: pointer;
  transition: background 0.2s, border 0.2s;
}
#step4 input[type="range"]:focus::-ms-thumb {
  background: #009e6e;
  border: 4px solid #fff;
}
#step4 input[type="range"]:focus {
  outline: none;
}
#step4 input[type="range"]::-moz-range-track {
  height: 12px;
  background: #e5e5e5;
  border-radius: 8px;
}
#step4 input[type="range"]::-ms-tooltip {
  display: none;
}
/* Fill left side of slider track with brand color */
#step4 input[type="range"] {
  background: linear-gradient(to right, #00c189 0%, #00c189 var(--slider-percent, 50%), #e5e5e5 var(--slider-percent, 50%), #e5e5e5 100%);
}
/* Results step styles */
#step4 .loan-type-select {
  font-size: 18px;
  color: #00c189;
  border: none;
  width: 300px;
  background: none;
  font-weight: 600;
  margin-left: 8px;
}
#step4 .borrow-amount-group {
  margin-bottom: 24px;
  text-align: center;
}
#step4 .slider-group {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
#step4 .borrow-value {
  font-size: 32px;
  color: #00c189;
  font-weight: 600;
  margin-top: 8px;
}
#step4 .rate-group {
  margin-bottom: 24px;
}
#step4 .rate-box {
  background: #eafaf6;
  border-radius: 12px;
  padding: 18px 0;
  text-align: center;
}
#step4 .repayment-deposit-group {
  display: flex;
  gap: 4%;
  margin-bottom: 24px;
}
#step4 .deposit-btn-group {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
#step4 .deposit-btn {
  background: #eaeaea;
  color: #222;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
#step4 .deposit-btn.active {
  background: #00c189;
  color: #fff;
  font-weight: 500;
}
#step4 .deposit-btn:not(.active):hover {
  background: #eafaf6;
}
#step4 .chart-group {
  text-align: center;
  margin-bottom: 24px;
}
#step4 .tip-box {
  background: #eafaf6;
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 15px;
  color: #00c189;
  margin-bottom: 24px;
}
#step4 .results-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}
#step4 .call-btn {
  background: #fff;
  color: #222;
  border: 2px solid #222;
  border-radius: 24px;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
#step4 .call-btn:hover {
  background: #f8f8f8;
}
#step4 .apply-btn {
  background: #00c189;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,193,137,0.08);
  transition: background 0.2s;
}
#step4 .apply-btn:hover {
  background: #009e6e;
}
/* Step 3 specific styles */
#step3 .form-actions {
  justify-content: space-between;
}
#step3 input[type="text"] {
  padding: 0px 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
  background: #f8f8f8;
}
#step3 select {
  width: 100px;
  padding: 0px 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
  background: #f8f8f8;
}
#step3 .continue-btn {
  background: #00c189;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,193,137,0.08);
  transition: background 0.2s;
}
#step3 .continue-btn:hover {
  background: #009e6e;
}
/* Step 2 specific styles */
#step2 .form-actions {
  justify-content: space-between;
}
.back-btn {
  background: #eafaf6;
  color: #00c189;
  border: 2px solid #00c189;
  border-radius: 24px;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  margin-right: 16px;
  box-shadow: 0 2px 8px rgba(0,193,137,0.08);
  transition: background 0.2s, color 0.2s;
}
.back-btn:hover {
  background: #00c189;
  color: #fff;
}
.important-note {
  margin-top: 32px;
  text-align: left;
  color: #222;
  font-size: 13px;
  background: none;
}
.important-note a {
  color: #00c189;
  text-decoration: underline;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #fafafa;
}

.navbar {
  display: flex;
  background: #fff;
  border-bottom: 2px solid #eee;
  height: 60px;
  align-items: center;
  justify-content: center;
}
.nav-item {
  display: flex;
  align-items: center;
  padding: 0 40px;
  color: #888;
  font-size: 16px;
  height: 100%;
  border-right: 1px solid #f0f0f0;
  cursor: pointer;
  transition: color 0.2s;
}
.nav-item:last-child {
  border-right: none;
}
.nav-item.active {
  color: #009e9e;
  font-weight: 600;
}
.nav-icon {
  font-size: 20px;
  margin-right: 8px;
}

.main-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 80vh;
  background: #fafafa;
  padding-top: 40px;
}

.form-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  padding: 40px 48px 32px 48px;
  max-width: 750px;
  width: 100%;
  margin: 0 auto;
}
.form-card h2 {
  color: #00c189;
  font-size: 26px;
  margin-bottom: 36px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.form-group {
  margin-bottom: 28px;
}
.form-group label {
  display: block;
  font-size: 18px !important;
  font-weight: 500;
  line-height: 38px;
  margin-bottom: 10px;
  color: #222;
}
.form-group small {
  color: #888;
  font-size: 13px;
  margin-bottom: 6px;
  display: block;
}

.button-group {
  display: flex;
  gap: 12px;
}
.btn {
  background: #eaeaea;
  color: #222;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn.active {
  background: #009e6e;
  color: #fff;
  font-weight: 500;
}
.btn:not(.active):hover {
  background: #d0f7f7;
}
select {
  width: 100px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
  background: #f8f8f8;
  margin-top: 4px;
}
.loan-term-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.long-btn{
    width: 350px !important;
}
.loan-term-group input[type="number"] {
  width: 70px;
  padding: 0px 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
  background: #f8f8f8;
}
.loan-term-group span {
  font-size: 15px;
  color: #222;
}
.form-actions {
  display: flex;
  justify-content: end;
  margin-top: 32px;
}
input{
    height: 50px;
    border: 1px solid #ccc;
    border-radius: 8px;
   
    font-size: 15px;
    background: #f8f8f8;
}
.continue-btn {
  background: #00c189;
  color: #222;
  border: none;
  border-radius: 24px;
  padding: 14px 60px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: background 0.2s;
}
.continue-btn:hover {
  background: #00c189;
}
/* Removed old and invalid code. All styles above this line are for the new design. */


.tab.active {
  color: #008080;
}

.form {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.form-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #008080;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
  display: block;
}

.options {
  display: flex;
  gap: 10px;
}

.option {
  background-color: #e0f7fa;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}

.option:hover {
  background-color: #80deea;
}

#dependants {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#loanTerm {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.continue-btn {
  background-color: #009e6e !important;
  color: white;
  padding: 12px 20px;
  border-radius: 4px;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.continue-btn:hover {
  background-color: #009e6e;
}
button{
    height: 58px;
    width: 200px;
}