.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1040;
}

.modal-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  max-width: 90%;
  width: 370px;
  z-index: 1050;
  display: none;
  padding: 24px;
  border: 1px solid var(--landing-primary-color, #d73146);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.modal-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  font-weight: light;
  cursor: pointer;
  padding: 0;
  color: #999;
}

.modal-close:hover {
  color: #666;
}

.modal-body {
  padding: 0;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 1rem;
}

.modal-section-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: #333;
}

.loan-input-group {
  position: relative;
  display: flex;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
}

.loan-input {
  width: 100%;
  padding: 12px 10px;
  font-size: 1rem;
  border: none;
  outline: none;
  text-align: left;
}

.loan-input-suffix {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #333;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.modal-show {
  display: block;
}

.modal-button-confirm {
  width: 100%;
  padding: 12px;
  background-color: var(--lead-form-color-primary, #d73146);
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
}

.modal-button-confirm:hover {
  background-color: var(--lead-form-color-primary-hover, #c02a3f);
}
