.borrowTab .ec-card {
  max-width: 950px;
  margin: 0px auto;
  background: #fff;
  border-radius: 10px;
  padding: 40px 55px 25px 55px;
  border: 1px solid #e6e6e6;
  border-bottom: none;
}

.borrowTab .ec-card-last-screen {
  background: linear-gradient(
    to bottom,
    #f5f5f5 0%,
    #f5f5f5 52%,
    #ffffff 52%,
    #ffffff 100%
  );
}

@media (max-width: 767px) {
  .borrowTab .ec-card {
    padding: 30px 20px;
  }
}

.borrowTab .ec-btn-container {
  margin-top: 20px;
}

.borrowTab .ec-btn {
  background-color: #fafafa;
  border-radius: 45px;
  border: 1px solid #6e6e6e;
  box-sizing: border-box;
  width: 104px;
  height: 40px;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-right: 10px;
  outline: none;
}

.borrowTab .ec-btn:hover {
  background-color: #1f6eda;
  color: white;
  outline: none;
}

/* .borrowTab .ec-btn:focus {
    background-color: #1F6EDA;
    color: white;
    outline: none;
} */

.borrowTab .ec-btn-active {
  background-color: #1f6eda;
  color: white;
  outline: none;
}

.borrowTab .ec-option-placeholder {
  color: lightgray;
}

/* .borrowTab .ec-option-placeholder {
    color: lightgray;
} */

/* .borrowTab .ec-bottom-button-container {
    padding: 40px 0;
    background: white;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
} */

.borrowTab .ec-border {
  border: none;
}

@media (max-width: 767px) {
  .borrowTab .ec-border {
    border: 1px solid #e6e6e6;
    box-sizing: border-box;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 20px 0px;
  }
}

.borrowTab .ec-select-row {
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
}

.borrowTab .ec-select-row p {
  color: #6e6e6e;
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
}

@media (max-width: 767px) {
  .borrowTab .ec-select-row p {
    font-size: 12px;
  }
}

.borrowTab .ec-form-control {
  border-radius: 5px;
  border: 1px solid #e6e6e6;
  height: calc(2.2em + 0.75rem + 2px);
  font-size: 15px;
  line-height: 24px;
  max-width: 258px;
  color: #212121;
  width: 100%;
  padding: 10px;
}

@media (max-width: 767px) {
  .borrowTab .ec-form-control {
    max-width: 100%;
  }
}

.borrowTab .ec-form-control:focus {
  box-shadow: none;
  border: 1px solid #1f6eda;
  outline: none;
}

@media (max-width: 767px) {
  .borrowTab .ec-form-control:focus {
    box-shadow: none;
  }
}

.borrowTab .ec-form-control-loantype {
  border-radius: 5px;
  border: 1px solid #e6e6e6;
  height: calc(2.2em + 0.75rem + 2px);
  font-size: 15px;
  line-height: 24px;
  max-width: 160px;
  color: #212121;
  padding: 10px;
}

.borrowTab .ec-form-control-loantype:focus {
  outline: none;
  border: 1px solid #1f6eda;
}


@media (max-width: 767px) {
  .borrowTab .ec-form-control-loantype {
    max-width: 100%;
    width: 100%;
  }
}

.borrowTab .ec-loan-type {
  border-radius: 5px;
  border: 1px solid #e6e6e6;
  height: calc(2.2em + 0.75rem + 2px);
  font-size: 15px;
  line-height: 24px;
  color: #212121;
  max-width: 160px;
  outline: none;
  text-overflow: ellipsis;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url("data:image/svg+xml,%3Csvg width='20' height='21' viewBox='0 0 20 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.12204 8.1943C5.28476 8.03159 5.54858 8.03159 5.71129 8.1943L10 12.483L14.2887 8.1943C14.4514 8.03159 14.7152 8.03159 14.878 8.1943C15.0407 8.35702 15.0407 8.62084 14.878 8.78356L10.2946 13.3669C10.1319 13.5296 9.86809 13.5296 9.70537 13.3669L5.12204 8.78356C4.95932 8.62084 4.95932 8.35702 5.12204 8.1943Z' fill='%236E6E6E'/%3E%3C/svg%3E%0A")
    no-repeat;
  background-size: 15px;
  background-position: calc(100% - 5px) center;
  background-repeat: no-repeat;
}

@media (max-width: 767px) {
  .ec-loan-type-label {
    display: none;
  }
  .borrowTab .ec-loan-type {
    color: #1f6eda;
    font-weight: 500;
    padding: 8px 10px 8px 0px;
    border: none;
    cursor: pointer;
    user-select: none;
    width: fit-content;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.12204 7.62204C5.28476 7.45932 5.54858 7.45932 5.71129 7.62204L10 11.9107L14.2887 7.62204C14.4514 7.45932 14.7152 7.45932 14.878 7.62204C15.0407 7.78476 15.0407 8.04858 14.878 8.21129L10.2946 12.7946C10.1319 12.9573 9.86809 12.9573 9.70537 12.7946L5.12204 8.21129C4.95932 8.04858 4.95932 7.78476 5.12204 7.62204Z' fill='%231F6EDA'/%3E%3C/svg%3E%0A");
    background-size: 20px;
  }
}

.borrowTab .ec-label {
  display: flex;
  color: #6e6e6e;
}

.borrowTab .ec-label .tooltip-inner {
  height: 30px;
}

@media (max-width: 767px) {
  .borrowTab .ec-label .tooltip-inner {
    font-size: 12px;
    line-height: 18px;
  }
}

.borrowTab .ec-mobile-only-label {
  display: none;
}

@media (max-width: 767px) {
  .borrowTab .ec-mobile-only-label {
    display: block;
    color: #6e6e6e;
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
  }
}

.borrowTab .ec-next-btn {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  padding: 10px 30px;
  font-weight: 500;
  font-size: 15px;
  line-height: 24px;
  border: none;
  color: #fff;
  border-radius: 5px;
  outline: none;
}

@media (max-width: 767px) {
  .borrowTab .ec-next-btn {
    font-size: 14px;
    line-height: 22px;
    padding: 10px 20px;
    min-width: 90px;
  }
}

.borrowTab .ec-back-btn {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  padding: 10px 30px;
  background: none;
  font-weight: 500;
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
  border: none;
  color: #1f6eda;
  outline: none;
}

@media (max-width: 767px) {
  .borrowTab .ec-back-btn {
    font-size: 14px;
    line-height: 22px;
    padding: 0;
    margin-right: 10px;
  }
}

.borrowTab .ec-add-another-loan {
  font-weight: 500;
  font-size: 15px;
  line-height: 24px;
  color: #1f6eda;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.borrowTab .ec-bank-privacy-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  color: #6e6e6e;
  margin-top: 40px;
}

@media (max-width: 767px) {
  .borrowTab .ec-bank-privacy-text {
    font-size: 12px;
  }
}

.borrowTab .ec-borrowTabInactive {
  display: none;
}

.borrowTab .ec-error-message-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 5px;
}

.borrowTab .ec-error-message {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 13px;
  line-height: 20px;
  color: #d92b2b;
  margin-left: 5px;
}

.borrowTab .ec-error-border {
  border: 1px solid #d92b2b !important;
}

.borrowTab .ec-indicative-amount-container {
  display: flex;
  flex-direction: column;
}

.borrowTab .ec-indicative-amount-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 15px;
  line-height: 24px;
  color: #212121;
}

.borrowTab .ec-indicative-amount-value {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 40px;
  line-height: 50px;
  color: #212121;
}

@media (max-width: 767px) {
  .borrowTab .ec-indicative-amount-value {
    font-size: 28px;
  }
}

.borrowTab .ec-form-group {
  border: 1px solid #e6e6e6;
  box-sizing: border-box;
  border-radius: 5px;
  padding: 5px;
  width: 100%;
  height: calc(2.2em + 0.75rem + 2px);
  display: flex;
  align-items: center;
  font-size: 15px;
  max-width: 258px;
}

@media (max-width: 767px) {
  .borrowTab .ec-form-group {
    max-width: 100%;
  }
}

.borrowTab .ec-form-group:focus {
  color: #212529;
  background-color: #fff;
  /* border-color: #1F6EDA; */
  outline: none;
  box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
}

.borrowTab .ec-form-group input {
  display: inline-block;
  width: 100%;
  border: none;
  outline: none;
  height: auto;
  padding: 0 0 0 10px;
}

.borrowTab .ec-form-group input:focus {
  box-shadow: none;
  outline: none;
}

.borrowTab .ec-form-group span {
  border-right: 1px solid #b2b2b2;
  padding: 0 12px 0 5px;
  color: #6e6e6e;
}

.borrowTab .ec-industry-option-default {
  color: #b2b2b2 !important;
}

.borrowTab .ec-option-default {
  color: #b2b2b2 !important;
}

@media (max-width: 767px) {
  .borrowTab .ec-option-default {
    color: #1f6eda !important;
  }
}

.borrowTab input::placeholder {
  color: #b2b2b2;
}

.borrowTab .ec-add-icon {
  width: 20px;
  height: 20px;
  top: -2px;
  position: relative;
}

.borrowTab .ec-tooltip-inner {
  max-width: 350px;
  width: 350px;
}

.ec-tooltip {
  position: relative;
  display: inline-block;
}

.ec-tooltip .ec-tooltiptext {
  visibility: hidden;
  background-color: #212121;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  top: 150%;
  left: 50%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 13px;
  line-height: 20px;
  color: #ffffff;
  padding: 10px;
}

@media (max-width: 767px) {
  .ec-tooltip .ec-tooltiptext {
    left: 16%;
    top: -125px;
  }
}

.ec-tooltip .ec-tooltiptext::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}

@media (max-width: 767px) {
  .ec-tooltip .ec-tooltiptext::after {
    top: 100%;
    left: 92%;
    bottom: 0%;
    border-color: black transparent transparent transparent;
  }
}

.ec-tooltip:hover .ec-tooltiptext {
  visibility: visible;
}

.borrowTab .ec-mobile-number-container {
  border: 1px solid #1f6eda;
}

.borrowTab .ec-h3-labels {
  cursor: default;
}

.borrowTab .tab3 {
  display: flex !important;
  flex-direction: column;
  height: 100%;
}

.borrowTab .ec-bank-indicative-description {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 15px;
  line-height: 20px;
  color: #6e6e6e;
  margin-top: 40px;
}

@media (max-width: 767px) {
  .borrowTab .ec-bank-indicative-description {
    font-size: 14px;
  }
}

.borrowTab .ec-indicative-amount-description-container {
  margin-top: auto;
  width: 80%;
}

@media (max-width: 767px) {
  .borrowTab .ec-indicative-amount-description-container {
    margin-top: auto;
    width: 100%;
  }
}

.borrowTab .ec-input-title {
  margin-top: auto;
  width: 80%;
}

@media (max-width: 767px) {
  .borrowTab .ec-input-title {
    margin-top: auto;
    width: 100%;
  }
}

.borrowTab h3 {
  font-size: 24px;
  line-height: 34px;
  color: #212121;
  max-width: 520px;
}

@media (max-width: 767px) {
  .borrowTab h3 {
    font-size: 20px;
    line-height: 30px;
  }
}

.borrowTab .ec-secondary-header {
  font-size: 15px;
  line-height: 24px;
  color: #212121;
}

@media (max-width: 767px) {
  .borrowTab .ec-secondary-header {
    font-size: 14px;
    line-height: 22px;
  }
}

.ec-outstanding-amount-container {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.ec-delete-desktop-icon {
  margin-left: 10px;
  cursor: pointer;
  width: 25px;
  height: 25px;
}

@media (max-width: 767px) {
  .borrowTab .ec-delete-desktop-icon {
    display: none;
  }
}

.borrowTab .ec-delete-mobile-icon {
  display: none;
}

@media (max-width: 767px) {
  .borrowTab .ec-delete-mobile-icon {
    display: block;
    margin-left: auto;
    cursor: pointer;
    width: 25px;
    height: 25px;
  }
}

.borrowTab .ec-loantype-container {
  position: relative;
}

@media (max-width: 767px) {
  .borrowTab .ec-loantype-container {
    display: flex;
    align-items: center;
    top: 0px;
  }
}

.borrowTab .ec-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* SVG background image */
  background: url("data:image/svg+xml,%3Csvg width='20' height='21' viewBox='0 0 20 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.12204 8.1943C5.28476 8.03159 5.54858 8.03159 5.71129 8.1943L10 12.483L14.2887 8.1943C14.4514 8.03159 14.7152 8.03159 14.878 8.1943C15.0407 8.35702 15.0407 8.62084 14.878 8.78356L10.2946 13.3669C10.1319 13.5296 9.86809 13.5296 9.70537 13.3669L5.12204 8.78356C4.95932 8.62084 4.95932 8.35702 5.12204 8.1943Z' fill='%236E6E6E'/%3E%3C/svg%3E%0A")
    no-repeat;
  background-size: 20px;
  background-position: calc(100% - 10px) center;
  background-repeat: no-repeat;
}

@media (max-width: 767px) {
  .borrowTab .ec-outstanding-container {
    margin-top: 30px;
  }
}
