.loan__image {
  padding: 50px 0px;
  background-color: #f4f4f0;
  border-bottom: 1px solid #ddd;
  text-align: center;

  img {
    max-height: 350px;
    max-width: 90%;
  }
}

.loan__content {
  display: flex;
  align-items: flex-start;

  > div {
    flex: 1;
    margin: 0px 20px;
    border: 1px solid var(--color-silver);
    border-radius: 5px;
    padding: 20px;
  }

  // Left content
  > div:nth-of-type(1) {
    h2 {
      color: var(--color-green);
      margin: 0px;
    }

    p {
      font-size: 16px;
      line-height: 24px;
      margin-block-start: 5px;
      word-break: break-word;

      a {
        color: var(--color-green);
        transition: 100ms ease-in-out;
        word-break: break-all;

        &:hover {
          opacity: 0.7;
        }
      }
    }

    h4 {
      margin-block-start: 30px;
      margin-block-end: 0px;
    }
  }

  // Right content
  > div:nth-of-type(2) {
    h2 {
      color: var(--color-green);
      margin: 0px;
    }

    > div {
      border-top: 1px solid #ddd;
      padding: 20px 0px;
      margin: 10px 0px;

      h4 {
        margin: 0px;
        font-weight: 600;
      }

      p {
        font-size: 16px;
        line-height: 24px;
        margin-block-start: 0px;
      }

      input {
        font-size: 16px;
        padding: 10px;
        width: 100%;
        border: 1px solid var(--color-silver);
        border-radius: 5px;
        margin-bottom: 10px;
      }

      button {
        background-color: var(--color-green);
        padding: 12px 16px;
        border-radius: 4px;
        color: white;
        font-weight: 600;
        font-size: 14px;
        transition: 100ms ease-in-out;
        margin-right: 18px;
        border: none;
        width: 100%;

        &:hover {
          opacity: 0.8;
        }

        &:disabled {
          cursor: not-allowed;
          background-color: #0d5a5e;
        }

        &:disabled:hover {
          opacity: 1 !important;
        }
      }

      span {
        text-align: center;
        display: block;
        font-size: 14px;
        color: var(--color-silver);
      }
    }
  }
}

// Responsive
@media screen and (max-width: 940px) {
  .loan__content {
    flex-direction: column;

    > div {
      width: 100%;
      margin: 0px 0px 20px 0px;
    }
  }
}
